(I was trying to send this to the users list, but I can't seem to post anyhing on that one)
Hi all,
I have a question regarding setting up application-wide drop downs and such. What is the best way to do this with Stripes (and Spring). With Spring only, I would sublcass ContextLoaderListener and do all that in the contextInitialized method. However, I'd like to be able to setup the ActionBeanContext with that data. I'm assuming that's where it should go, correct? Also, what about dropdowns that are only related to one action, should that also be stored in the same application-wide ActionBeanContext.
Finally, what is the best way to check if a user has permission to view a page. Let's say the user object is in the actionBeanContext also, and it has the list of permissions too. Would I use the @Before, and if so how?
Hope these questions make sense.
Thanks,
Abdullah
- Re: [Stripes-dev] Spring bean injection Jeppe Cramon
- Re: [Stripes-dev] Spring bean injection Abdullah Jibaly
- [Stripes-dev] ContextLoaderListener Abdullah Jibaly
- Re: [Stripes-dev] Spring bean injection Tim Fennell
- Re: [Stripes-dev] Spring bean injection Jeppe Cramon
- Re: [Stripes-dev] Spring bean injection Tim Fennell
- [Stripes-dev] Spring bean injection Tim Fennell
