No target servlet configured for uri: /

2012-09-20 Thread hannes1608
Third attempt, had to use another email address, nabble couldn't use my first one (always got mail delivery failed). I'm not sure if it will work now ... --- Hi! I'm pretty new to wicket and I have a problem for that I didn't find a solution so far. I'm working on a simple sample application

Re: No target servlet configured for uri: /

2012-09-20 Thread Martin Grigorov
Hi, See http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/ Also use setResponsePage(Class) where possible instead of setResponsePage(Page). On Thu, Sep 20, 2012 at 9:01 AM, hannes1608 hannes1...@yahoo.de wrote: Third attempt, had to use another email

Re: multipart form problem - form validation fails

2012-09-20 Thread Michał Bartoszewski
Hi Andrea, I am using wicket 1.5.7 2012/9/19 Andrea Del Bene an.delb...@gmail.com: Which version of Wicket are you using? I've tested your code enabling file upload but it worked fine with both version 1.5.8 and 6.0.0 class AddProductForm extends FormProduct { private FileUploadField

Re: No target servlet configured for uri: /

2012-09-20 Thread hannes1608
Hi, thank you for your reply. I've already set this property, but that didn't change anything. I tried now with servlet instead of filter - without success. If I user setResponsePage(Class) instead of setResponsePage(Page), I even get an error when going from Show999Page to Edit999Page.

Re: Unable to succesfully propagate event from panel since getPage() throws error

2012-09-20 Thread lucast
Thank you, Martin. it works like a charm. Sebastien, I have tried before the solution you have suggested but the event wasn't being caught by the top web page. Thank you, nevertheless for your help. I have to say, I have learnt so much from this mailing list, not only on wicket but everything

Re: Wicket 6.0.0: RenderStrategy.REDIRECT_TO_RENDER and missing FeedbackMessages in ComponentFeedbackPanel.

2012-09-20 Thread Dan Haywood
On 18 September 2012 12:41, Jeremy Thomerson jer...@wickettraining.comwrote: Can you create a small quickstart to demonstrate the problem? I've just done this, and confirmed (what I believe is) the problem. WICKET-4773 [1] raised, which x-refs a github project that demonstrates the issue.

Stateless ajax in wicket 6

2012-09-20 Thread Oscar Besga Arcauz
Hi wickers I know thats an old xxx in wicket lands, but I wonder if anyone has done something so far... Or simply make an ajax call to a bookmarable stateless page manually from web page Thanks Oscar Besga Arcauz

New sessions by each petition

2012-09-20 Thread Oscar Besga Arcauz
Hi wickers !!! I'm battling with my application, and now I've noted something weird I've a custom WebSession class, in which I've coded a (horrible) log to check the creation of the new session: public class WebMySession extends WebSession {     private static final Logger

Re: New sessions by each petition

2012-09-20 Thread Martin Grigorov
Hi, This is just a temporary session which is discarded at the end of the request. Until Session#bind() is called it is considered temporary and no HttpSession is being created. On Thu, Sep 20, 2012 at 2:43 PM, Oscar Besga Arcauz obe...@isdefe.es wrote: Hi wickers !!! I'm battling with my

Re: Stateless ajax in wicket 6

2012-09-20 Thread Jeremy Thomerson
On Thu, Sep 20, 2012 at 5:40 AM, Oscar Besga Arcauz obe...@isdefe.eswrote: Hi wickers I know thats an old xxx in wicket lands, but I wonder if anyone has done something so far... Or simply make an ajax call to a bookmarable stateless page manually from web page Thanks Oscar

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread Martin Grigorov
https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+6.0#MigrationtoWicket6.0-Listofrenamedclassesandmethods On Thu, Sep 20, 2012 at 3:00 PM, nemanjko nemanja.kos...@gmail.com wrote: Hi, I just migrated my project from Wicket 1.5.8 to 6.0 version and I got error:

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread nemanjko
Thanks for the reply Martin. I don't get compilation error but runtime error when I try to start my project with Wicket 6. Here is the stack trace: java.lang.ClassNotFoundException: org.apache.wicket.IClusterable java.net.URLClassLoader$1.run(Unknown Source)

Re: New sessions by each petition

2012-09-20 Thread Oscar Besga Arcauz
Ok, i've used sessionbind and works as expected ! Also, I've checked that session is auto-binded when you use statefull components - my web tries to stay stateless most time, so this was the cause I saw so many 'new session' logs Thanks !! Oscar Besga Arcauz -Martin Grigorov

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread Sebastien
Hi, Did you also upgrade wicket-jquery-ui to 6.0.0 ? Regards, Sebastien. On Thu, Sep 20, 2012 at 4:18 PM, nemanjko nemanja.kos...@gmail.com wrote: Thanks for the reply Martin. I don't get compilation error but runtime error when I try to start my project with Wicket 6. Here is the stack

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread nemanjko
Ahh, completely forgot to upgrade wicket-jquery-ui! Thanks Sebastien, that solves the issue. Regards, Nemanja Sebastien wrote Hi, Did you also upgrade wicket-jquery-ui to 6.0.0 ? Regards, Sebastien. On Thu, Sep 20, 2012 at 4:18 PM, nemanjko lt; nemanja.kostic@ gt; wrote:

Re: Variable number of links with just one wicket id?

2012-09-20 Thread fabley
Hello again, I'm sorry but it seems like this doesn't work for me. In your example it always uses the same text for each link, but I want to define my own text for each link. Is there a way to do this? Code Snippets: HTML div id=menu ul li wicket:id=repeater /li

Re: Variable number of links with just one wicket id?

2012-09-20 Thread Jeremy Thomerson
On Thu, Sep 20, 2012 at 9:50 AM, fabley a.j...@lrworld.com wrote: Hello again, I'm sorry but it seems like this doesn't work for me. In your example it always uses the same text for each link, but I want to define my own text for each link. Is there a way to do this? Code Snippets: HTML

Re: Variable number of links with just one wicket id?

2012-09-20 Thread Jeremy Thomerson
On Thu, Sep 20, 2012 at 9:53 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Thu, Sep 20, 2012 at 9:50 AM, fabley a.j...@lrworld.com wrote: Hello again, I'm sorry but it seems like this doesn't work for me. In your example it always uses the same text for each link, but I want to

Re: problem with IResourceListener

2012-09-20 Thread dpmihai
The strange thing is that only when the browser is just opened we see this behavior. It is not deterministic and sometimes everything is ok from start. Anyway, after a browser refresh, everything is ok. Also if we keep the browser open, and new tabs with the iframes are opened, these are also ok.

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread Sven Meier
It's now in org.apache.wicket.util.io (wicket-util). Check that you don't have an old jar in the classpath. Regards Sven On 09/20/2012 02:00 PM, nemanjko wrote: Hi, I just migrated my project from Wicket 1.5.8 to 6.0 version and I got error: java.lang.ClassNotFoundException:

Re: Variable number of links with just one wicket id?

2012-09-20 Thread Martin Grigorov
On Thu, Sep 20, 2012 at 5:50 PM, fabley a.j...@lrworld.com wrote: Hello again, I'm sorry but it seems like this doesn't work for me. In your example it always uses the same text for each link, but I want to define my own text for each link. Is there a way to do this? Code Snippets: HTML

Re: ajax submit button that redirects to login before processing submit

2012-09-20 Thread S B
Hi Jeff, I'm experiencing a similar problem tring to redirect from my SignIn page after I throw a RestartResponseAtInterceptPageException. Did you manage to find a solution or work around, if so could you explain what it is, Cheers Simon -- View this message in context:

Re: String Value Conversion Exception

2012-09-20 Thread Francois Meillet
parameters.get(id).toLong() throws this exception when id can't be converted to long. François Le 20 sept. 2012 à 19:06, Stephen Walsh step...@connectwithawalsh.com a écrit : I am new to Wicket and Java, so forgive any ignorance or lack of information. I am modeling a blog type

Re: multipart form problem - form validation fails

2012-09-20 Thread Andrea Del Bene
also with version 1.5.7 I couldn't reproduce your error. I get an error because during form submission Wicket doesn't find field 'photo' of class Product, but that's perfectly normal. The following is the code I used for the test: public class HomePage extends WebPage { private static

Re: Wicket as rest backend....

2012-09-20 Thread Bruno Borges
Take a look at the (very outdated) wicket-rest project: http://code.google.com/p/wicket-rest/ *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Thu, Sep 20, 2012 at 2:54 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi Guys; Is there a way(a sub project may be..) of exposing a wicket

Re: Wicket as rest backend....

2012-09-20 Thread Josh Kamau
Thanks Bruno... i will take alook On Thu, Sep 20, 2012 at 9:56 PM, Bruno Borges bruno.bor...@gmail.comwrote: Take a look at the (very outdated) wicket-rest project: http://code.google.com/p/wicket-rest/ *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Thu, Sep 20, 2012 at 2:54

Re: Wicket as rest backend....

2012-09-20 Thread Ernesto Reinaldo Barreiro
I have implemented rest like services by mounting pages and using them to generate XML content instead of HTML. On Thu, Sep 20, 2012 at 7:54 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi Guys; Is there a way(a sub project may be..) of exposing a wicket web app as a REST API ? Josh.

Re: String Value Conversion Exception

2012-09-20 Thread Stephen Walsh
Thanks for responding. That would make sense. Is there any way to identify when or when it couldn't be converted? Does the array that I provided cause this issue? In my Post class I followed the example code and have the class assigning ids as long. ___

Re: Wicket as rest backend....

2012-09-20 Thread Josh Kamau
Good idea... I would like to use JSON though... Josh. On Thu, Sep 20, 2012 at 10:14 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I have implemented rest like services by mounting pages and using them to generate XML content instead of HTML. On Thu, Sep 20, 2012 at 7:54 PM, Josh

Re: String Value Conversion Exception

2012-09-20 Thread Francois Meillet
I don't see where you set the parameters... parameters.set(id, x); It has to be done somewhere. If parameters.get(id) return null, as null can't be converted to long, you get the exception. François Le 20 sept. 2012 à 21:16, Stephen Walsh step...@connectwithawalsh.com a écrit : Thanks for

Re: Wicket as rest backend....

2012-09-20 Thread Ernesto Reinaldo Barreiro
Then it would (maybe) better to mount a resource producing your JSON. On Thu, Sep 20, 2012 at 9:21 PM, Josh Kamau joshnet2...@gmail.com wrote: Good idea... I would like to use JSON though... Josh. On Thu, Sep 20, 2012 at 10:14 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I

Re: String Value Conversion Exception

2012-09-20 Thread Sebastien
Hi, You may also use #toLong(defaultValue) which does not throws exception and return a default value in case of conversion error (or value not supplied). Regards, Sebastien. On Thu, Sep 20, 2012 at 9:22 PM, Francois Meillet francois.meil...@gmail.com wrote: I don't see where you set the

Re: Wicket as rest backend....

2012-09-20 Thread Dan Alvizu
I've used wicket-rest before - it got the job done, but I couldn't use it for wicket 1.5. Since then I've moved my rest services to Jersey - I highly recommend using that if you can: http://jersey.java.net/ -Dan On Thu, Sep 20, 2012 at 1:21 PM, Josh Kamau joshnet2...@gmail.com wrote: Good

Re: Wicket+Spring Security the Wicket way

2012-09-20 Thread Michal Margiel
Hello, I really would like to read some comments about this topic. Anyone have some experience with putting Spring Security and Wicket together? 2012/9/18 Luis Pureza pur...@gmail.com Hi, I'm new to both Wicket and Spring Security, so bear that in mind :) I'm trying to integrate Wicket and

Re: String Value Conversion Exception

2012-09-20 Thread Stephen Walsh
Are they not being set when the BlogDetails.link gives the blogPost object and it set page parameters there? __ Stephen Walsh On Sep 20, 2012, at 14:23, Francois Meillet francois.meil...@gmail.com wrote: I don't see where you set the parameters...