You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by bhaarat Sharma <bh...@gmail.com> on 2008/04/29 00:25:53 UTC

Struts 1 hidden tag

Hello

I am using struts 1

have a Question with the hidden tag.

I have a bean named addPartnerGrantModificationForm which has a
property called dateStart

I want to pass a hidden property named dateStartHidden and give it the
value coming from dateStart method of the
addPartnerGrantModificationForm  bean.

How can i do this??

this works
<html:hidden property="dateStart"/> BUT when rendered it is convertint
o the following html
<input type="hidden" name="dateStart" value="10/19/2007"/>

I want it to be like this
<input type="hidden" name="dateStartHidden" value="10/19/2007"/>

I've tried various things but none seem to be working :(

please help!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org