This content has been marked as final.
Show 3 replies
-
1. Re: Passing and ID via ajax commandlink in datatable or repeat
abafna.bafna.amit.gmail.com Dec 15, 2008 10:36 PM (in response to mocha)Have you tried
f:setPropertyActionListener
to set the id????Cheers!!!
Amit
-
2. Re: Passing and ID via ajax commandlink in datatable or repeat
chris.simons Dec 15, 2008 10:36 PM (in response to mocha)If using RichFaces, look into a4j:actionParam. This should do what you need.
Or, use f:param, but this won't be an ajax command.
I assume your a:commandLink is an a4j:commandLink?
-
3. Re: Passing and ID via ajax commandlink in datatable or repeat
mocha Dec 16, 2008 10:13 AM (in response to mocha)Thanks for the tip on actionParam, it does work as a means of passing the parameter. However thinking about this further, my problem is that JSF is failing to map the model on each request so the a4j:commandLink fails silently. I'll create a new post for this.