Re: [tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-17 Thread Zied Hamdi
Thanks a lot Bernd, I did't expect such a complete answer ;-). If I may suggest an idea: seen that select boxes doesn't support icons and subgrouping, maybe it's a good alternative to have a renderer based on the menu markup output to implement a "full tree structured" select component with ico

Re: [tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-17 Thread Bernd Bohmann
Hello Zied, just added a menu example to test see: http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/test/src/main/webapp/menu.jsp and method getFileMenu in TestBean http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/test/src/main/java/org/apache/myfaces/tobago/example/t

Re: [tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-16 Thread Zied Hamdi
Hello again, I forgot to tell you I'm new to JSF, It's possible I'm doingit all bad. I took a look in debug mode at a UIMenu instance initialized with Jsf tags, and I've found an attribute containing the list of nested commands ids. I suppose there's a factory for doing these routines... Does som

[tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-13 Thread Zied Hamdi
Hi Tobago, I have a little problem filling a UIMenu (I took a look at the mailing list and no one had the problem) : I've tried this: *public* UIMenu getPhoneMenu() { *return* phoneMenu; } *public* *void* setPhoneMenu(UIMenu phoneMenu) { PhoneNumber