2 Replies Latest reply on May 12, 2008 12:33 PM by kristjan273.kristjan.slomsek.gmail.com

    Instantiating core seam components in java

    kristjan273.kristjan.slomsek.gmail.com

      Hi,


      i have just started seam and have on question regarding dynamic component instantiation in java backingBean.


      I am trying to create user's menu  dynamically according to the loggedin user's role. Problem is that page design (as designed in php) demands custom build html for menu items.
      (div, a, div, /div, /a, /div)



      If I didn't get the idea wrong - i should compose that custom menu item component using some classes from taglib package (divtag, linktag, ...) - but this is only available in jboss-seam-ui.jar. So, seems like I cant instantiate those, or is possible?



      I was looking over some tutorials covering custom components  creation, bu seems that I might have the same problem on instantiating it from backingBean.



      Thanks