jsp - in struts how do you set the id property for html:hidden -
jsp - in struts how do you set the id property for html:hidden -
i want set hidden input onto html form , doing next struts tag:
<html:hidden property="currentpage" value="page1"></html:hidden> which renders html:
<input type="hidden" value="page1" name="currentpage"> how set id property on html element? want html rendered like:
<input type="hidden" value="page1" name="currentpage" id="currentpage">
try this:
<html:hidden property="currentpage" value="page1" styleid="currentpage"></html:hidden> jsp struts
Comments
Post a Comment