Thanks for the tips. I'll look at the HtmlHeaderContainer and try to
implement my own IComponentResolver - stopping at the Page or Panel level.
Christian
On Thu, 8 Dec 2005 23:56:57 +0100, Juergen Donnerstag
<[EMAIL PROTECTED]> wrote:
Actually some of the components work already like that, e.g.
HtmlHeaderContainer, BodyContainer and the autolink components.
But I'm not sure I'm in favour of changing it for all components. In
my opinion the current approach is easy and straight forward. There is
always a 1:1 match. Problems are easily found and fixed.
Idea: may be an apps setting could be used to enable/disable it
Idea: Traversing the hierachy up the tree should be stopped at Page and
Panels.
Juergen
On 12/8/05, Christian Essl <[EMAIL PROTECTED]> wrote:
Hi,
I like the way wicket handles templates. However when I worked with it
the
last few weeks I found one thing which could be realy improved:
I had the case where the html-designer wanted to move a Label, which was
first inside a Form outside of the Form. To do that I had to change the
Java code. The the designer did not realy understand this, because with
no
other template-api he knows this is needed. It is also not realy the
concern of the programmer where the designer puts the label or link and
most often also panel.
Maybe there could be an IComponentResolver which looks up the element in
the parent-containers and if it finds the element and the element
implements say ICanRenderEverywhere the ComponentResolver just renders
it.
Christian
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier
anmelden: http://mail.yahoo.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Christian Essl
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user