• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans 6.1 webuijsf:Addremove problems.

 
Brian McFarland
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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."
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic