struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi Lu <em...@encs.concordia.ca>
Subject struts1 - html:hidden tag
Date Thu, 05 Mar 2009 16:17:52 GMT
Good morning,

A question about struts1 <html:hidden> tag.

May I know the differences between (1) vs. (2) please?
(1)<html:hidden property="field1" />
(2)<html:hidden property="field1" value="" />


When I load value from popup windows, it seems that default value will 
be setup on (1); while (2) always return value="".

Could someone let me know why? I am lost why default value will cause 
"problem".

Thanks a lot
---
Lu Ying

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


Mime
View raw message