i guess. It's a good documet though. You have to get the taste of
provider-referer idear

ernst

> -----Oorspronkelijk bericht-----
> Van: Emile [mailto:[EMAIL PROTECTED]
> Verzonden: donderdag 10 juni 2004 1:21
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: Lost in taglib nodes
> 
> 
> Hi Ernst
> 
> thanks.  Yep - that was the doc that confused me, takes a bit 
> of getting
> used to I suppose.
> 
> Regards
> Emile
> 
> ----- Original Message -----
> From: "Ernst Bunders" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 09, 2004 6:39 AM
> Subject: RE: Lost in taglib nodes
> 
> 
> > you have to use:
> >  <mm:relatednodes constraints="number=$QUESTIONNAIRE_ID"
> > type="questionnaires">
> >  where QUESTIONNAIRE_ID is a taglib var (i.e. created with 
> <mm:import/>
> > are you aware of the taglib doc?
> > http://www.mmbase.org/docs/reference/taglib/toc.html
> >
> > ernst
> >
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: Emile [mailto:[EMAIL PROTECTED]
> > > Verzonden: donderdag 10 juni 2004 0:34
> > > Aan: [EMAIL PROTECTED]
> > > Onderwerp: Re: Lost in taglib nodes
> > >
> > >
> > > Thanks guys.
> > >
> > > If I wanted to access a particular questionnaire in a given
> > > group, could I
> > > do the following:
> > > <mm:node number="groupid" id="group>
> > > <mm:relatednodes NUMBER="QUESTIONNAIRE_ID" type="questionnaires">
> > > <mm:relatednodes type="question">
> > > <mm:field name="group-field" node="group"/>
> > > <mm:field name="question-field" />
> > > </mm:relatednodes>
> > > </mm:relatednodes>
> > > </mm:node>
> > > ?
> > >
> > > It doesn't makes sense to me to have the cartesian product of
> > > group at the
> > > question level when we've already navigated to the correct
> > > questionnaire.
> > >
> > > Sorry - I'm a bit confused by the taglib reference.
> > >
> > > Thanks again.
> > >
> > > Regards
> > > Emile
> > >
> > > ----- Original Message -----
> > > From: "Ernst Bunders" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, June 09, 2004 5:47 AM
> > > Subject: RE: Lost in taglib nodes
> > >
> > >
> > > > <mm:node number="groupid" id="group>
> > > > <mm:relatednodes type="questionnaires">
> > > > <mm:relatednodes type="question">
> > > > <mm:field name="group-field" node="group"/>
> > > > <mm:field name="question-field" />
> > > > </mm:relatednodes>
> > > > </mm:relatednodes>
> > > > </mm:node>
> > > >
> > > > i think this is it. a field tag either uses the surrounding node
> > > implicitly,
> > > > or any node explicitly by refering to it's id
> > > > ernst
> > > >
> > > > > -----Oorspronkelijk bericht-----
> > > > > Van: Emile [mailto:[EMAIL PROTECTED]
> > > > > Verzonden: woensdag 9 juni 2004 23:39
> > > > > Aan: [EMAIL PROTECTED]
> > > > > Onderwerp: Lost in taglib nodes
> > > > >
> > > > >
> > > > > Hi All
> > > > >
> > > > > I'm trying to work out whether I can access a "grandparent"
> > > > > node , or if I
> > > > > have to set the node to the "grandparent" and then load the
> > > > > related nodes of
> > > > > the parent, then it's related node - which is the one I'm
> > > primarily
> > > > > interested in.  Sorry about the messy explanation - I
> > > > > basically have groups,
> > > > > questionnaires belonging to a group and questions 
> beloning to a
> > > > > questionnaire.  When I come to display the questions, I want
> > > > > to also display
> > > > > a field that's stored in the group object that I selected
> > > > > whilst navigating
> > > > > to the questions.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Regards
> > > > > Emile
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
> 
> 

Reply via email to