I'm fuzzy on your goal. What 'files' do you want to make? You want the
generated markup of a component? A page?
For the record, I'm fairly sure T5 is specifically designed to avoid
semantics like:

MyComponent component = new MyComponent();
component.setName("Test");

Components don't 'exist' like that.

chris

Joel Wiegman wrote:
> Hello all,
>
> Our application has the need to generate files.
>
> I'm interested in trying to use Tapestry to do this since we're already
> using T5 on the presentation layer.
>
> Has anyone extracted the Tapestry templating engine to do other
> processing?  Something like the pseudo-code below:
>
> // BEGIN
>
> @Inject
> ComponentRenderer cr;
>
> MyComponent component = new MyComponent();
> component.setName("Test");
>
> OutputStream os = cr.render(component);
>
> // END
>
> Can anyone point me to the right package/class to look at for something
> like this?
>
> Thanks!
>
> Joel
>
> ---------------------------------------------------------------------
> 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