How to set dynamic value to "value" attribute of struts html:button tag ?
- by Prat1
I am using following button tag to display button by passing some runtime value to "value" attribute:
<html:button styleClass="button50" value="<%=no_list %>" onclick="callOneFunction(this);" />
it is not throwing an jasper exception saying, setValue(String) cannot work with html:button.
Please help me out ot resolve my problem, I want to pass some value at runtime to vale attribute. How to do it ?
Thanks in advance.