Re: Show component inside an AbstractComponent

2006-03-24 Thread Andreas Bulling
On 24. Mär 2006 - 11:17:19, Fernando Padilla wrote: | You have to declare the component first ( within the .jwc, .page or | through annotations ). [...] Thanks for that! It works now ;-) - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Show component inside an AbstractComponent

2006-03-24 Thread Fernando Padilla
You have to declare the component first ( within the .jwc, .page or through annotations ). While you're declaring it you can use the property option to have tapestry automatically bind the component to a property for you, or you can call a getComponent( "name" ) (something like that, or getCom

Re: Show component inside an AbstractComponent

2006-03-24 Thread Mike Snare
It's probably easiest just to add it to the jwc file, but to be honest i don't know the answer... On 3/24/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > On 24. Mär 2006 - 14:07:56, Mike Snare wrote: > | Not sure, but have you tried calling render on the component after you > | get it instead of

Re: Show component inside an AbstractComponent

2006-03-24 Thread Andreas Bulling
On 24. Mär 2006 - 14:07:56, Mike Snare wrote: | Not sure, but have you tried calling render on the component after you | get it instead of just adding it? | | Never tried it, just my first thought. Well, that's right ;) But the question before is: How can I get an instance of this component a tal

Re: Show component inside an AbstractComponent

2006-03-24 Thread Mike Snare
Not sure, but have you tried calling render on the component after you get it instead of just adding it? Never tried it, just my first thought. On 3/24/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a component extending AbstractComponent which has > a (optional) boolean para

Show component inside an AbstractComponent

2006-03-24 Thread Andreas Bulling
Hi all, I have a component extending AbstractComponent which has a (optional) boolean parameter: If the parameter has been set another BaseComponent shall be included at some place in the first component's output. The question is: How can I include another component based on this condition in Jav