Re: Howto? Wicket, Maven, and multiple Eclipse Java projects

2008-02-24 Thread Martin Funk
There are several approaches, but first I'd ask, why do you hesitate to install the Libraries to your local repository? I'd say its perfectly fine that projects depending on each other still have to be compiled independently. If you want to compile them all in one rush a parent module would have

Re: Wicket as a front controller ?

2008-02-24 Thread Kent Tong
smallufo wrote: Thank you , but I want a (bookmarkable) page without HTML Is it possible ? What do you want to output? - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View

Re: Combining Ajax and non Ajax pages

2008-02-24 Thread steviezz
Think I've got it now. Added: countryDDC.clearInput(); countryDDC.setModelObject(null); regionDDC.clearInput(); regionDDC.setModelObject(null);

Re: Howto? Wicket, Maven, and multiple Eclipse Java projects

2008-02-24 Thread Martin Makundi
first I'd ask, why do you hesitate to install the Libraries to your local repository? I am in prototyping phase and being new to wicket it is a mess ;) I consider it more flexible and less messy not to install such jars into maven repository - their expected lifetime is too short to be worth

Re: Wicket as a front controller ?

2008-02-24 Thread smallufo
I just need to redirect. If bbAuth token is correct , then set correct Wicket Session and redirect to proper page. If incorrect , then redirect to another page. If I use pure servlet to implement this , I have to hard code the redirecting URL , and can only use HttpSession ... 2008/2/24, Kent

Re: Howto? Wicket, Maven, and multiple Eclipse Java projects

2008-02-24 Thread Martin Funk
Ok. Thank you. Now I just need help with the parent pom not to assume my utility projects for web applications ;) Anyone? http://www.sonatype.com/book/index.html http://www.devzuz.com/web/guest/products/resources#BBWM mf

Re: Wicket as a front controller ?

2008-02-24 Thread Maurice Marrink
If I use pure servlet to implement this , I have to hard code the redirecting URL , and can only use HttpSession ... If you use a filter, placed after the wicket filter, i think you can use the wicket session and you do not need to redirect because you can do Session.get().login(.) and

Re: Wicket as a front controller ?

2008-02-24 Thread smallufo
Thank you for suggestion. But I am using Resin 3.0.x as a servlet container. And wicket 1.3's filter seems not working on Resin 3.0.x see this thread for details : http://www.nabble.com/Server-cannot-find--app-url-after-migration-to-1.3-filter-to12998876.html Therefore , I've stay on

Strange Exception

2008-02-24 Thread Anders Peterson
Hi, I (sometimes) get a strange Exception. You can see the stacktrace in the attached file. The problem appears (sometimes) when I submit a form. Just displaying data/pages is never a problem. At first glance it seems I get a ClassCastException when doing public static BLAppSession

Small shared resource question...

2008-02-24 Thread Sebastiaan van Erk
Hi, I register some DynamicWebResources in my Application's init method, as well as mount them (in a loop, a different one for every locale): getSharedResources().add(name, resource); mountSharedResource(/downloads/ + name, new ResourceReference(name).getSharedResourceKey()); I

Wicket And EasyMock

2008-02-24 Thread carloc
Hi I'm trying to use wicketTester and FormTester together with easymock. I seem to be getting a lot of notserializableexceptions and my form won't submit properly. Is there anything that I should do? ERROR - Objects- Error serializing object class com.ccti.bo.login.LoginPage

Re: Wicket And EasyMock

2008-02-24 Thread carloc
Actually wickettester works fine with a normal button but doesn't work with an indicating ajax button. -- View this message in context: http://www.nabble.com/Wicket-And-EasyMock-tp15666876p15666962.html Sent from the Wicket - User mailing list archive at Nabble.com.

Custom WebRequestCycle and PageParameters

2008-02-24 Thread reikje
Hi all. I have created a custom class ContextAwareWebRequestCycle that extends WebRequestCycle. In my application I return an instance of ContextAwareWebRequestCycle in newRequestCycle(..). The ContextAwareWebRequestCycle requires some information that is in the PageParameters. Unfortunately the

Re: Wicket And EasyMock

2008-02-24 Thread cwilkes
See this post on the easymock sourceforge bug page: http://sourceforge.net/tracker/index.php?func=detailaid=1895630group_id=82958atid=567840 carloc wrote: Hi I'm trying to use wicketTester and FormTester together with easymock. I seem to be getting a lot of notserializableexceptions and

Re: Howto? Wicket, Maven, and multiple Eclipse Java projects

2008-02-24 Thread Martin Makundi
Ok. Thank you. Now I just need help with the parent pom not to assume my utility projects for web applications ;) Anyone? http://www.sonatype.com/book/index.html http://www.devzuz.com/web/guest/products/resources#BBWM I have a lot of material to read, but hoped someone to have a

Re: gmap vs gmap2?

2008-02-24 Thread Nino Saturnino Martinez Vazquez Wael
As being one of the devs on gmap contrib, id also say that it seems as gmap2 are more developed than gmap original(I have only worked on this for a specifc project)... However functionality could be very different, havent checked all details on gmap2... Martin Funk wrote: gmap was there

Re: Howto? Wicket, Maven, and multiple Eclipse Java projects

2008-02-24 Thread Martin Funk
How about: http://svn.apache.org/repos/asf/wicket/trunk/ and its subdirectories :-) 2008/2/24, Martin Makundi [EMAIL PROTECTED]: Ok. Thank you. Now I just need help with the parent pom not to assume my utility projects for web applications ;) Anyone?

Re: Small shared resource question...

2008-02-24 Thread Johan Compagner
Isnt the getResourceKey() returning exactly the name? It should because else the first call to shared resources with just the name doesnt make much sense! Those should be the same. Also doesnt ResourceLink uses LocalizedImageResource? That one takes care of that. But i guess it needs a resource

Re: Problem with multiwindow app

2008-02-24 Thread Johan Compagner
What wicket version is this? If it is 1.2 do you use pagemaps (new onces for every tab you open?) On 2/22/08, legol [EMAIL PROTECTED] wrote: Hi all!!! I have application with 2 pages. First page lists users names and each element of list is link to second page that shows user details. I want

Re: Wicket And EasyMock

2008-02-24 Thread Timo Rantalaiho
On Sun, 24 Feb 2008, carloc wrote: Hi I'm trying to use wicketTester and FormTester together with easymock. Lately I've often overriden the newSessionStore method of the Application subclass to return new HttpSessionStore() in the testing version of the application. This has helped on some

Re: Small shared resource question...

2008-02-24 Thread Sebastiaan van Erk
Johan Compagner wrote: Isnt the getResourceKey() returning exactly the name? It should because else the first call to shared resources with just the name doesnt make much sense! Those should be the same. Well I tried using the name first and it kept complaining that it couldn't find the