This content has been marked as final.
Show 3 replies
-
1. Re: New project - advice needed for user menus
ilya_shaikovsky Dec 7, 2009 3:38 AM (in response to bolsover)1)
2 Is the choice of richfaces components described above appropriate given that menuitems may be linked to static web pages, backend actions and in some cases even external executables?
yes
2) check this http://www.jboss.org/community/wiki/UsingrichisUserInRoleobject
3) check richfaces-demo sources(download links at wiki and project site) to explore left menu code which implemented dynamically. It uses not db but simple properties files - but the approach is the same. -
2. Re: New project - advice needed for user menus
bolsover Dec 7, 2009 4:02 PM (in response to bolsover)Hi Ilya
check this http://www.jboss.org/community/wiki/UsingrichisUserInRoleobject
Thanks a useful link - unfortunately, I have to use a custom authentication mechanism in order to meet my clients demands - so standard basic or realm based roles are not available - I can however simulate by putting a custom bean (having a role attribute) in session scope when the user authenticates.check richfaces-demo sources(download links at wiki and project site) to explore left menu code which implemented dynamically. It uses not db but simple properties files
Sorry I'm having trouble locating the demo you refer to... I've tried looking in the richfaces-demo here...
/root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo-..
But can find no examples of dynamic menus -can you be moe explicit as to where I need to look please? -
3. Re: New project - advice needed for user menus
nbelaevski Dec 7, 2009 7:02 PM (in response to bolsover)"bolsover" wrote:
Hi Ilyacheck this http://www.jboss.org/community/wiki/UsingrichisUserInRoleobject
Thanks a useful link - unfortunately, I have to use a custom authentication mechanism in order to meet my clients demands - so standard basic or realm based roles are not available - I can however simulate by putting a custom bean (having a role attribute) in session scope when the user authenticates.
I'd suggest you to check Seam Security API."bolsover" wrote:
Sorry I'm having trouble locating the demo you refer to... I've tried looking in the richfaces-demo here...
/root/examples/trunk/richfaces-demo/src/main/java/org/richfaces/demo-..
But can find no examples of dynamic menus -can you be moe explicit as to where I need to look please?
This is demo for 4.x versions. Please check this one: http://anonsvn.jboss.org/repos/richfaces/tags/3.3.2.SR1/samples/richfaces-demo/