For those that expressed an interest (one or two with baited breath as I recall!), and even for those that didn't catch the previous threads, I just added a Bugzilla ticket for the initial posting of setupItems.
In short, this is an addition to Struts (1.2.4) that allows for setup-type functionality to be declaratively added to action mappings and forwards. In other words, you can do something like the following: <action path="/myPage" type="com.mycompany.myapp.action.MyPageAction"> <setupItem setupClass="com.mycompany.myapp.setups.SetupClass" setupMethod="setupMethod1" /> </action> This would result in SetupClass.setupMethod1() being called right before execute() of MyPageAction is called (it gets passed the request object). You can do whatever you like in this setup class, but I believe this will be good for things like populating dropdowns and such that need to happen regardless of what happens in the Action. You can add a setupItem to forwards as well, both global and local, and you can add as many as you like. They will all be executed, in the order they appear. Also, for the forwards, the setupItems listed for the action mapping will executed first, followed by those for the forwards returned by your Action only, AFTER execute() completes. The ticket contains a ZIP archive with a complete example webapp that shows numerous example of this in a number of variants. It also includes the complete source for the webapp as well as the changes made to Struts. Lastly, it includes an updated struts.jar that you should be able to drop in an existing application, updated your struts-config.xml file, and off you go. Be sure to check out the readme.txt file in WEB-INF/src for full details if you give this a try. That's that. Let's see what people think... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]