I'm sorry if the title might seem misleading, but I didn't know exactly how to name it Well, here is my problem: I have a set operations, a set of (user)profiles, and which operations are available for which profiles (permissions). I want to show a list (jsp) with the operations in the first column, profiles in the first line, and checkboxes throughout this table to assign permissions. To do that, I set up an object like that:
ProfilePermission is used to actually set up the checkboxes in jsp, and it is declared like that:
In the Action, I have declared a list like this (with the approppriate getters and setters):
And, finally, the jsp section, to set up my table:
As far as I am aware, there is something odd with the "name" parameter in my checkboxlist tag, but I have already tried several different alternatives, and so far there is no way I can capture which boxes have in fact been checked. Could someone please lend me a helping hand?
Thank you very much!
no wonder he is so sad, he hasn't seen this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java