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

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -