Try using the DirectLink.  And this should be on the Tapestry Users list.

HTH,

Mark


-----Original Message-----
From: anil udasi [mailto:[EMAIL PROTECTED]
Sent: Fri 12/16/2005 7:49 AM
To: Tapestry development
Subject: Re: How to send in info to the page on clicking a link
 
Hi, 
Create a hidden Id element & onclick of Link update
this element with the selected Id & submit the page.

For example :
 <input jwcid="@Hidden" value="ognl:selectedId"   
id="selectedId"/>

 function setId(val)
 {
   document.getElementById('selectedId').value=val; 
 } 

<a onclick ="ognl:'setId('+Id+')'"....


Hope this helps
Anil Udasi.







--- binu <[EMAIL PROTECTED]> wrote:

> Hi,
> I have a set of links dynamically generated.
> I want to know how i can associate a unique id with
> it. A single listener 
> should handle events for all the links dynamically
> generated.
> The listener should handle the events accroding to
> the id of the link clicked.
> 
> Thanks & Regards 
> Binu
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to