Why replace the CSS?  Just override it with your own.

--
Jeremy Thomerson
http://www.wickettraining.com



On Fri, Sep 4, 2009 at 11:07 AM, Troy Cauble <troycau...@gmail.com> wrote:

> Thanks,
>
> I ended up making "Palette_noOrdering.html" and overriding
> getVariation().  It works for finding my altered html.
>
> But then I tried to make a small change in palette.css and can't seem
> to get it picked up.  What's the trick to naming and placement for
> replacing the css?
>
> Also, I couldn't follow the references to "sourcePath" on the wiki page
> (below) or in the referenced javadoc.  Can someone explain how that
> alternative works?
>
> Thanks again,
> -troy
>
> On Wed, Sep 2, 2009 at 4:53 AM, Martijn
> Dashorst<martijn.dasho...@gmail.com> wrote:
> > Or create a foo_companystyle.html markup file in the specific place
> > and set the style. Then you're independent of classloading issues (and
> > it is a bit nicer imo).
> >
> > See
> http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html
> > for more information
> >
> > Martijn
> >
> > On Wed, Sep 2, 2009 at 5:10 AM, Jeremy
> > Thomerson<jer...@wickettraining.com> wrote:
> >> If you want to replace any html for a component, simply put it in your
> >> source tree at the same location it would appear in Wicket's jar.  As
> long
> >> as your jar takes precedence on your classpath (which is usually the
> case
> >> since you build yours into the war and wicket goes in the lib dir), then
> >> your file will be loaded instead.
> >>
> >> --
> >> Jeremy Thomerson
> >> http://www.wickettraining.com
> >>
> >>
> >>
> >> On Tue, Sep 1, 2009 at 8:25 PM, Troy Cauble <troycau...@gmail.com>
> wrote:
> >>
> >>> When "rows" is small, say 4, and "allowOrder" is false, Palette
> >>> renders less than perfectly.
> >>>
> >>> I think it's due to a couple of extra <br/> s left in the buttons panel
> >>> when the order buttons are made invisible.
> >>>
> >>> Is there any way I could replace that Palette.html without replacing
> >>> the whole component?  Or maybe CSS "magic" could work around this?
> >>>
> >>> Thanks,
> >>> -troy
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >>> For additional commands, e-mail: users-h...@wicket.apache.org
> >>>
> >>>
> >>
> >
> >
> >
> > --
> > Become a Wicket expert, learn from the best: http://wicketinaction.com
> > Apache Wicket 1.4 increases type safety for web applications
> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.0
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to