Martin Grigorov-4 wrote
> 
> 
>>If you provide components library then you need to distribute the
>>resources too, not just the classes.
>>Shared resources is more for delivering dynamically generated content.
>>A content that is different depending on some external condition
>>(request parameter, session variable, ...).
>>If you have one monolithic application and the resource is really
>>static then I see no reason why not to put it in its expected place in
>>the .war.
> 
> I see thanks Martin. For general app stuff though my personal feeling is
> that it's best to modify as much as possible by just changing the class of
> component's associated tag. 
> 
>>Not sure.
>>I see no <wicket:extend> in UnSecureTemplate.html.
> 
> Oh that's due to my formatting error, I've corrected the post. I'm not
> sure how to fix this one, it's going to take some time to try and debug.
> I've just had a look again at what the Wicket 1.4 version of the app
> produces. I get two <head> tags but it doesn't repeat what's in the
> BasePage <head>, which is what's happening in Wicket 1.5.  See below for
> Wicket 1.4 mark up. Wicket 1.5 reproduces the content of the first header
> (yes I know the css gets added several times, it's one of the things I'm
> correcting. I'm wondering if there's something that's related to repeated
> additions of CSS causing the problem):
> 
> 
>       <head>
>               <meta http-equiv="content-type" 
> content="text/html;charset=iso-8859-1"
> />
>               <title>This site holds the key to wealth, success, and being 
> able to
> attract the opposite sex</title>
>               <link type="text/css" rel="stylesheet" 
> href="css/application.css"/>
>               
>               
>       <link rel="stylesheet" type="text/css" href="css/application.css" />
>       </head>
> 
>       
>     <head><link rel="stylesheet" type="text/css"
> href="css/application.css" />
>     </head><body id="body" onload="preloadImages(); return true;">
> 
> 
>>
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4650350.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@.apache
>> For additional commands, e-mail: users-help@.apache
>>
> 
> 
> 
> -- 
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@.apache
> For additional commands, e-mail: users-help@.apache
> 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4650355.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to