Re: [appfuse-user] Restricting links to admins

2007-06-19 Thread Matt Raible
Yes - Struts 2 is quite a bit easier. Acegi's tag library is already declared in taglibs.jsp, so you only need to use the tags: Components that are only visible to the users that satisfy the requirements here… Matt On 6/19/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: The good news is it

Re: [appfuse-user] Restricting links to admins

2007-06-19 Thread Michael Horwitz
The good news is it is much easier in Struts 2. Just use the Acegi taglibs as already bundled in AppFuse. More details can be found here: http://www.acegisecurity.org/docbook/acegi.html#taglib Mike. On 6/19/07, arvinder <[EMAIL PROTECTED]> wrote: What is the best way to accomplish the same t

Re: [appfuse-user] Restricting links to admins

2007-06-19 Thread arvinder
What is the best way to accomplish the same thing in struts2? Following solution is making me envy the JSF folks :) mraible wrote: > > Here's how to add Acegi JSF support to your project: > > 1. Add the acegijsf dependency to your pom.xml (I've uploaded this to > AppFuse's repository): > >

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
Whoa, Matt. That worked great and was exactly what I was looking for. Thanks! mraible wrote: > > Here's how to add Acegi JSF support to your project: > > 1. Add the acegijsf dependency to your pom.xml (I've uploaded this to > AppFuse's repository): > > > net.sf.jsfcomp

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread Matt Raible
Here's how to add Acegi JSF support to your project: 1. Add the acegijsf dependency to your pom.xml (I've uploaded this to AppFuse's repository): net.sf.jsfcomp acegijsf ${acegijsf.version} 2. Add the property to your pom.xml: 1.1.2 3. Create a

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
2.0-M5 mraible wrote: > > What version of AppFuse are you using? > > On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote: >> >> Any instruction as to how to configure the filter? Also, you said that >> this >> jar is included in the AppFuse bundle, so I'm assuming I won't need to >> download

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread Matt Raible
What version of AppFuse are you using? On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote: Any instruction as to how to configure the filter? Also, you said that this jar is included in the AppFuse bundle, so I'm assuming I won't need to download this. Thanks, Jeremiah mraible wrote: > >

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
Any instruction as to how to configure the filter? Also, you said that this jar is included in the AppFuse bundle, so I'm assuming I won't need to download this. Thanks, Jeremiah mraible wrote: > > You might try the acegijsf tags that are included in AppFuse: > > http://cagataycivici.wordpre

Re: [appfuse-user] Restricting links to admins

2007-06-18 Thread Matt Raible
You might try the acegijsf tags that are included in AppFuse: http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/ I believe they work, but some people have reported problems with them on this list. If you get them to work, please let us know. Matt On 6/18/07, jeremiah.l

[appfuse-user] Restricting links to admins

2007-06-18 Thread jeremiah.lopez
I'm currently editing the mainMenu.xhtml page to include some links for my application, but the problem I'm having is that some of the links only need to be visible and accessible by users with the 'ROLE_ADMIN' role. I know how to do this in the menu-config.xml file, but that only controls the li