bookmarkable pages from scala

2009-09-16 Thread Haim Ashkenazi
with scala. Thanks in advance Haim Ashkenazi -- Haim

Re: bookmarkable pages from scala

2009-09-16 Thread Haim Ashkenazi
Hi Michael, On Wed, Sep 16, 2009 at 4:40 PM, Michael Mosmann mich...@mosmann.de wrote: Am Mittwoch, den 16.09.2009, 16:32 +0300 schrieb Haim Ashkenazi: Hi I'm trying to run setResponsePage with a class parameter. According to the doc if I run: setResponsePage(MyPage.class) some

Re: bookmarkable pages from scala

2009-09-16 Thread Haim Ashkenazi
Hi MIcheal, On Wed, Sep 16, 2009 at 6:52 PM, Michael Mosmann mich...@mosmann.de wrote: Hi, After Session.invalidate everything is cleaned up.. change your code from add (new SLink(gohome, {setResponsePage(classOf[HomePage])})) to add(new BookmarkablePageLing(gohome,

Re: bookmarkable pages from scala

2009-09-16 Thread Haim Ashkenazi
, 2009 at 10:18 PM, Haim Ashkenazi haim.ashken...@gmail.comwrote: Hi MIcheal, On Wed, Sep 16, 2009 at 6:52 PM, Michael Mosmann mich...@mosmann.dewrote: Hi, After Session.invalidate everything is cleaned up.. change your code from add (new SLink(gohome, {setResponsePage(classOf[HomePage

Re: bookmarkable pages from scala

2009-09-16 Thread Haim Ashkenazi
OK, I think I've found it. :) getResponsePage(Class) first links to a regular wicket url and only then redirects to a bookmarkable one. This is why it didn't work when invalidating the session :) Bye On Wed, Sep 16, 2009 at 11:10 PM, Haim Ashkenazi haim.ashken...@gmail.comwrote: Hi again

Re: bookmarkable pages from scala

2009-09-17 Thread Haim Ashkenazi
Hi Micheal, On Fri, Sep 18, 2009 at 12:41 AM, Michael Mosmann mich...@mosmann.dewrote: Am Donnerstag, den 17.09.2009, 08:06 +0300 schrieb Haim Ashkenazi: OK, I think I've found it. :) getResponsePage(Class) first links to a regular wicket url and only then redirects to a bookmarkable

Scala, dependency injection and wicket

2009-10-07 Thread Haim Ashkenazi
Hi I've started a test project on which I use scala, wicket and couchdb (I'm new to all of them, which should make it fun :) ). Until now I was dealing with the writing sample data access code, and I was reading a lot of articles about DI in scala. I more or less went with what is suggested in

Re: Scala, dependency injection and wicket

2009-10-07 Thread Haim Ashkenazi
Hi Jan, On Wed, Oct 7, 2009 at 4:59 PM, Jan Kriesten kries...@mail.footprint.dewrote: Hi Haim, I think you read the article from Jonas Bonér about DI with Scala [1]? yes of course :) In the paragraph about Guice you'll stumble over my name and my preferred way to DI with Wicket. Yes,

Re: Scala, dependency injection and wicket

2009-10-07 Thread Haim Ashkenazi
Hi Alex, Wow, I just realized something... I've sent this to the wrong list :) I've meant to send it to the scala mailing list (this may explain why I explain the way wicket works). On Wed, Oct 7, 2009 at 10:42 PM, Alex Rass a...@itbsllc.com wrote: This is similar problem to one I'm trying to

Re: Scala, dependency injection and wicket

2009-10-08 Thread Haim Ashkenazi
Hi jan, On Oct 8, 2009, at 6:47 AM, Jan Kriesten wrote: Hi Haim, Yes, I remember seeing that. How would you add it to wicket? by adding ServiceInjector trait to the Application class or using the wicket- guice way (addComponentInstantiationListener(new GuiceComponentInjector(this));)?

Re: Scala, dependency injection and wicket

2009-10-12 Thread Haim Ashkenazi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi jan, On Oct 8, 2009, at 6:47 AM, Jan Kriesten wrote: Hi Haim, Yes, I remember seeing that. How would you add it to wicket? by adding ServiceInjector trait to the Application class or using the wicket- guice way

Re: Scala, dependency injection and wicket

2009-10-12 Thread Haim Ashkenazi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On Oct 12, 2009, at 10:01 AM, Jan Kriesten wrote: Hi, I've started testing this approach and I'm a little stuck. I can easily inject objects like that for running the application, but how do I inject mock objects for testing? The module

problems with WicketTester and Scala

2009-11-20 Thread Haim Ashkenazi
Hi I'm playing around with wicket/scala and I found some odd behavior with WicketTester. The code is here: http://github.com/babysnakes/comnshours revision: 6196415aa5910d984dd582e7a6aa28017e6f0dbc The specific test is here: