And yes, this is on the homepage http://localhost:8080/wicket/

Igor Vaynberg wrote:
is scripts/jQuery-1.2.2.min.js under context root?

what url do you hit to get ..? homepage?

-igor


On Jan 23, 2008 11:05 AM, Damian Penney <[EMAIL PROTECTED]> wrote:
In my html I have

     <link rel="javascript" type="text/javascript"
ref="scripts/jquery-1.2.2.min.js"/>

but Wicket is changing it to

     <link rel="javascript" type="text/javascript"
href="../scripts/jquery-1.2.2.min.js"/>

Any idea why this is happening?


add(HeaderContributor.forJavaScript("scripts/jQuery-1.2.2.min.js"));

This is web.xml

         <filter-mapping>
             <filter-name>HelloWorldApplication</filter-name>
             <url-pattern>/*</url-pattern>
         </filter-mapping>


and it's deployed under /wicket

So http://localhost:8080/wicket/

Hope someone can help!

Damian





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to