I am trying to add an ommouseover event to my hyperlinks in a display table.
I am trying to achieve the following <a href="www.somelink.com" onmouseover="someCall()">Link</a>
display tag lets me set the href but has no way of setting onmouseover info. <display:column property="<%=fieldName%>" href="<%=fieldHref%>" />
any idea how to do this?
hemant
You'll need to create a Decorator class which allows you to customize the link.
http://displaytag.sourceforge.net/tut_decorators.html
Log in to post a comment.
I am trying to add an ommouseover event to my hyperlinks in a display table.
I am trying to achieve the following
<a href="www.somelink.com" onmouseover="someCall()">Link</a>
display tag lets me set the href but has no way of setting onmouseover info.
<display:column property="<%=fieldName%>" href="<%=fieldHref%>" />
any idea how to do this?
hemant
You'll need to create a Decorator class which allows you to customize the link.
http://displaytag.sourceforge.net/tut_decorators.html