Bugs item #1284029, was opened at 2005-09-07 15:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1284029&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gwyn Evans (gwynevans)
Assigned to: Nobody/Anonymous (nobody)
Summary: Odd behaviour when Wicket is the "root" (/*) servlet

Initial Comment:
The problem came when I tried to do some form work, with my
servlet-mapping url-pattern set to "/*".  If you do
that, forms
totally stop working... The submit occurs, but the
model just receives null's.  This can be easily tested
by changing the forminput's mapping in the
wicket-example's web-xml and trying  the example... Not
a pretty sight!

It's not at all obvious what the problem is, as it only
appears on a
submit, but after a few hours I happened to notice the
"/*" & thought I'd try changing that (back) to
"/app/*".  The fact that Wicket does default to
"/app/*" makes me suspicious and if it is a "feature",
it needs some comments in the example web.xml's...

This was testing with Jetty & Start & it looked as if
the servlet was receiving GET requests, not POST,
despite the setting in the rendered HTML, when the
submit was done.. It seemed to be getting an interface
& page paramater, but no form values were decoded, at
least.  (I didn't run up a logging proxy to see what
was passed between browser & server, though that might
be worth considering as an option.)

/Gwyn

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1284029&group_id=119783


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to