Sorry for making so much noise!! I guess I should have taken more time
before moving over to Wicket from Tapestry. Until I get used to the
Wicket way, my productivity has gone way down. :-(

Sorry for all the questions, but your help is much appreciated.


Anyway, I am now trying to include my javascript files in the way
described here:

http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript

But this page only really describes css in any detail. The approach does
not appear to be exactly the same for javascript. For those like me who
are doing this for the first time and haven't "got" it yet, it's not
quite enough to get me to the "ah ha!" point.

So, what is the best way to do this? For instance:

 <script wicket:id="js" language="javascript" type="text/javascript"
src="scripts/main.js"/>

Along with something like:

  JavaScriptReference js = new JavaScriptReference("js", ThisPage.class,
"scripts/main.js");
  add(js);


(Obviously, this is not right, but it's all I can come up with right
now...)


BTW, are there any detailed references to the components/tags (including
a list of attributes/parameters) anywhere like Tapestry has on their
site? All I see are:

  http://www.wicket-wiki.org.uk/wiki/index.php/Tags
  (unfortunately, almost no useful information)

  http://www.wicket-library.com/wicket-examples/compref
  (seems to be a fairly complete list of components along
   with working examples, but I don't see a listing of
   the tags, parameters, or attributes to use. Also, I
   can't find the code for these examples...)


Or at least, where should I look in the code to figure this out?


Thanks again!
Dave




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to