• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get selected value

 
Raj
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
This is my code:

ArrayList<PS_Department> UsersDept = serverFunc.adminLib.GetDepartmentsByCurrentUser();
int[] selectedDepts = new int[UsersDept.size()];
int i = 0;
for (PS_Department dept : UsersDept) {
selectedDepts[i]= dept.getID();
i++;
}

theForm.setSelectedDeptIds(selectedDepts);

here in(selectedDepts)i got all the department value As a selected value.but i want only those selected value which is selected by user.how can i got those selected value.
Please help....
 
Nick Williamson
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you realize that one post is sufficient, if you post many of the same questions in the same forum people are less likely to help you.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic