> -----Original Message----- > From: Erik Hatcher [mailto:[EMAIL PROTECTED] >> > Actually I'd want something more elegant, like something like this: > > public void setAppConfig(AppConfig config) { ... } > > Where an AppConfig object is in application scope. Can this be done > with components.xml like the session stuff is done? If so, then I'm > all set. Otherwise it seems to be trivial to add an > interceptor to do > this. > > Where in the code (yeah, I'm learning it fast, but pointers always > help) is the components.xml and session scope dealt with?
Check out the com.opensymphony.xwork.interceptor.component package under Xwork. >> > Ok, so this is how you turn off validation when coming into a > page, but > turn it on when coming out? Exactly. You can apply validators at the alias level or at the Action class level (based on the validator file name). The alias level validators are added to the action level validators (and superclass validators, etc) to build up the whole list. In this way you can have some validators for one alias, but not the other. > > Definitely resource loading should be pluggable. Having resources > statically in a WAR always seemed odd to me with Struts. I > don't know > how good the Commons Resource code is (yes, I recognize the > questionable quality of Jakarta stuff too guys, and take what is good > and bitch about what is bad!) but if its a decent enough abstraction, > then lets use it. If it sucks, then not. Thoughts on this? > I'm open to this... What are its dependencies? > > We're just glad to have you... Next we'll convert Matt Raible, then > > we'll teach Craig McClanahan the error of his ways... LOL > > Matt we can convert, no problem! > > Craig... no way. He created the abomination known as > DynaActionForms, > lest you forget! :) > LOL! No one is beyond redemption! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork