Any code please,
Per
Am 04.03.2012 03:16, schrieb nazeem:
Hi
I have a content area in which I am displaying say PanelA. In PanelA I have
a link to navigate to PanelB. When I click that I replace the content area
with PanelB. When I construct PanelB i pass the instance PanelA via
PanelA.this so
And the app should know the context in which way? No no you have to set
the app to wicket tester instance.
tester = new WicketTester(new MyApp());
Cheers
Per
Am 04.03.2012 06:17, schrieb Douglas Ferguson:
I'm trying to use wicket tester to test an app that is running with spring.
I'm ge
I'm trying to use wicket tester to test an app that is running with spring.
I'm getting this error:
java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoaderListener registered?
I thought perhaps I would be able to use SpringJunit4ClassRunning, but that
didn't
Hi
I have a content area in which I am displaying say PanelA. In PanelA I have
a link to navigate to PanelB. When I click that I replace the content area
with PanelB. When I construct PanelB i pass the instance PanelA via
PanelA.this so that PanelB can show a link to go back to PanelA. When the go
Hi,
I have two Tabs in the same browser where the same application is running. The
scope is different but the session is the same.
When I make a call to my application at Page1 in Tab1 and get the results In
Page2, everything is fine.
The problem occurs when I make parallel calls in the two Tab
I decided to just put the exception in the session and just grab it from there.
Douglas
On Mar 3, 2012, at 10:26 AM, vineet semwal wrote:
> you should also do page.setStatelessHint(false)
>
> Page page=new ClientErrorPage(ex);
> IPageProvider provider = new PageProvider(page);
> page.setStatele
you should also do page.setStatelessHint(false)
Page page=new ClientErrorPage(ex);
IPageProvider provider = new PageProvider(page);
page.setStatelessHint(false);
return new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT);
On Sat, Mar 3, 2012 at 8:23 PM, Douglas Ferguson wrot
Hi,
I am using Apache wicket 1.4 for my application and this application has
been live from past 1 year. And earlier we never had browser compatibility
issues with IE 6, IE7. But recently i have and users have started
complaining about multiple time clicking of BreadCrumbPanelLinks,
InidicatingAjax
Yeah Martin Grigorov recomended that I do just that:
> WebPage exceptionPage = new NotifyUserOfException(ex);
> IPageProvider provider = new PageProvider(page);
> return new RenderPageRequestHandler(provider /*,
> RenderPageRequestHandler.RedirectPolicy.XYZ */ );
But I finding that it throws
I think something else was interfering because it is working now. If you put
the setRootRequstMapper after all the other mounts it works.
It's a shame it has to be order dependent.
The null pointer happens when you do this:
>>> mount(new HttpsMapper(new MountedMapper("myPage", page, new
>>> U
Alle sabato 03 marzo 2012, Martin Grigorov ha scritto:
> Hi,
>
> Save the logged in user id in the Session.
>
> MySession.java:
>
> private long userId;
>
> public User getUser() {
> return userService.getUserById(userId);
> }
>
>
> AnyPage.java:
> user = MySession.get().getUser();
>
Thank
Hi,
I have two Tabs in the same browser where the same application is running. The
scope is different but the session is the same.
When I make a call to my application at Page1 in Tab1 and get the results In
Page2, everything is fine.
The problem occurs when I make parallel calls in the two Tab
Hi,
Save the logged in user id in the Session.
MySession.java:
private long userId;
public User getUser() {
return userService.getUserById(userId);
}
AnyPage.java:
user = MySession.get().getUser();
On Fri, Mar 2, 2012 at 9:38 PM, Paolo wrote:
> I use this code as base:
>
> http://wicketst
See the code of http://www.wicket-library.com/wicket-examples/mappers/ example.
Create a quickstart app with the NullPointerException and attach it to a ticket.
On Sat, Mar 3, 2012 at 9:06 AM, Douglas Ferguson wrote:
> I just read that the setRootRequestMapper should be after all the mounts.
>
>
On Sat, Mar 3, 2012 at 5:08 AM, grazia wrote:
> I did bind the session as you suggested. IN addition, I noticed that I had
> not appropriately accounted for my custom RequestCyle.
> Thank you for your feedback, it was very useful.
> I add the code hoping to help anybody running into this problem.
15 matches
Mail list logo