This may be trivial, in which case I apologise in advance. I have an application that has several action classes (20 or so), each of which belongs conceptually to a *group* of actions. I would like to be able to extract lists of Actions by group from within a JSP/Action in order to present them to the user in logical blocks.
I would rather have the configuration for this in a single place i.e. the struts.xml file such that if I add a new Action configuration to that file (and add in a parameter value or something similar) then the Action will appear in the correct slot in the main 'switchboard' page automatically without me having to rewrite the jsp or the controller code. So, I want to be able to extract a list of Action mappings from within the struts.xml file based on a parameter value that I set within that file. Is this possible? Has someone already done this? For added bonus points, each Action has specific permissions requirements which can be queried from the relevant Action class. I would therefore like to be able to access the FQ classname from within the switchboard in order to query the permission requirements and hence provide sensible filters on the list of Actions presented. Again, is this possible? Has someone already done this? Many many thanks in advance to anyone who spends time reading this, understands and can help... Later, Andy -- View this message in context: http://www.nabble.com/Accessing-struts.xml-values-from-an-Action-tp21074738p21074738.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org