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: , , , , , , .

2 Comments Add your own

  • 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

    Reply
    • 2. ibnaziz  |  June 18, 2009 at 12:09 pm

      you are welcome…

      Reply

Leave a Comment

Required

Required, hidden

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


Recent Posts

Recent Comments

Categories

Top Posts

Links

Blog Stats

Meta