On Wed, Mar 26, 2008 at 1:48 PM, Karl Meyer <[EMAIL PROTECTED]> 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