When using EL with dyna beans you need to reference the map property then your property. The struts tags (i.e. bean:write) handle this for you.
<bean:message key="valueAdded" arg0="${MyDynaValidatorForm.map.description}"/> -----Original Message----- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 9:28 AM To: Struts Users Mailing List Subject: Re: message resources > Nope... That means Servlet spec 2.2, which is less than you need ;) > > Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people > make fun of me for it. > > <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > > Try that and see what happens... You can always do a sanity check JSP > page by displaying something you know to be a scoped value. Now I get thrown an error that it can't find the value! yahooooo! ;-) javax.servlet.ServletException: Unable to find a value for "description" in object of class "org.apache.struts.validator.DynaValidatorForm" using operator "." <bean:message key="valueAdded" arg0="${MyDynaValidatorForm.description}"/> However, this does work!!! <bean:write property="description" name="MyDynaValidatorForm"/> ??????? Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]