This content has been marked as final.
Show 4 replies
-
1. Re: Link to edit item of datatable
vh Jun 6, 2007 9:24 PM (in response to yannlaviolette)I think you can do this:
put that icon into a link, when click on the link, you pick up the id of that row ( I save the id in a column that is not displayed and I find that Id with javascript) and put it into a form hidden field (which is mapped to your bean), then you launch your modalPanel, the id should be in your bean now.
Or if you actually go to a new URL, you can just add parameters to the URL, the parameter be the row id. -
2. Re: Link to edit item of datatable
yannlaviolette Jun 7, 2007 9:02 AM (in response to yannlaviolette)
I was planning to use this option"vh" wrote:
Or if you actually go to a new URL, you can just add parameters to the URL, the parameter be the row id.
But I don't know how to extract parameter from the url. I've search on the Internet but I don't find anything. Maybe I didn't look at a good site. Do you know how to extract parameter from the URL?
Thanks a lot!
Yann -
3. Re: Link to edit item of datatable
vh Jun 8, 2007 2:52 PM (in response to yannlaviolette)FacesContext.getEnternalContect().getRequestParameterMap().
-
4. Re: Link to edit item of datatable
yannlaviolette Jun 11, 2007 1:41 AM (in response to yannlaviolette)"vh" wrote:
FacesContext.getEnternalContect().getRequestParameterMap().
Thanks a lot! It works!
Yann