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

> Well, what's the magic behind this [#root] thing/where can I find
> a reference mentioning it? 

http://www.ognl.org/2.6.7/Documentation/html/LanguageGuide/varref.html

> I tried that but I get the error message:
> 
> Unable to read OGNL expression '<parsed OGNL expression>' of $Register_50 <at>
183bd71[Register]: $ModelSource_10a1d12b405.userModel

Probably you don't have the getter or setter. Anyway, why not just 
pass the Messages collection to ModelSource?

  <binding name="model" value="modelSource.getUserModel(messages)"/>

  IPropertySelectionModel getUserModel(Messages messages) {
    ...
  }

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


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

Reply via email to