: Tuesday, May 03, 2005 6:22 PM
To: Struts Users Mailing List
Subject: Re: Combining html:image and bean:define
Chris,
Firstly, it looks like hard work using an input type=image and then
defining an onclick event - why don't you just wrap a link around an
image - i.e. something like...
a href
Responding to my own question, I did manage to get this working by doing
this:
bean:define id=nodeid name=hierarchyTreeForm property=nodeId /
bean:define id=requestPath value=%=request.getContextPath()% /
bean:define id=cancel_pagebean:message
key=image.common.button.cancel//bean:define
Chris,
Firstly, it looks like hard work using an input type=image and then
defining an onclick event - why don't you just wrap a link around an
image - i.e. something like...
a href=...img src=//a
Secondly, struts provides the pageKey and titleKey attributes on the
html:img and html:image
3 matches
Mail list logo