I have a list containing some user defined objects. I iterated the list and display in page.At the end of every row there is a command button. I want to sent each object in the list as a parameter. The following is the code I am using, it's not working .....
facultyList is a list in the class FacultyListAdminBean class. This list contains many objects of CpsFacultyListAdminVO.
Please Help. Thanks in advance.
[ March 20, 2008: Message edited by: Ingoba Ningthoujam ] [ March 24, 2008: Message edited by: Ingoba Ningthoujam ]
But I made a mistake in my question. I am using commandLink not commandButton. Usually I used to send the member of the object as a parameter but what I want is to send the USER DEFINED object itself as a parameter. So, can you please send me the sample code.
Thanks. But binding in Datatable we can use in that bean only. My requirement is to pass that value to another bean. On clicking on the link that I have mention in my code , a new pop up window will open and this page is associated with another bean.
please clarify more. Thanks in advance.
Joined: Jan 09, 2008
The action listener for the command link can be a method in the other bean:
(a backing bean for the target page). Then just retrieve your parameter in the usual fashion:
[ March 25, 2008: Message edited by: Bob Good ]
Joined: Dec 04, 2006
Thank you very much.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Passing user defined objects as request parameter in JSF