Seam contains el enhancements that allow you to pass parameters to action
methods, so to make it a bit less verbose you could try:
| @End
| String navFunc(String param)
| {
| return param;
| }
|
| <rich:menuItem value="#{messages.menu_manage_persons}"
| action="#{MyClass.navFunc('/modules/manageCatalogs/persons/main.xhtml')}" />
|
Although you still need a class to put the navFunc method on, so it does not
help that much.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092904#4092904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092904
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user