you could encrypt every url then all urls look like this:

http://www.wicket-library.com/wicket-examples/forminput?s=xdfadfljkasdfhasldfh

that null point should be catched  some how but what would you like to do?
return to the calling page?
that interface=xxx is needed because that is the action we call on the server 
side..

johan




Michael Jouravlev wrote:

Oh, almost forgot. Back to
http://www.wicket-library.com/wicket-examples/forminput sample. After
submit it shows
http://www.wicket-library.com/wicket-examples/forminput?component=4&version=0&interface=IRedirectListener
If I modify URL manually (remove interface=IRedirectListener) and go
to http://www.wicket-library.com/wicket-examples/forminput?component=4&version=0
It blows up:
java.lang.NullPointerException
   at 
wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:372)
   at 
wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:284)
   at 
wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:122)
   at wicket.RequestCycle.request(RequestCycle.java:372)
   at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   ...

Of course, this should be fixed. But then again, this is another point
for having "clean" URLs: less possibilities for users to fiddle with.

Michael.


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to