lbastil wrote:
Thank you for the help.
But I could not get it to work.
Here is a code sample from the Action Class:
private Set traegerPermissions;
The class TraegerPermissions itself have another collection:
private Collection einrichtungen;
And both TraegerPermission an
Thank you for the help.
But I could not get it to work.
Here is a code sample from the Action Class:
...
private Set traegerPermissions;
...
The class TraegerPermissions itself have another collection:
...
private Collection einrichtungen;
...
In jsp I have successful read access:
...
Provided the checkbox is properly bound to the collection entry, yes.
You need to specify the name of the s:checkbox (or any other input type)
as userCollection[index].userProperty where 'userCollection' is the name
of the Collection property on your action, index comes from the iterator
and us
Thank you for reply!
I just wonder:
I understand it would work out of box for 1 User-Object, if I bound checkbox
to permission property of this user.
But I wonder it should work out of box if I use (as I described) Collection
of Users in Action
and on jsp side iterator tag, and checkbox tag with
lbastil wrote:
Hello,
I have the following problem:
in action i have a collection of class User
each class User have different attributes, one is: boolean permission
in JSP I use struts 2 iterator tag to iterate the User Objects.
For each User entry I create one row in table.
for displaying/ch
5 matches
Mail list logo