I would like to specify the id attribute value with bean (like I do for 
actionListener, action, and selected attributes) but my browser is throwing an 
error message complaining about this.

   <tr:navigationPane hint="tabs">
      <tr:commandNavigationItem id="login" text="Home" 
actionListener="#{commandNavigationItem.navigationItemAction}" 
action="#{navigationTabsBean.getNavigationCase}" 
selected="#{navigationTabsBean.selectedLogin}"/>
      <tr:commandNavigationItem id="codeOfCond" text="Code of Conduct" 
actionListener="#{commandNavigationItem.navigationItemAction}" 
action="#{navigationTabsBean.getNavigationCase}" 
selected="#{navigationTabsBean.selectedCodeOfCond}"/>      
   </tr:navigationPane> 

I would like to use id attributre like following 

   <tr:navigationPane hint="tabs">
      <tr:commandNavigationItem id=""#{navigationTabsBean.loginId} text="Home" 
actionListener="#{commandNavigationItem.navigationItemAction}" 
action="#{navigationTabsBean.getNavigationCase}" 
selected="#{navigationTabsBean.selectedLogin}"/>
      <tr:commandNavigationItem id="#{navigationTabsBean.codeOfCondId" 
text="Code of Conduct" 
actionListener="#{commandNavigationItem.navigationItemAction}" 
action="#{navigationTabsBean.getNavigationCase}" 
selected="#{navigationTabsBean.selectedCodeOfCond}"/>      
   </tr:navigationPane> 

Is this possible or does the id attribute must be hard coded like in the code 
on the top?

Reply via email to