I just committed a new feature (available now in the nightly build, coming soon in 1.2.7 hopefully) where you can specify a message directly, so you don't actually need message resources in the JSP. I don't know if that helps you or not?
You simply construct an ActionMessage with the actual message, for example.... ActionMessages messages = new ActionMessages(); ActionMessage msg = new ActionMessage("Customer Number is invalid", false); messages.add("custNo", msg); (The false is specifying resource=false - new property in ActionMessage) Niall ----- Original Message ----- From: "Dave Newton" <[EMAIL PROTECTED]> Sent: Wednesday, April 06, 2005 6:20 PM > Ah, but without access to the struts-config.xml, and the messages are > being retrieved within an Action, not a JSP. > > Basically I have classes instantiated at run-time that can do magic > things. When the magic breaks, I need ActionErrors. > > Part of it is that I just haven't had the time to dig down far enough > into the stack to see how easy/hard this is. > > I'm not yet sure that I can use the framework as it is to do what I need > to do. No time. *sigh* I posted about this a few weeks ago and haven't > had time to follow up on the few answers I received. Concisely, I need > to be able to dynamically render form elements that are defined outside > the system, validate them, and process them. > > Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]