> It works now.   /-)
...
> Is the above method of returning a bound value good?

If it works, it's good!  It's actually very similar to our approach - we got
tired of writing that code all over the place, so moved it into a
superclass, but it is essentially the same.

> Or should I define bound value property methods differently?

If your content object is mutable, and the instance itself does not need to
be changed by the editor (which appears to be the case), then I think you
could use a direction="in" parameter, and not have to deal with the binding
at all.  In that case, your get/setContent() would just be the trivial
"return this.content;" and "this.content = value;", letting Tapestry set the
content for you to get.

Richard




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to