struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aparna Tula" <aparna.t...@SYNCHRONOSS.com>
Subject onclick event on <html:button> and <html:image>
Date Wed, 01 Aug 2001 16:16:27 GMT
I am relatively new to struts, so please do forgive me if this is a
silly question.

Here is my problem. 

Doesn't work:
	<html:image  
		srcKey="image.orders.buttonCancel" 
		altKey="altText.orders.buttonCancel" 
		onclick="history.back();"/>

But this works:
	<html:button property="cancel" onclick="history.back();">
   		<bean:message key="button.cancel"/>
	</html:button>   

the onclick on <html:button> works fine, but the onclick on <html:image>
doesn't

Any ideas?

Thanks
Aparna

Mime
View raw message