This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

selectManyCheckbox: I can't visualize pre selected checkbox

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've a problem with the tag selectManyCheckbox in a JBoss Seam's context, this is my code:

<a:outputPanel id="ins_groups_panel">
<h:selectManyCheckbox id="groups" value="#{}" layout="pageDirection" size="1" onclick="selectAllGroups(this);">
<f:selectItems value="#{}" />


When I click this button, my action fill the list related to the selectManyCheckbox with the the values that must be pre-selected.

<a:commandButton id="editPeriod"
styleClass="rounded {transparent}"
onclick="if(false) {return false;}"
image="/images/database_edit.png" >
<a:actionparam name="idPeriod" value="#{periods.code}" assignTo="{}" />


The selected checkbox setted in the server side application remain unchecked, the field groups is implemented with an ArrayList<String> in the page. If I print that list in the page I can see it correctly valued, so, I think the server side is correct. Someone can help me? (Sorry for my English)

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!