<span jwcid="block">
    ...
</span>

...

Caller specification:

<component id="somethingThatTakesABlack" type="...">
  <binding name="block" property-path="components.block"/>
</component>

Elsewhere

<parameter name="block" java-class="net.sf.tapestry.components.Block" ...>

<component id="insertBlock" type="InsertBlock">
  <inherited-binding name="block" parameter-name="block"/>
</component>

----- Original Message ----- 
From: "Frank Liu" <[EMAIL PROTECTED]>
To: "Tapestry" <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 12:54 PM
Subject: [Tapestry-developer] InsertBlock


> Hi Howard,
> 
> How to define a block so that it can be passed to
> a InsertBlock?
> 
> Let's try to work on border demo.
> 
> 1. On Border.html
>    ...
>    <span jwcd="insertSideBar"/>
>    ...
> 
> 2. On Border.jwc
>    ...
>    <component id="insertSideBar" type="InsertBlock">
>     <binding name="block" ??????/>
>    </component>
>    ...
> 
> And if the block needs some parameters, how can
> I transfer them to it?
> 
> Looking forward to getting answer from you
> 
> Frank
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Got root? We do.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to