AjaxformLoop with Pager?

2009-09-30 Thread Stefan Schütz

Hi folks,

is it somehow possible to getting an AjaxFormloop pageable?
Found nothing; neither in mailing lists nor on other sites.

Greets,
Stefan

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



Substitution for Switch/Case/Block to embed components really dynamic ?

2009-09-03 Thread Stefan Schütz

Hi again,

i'm currently working on a solution to embed custom components really  
dynamic.


In short:
I have a page with a custom component with a specific parameter.
The component does nothing else than embedding (one) another custom  
component,
based upon the passed parameter value. (and doing some validation  
etc...)
Sounds simple and could be done with the already known switch/block  
construct.


But...

There will be up to 40+ (!) of these custom embedded components.
And now there are some problems:
- terrible maintenance / extension / changes
- too much hardcoded (at least for me)
- what's about performance issues/memory consumption?
	-The wrapper component need to have bindings to 40 all possible  
embeddable components. I think that could be problematic?


So i've tried it with some different approaches, dived into the API- 
Docs but found nothing really helpful.
Every time i will stuck on the problem that every component has to be  
known in the wrapper components template ...


Long speech, short sense:
Are there any ideas/solutions out there to embed components really  
dynamic?



Greets from Berlin,
Stefan

btw: i found a solution on T4 on the lists, but every used class/ 
service is'nt available in T5.


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