cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hoskens" ...@schaubroeck.be>
Subject Re: [Woody] Repeater & TemplateTransformer
Date Fri, 23 Jan 2004 07:27:15 GMT
Sorry, it was a mismatch in an xslt! (Hmm, last minute check at the end of
the day, I guess that part of my mind fell asleep..:-)


----- Original Message ----- 
From: "Fabio Sabatini" <f.sabatini@cbim.it>
To: <users@cocoon.apache.org>
Sent: Thursday, January 22, 2004 7:04 PM
Subject: Re: [Woody] Repeater & TemplateTransformer


> Jan Hoskens wrote:
>
> > Hi,
> >
> > I got another strange thing going:
> >
> > This is the good and working template part:
> >
> > <wt:repeater-widget id="persons">
> >      <table class="persons">
> >
> >       <th/>
> >       <th/>
> >       <body>
> >        <tr>
> >         <td><wt:widget-label id="name"/>:</td>
> >         <td><wt:widget id="name"/></td>
> >        </tr>
> >       </body>
> >      </table>
> >     </wt:repeater-widget>
> >
> > This does give me the right output: a table with the persons.
> >
> > When I want to use my own tags (maybe not necessary, but I'm
> > using 'home-made' tags through all my other pages) results in:
> > <wt:repeater-widget id="contactpersoon">
> >      <Table>
> >       <Atributes class="persons"/>
> >       <Header/>
> >       <Header/>
> >       <Body>
> >        <Row>
> >         <RowData><wt:widget-label id="name"/>:</RowData>
> >         <RowData><wt:widget id="name"/></RowData>
> >        </Row>
> >       </Body>
> >      </Table>
> >     </wt:repeater-widget>
> >
> > This gives me, well nothing at all! I've put these together in one
> > template, but this latter one gives a blank space while the former
> > does not. In my final transformation I replace my 'home-made' tags
> > with the correct ones, and leave the others as is, so it does have to
> > give the same result (a table with 'home-made' tags that isn't in a
> > repeater does give the correct output).
>
> Don't do your transformation and see the result: see what woody
> transformer sends out.
> Maybe this can help you understand the reason.
>
> >
> > I thought the templatetransformer filled in the fields and just copied
> > the stuff in bewteen the repeater for each row, but apparently it does
> > not??
> >
> > Greetings,
> >
> > Jan.
>
> -- 
> Fabio Sabatini
>
> Direzione Tecnica
> Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue 2 - 27100 PAVIA (PV) ITALIA
> Tel. +39.0382.525100 - Fax +39.0382.526622
> E-mail: f.sabatini@cbim.it
> http://www.cbim.it
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message