This is because you can't mix the value of an attribute of a custom tag with
both string literal and run time expressions.
Instead of this:
html:submit onclick=this.form.hiddenId.value='%=(String) theCode %';
value=Edit /
something like this should work:
c_rt:set var=theCode value=%=(String)
From: [EMAIL PROTECTED]
html:submit onclick=this.form.hiddenId.value='%=(String)
theCode %'; value=Edit /
If Struts-EL is an option, I think it would look like this:
html-el:submit property=someProp
onclick=document.forms[0].hiddenId.value=${theCode};
/
--
Wendy Smoak
2 matches
Mail list logo