OK, I figured it out. For other's reference...

Two issues:  
 - The value of the hidden field should be the ognl expression (so,
personId, not a property)
 - I did not have the parameter interceptor on the action.  So, my
parameters were not getting passed through.


LES

-----Original Message-----
From: Les Stroud [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 15, 2003 12:22 PM
To: [EMAIL PROTECTED]
Subject: Hidden Input Value Issue

Does any body have any idea why this:

<ww:form name="showAddressForm" action="ShowAddressForm.action"
method="post">
        <input type="hidden" name="personId1" value="<ww:property
value='personId'/>"/>
        <ww:hidden name="personId" value="<ww:property
value='personId'/>"/>
</ww:form>

would output this:

<form name="showAddressForm" action="ShowAddressForm.action"
method="post" >

        <input type="hidden" name="personId1" value="1"/>
        <input type="hidden" name="personId" value=""/>
</form>


In other words, why cannot I not set the value of <ww:hidden> with a
<ww:property>??

Thanx,
LES



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to