Dave,
Are you sure that what's actually appearing in the page
isn't really a true Unicode non-breaking space? That is,
it might look like ' ' in the source, but it might be
Unicode char 0x00A0, not Unicode char 0x0020. There's
no particular reason why needs to be in the HTML
source.
-- Adam
Dave Brondsema wrote:
> Hagen, Nicholas wrote:
>> Not sure if this is what you want, but it sounds
like you actually want the
>> page to show up as . If that is the
case, try:
>
> No, I want to appear in the HTML source.
Just a regular
> non-breaking space, but I can't seem to be able to do
it.
>
> Thanks, though
>
>>  
>>
>> & is the '&' character, so it should
print '&' to the screen.
>>
>> Nick
>>
>> -----Original Message-----
>> From: Dave Brondsema [mailto:dave brondsema.net]
>> Sent: Friday, May 26, 2006 11:44 AM
>> To: users facelets.dev.java.net
>> Subject: Re: again
>>
>> But   is not working for me, as you can
see in the example I gave
>> below. It comes through as " ".
>>
>> Jason Long wrote:
>>> Jacob suggested that I switch to  
some time back and it worked
>>> perfectly.
>>>
>>> My designer's layouts seem to depend on some
td's not being empty and this
>>> works great.
>>>
>>> Thank you for your time,
>>>
>>> Jason Long
>>> CEO and Chief Software Engineer
>>> BS Physics, MS Chemical Engineering
>>> http://www.supernova
software.com
>>> HJBUG Founder and President
>>> http://www.hjbug.com
>>> -----Original Message-----
>>> From: Dave Brondsema [mailto:dave brondsema.net]
>>> Sent: Thursday, May 25, 2006 3:03 PM
>>> To: users facelets.dev.java.net
>>> Subject: again
>>>
>>> I upgraded from 1.0.10 to 1.1.6 and
  started coming through
>>> as   instead of
>>>
>>> So I tried every combination:
>>>
>>> <?xml version="1.0"
encoding="UTF-8"?>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
a>">
>>> <html xmlns="http://www.w3.org/1999/x
html"
>>> xmlns:ui="http://java.sun.com/
jsf/facelets"
>>> xmlns:h="http://java.sun.com/jsf/
html"
>>> xmlns:f="http://java.sun.com/jsf/
core">
>>> <body>
>>> <ui:composition>
>>> <f:view>
>>> a&nbsp;b
>>> c d
>>> e f
>>> g&#160;h
>>> i&j
>>> k&l
>>> m&nbsp;n
>>> o&#160;p
>>> q r
>>> </f:view>
>>> </ui:composition>
>>> </body>
>>> </html>
>>>
>>> Renders as:
>>>
>>>
>>> a&nbsp;b
>>> cd
>>> e f
>>> g&#160;h
>>> i&j
>>> k&l
>>> m&nbsp;n
>>> o&#160;p
>>> q r
>>>
>>>
>>> How can I render ?
>>>
>>> SAX is Xerces-J 2.6.2. I'm using the
FaceletPortletViewHandler from
>>> 'contrib', Tomcat 5.5, Liferay Portal 3.6.1,
Java 5.
>>>
>>> Thanks!
>>>
>>
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe facelets.dev.java.net
For additional commands, e-mail: users-help facelets.dev.java.net
|