File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans 6.1 webuijsf:Addremove problems. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans 6.1 webuijsf:Addremove problems." Watch "Netbeans 6.1 webuijsf:Addremove problems." New topic
Author

Netbeans 6.1 webuijsf:Addremove problems.

Brian McFarland
Greenhorn

Joined: Oct 10, 2008
Posts: 8
Hi all,

I'm trying to figure out how to use the AddRemove component in Netbeans 6.1 on my page. The page is a user detail page that shows all of the columns for a specified user out of my database table, and the component will be populated with a list of groups or roles from the groups table. The user will be able to shuttle groups to the selected field of the AddRemove component and click the "Done Editing" button and this should insert a new record into the UsersInGroups table which has a relationId column that has a sequence, a userID column corresponding to the user whose record was being viewed, and a groupID corresponding to the groups that were shuttled to the selected pane in the AddRemove component.

This seems like a simple problem but I have been unable to find a similar example. Thanks in advance.

Brian
Brian McFarland
Greenhorn

Joined: Oct 10, 2008
Posts: 8
To elaborate on the problem some, I've been able to bind the items property with the list from my Groups table which works okay, but I've tried binding the selected property to a number of different arrays and lists from my usersInGroups controller class but in most cases, I'll get an error saying "{0}: Conversion error occurred."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Netbeans 6.1 webuijsf:Addremove problems.
 
Similar Threads
NX: Record num in TableModel
Dynamic forms?
Identifying Selected Row in Table
Debugging HTTP 500
JSF datagrid component