Hi,
migrating from Struts1 I encounter in a jsp the error "Equal symbol expected"
at the "onclick" row.
I think my old quotes do not work any more with Struts2.
Struts1:
<logic:iterate id="b" name="blabla" scope="request">
<input type="button" value="Delete"
onclick="javascript:if(confirmDelete()){document.getElementById('deleteid').value='<bean:write
name="b" property="id" />';}"/>
Struts2:
<s:iterator value="blabla">
<s:submit type="input" value="Delete"
onclick="javascript:if(confirmDelete()){document.getElementById('deleteid').value='<s:property
value="id"/>';}"/>
I tried 'id', \"id\", \'id\' "id" but nothing worked out
Any advice appreciated (hopefully not too complicated since I have this row in
many jsp files)
Ute
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]