GFV2UR2-b04 doesn't render "inline" css style

View: New views
4 Messages — Rating Filter:   Alert me  

GFV2UR2-b04 doesn't render "inline" css style

by glassfish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

   I'm using Sun's Java 1.6.07, GF v2ur2-b04 and Mojarra 1.2.09-b02-FCS and something bizzarre is happening: the line

[pre]
   <h:outputText value="test" style="color: red"/>
[/pre]

is rendered as  
[pre]
[code]
  <span>test</span>
[/code]
[/pre]


The correct output should be

[pre]
[code]
<span style="color: red">test</span>
[/code]
[/pre]

If I deploy the very same .war into GFV2ur1 then GF renders the correct code.

 Thanks for any help.

  Leandro
[Message sent by forum member 'leandro_komosinski' (leandro_komosinski)]

http://forums.java.net/jive/thread.jspa?messageID=289041

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GFV2UR2-b04 doesn't render "inline" css style

by glassfish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My fault!

The problem was in $GF/domains/domain1/config.domain.xml java-config element:

[pre]

... classpath-prefix="${com.sun.aas.installRoot}/lib/jsfapi.jar" ...

[/pre]

correct code:

[pre]

... classpath-prefix="${com.sun.aas.installRoot}/lib/<span style="color: red">jsf-api</span>.jar" ...

[/pre]


I think GF should display some kind of warning. There is nothing on server.log.

  Leandro
[Message sent by forum member 'leandro_komosinski' (leandro_komosinski)]

http://forums.java.net/jive/thread.jspa?messageID=289058

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GFV2UR2-b04 doesn't render "inline" css style

by glassfish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am a bit confused. Did some document ask you to modify JSF api jar in "classpath-prefix" attribute?

AFAIU, this attribute is reserved for special use. Also, I guess (not sure) that JSF API is part of
GlassFish by default.

-Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=289063

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GFV2UR2-b04 doesn't render "inline" css style

by glassfish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes,  GFV2ur2-b04 contains JSF (Mojarra) 1.2_08 by default.  Mojarra project just released version 1.2_09.

See instructions on https://javaserverfaces.dev.java.net/nonav/rlnotes/1.2_09/releasenotes.html

to upgrade JSF.

 Leandro
[Message sent by forum member 'leandro_komosinski' (leandro_komosinski)]

http://forums.java.net/jive/thread.jspa?messageID=289084

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...