Hi, I'm trying to simulate the click of a button in my
jsp, I have the code in html standard:
img src="/resource/images/btnOk.gif" alt="click" title="click here" on-Click="something" on-Mouse-Down="this.src='/resource/images/btnOkOn.gif'"
on-Mouse-Up="this.src='/resource/images/btnOk.gif'"
but I'm using
struts and I want to use the application resource file to eliminate the source of the image:
html:image property="btnOk" on-click="return something" border="0" bundle="Images" srcKey="images.btn.ok.src" altKey="images.btn.ok.alt" titleKey="images.btn.ok.title"/
Does anybody can tell me how could I implement the onMouseDown and onMouseUp JavaScript event handlers using a message in my application resource ??
Thanks in Advance,
Alejadro.-