I LOVE this community! Always get great replies, even for simple things. Thanks!
Comments inline. > > My goal is to have a different css page depending on the l10n, > > client type, or perhaps other requirements. This is my border: > The wicket:head tag exists for a different reason. You can use > it when you create custom components, such as the datapicker, > that use css/ javascript to function. You want to reuse these > components on your pages without having to know what dependencies > your page needs. If you use wicket:head in your component > panels, its content will be 'contirbuted' to the current > page's head. Thanks for this. This explanation really helped me to understand the meaning of the <wicket:head> tag and how I can use "normal" links to css pages for viewing without contributing them to the page model. Nice! I'm also getting closer and closer to "getting" the simplicity of Wicket. Very cool! > I your case, you want to vary the css tag based on some input, > right? That's pretty easy actually. Just add a WebComponent to > your page, and attach an AttributeModifier to it that replaces > the href with the right thing. Ok, thank you! I'll add this to the wiki to try to make it a bit clearer for others, too. > I just finished more advanced browser/ client capabilities > detection. If anyone wants to take a look at it, I added > an example in wicket-examples called HelloBrowser. It uses > Javascript to detect browser properties, but it has a > fallback in case javascript is not supported (e.g. because > of security settings. Excellent! I will most certainly give this a try. Thanks again! BTW, sorry if this mail does not properly follow the thread order. I missed a few mails because my mail server was down. ------------------------------------------------------- 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user