Re: [Wicket-user] Wicket not compiling

2007-01-05 Thread Peter Neubauer
Thanks, works now. /peter On 1/3/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > OK they are in... > > Martijn > > On 1/3/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > On 1/3/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > And to resolve your compilation errors upgrade your JDK to

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
Ok, I finally find out what going wrong, it is the AjaxSubmitButton only trigger the onError() method but not onSubmit() method, is it the excepted behaviour? By the way, after the form process finished it will forward to another page ( actually after add a new account it will redirect to edit pag

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
On 12/28/06, Carfield Yim <[EMAIL PROTECTED]> wrote: > On 12/27/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > which version of wicket is that? > > That should be fixed. > > Wicket 1.2.3, may be I should upgrade to 1.2.4 > Just upgrade to 1.2.4 and this problem is still there. And I've double v

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Matej Knopp
Navigating to different page is a bit tricky unfortunately. There is no easy way of disabling the alert. This should be addressed in future version. For now I'd suggest you to try to close the window (ModalWindow.close(...)) and navigate to the target page in modal window onclose handler. -Mat

Re: [Wicket-user] Submit a form at ModalWindow cause the ModalWindow close.

2007-01-05 Thread Carfield Yim
On 1/5/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Navigating to different page is a bit tricky unfortunately. There is no > easy way of disabling the alert. This should be addressed in future > version. For now I'd suggest you to try to close the window > (ModalWindow.close(...)) and navigate to

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Johan Compagner
this is currently the code: public final Page startPage(final Page page) { setHomePage(DummyHomePage.class); processRequestCycle(page); Page last = getLastRenderedPage(); createRequestCycle(); this line should make sure that the touch wor

Re: [Wicket-user] wicket presentation

2007-01-05 Thread Nino Wael
Where in wicket you just write your markupfile .html and your java file and thats it... Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael Sent: 5. januar 2007 08:42 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] wi

[Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Nino Wael
Hi I guess this is not directly connected to wicket. But it seems that IE 6 has a nasty habbit of requesting new sessions sometimes(Bill Gates random generator). This are giving us some problems with the page expired exceptions, and some other stuff, THE FACT that we loose our session conte

[Wicket-user] Question about wicket-auth-roles

2007-01-05 Thread Carfield Yim
According to the example AnnotationsPanelsPage.java , look like I just setup the role at user object and it will read the Annotations for the permission. Just wonder is the Annotations only for the class extending wicket API like WebPage and Panel or it will work for all objects running at that VM

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Nino Wael
Hmm just found out that, there is a setting in IE 6 where you can disallow session cookies. Setting this to false, clears our problem... This appears to be default, are there any way to change this from our server side (im guessing no). Regards Nino

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Nino Wael
Sorry for so many posts about this. But are there any way to avoid session cookies? And stil maintain session state? We are using load balancing with apache upfront and then tomcat. Regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Martijn Dashorst
The servlet container will use url rewriting (i.e. append the jsessionid=afwo020394) when a cookie can't be set. Martijn On 1/5/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > > > > Sorry for so many posts about this. But are there any way to avoid session > cookies? And stil maintain session state

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Korbinian Bachl
You can configure Tomcat to use URL manipulation only, so he always adds the session to the URLs - however, loosing a session this way is not known and is usually a problem in your application, as the standard behaviour in tomcat is that he rewrites the session on creation to all URLs as wellas pas

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Nino Wael
We are using BookmarkablePages and mounted parameters (app/page/parametera/valuea) btw, does this affect the ability to force jessionId? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael Sent: 5. januar 2007 13:22 To: wicket-user@lists.sourceforg

Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Nino Wael
Correct, I think I know whats going wrong... Since we live in an Iframe. I guess this is what happens: User clicks a link which leads to us via an Iframe with an static url. Then the servlet container makes the url rewrite, which is ok. But if the user clicks again on the link our session id ar

[Wicket-user] advanced

2007-01-05 Thread Tapia
We suspect this is not only good news for gamblers and punters, but we expect an increase in stock value. As Huygens descended toward Titan, it would be moving at approximately 5. The player is already free, the SWF file format is open and now if the revenue that comes out of the Flash IDE also

Re: [Wicket-user] ListView

2007-01-05 Thread Lost Still Lost
Hello I'm Yuri. I was trying to make use of a ListView instance to get checkboxes for strings that I have stored in a database But I get this error when trying to access the page containing the ListView instance. WicketMessage: CheckGroup [4:searchform:sectorCheckGroup] contains a null model o

Re: [Wicket-user] ListView

2007-01-05 Thread Johan Compagner
try: *new* CheckGroup("sectorCheckGroup", new Model()); the check group doesn't have a model where it can store the values in. johan On 1/5/07, Lost Still Lost <[EMAIL PROTECTED]> wrote: Hello I'm Yuri. I was trying to make use of a ListView instance to get checkboxes for strings that I hav

Re: [Wicket-user] Question about wicket-auth-roles

2007-01-05 Thread Igor Vaynberg
i would imagine it would be for anything that extends wicket.Component -igor On 1/5/07, Carfield Yim <[EMAIL PROTECTED]> wrote: According to the example AnnotationsPanelsPage.java , look like I just setup the role at user object and it will read the Annotations for the permission. Just wonde

[Wicket-user] cannot run the annoation unit test in 2.0

2007-01-05 Thread tooy li(Gmail)
hi,all I try the annoation unit test to the page, but I find it cannot work with injection. below is my code ColumnInfo example = new ColumnInfo(); MockControl daoCtrl = MockControl .createControl(ColumnManagerServiceI.class); ColumnManagerServiceI dao = (ColumnManagerServiceI) daoCt

Re: [Wicket-user] cannot run the annoation unit test in 2.0

2007-01-05 Thread Igor Vaynberg
try this WicketTester test = new WicketTester(); test.add(new SpringComponentInjector()); -igor On 1/5/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: hi,all I try the annoation unit test to the page, but I find it cannot work with injection. below is my code ColumnInfo example = new Colum

Re: [Wicket-user] Question about wicket-auth-roles

2007-01-05 Thread Jonathan Locke
All wicket runtime authorization is done in Component before anything interesting happens: public Component(final MarkupContainer parent, final String id, final IModel model) { setId(id); this.parent = getRealParent(parent, id); g

[Wicket-user] AbstractStringResourceStream content type bug

2007-01-05 Thread Ryan Sonnek
I'm building a class that implements the IMarkupResourceStreamProvidor interface and I'm using the AbstractStringResourceStream like so: public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass) { final String feedOutput = renderFeed();

[Wicket-user] Spring annotation ut can work now.

2007-01-05 Thread tooy li(Gmail)
I try the code depends on the wiki's spring post, but it cannot inject the springbean well. I trace the source code of AnnotApplicationContextMock and wickeTester , and find it cannot really register a Injector into the componentInstantiationListeners of component class . I think i can add this

Re: [Wicket-user] cannot run the annoation unit test in 2.0

2007-01-05 Thread tooy li(Gmail)
hi, there is not any add method in the WicketTester.and you also cannot add the SpringComponentInjector directly, since it cannot find any true application context in this environment. I think someone should update the related wiki. > Message: 2 > Date: Fri, 5 Jan 2007 10:04:51 -0800 > From: "

Re: [Wicket-user] cannot run the annoation unit test in 2.0

2007-01-05 Thread Igor Vaynberg
there is in 1.x, are you using 2.0 (trunk) ? -igor On 1/5/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: hi, there is not any add method in the WicketTester.and you also cannot add the SpringComponentInjector directly, since it cannot find any true application context in this environment. I t

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
> but it can be that it is purely 1.3 > So I need to wait for version 1.3 you mean? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on

Re: [Wicket-user] Spring annotation ut can work now.

2007-01-05 Thread Igor Vaynberg
try the below application.addComponentInstantiationListener(new SpringComponentInjector(application, context)); -igor On 1/5/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote: I try the code depends on the wiki's spring post, but it cannot inject the springbean well. I trace the source code of