The decorator should work without issue, however I really think javascript handler attributes should be exposed. The Decorator is about changing the display of the data, not its behavior - it might be worth raising this as a change request as it should be a fairly easy change.


David Friedman wrote:


Fred,

A decorator sounds like what you are looking for.  It can put in any text so
you could make a decorator that did an onclick with the value, or something
along those lines.

Regards,
David

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Frederic Dernbach
Sent: Saturday, November 29, 2003 12:43 PM
To: Display Tag Mailing List
Subject: [displaytag-user] onclick attribute


Hello everybody,


I'm trying to evaluate the display tag library for future usage (I
haven't actually tried it yet).

Looking at the reference documentation, I do not see any attribute for
the <display:column> tag such as the good old 'onclick' attribute of a
traditional <html:text> tag.

How can you call Javascript functions with the display tag library ?
Typically I need to set 'href' to "#" and have a 'onclick' attribute for
calling javascript functions.

Any idea ?

Fred



-- sam http://www.magpiebrain.com/




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to