You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/12/13 05:14:00 UTC

T5: run time generation of pages?

I don't know if this is possible, just like to ask around:

say a .tml and and .java file are generated at run time from certain
information kept somewhere, and these files are written to the correct t5
package, is there a way to compile this page and got displayed? in the T5's
apache page it has a equanda 3rd party lib that generates a program from
certain spec, but it is generated and compiled before it is packaged, I'd
like to have something dynamic, possible?



-- 
View this message in context: http://www.nabble.com/T5%3A-run-time-generation-of-pages--tp20987311p20987311.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: run time generation of pages?

Posted by nillehammer <ta...@winfonet.eu>.
Hi guys,
I don't think it is possible to use Tapestry that way. As I have learned
(and hopefully did not completely get wrong) from a Tapestry lesson once
held by Igor and Renat, Tapestry determines the site's structure (i.e
pages, components etc.) on application startup. For performance reasons
this structure is static. But maybe I am proven wrong by someone more
competent?
Regards nillehammer

Thiago H. de Paula Figueiredo schrieb:
> Em Sat, 13 Dec 2008 01:14:00 -0300, Angelo Chen
> <an...@yahoo.com.hk> escreveu:
> 
>> I don't know if this is possible, just like to ask around:
>>
>> say a .tml and and .java file are generated at run time from certain
>> information kept somewhere, and these files are written to the correct t5
>> package, is there a way to compile this page and got displayed? in the
>> T5's apache page it has a equanda 3rd party lib that generates a
>> program from
>> certain spec, but it is generated and compiled before it is packaged, I'd
>> like to have something dynamic, possible?
> 
> I don't know too, and I'm very interested in knowing too. :) But,
> instead of generating the sources and compiling them, I would generate
> them on the fly using Javassist.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: run time generation of pages?

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Sat, 13 Dec 2008 01:14:00 -0300, Angelo Chen  
<an...@yahoo.com.hk> escreveu:

> I don't know if this is possible, just like to ask around:
>
> say a .tml and and .java file are generated at run time from certain
> information kept somewhere, and these files are written to the correct t5
> package, is there a way to compile this page and got displayed? in the  
> T5's apache page it has a equanda 3rd party lib that generates a program  
> from
> certain spec, but it is generated and compiled before it is packaged, I'd
> like to have something dynamic, possible?

I don't know too, and I'm very interested in knowing too. :) But, instead  
of generating the sources and compiling them, I would generate them on the  
fly using Javassist.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org