Aejaz Muslim wrote:
[snip]
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- $Id: Home.jwc,v 1.4 2001/05/22 15:24:16 hship Exp $ -->
> <!DOCTYPE specification PUBLIC "-//Howard Ship//Tapestry Specification 
> 1.1//EN" "http://tapestry.sf.net/dtd/Tapestry_1_1.dtd";>
> <specification class="tutorial.formTest.Values">
>   <component id="insertName" type="Insert">
>     <binding name="value" property-path="Home.Name"/>
>   </component>
> </specification>
> 
> I am little bit confused about 'name' property in the binding, what is 
> it supposed to refer to ?

The 'name' property identifies which parameter of the component you are 
setting.

In the case above your binding says: 'set the 'value' parameter of the 
'insertName' component to the property path Home.Name.

In values.jwc I think the property path should simply be "name". That 
will look for a function called getName() on the current page.

Tom




_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to