Thank you.

That was the cause of my problem. I think the //* got into our url mapping because we had a resources dir in our project, and the resources in it were not being found. So to fix the problem I have renamed our resources dir to uLandingResources and changed the url mapping from //* to /*.

It seems like it would be a good idea if Wicket could use some other less common name for its own resources use.

Thanks again.

Mark Sloan
SRI International, San Luis Obispo Office
805-542-9330 x107
[email protected]



On May 19, 2009, at 9:49 AM, Jeremy Thomerson wrote:

At a glance it looks right, with the exception that your "/" is
doubled up in the mapping.  I don't think this would create your
issue, but you should fix it and try again.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, May 19, 2009 at 11:47 AM, Mark Sloan <[email protected]> wrote:
Here is the Wicket portion of the my web.xml
<filter>
        <filter-name>
            ULandingWicketApp
        </filter-name>
        <filter-class>
            org.apache.wicket.protocol.http.WicketFilter
        </filter-class>



        <init-param>
            <param-name>
                applicationClassName
            </param-name>
            <param-value>
                com.sri.uLanding.ULandingWicketApp
            </param-value>
        </init-param>
    </filter>



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

Mark Sloan
SRI International, San Luis Obispo Office
805-542-9330 x107
[email protected]


On May 18, 2009, at 6:33 PM, Jeremy Thomerson wrote:

What's your web.xml mapping?

--
Jeremy Thomerson
http://www.wickettraining.com




On Mon, May 18, 2009 at 6:41 PM, Mark Sloan <[email protected]> wrote:

I am trying to do some basic Ajax in Wicket (1.4rc4)

I have the following code fragment:

TextField<String> loginField = new TextField<String>("login",

            new PropertyModel<String>(this, "login"));

loginField.add(new AjaxFormComponentUpdatingBehavior("onblur") {

         private static final long serialVersionUID = 1L;

         @Override

         protected void onUpdate(AjaxRequestTarget target) {

             // doUpdate

         }

      });

   }

It produces the follwing:

[WARN] 404 - GET

/resources/org.apache.wicket.ajax.WicketAjaxReference/wicket- ajax.js;jsessionid=l0s7hr4i8tev

WARN] 404 - GET

/resources/org.apache.wicket.markup.html.WicketEventReference/ wicket-event.js;jsessionid=l0s7hr4i8tev

[WARN] 404 - GET

/resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/ wicket-ajax-debug.js;jsessionid=l0s7hr4i8tev

What am I doing wrong here?

Mark Sloan

SRI International, San Luis Obispo Office

805-542-9330 x107

[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]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to