Hi all,
  First, let me say i'm a newbie to faces. This is my situation: I have a
form  with a SelectOneChoice with the autosubmit and immediate flags set to
true, a pair of SelectOneBoolean with the same flags set, and another
SelectOneChoice also with the same attributes set. All of them are binded to
actionListener methods on my backing bean. The SelectOneChoices
enable/disable a part of the form, and the last SelectOneChoice uses ppr to
show additional data based on the selection made.

If a user follows a basic logic when filling the form (like first things
first) and select something in the first SelectOneChoice, everything goes
right. But if instead, the user just want to change any of the other options
first, Trinidad generates a PPR error caused by a nullpointer exception. The
error must come from that there's nothing selected in the component, as when
something is selected, the error disappear. It also doesn't appear if I
delete the immediate flag from the component, but then I get the validation
errors when the selection changes.

Can somebody help me...?
Thanks in advance 
-- 
View this message in context: 
http://www.nabble.com/-Trinidad--SelectOneChoice-with-autosubmit-and-immediate-causes-ppr-error-tp15268982p15268982.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.

Reply via email to