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. Webspher

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

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 wrote: > > 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. Dan [1] https://issues

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 LOGGE

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 wrote: > > Hi wickers !!! > > > I'm battling with my application,

Re: Stateless ajax in wicket 6

2012-09-20 Thread Jeremy Thomerson
On Thu, Sep 20, 2012 at 5:40 AM, Oscar Besga Arcauz wrote: > 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

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 wrote: > Hi, > > I just migrated my project from Wicket 1.5.8 to 6.0 version and I got error: > > java.lang.ClassNotFoundExcepti

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) java.net.URLClassL

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 Gri

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 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 trace: > > java.lan

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 < > nemanja.kostic@ > > 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 > > > > > > > > > > > Java > > R

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 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 wrote: > On Thu, Sep 20, 2012 at 9:50 AM, fabley 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

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: org.apache.wicke

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 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: http://apache-wic

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 a écrit : > I am new to Wicket and Java, so forgive any ignorance or lack of information. > > I am modeling a blog type application after the Wicket Examp

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 fi

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 wrote: > Hi Guys; > > Is there a way(a sub project may be..) of exposing a wicket web app as a > REST

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 wrote: > 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

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 wrote: > Hi Guys; > > Is there a way(a sub project may be..) of exposing a wicket web app as a > REST API ? > > > Josh. > -- Regar

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. ___ Step

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 P

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 a écrit : > Thanks for responding. That would m

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 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 have imp

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 p

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 wrote: > Good idea... > > I would lik

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 > Hi, > > I'm new to both Wicket and Spring Security, so bear that in mind :) > > I'm trying to integrate Wicket and Spring Secu

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 wrote: > I don't see where you set the parameters... > parameters.set("id", x); > > It has to b

Re: how to use the palette component for multiple updates ?

2012-09-20 Thread Sven Meier
Hi, I'm not sure what you're up to with the drop down selects at the top, but I'd suggest: form = new Form("form"); form.add(new ListChoice("instructor", instructor, instructors)); form.add(new ListChoice("course", course, courses)); form.add(new Button("assign") { onSubmit() { assignmen