I don't understand why you would want to create pages without any
HTML template. Could you elaborate on what you want to achieve? You
have to understand that by design markup plays a central role in
Wicket. If you want to rely more on custom rendering without
templates, you should consider whether Echo or JSF are more suitable
to your needs.
I would like to make possible to deploy new components at runtime.
For example each user can have its own page layout with its own
components. This information is stored in a database for example.
If you mean that you will have a standard page. Where you have
completely dynamic things on then that standard page has to have html.
Currently there can be only one html file that it will look for (with
style and locale fall backs so: MyPage.html MyPage_en.html,
MyPage_wap_en.html)
But it seems that you want want i also want and will build the support
for this soon we think we are calling it variation:
A instance of a Page/Panel will have an extra property called variation
and depending on that variation you can dynamically set what html it
should use:
so
MyPanel standardPanel = new MyPanel("id")
standardPanel.setVariation("customerone")
will look for a html file:
MyPage_customerone.html (and all the style/locale variants)
another instance:
MyPanel standardPanel = new MyPanel("id")
standardPanel.setVariation("customertwo")
MyPage_customertwo.html (and all the style/locale variants)
This way you can more or less design a wicket page/panel and store the
layout in a xml or database.
johan
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user