Re: Help with OGNL expression

"Luis Neves" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <007901c2a077$cd391da0$6401a8c0@wasp>
Great... it works perfectly... thanks.

I should have paid more attention to the Portal application,  the solution
you
suggest is already there. I will go sit in the corner now...

Best regards,

Luis Neves



----- Original Message -----
From: <[email protected]>
To: "Tapestry Contrib" <[email protected]>; "Luis
Neves" <[email protected]>
Sent: Tuesday, December 10, 2002 5:10 PM
Subject: Re: [Tapestry-developer] Help with OGNL expression


> This is actually much easier to do than you think!
>
> What you want is for an embedded component, a DirectLink, to have it's
listener
> parameter automatically set to the same as as one of its container's
parameters.
>
> It looks like this:
>
> <component-specification ...>
>
>   <parameter name="fooListener" type="....IActionListener" ....>
>
>   <component id="theLink" type="DirectLink">
>     <inherited-binding name="listener" parameter-name="fooListener"/>
>   ...
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.