I haven't worked with it before and thus don't know if it supports what you need, but maybe the
tapx-templating module may help (http://tapestry.formos.com/nightly/tapx/tapx-templating/).
Basically you'd want it to render your component structure into a String or some other object and
bind that as a value to your textfield.
HTH,
Uli
ownedthx schrieb:
Hi all,
I have a model that is a tree structure, which I've modeled in Tapestry as
each node being a Component. (I have many possible node types, each with
their own Component, possibly containing n children of other of these node
components).
When I include this tree-structure component directly on the page (by simply
including it in the tml as per usual), everything works great.
But, I can't figure out how I can get the markup associated with my
component into a tapestry textarea. My goal is to make this textarea a rich
text editor, which is why I'm interested in placing HTML directly into a
textarea to begin with.
Note: I could render the component to the page invisibly, and use
javascript to copy over the markup, but I'm hoping to find a clean Tapestry
solution to this problem. Also, I'm trying to avoid using a MarkupWriter
because ideally a web designer can come in and touch the TML files without
having to know Java.
Thanks for any help!
Seth
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org