So you have component 'Border', and, within it, you have 
components 'A' and 'B'.

It'll look something like:

<component-specification ...

  <component id="A" ...
    <binding name="value" 
expression="components.B.number"/>

  <component id="B" ...


(I used the latest DTD, appropriate for Tapestry 2.2).

Expressions are relative to the container, here the 
Border component.  Components have a Map property 
called "components", whose keys are the components 
embedded in the container.

--
[EMAIL PROTECTED]

http://tapestry.sf.net
> Hello All.
> I am new to Tapestry and still in a process of introduction, therefore my 
> question might sound a little trivial. I have a problem with the following:
> 
> 
> Border includes two components A and then B. Component B has a property 
> "getNumber()" which component A wants to read and display in its html templet. 
> So in A.jwc file I define the following component:
> 
>  <component id="numberDisplay" type="Insert">
>        <binding name="value" property-path="here is the part I cant figure 
> out"/>
>  </component>
> 
> 
> 
> 
> Thanks for your help.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> 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
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to