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
essageResources) pageContext.getAttribute(Action.MESSAGES_KEY,
PageContext.APPLICATION_SCOPE);
out.print( messages.getMessage(defaultLocale,"errors.mymessage",
myparametervalue) );
out.flush();
Paul Vincent Craven
[EMAIL PROTECTED]
---
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]>
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]>
4 matches
Mail list logo