How about: (replace listing with whatever the real id is supposed to be)
<display:column class="listrow" property="name" title="My Title">
<a href="javascript:myJSFunction(${listing.name})">${listing.name}</a>
</display:column>
-PJ
On Thu, 3 Mar 2005 12:32:28 -0600, Wesley Lemke <[EMAIL PROTECTED]> wrote:
> I am trying to call a javascript function when a user clicks on a link
> in a <display:column> tag. Here is my current code:
>
> <display:column href="javascript:myJSFunction()" class="listrow"
> property="name" title="My Title"/>
>
> This much works find, but I want to pass a parameter to the function.
> In this case I want it to be the ID that goes along with the Name. Is
> there a way to do this?
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user