change your servlet mapping to:
/accoRequestor/*

-Igor


On 4/26/06, Bas ter Brugge <[EMAIL PROTECTED] > wrote:
Hi all,

I'm new to Wicket and I've started to create a small sample app to see how things work. I've added an AjaxLink to my Page, but I keep getting a "wicketAjaxGet is not defined" _javascript_ error when running the application. Somehow, the application cannot locate the wicket ajax _javascript_ libraries, which are in the Wicket jar, I think. Do I need to configure anything to have Wicket find these _javascript_s?

- I'm using wicket-1.2-rc2.
- My servlet mapping looks like:
    <servlet-mapping>
        <servlet-name>AccoRequestorApplication</servlet-name>
        <url-pattern>/accoRequestor</url-pattern>
    </servlet-mapping>

- The name of my application also is accoRequestor
- The reference path to the Wicket Ajax _javascript_ library in the generated HTML looks like:
- <script type="text/_javascript_" src= "/accoRequestor/accoRequestor/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js"></script>

Any guidance is highly appreciated.

Best regards,
Bas



Reply via email to