for p:tooltip or p:watermark, how to escape (double-)quote?

UI Components for JSF
Post Reply
kman
Posts: 57
Joined: 03 Nov 2010, 09:21
Location: Hong Kong

22 Nov 2010, 05:20

as title.


for the following case, how to show "ABC" and "DEF" that embraced by Double-quote or Single-quote for a Watermark or Tooltip,

Code: Select all

<p:watermark for="name" value="Must be prefix with either ABC or DEF" />
<p:tooltip for="name" value="Must be prefix with either ABC or DEF" />
PrimeFaces 3.0M1, Sun Mojarra 2.0.4 FCS, Sun GlassFish JSTL 1.2,
Apache Log4J 1.2.16, EclipseLink 2.1.1.v20100817-r8050,
Eclipse Helios

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests