We probably should log errors to the console when a tr:document or
equivalent is not present on the page and trinidad components are
being used. Perhaps in the settng up of the rendering context or
something like that that is only done once per request?
Karl, do you want to create a bug so that we can track this (I am on
my iPod at the moment)
-Andrew
On 3/26/08, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Wed, Mar 26, 2008 at 2:48 PM, Karl Meyer <[EMAIL PROTECTED]> wrote:
> > 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?
>
> no :( Not yet...
>
> -Matthias
> >
> >
> >
> > 2008/3/26, Matthias Wessendorf <[EMAIL PROTECTED]>:
> >
> > > 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
> > >
> >
> >
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>