Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

selectBooleanCheckbox and immediate tag  RSS feed

Jeremy Bryan
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a hard time getting what I thought would be some simple functionality working in one of my jsf pages. Basically I have a page that has several fields populated from a backend database, which is working fine. I also have a selectBooleanCheckbox which upon selection is supposed to enable a drop down selection list. My problem is that when I implement the immediate equals true attribute on the checkbox and select it, I get an error on my page because all the attributes populated from the database are nulled out when the page is submitted via the immediate attribute and the onclick equals submit. From what I've read this is a known problem, but what is a reasonable work around? I know the logic for the checkbox and the drop down list works because when I take the database populated components off the page, the fucntionality works just fine.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!