Hi again, using a hidden field is a good idea, but I just can set a simple java type into the value. I need to write a complex object into the property of my bean! Does anybody know how I can do that without using java?
Thanks, Tobias ------------------------------------------------------------- You could use a hidden field with the value equal to the value of the scripting variable .. <html:hidden name="personalplanungEditForm" property="someProperty" value=' <%=theScriptingVariable%>'/> -----Original Message----- From: Tobias Flohre [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 10:10 AM To: Struts Users Mailing List Subject: How to set formbean properties without asking the user Hello, I have a probably very simple question: I have a form like this: <html:form action="/personalplanungEditShow" name="personalplanungEditForm" type="PersonalplanungEditForm"> <td class="mitteoben"><html:image src="images/icons/editsmall.gif" property ="editieren<%=index.intValue()%>" alt="Editieren" /></td> </html:form> I want to set a property of personalplanungEditForm to a value that is stored in a scripting variable. How can I do this without using any java code? Does a tag exist for doing that? Thank you in advance! Tobias -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

