RE: Combining html:image and bean:define

2005-05-04 Thread Chris Loschen
: 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

RE: Combining html:image and bean:define

2005-05-03 Thread Chris Loschen
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

Re: Combining html:image and bean:define

2005-05-03 Thread Niall Pemberton
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