[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3734) style and styleClass attrs don't work in a4j:page

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Fri Feb 6 08:10:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12451482#action_12451482 ] 

Yahor Radtsevich commented on JBIDE-3734:
-----------------------------------------

> Yura Zhishko wrote:
> Second: In spite of <h:outputText value="Begin"> is outside a4j:page, it is inserted inside <body> of rendered <a4j:page> and all styles are applied  > for this component as for all page inside <a4j:page>
It will not be fixed for two reasons:
   1. It is not correct to place visual tags outside the a4j:page element.
   2. There is no way to fix this behavior for now.

> style and styleClass attrs don't work in a4j:page
> -------------------------------------------------
>
>                 Key: JBIDE-3734
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3734
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.0.0.CR2
>            Reporter: Yura Zhishko
>            Assignee: Yahor Radtsevich
>             Fix For: 3.1.0
>
>
> 1) According to RichFaces DevGuide next source code
> <f:view>
>     <a4j:page>
>         <f:facet name="head">
>             <!--...Head Content here-->
>         </f:facet>
>         <!--...Page Content here-->
>     </a4j:page>
> </f:view>
>          will be rendered next way:
> <html>
>     <head> 
>         <!--...Head Content here-->
>     </head> 
>     <body>
>         <!--...Page Content Here-->
>     </body> 
> </html>
> See example: http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page
> So, usage of this component inside <body> isn't correct, because this component creates body itself. Setting of style and styleClass attributes equals to setting of these attributes in <body> tag, in which this component is rendered, but VPE doesn't apply styles at all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list