• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting variables inside a list from the view  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

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!

Thiago.
 
What's that smell? I think this tiny ad may have stepped in something.
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!