Alexander Turtsevich wrote:
i'm developing ajax tree component, providing 2 interfaces to
implement: JqTreeKeyPrivider and JqTreeModel
but i cant pass classes that implements those interfaces to the
component, getting error :
Could not find a coercion from type
org.example.ajax.components.TreeModel to type
org.example.ajax.components.jqtree.JqTreeModel.
is there any other way to do it?
thanks
Howard Lewis Ship wrote:
Create an interface for your page, make sure the interface is not in
the .pages. package, have the page implement the interface, do the
coversion in terms of the interface.
It's tricky class loader issues, the EditPgaeModelImpl class known to
your services layer is literally not the same class as the one
Tapestry uses to instantiate your page (once it gets down rewriting it
to fit in with Tapestry's runtime model).
that was very helpful
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]