) invoker.getBinding("param1").getObject();
Regards,
-Original Message-
From: Karthik N [ <mailto:[EMAIL PROTECTED]>
mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 3:40 PM
To: Tapestry users
Subject: Re: Question regarding Block/RenderBlock
Hi Navin,
You are
The root object for bindings is the page that contains the block, not
the page that renders the block. That is, pageA contains the
RenderBlock. pageB contains the Block to be rendered (below); testValue
is a property in pageB.
So, how does your block in pageB access values from pageA?
Via the
Hi Navin,
You are right. That is exactly my doubt/question. How do OGNL bindings
work for nested components inside a Block that is a part of a different page
and NOT the page that is currently being rendered.
Thanks, Karthik
On 11/9/06, B.S.Navin <[EMAIL PROTECTED]> wrote:
Hi Firas,
I thin
for such usage?
A3) Whenever you need to reuse some dynamic/static html, it's kind of
"include" directive in JSP.
Regards,
-Original Message-
From: Karthik N [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 08, 2006 3:19 AM
To: Tapestry users
Subject: Re: Question regardi
such usage?
A3) Whenever you need to reuse some dynamic/static html, it's kind of
"include" directive in JSP.
Regards,
-Original Message-
From: Karthik N [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 08, 2006 3:19 AM
To: Tapestry users
Subject: Re: Question regarding B
e external blocks
In your ClientPage.page you write:
And to access these blocks you write:
ognl:exBlocks.components.theNameOfTheBlock
Hope this helps,
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 1:11 PM
To: Tapestry users
Subject: R
this helps,
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 1:11 PM
To: Tapestry users
Subject: Re: Question regarding Block/RenderBlock
You can create a page that has a bunch of @Blocks in it and you can use
those blocks in other pages.
You can create a page that has a bunch of @Blocks in it and you can
use those blocks in other pages. We do that in Trails and it works
quite nicely. Check out the org.apache.tapestry.util.ComponentAddress
class. It allows you to "look up" components on other pages. So, you
can use it this way.
Hello,
"RenderBlock does not mandate that the Block being rendered be contained
within the page being rendered"
I have seen this statement at so many places - but I am looking for an
example/explanation of how to do it.
Any pointers?
Thanks, Karthik