Re: Creating text fileds dynamically

2003-06-18 Thread Paul Vincent Craven
s using a custom tag. I didn't see a way to do this that was easy in struts. We kept the ideas on how to store and pre-fill the fields. And we used the apache commons to validate the fields via regular expressions. We also still used the actionerror objects for reporting back to the user. Paul

Getting MessageResources from Action

2003-06-18 Thread Paul Vincent Craven
essageResources) pageContext.getAttribute(Action.MESSAGES_KEY, PageContext.APPLICATION_SCOPE); out.print( messages.getMessage(defaultLocale,"errors.mymessage", myparametervalue) ); out.flush(); Paul Vincent Craven [EMAIL PROTECTED] ---

RE: Prepopulating DynaValidatorForm

2002-12-09 Thread Paul Vincent Craven
ean newForm = DynaActionFormClass.getDynaActionFormClass("personNameInfo").newInstance (); newForm.set("firstname",person.getFirstName()); request.setAttribute("personNameInfoForm",newForm); Paul Vincent Craven -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Struts

2002-12-08 Thread Paul Vincent Craven
if (descriptor == null) { throw new IllegalArgumentException ("Invalid property name '" + name + "'"); } return (descriptor); } What am I missing? Paul Vincent Craven -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>