Where is this?

This is from the Tapestry5 accordion - and it only takes Strings - no other 
components can be put inside the Accordion.

-------- Original-Nachricht --------
> Datum: Mon, 13 Oct 2008 13:27:00 +0200
> Von: Joachim Van der Auwera <[EMAIL PROTECTED]>
> An: Tapestry users <users@tapestry.apache.org>
> Betreff: Re: How to return .tml content as a String from a Java class?

> You may want to look at the "Accordion" component in equanda-tapestry5
> 
> Kind regards,
> Joachim
> 
> [EMAIL PROTECTED] wrote:
> > The SlidingPanel (as it currently is), expects an Array of Strings that
> contain the contents of the SlidingPanel:
> >
> > E.g.:
> >
> >     public String[] getDetails(){
> >             return new String[]{"Content A","Content B","Content C"};
> >     }
> >
> > Assuming, I want to return components instead of Strings, how would I
> access them in Java code?
> >
> > e.g.
> >
> > ComponentA.tml
> > ComponentB.tml
> > ComponentC.tml
> >
> > Can I "inject" them somehow and access their contents as a String?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >   
> 
> 
> -- 
> Joachim Van der Auwera
> PROGS bvba, progs.be
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to