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}
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
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
Hi Stephen,
do this:
tr:form id=departmentForm
tr:selectOneChoice id=departments label=Department
value=#{scoreEntryHome.department}
autoSubmit=true
s:selectItems
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
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
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?
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
@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
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
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,
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
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
13 matches
Mail list logo