Hi,

I want the same behavior like rendered.
You need only to change HtmlTag class to extend org.apache.myfaces.component.html.ext.HtmlOutputText;
and off course the tag declaration

Thanks very much.
Cristi

Bruno Aranda (JIRA) wrote:
    [ http://issues.apache.org/jira/browse/MYFACES-377?page=comments#action_12317480 ] 

Bruno Aranda commented on MYFACES-377:
--------------------------------------

What behaviour do we expect when visibleOnUserRole or just rendered="false"  is set. Now x:div extends from x:htmlTag, and when rendered="false" it is just the tag that is not render, and not the tag and its children (this is ok for a tag like <b>, but what to do with <div>). My intuitions tells me that if the div is not render, it's children should not be rendered either...

  
x:div suport for visibleOnUserRole
----------------------------------

         Key: MYFACES-377
         URL: http://issues.apache.org/jira/browse/MYFACES-377
     Project: MyFaces
        Type: New Feature
  Components: Tomahawk
    Versions: Nightly Build
 Environment: all
    Reporter: Grigoras Cristinel
    Assignee: Bruno Aranda
    

  
the x:div tag is mising visibleOnUserRole, why ?
    

  

Reply via email to