List Info

Thread: Use data model for JSCookMenu like tree/tree2




Use data model for JSCookMenu like tree/tree2
country flaguser name
China
2007-09-23 21:27:47
JSCookMenu is quite nice, but it is not very flexible. Each Navigation menu item must be statically bound to a method like action="#{bean.action}". As a result we can not use the same method for different menu item actions. Also there is no way to pass parameters to action methods.
 
Using data model and rendering menu like tree2 gives users freedom on how to render each menu item. For example, commankLink, commandButton, param, etc.
 
What do you think?  Thanks!
Dave

2;


Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )