Andreas Bulling <spam <at> phoenix.hadiko.de> writes:

> Well, but the problem is, that the propertySelectionModel is
> referenced directly in the .page file like this:
> 
> <component id="inputType" type="PropertySelection">
>       <binding name="value" value="attributes.userType"/>
>         <binding name="model" value="modelSource.userModel"/>
> </component>

Try:

     <binding name="model" value="modelSource.userModel[#root]"/>

where #root means your page object. Make sure you have both getter and
setter for the userModel.

--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to