List Info

Thread:   again




  again
user name
2006-05-26 20:51:06
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:davebrondsema.net] 
>> Sent: Friday, May 26, 2006 11:44 AM
>> To: usersfacelets.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:davebrondsema.net] 
>>> Sent: Thursday, May 25, 2006 3:03 PM
>>> To: usersfacelets.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">
>>> <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&amp;nbsp;b
>>> 		c&nbsp;d
>>> 		e&#160;f
>>> 		g&amp;#160;h
>>> 		i&amp;j
>>> 		k&#38;l
>>> 		m&#38;nbsp;n
>>> 		o&#38;#160;p
>>> 		q&#xA0;r
>>> 	</f:view>
>>> </ui:composition>
>>> </body>
>>> </html>
>>>
>>> Renders as:
>>>
>>>
>>> a&amp;nbsp;b
>>> cd
>>> e f
>>> g&amp;#160;h
>>> i&amp;j
>>> k&amp;l
>>> m&amp;nbsp;n
>>> o&amp;#160;p
>>> q r
>>>
>>>
>>> How can I render &nbsp; ?
>>>
>>> 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-unsubscribefacelets.dev.java.net
For additional commands, e-mail: users-helpfacelets.dev.java.net

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )