DisplayTag & alt=”"
May 27, 2009
Context :
Currently DisplayTag (ver 1.2) does not support the html ‘alt‘ attribute… which can be quite annoying at times ! Nonetheless, there now seems to be a way around this…
Solution :
To add ‘<span title=”…”></span>’ (or any other html code for that matter) directly into the displaytag attributes (ie title) …
ie
<display:column title="<span title='Customer Number'>Cust. No.</span>" ...>
… alhumdulillah !!
Entry Filed under: DisplayTag, XHTML. Tags: display tag + alt, display tag + title, DisplayTag, displaytag + alt, displaytag + popup, displaytag + title, html alt.
2 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Kajo | June 17, 2009 at 6:04 pm
thanks a lot. i was thinking about it almost 2 hours
simple solutions are the most beautiful
2.
ibnaziz | June 18, 2009 at 12:09 pm
you are welcome…