I thought rahul wanted <a href="/myapp/someAction.do?id=/foo"/> to invoke 
someAction and passing a parameter, id. What will happen if you click <a 
hred="/foo"/>?

I still can't figure out how to solve my problem, that is get <bean:message> 
tag evaluated as the parameter of a javascript call. Like the following:

<html:submit onclick="setSubmitAction(<bean:message 
key="MyPanel.theField.label"/>)"><bean:message 
key="MyPanel.theField.label"/></htm:submit> 

Some time I also need to pass a java variable as the parameter to a javascript 
function, and I encounter the same problem. For example,
<html:submit onclick="setSubmitAction(<%= myVar %>)" >
myVar will not get evaluated.

Can someone shied some lights on this? 

Thanks a lot,
Catherine


-------------------------------------------------------------
<a href="http://Struts_User_List.roomity.com";>roomity.com</a>
roomity.com is broadband internet. ~~1127830842502~~
-------------------------------------------------------------

Reply via email to