Hi,

This has been discussed before.

You can easily achieve it by using a custom Behavior.
Add this behavior to the components you want with
IComponentInstantiationListener.


On Tue, Jul 2, 2013 at 3:55 PM, Koen <[email protected]> wrote:

> Would it be feasible to have a CSS file per component in the source folder?
>
> e.g.
> my.package.sample
> - SamplePage.java
> - SamplePage.html
> - SamplePage.css
>
> CSS files usually tend to get pretty big (I've seen one over 20.000 lines
> last week), this way you could easily see which CSS belongs to which
> component.
>
> I guess you could write a plugin with Maven that searches for every .css
> file and combines them into one big file, but it would be cool if Wicket
> does this out of the box.
>
> Any toughts on this?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Feature-question-CSS-per-component-tp4659972.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to