Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Matthias Wessendorf
tr:form isn't a namingcontainer On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Stephen, do this: tr:form id=departmentForm tr:selectOneChoice id=departments label=Department value=#{scoreEntryHome.department}

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Richard Yee
You might try not using multiple forms and also not having the form id=departments and the selectOneChoice also set to departments -Richard Stephen Friedrich wrote: It seems that autoSubmit from a tr:selectOneChoice always uses PPR. I can't get other components to update, though. This is what

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Stephen Friedrich
Thanks a lot for all the answers. The duplicate id on form was actually a left-over from trial-and-error. I still don't understand why it did not work (without an id at the form). Sure, PPR works across forms, does it? Anyway this version works fine: |tr:form |tr:subform

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Martin Marinschek
Hi Stephen, do this: tr:form id=departmentForm tr:selectOneChoice id=departments label=Department value=#{scoreEntryHome.department} autoSubmit=true s:selectItems

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Stephen Friedrich
Because as opposed to tr:form, tr:subform _is_ a naming container. I still don't get why my original attempt did not work. Oh, right. Wonder why Stephen's solution finally works then? regards, Martin On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: tr:form isn't a namingcontainer

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Martin Marinschek
Oh, right. Wonder why Stephen's solution finally works then? regards, Martin On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: tr:form isn't a namingcontainer On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Stephen, do this: tr:form id=departmentForm

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Matthias Wessendorf
U are asking, because JSF 1.2 has it ? On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: No, http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_subform.html -Matze On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: Does the subform then have a prependId attribute?

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Matthias Wessendorf
No, http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_subform.html -Matze On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: Does the subform then have a prependId attribute? regards, Martin On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: On 9/28/07, Martin

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Martin Marinschek
@Stephen: tr:subform is a naming-container? ok. interesting. wonder why. @Matze: Why would he want to update the full form? regards, Martin On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: On 9/28/07, Stephen Friedrich [EMAIL PROTECTED] wrote: Thanks a lot for all the answers. The

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Martin Marinschek
Does the subform then have a prependId attribute? regards, Martin On 9/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: @Stephen: tr:subform is a naming-container? ok. interesting. wonder why. that allows you to reuse IDs inside

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Matthias Wessendorf
On 9/28/07, Martin Marinschek [EMAIL PROTECTED] wrote: @Stephen: tr:subform is a naming-container? ok. interesting. wonder why. that allows you to reuse IDs inside your subforms. @Matze: Why would he want to update the full form? I tried and it only worked that way. Isn't the real question,

[Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Stephen Friedrich
It seems that autoSubmit from a tr:selectOneChoice always uses PPR. I can't get other components to update, though. This is what I tried: tr:form id=departments tr:selectOneChoice id=departments label=Department

Re: [Trinidad] selectOneChoice with autoSubmit problem

2007-09-28 Thread Matthias Wessendorf
On 9/28/07, Stephen Friedrich [EMAIL PROTECTED] wrote: Thanks a lot for all the answers. The duplicate id on form was actually a left-over from trial-and-error. I still don't understand why it did not work (without an id at the form). Sure, PPR works across forms, does it? I think you need to