Thanks. Now make sure to use it for your day job as well... that's the
whole point of developing Wicket! :)

Eelco


On 1/8/07, Gavin <[EMAIL PROTECTED]> wrote:
>
> Thanks for the help.
> I worked it out after digging around a bit. I really like Wicket (after
> using struts in my day job). Well done on such a neat framework.
>
> Cheers
>
>
> Martijn Dashorst wrote:
> >
> > On 1/8/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> >> I wish some of these "shortcuts" made it up on the wiki.  the majority of
> >> users start from existing example code, which is usually the "hard way".
> >
> > Feel free to contribute...
> >
> > Martijn
> >
> >>
> >>
> >> On 1/7/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >> > Use
> >> >
> >> > new JavaScriptReference("myJs", "scripts/myjs.js");
> >> >
> >> > btw, you don't really need the <wicket:head> section, as you can simply
> >> do:
> >> >
> >> > add(HeaderContributor.forJavaScript("scripts/myjs.js"));
> >> >
> >> >
> >> > Eelco
> >> >
> >> >
> >> > On 1/2/07, Gavin <[EMAIL PROTECTED]> wrote:
> >> > >
> >> > > I am trying to use JavaScriptReference and add it to a panel's header
> >> > > section.
> >> > >
> >> > > JavaScriptReference js = new JavaScriptReference(
> >> > >                                 "myJs",
> >> > >                                 MyClass.class,
> >> > >                                 "scripts/myjs.js");
> >> > > in my panel
> >> > >
> >> > > and
> >> > > <head>
> >> > >     <wicket:head>
> >> > >                 <script wicket:id="myJs" language="javascript"
> >> > > type="text/javascript"></script>
> >> > >     </wicket:head>
> >> > > </head>
> >> > >
> >> > > However, I would like to locate the mysj.js in a scripts directory
> >> off
> >> the
> >> > > main (root) directory. I want the following dir structure...
> >> > >
> >> > > webapps
> >> > >    myapp
> >> > >       WEB-INF
> >> > >            classes
> >> > >                 myapp
> >> > >       scripts
> >> > >
> >> > > Can anyone help me?
> >> > >
> >> > > Thanks
> >> > >
> >> > >
> >> > > --
> >> > > View this message in context:
> >> http://www.nabble.com/Problem-using-JavaScriptReference-tf2906839.html#a8121038
> >> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> >> > >
> >> > >
> >> > >
> >> -------------------------------------------------------------------------
> >> > > Take Surveys. Earn Cash. Influence the Future of IT
> >> > > Join SourceForge.net 's Techsay panel and you'll get the chance to
> >> share
> >> your
> >> > > opinions on IT & business topics through brief surveys - and earn
> >> cash
> >> > >
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> > > _______________________________________________
> >> > > Wicket-user mailing list
> >> > > Wicket-user@lists.sourceforge.net
> >> > >
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> > >
> >> >
> >> >
> >> -------------------------------------------------------------------------
> >> > Take Surveys. Earn Cash. Influence the Future of IT
> >> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> > opinions on IT & business topics through brief surveys - and earn cash
> >> >
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> > _______________________________________________
> >> > Wicket-user mailing list
> >> > Wicket-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >> >
> >>
> >>
> >> -------------------------------------------------------------------------
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> opinions on IT & business topics through brief surveys - and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >>
> >
> >
> > --
> > Vote for Wicket at the
> > http://www.thebeststuffintheworld.com/vote_for/wicket
> > Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
> > http://wicketframework.org
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-using-JavaScriptReference-tf2906839.html#a8226709
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to