Re: SwramWebApplication and session

2011-01-24 Thread jussi isokangas
Hi, I solved it. Your advise works with little parameter changes. Additionally I had to change MySessio extends from WebSessio to SwampSessio. Here my Application.class (VerkkokauppaSovellus) *...* *@Override public Session newSession(Request request, Response response) { return session =

AjaxButton and opening popup

2011-01-24 Thread Altuğ Bilgin Altıntaş
Hi all; Is it possible opening a new page at AjaxButton's onSubmit button ? I've tried PopupSettings popupSettings = new PopupSettings(); popupSettings.setTarget("'" + url + "'"); target.appendJavascript(popupSettings.getPopupJavaScript()); but it doesn't work. Also throw new RestartRespon

Re: AjaxButton and opening popup

2011-01-24 Thread Martin Grigorov
target.appendJavascript("window.open('"+ url +"', 'someName');"); 2011/1/24 Altuğ Bilgin Altıntaş > Hi all; > > Is it possible opening a new page at AjaxButton's onSubmit button ? > > I've tried > > PopupSettings popupSettings = new PopupSettings(); > popupSettings.setTarget("'" + url + "'");

Re: AjaxButton and opening popup

2011-01-24 Thread Altuğ Bilgin Altıntaş
Thanks Martin. 2011/1/24 Martin Grigorov > target.appendJavascript("window.open('"+ url +"', 'someName');"); > > 2011/1/24 Altuğ Bilgin Altıntaş > > > Hi all; > > > > Is it possible opening a new page at AjaxButton's onSubmit button ? > > > > I've tried > > > > PopupSettings popupSettings = ne

How to make DateTimeField default to PM

2011-01-24 Thread Jim Pinkham
I wanted to have my DateTimeField (That's the wicket-extensions component with a date text field, button to open calendar, and hours/minutes fields with optional AM_PM choice) default to PM instead of AM for new dates because I noticed most dates in this part of my app are evening dates. I came up

Re: Ajax Response xml showing in browser

2011-01-24 Thread Igor Vaynberg
please attach a quickstart that reproduce it to a jira issue. -igor On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller wrote: > Got an odd issue occurring where the Ajax Response xml is showing in the > browser rather than modifying the DOM of the page as it usually does. > The scenario is the

Re: Ajax Response xml showing in browser

2011-01-24 Thread Jeremy Thomerson
Perhaps this thread will help: http://apache-wicket.1842946.n4.nabble.com/Ajax-response-render-as-source-in-the-browser-tt3028722.html -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Mon, Jan 24, 2011 at 9:48 AM, Igor Vaynberg wrote: > ple

wicket examples very slow

2011-01-24 Thread fachhoch
I was trying to see wicket examples http://www.wicket-library.com/wicket-examples/ its very slow I tried on Friday ,again today its very slow , I tried in different browsers.It did not help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-examples-ve

Re: wicket examples very slow

2011-01-24 Thread Jeremy Thomerson
On Mon, Jan 24, 2011 at 12:23 PM, fachhoch wrote: > > I was trying to see wicket examples > > http://www.wicket-library.com/wicket-examples/ > > its very slow I tried on Friday ,again today its very slow , I tried in > different browsers.It did not help. > Run them locally: svn co https://svn

Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
On Mon, Jan 24, 2011 at 7:48 PM, Jeremy Thomerson wrote: > On Mon, Jan 24, 2011 at 12:23 PM, fachhoch wrote: > > > > > I was trying to see wicket examples > > > > http://www.wicket-library.com/wicket-examples/ > > > > its very slow I tried on Friday ,again today its very slow , I tried in > >

Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
Each request fails with WARN - ServletWebRequest - Error parsing request body for post parameters; Fallback to ServletRequest#getParameters(). java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputS

The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Teddy C
Using the Wicket Phonebook as a base, I am having problem dispalyng the EditContactPage. To the BasePage I add user and role and a Session to save the login user and role. The listContactPage wich extends the BasePage works fine. The EditContactPage which also extends the Basepage, is mot able to

Re: The component(s) below failed to render (BasePage components are not rendering)

2011-01-24 Thread Martin Sachs
hi, i dont see problems in the markup. Can u please post some java-components ? Do you have called super. ... -methodes (e.g. onInitialize) martin Am 24.01.2011 20:19, schrieb Teddy C: > Using the Wicket Phonebook as a base, I am having problem dispalyng the > EditContactPage. To the BasePage I