On 9/11/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
>>It's just a tremendous amount of work to make components created in
>>java code work correctly.   If you could do it with templates instead,
>>you'd reduce the time needed to get this working by at least a couple
>>orders of magnitude.
>
> we're currently also struggling with creating components in java code.
> Probably it would be good to collect resources regarding this topic
> in the wiki...

I've started a page on this.

http://wiki.apache.org/myfaces/Programmatic

I'll try to document my experience on this page, but please, feel free to add.

We're doing a lot of dymanic component manipulation in or projects so this would
be a nice documentation for my fellow developers as well.

Now that I have a better understanding of what you're doing, let me
through out another possiblity.   What about dynamically generating
the page code and passing that to the parser (you'd probably have to
use facelets rather than jsp in this case) rather than dynamically
generating the components?

It seems like it'd be easier to generate tags than components.   I do
a lot of static page generation already using Cayenne/Velocity.

Reply via email to