RE: T5: File generation

2008-02-29 Thread Joel Wiegman
ication for Tapestry, but it does have the capability... -Original Message- From: Fernando Padilla [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 11:56 AM To: Tapestry users Subject: Re: T5: File generation The question I have is on what could you mean by "generate files&q

Re: T5: File generation

2008-02-29 Thread Fernando Padilla
The question I have is on what could you mean by "generate files". If you can just have an job to hit a particular url, then you can use tapestry to generate that url. If you want tapestry to programmatically generate a page, that is conceptually possible, and I think I saw some code floating

RE: T5: File generation

2008-02-29 Thread Joel Wiegman
ry 29, 2008 10:15 AM To: users@tapestry.apache.org Subject: RE: T5: File generation Tapestry is not the right tool to generate files - we tried this in T4 and failed. T5 is even more component-oriented. Components just don't work well for generating text files. Use Velocity or FreeMark

RE: T5: File generation

2008-02-29 Thread Christian Köberl
Tapestry is not the right tool to generate files - we tried this in T4 and failed. T5 is even more component-oriented. Components just don't work well for generating text files. Use Velocity or FreeMarker. Joel Wiegman-2 wrote: > > and velocity has a dependency on Struts. > Velcity has no depe

RE: T5: File generation

2008-02-29 Thread Joel Wiegman
lto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 9:33 AM To: Tapestry users Subject: Re: T5: File generation You can get a reference to the server-side (dom) document, which will contain generated markup, but I am almost certain that you can't write code like you mentioned (pass a component insta

Re: T5: File generation

2008-02-29 Thread Chris Lewis
n of a POJO (might be > Tapestry-annotated, might not). > > -Original Message- > From: Chris Lewis [mailto:[EMAIL PROTECTED] > Sent: Friday, February 29, 2008 8:59 AM > To: Tapestry users > Subject: Re: T5: File generation > > I'm fuzzy on your goal. What

RE: T5: File generation

2008-02-29 Thread Joel Wiegman
Lewis [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 8:59 AM To: Tapestry users Subject: Re: T5: File generation 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 specifica

Re: T5: File generation

2008-02-29 Thread Thiago HP
On 2/29/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > I'm fuzzy on your goal. What 'files' do you want to make? You want the > generated markup of a component? A page? Maybe (X)HTML documents, XML, HTML e-mails, other text formats, I guess. Am I right, Joel? -- Thiago --

Re: T5: File generation

2008-02-29 Thread Chris Lewis
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