RE: Question regarding Block/RenderBlock

2006-11-09 Thread Firas Adiler
) 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

Re: Question regarding Block/RenderBlock

2006-11-09 Thread Robert Zeigler
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

Re: Question regarding Block/RenderBlock

2006-11-09 Thread Karthik N
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

Re: Question regarding Block/RenderBlock

2006-11-09 Thread B.S.Navin
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

RE: Question regarding Block/RenderBlock

2006-11-09 Thread Firas Adiler
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

Re: Question regarding Block/RenderBlock

2006-11-07 Thread Karthik N
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

RE: Question regarding Block/RenderBlock

2006-11-07 Thread Firas Adiler
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.

Re: Question regarding Block/RenderBlock

2006-11-07 Thread James Carman
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.

Question regarding Block/RenderBlock

2006-11-06 Thread Karthik N
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