Hey Andreas,

I'm just starting off with Tapestry, so I don't know too much about it yet, but I just came accross the Delegator-Component after I read this thread 30 minutes ago.
Maybe that hleps you with your problem. Here is the description for it:
"A component which delegates its behavior (that is, the HTML rendered) to some other object. This is occasionally useful when the HTML to render is best generated from pure Java code (or has been provided from some source outside of Tapestry). "

MARK


Andreas Bulling wrote:
On 09. Apr 2006 - 12:48:30, Mike Snare wrote:
| Take a look at the Table and/or TableView components, as well as the
| Palette components.  They both allow the user of the component to
| specify the css class for different elements in the component, and
| images (Palette) that should be used to render certain things like the
| move left/right buttons.
| | Your component should probably just _do_ something useful, and let the
| user of the component dress it up.
| | Let's say your Panel uses a div for the outer shell. Allow a
| panelClass parameter, and use it for the value of the class attribute
| of the div.

OK, now I got it ;)

But as I don't want to rewrite the whole component could
someone please explain how to output the mentioned html
stuff in Java? Thanks a lot!

Andreas

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





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

Reply via email to