myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Meyer" <adhocroc...@gmail.com>
Subject Re: [Trinidad] Cannot get selectOneChoice with partialTriggers working
Date Wed, 26 Mar 2008 13:48:20 GMT
Hi,

thanks for the quick reply. It seems I had a much more fundamental problem:
I did not use trh:body, now that I do this, everything works as expected.

btw is there a getting started guide for trinidad somewhere?



2008/3/26, Matthias Wessendorf <matzew@apache.org>:
>
> On Wed, Mar 26, 2008 at 1:48 PM, Karl Meyer <adhocrocker@gmail.com> wrote:
>
> Hi Karl,
>
>
> > Hi,
> >
> > I have trouble getting the partialTriggers to work, here is my code:
> >
> >  <tr:form>
> >    <tr:outputFormatted
> > value="#{RollenBean.errorMessage}"></tr:outputFormatted>
> >    <tr:panelGroupLayout layout="horizontal">
> >    <tr:outputLabel value="Rolle"></tr:outputLabel>
> >    <tr:selectOneChoice
> >      id="selectRole"
> >      value="#{RollenBean.rollenNode}"
> >      autoSubmit="true" disabled="#{not RollenBean.showTree}"
> >      valueChangeListener="#{RollenBean.processValueChange}" >
> >      <f:selectItems value="#{RollenBean.selectionList}"/>
> >    </tr:selectOneChoice>
> >    <tr:spacer width="10px"></tr:spacer>
> >    <tr:outputLabel value="für"></tr:outputLabel>
> >    <tr:selectOneChoice id="selectABC" value="#{RollenBean.myABC}"
> > partialTriggers="selectRole">
> >      <f:selectItems value="#{RollenBean.abcList}"/>
> >    </tr:selectOneChoice>
> >    </tr:panelGroupLayout>
> >  </tr:form>
> >
> > The selection works as debug output shows me that setRollenNode(...) is
> > called. But the "selectABC"
> >  is not updated. Any hints on what could be the reason for that?
>
>
> Is "RollenBean" in requestScope ?
> I think you may try Orchestra's conversationScope or Trinidad's
> pageFlowScope.
> These are between request and session (since session I'd not use)
>
> -Matthias
> >
> > Johannes
> >
> >
> >
> >
> >
> >
>
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>

Mime
View raw message