By the way, Adriano, there's a Wicket Portuguese community around there... If you want to join us, please feel free. groups.google.com/wicket-ptbr Bruno Borges blog.brunoborges.com.br +55 21 76727099
"The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Fri, Nov 7, 2008 at 12:34 PM, Jeremy Thomerson <[EMAIL PROTECTED] > wrote: > If I understand correctly, you want to basically include your resources > relative to the default package rather than in a subpackage. If this is > true, you could create an empty no-op class like > SomeClassNameThatMakesSense > in the default package. Then you could do new > ResourceReference(SomeClassNameThatMakesSense.class, > "you/build/button/...."). Of course, you would need to move the yui folder > to the default package as well. > > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > On Fri, Nov 7, 2008 at 12:30 PM, Adriano dos Santos Fernandes < > [EMAIL PROTECTED]> wrote: > > > Hi! > > > > With this: > > component.add(HeaderContributor.forCss(YuiButtonBehavior.class, > > "yui/build/button/assets/skins/sam/button.css")); > > > > I need to put yui directory inside the directory of YuiButtonBehavior. > > > > How could I make yui a top directoy, i.e., just inside the resources (on > > the classpath)? I tried: > > component.add(HeaderContributor.forCss(new ResourceReference( > > "yui/build/button/assets/skins/sam/button.css"))); > > > > But it don't work. > > > > Thanks, > > > > > > Adriano > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >