I'd suggest passing the category as a parameter to the component. your page receives the category identifier as a parameter:
/menu/meat Menu.java onActivate(String category) etc. Then provide the category as a parameter <t:menu category="category"/> etc. Josh On Mon, Mar 12, 2012 at 12:42 PM, TechniciuM <a1098...@rppkn.com> wrote: > Lets assume I have a categorized pages, ie one page is for fruits, the other > one is for vegetables and so forth , so on... And that I have menu, and > based on which page is turned, it gives the user different menu. So I have a > component Menu, and have fruits, vegetables, meat pages. Now I want to put > all menu stuff in that component Menu, and based on which page is turned, it > gives proper submenus, like for fruits, nuts, berries and for meat it gives > me beef, pork and so on... Any ideas how would you implement this, and if > you think I shouldn't do this way, propose the other. Thanks in advance. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5558903.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org