On Thu, Mar 24, 2011 at 12:13 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> On Thu, Mar 24, 2011 at 12:02 PM, James Carman
> <ja...@carmanconsulting.com> wrote:
> > Yes, but you would have to change how you refer to them, right?
>
> Not sure how that would work out, haven't tried it. Isn't this also a
> tomcat specific optimization as well?
>
It is by Servlet 3.0 specification.

My recent research shows that Wicket+Wro4j is the best approach.

wro.xml:
 <group name="style">
        <css>/css/context.css</css>
        <css>classpath:/com/mycompany/components/Component1.css</css>
        <css>classpath:/com/mycompany/components/Component2.css</css>
        <css>classpath:/com/mycompany/components/Component3.css</css>
 </group>

Don't use ResourceReference but just put
<link rel="stylesheet" href="wro/style.css"/>

in the page that uses these components.




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


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to