Re: Nothing happens on AJAX call after session timeout

2011-05-04 Thread Martin Grigorov
Please create a demo application and attach it to a ticket On Thu, May 5, 2011 at 8:42 AM, vov wrote: > Do not work with Wicket 1.4.17. > Can anybody post comment to last comment to > http://apache-wicket.1842946.n4.nabble.com/Session-timeout-AJAX-enabled-controls-td1893184.html > ? > > -- > View

Re: Nothing happens on AJAX call after session timeout

2011-05-04 Thread vov
Do not work with Wicket 1.4.17. Can anybody post comment to last comment to http://apache-wicket.1842946.n4.nabble.com/Session-timeout-AJAX-enabled-controls-td1893184.html ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-time

Re: PageParameters and setResponsePage()

2011-05-04 Thread Martin Grigorov
I can only suggest you to use Wicket 1.5. In current trunk MountedMapper supports all of this - named, indexed and optional parameters. See http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/MountedMapperTest.java?view=markup for examples On Thu,

Re: PageParameters and setResponsePage()

2011-05-04 Thread Peter Miklosko
Isn't my question clear or just nobody wants to get into "mud" of long explanation? Peter On 4 May 2011 16:04, Peter Miklosko wrote: > We are using MixedParamUrlCodingStrategy to create "user/SEO friendly" URLs > for booking website. The booking can have two different types as fixed or > flexib

Re: How to add an unspecified number of components

2011-05-04 Thread wmike1...@gmail.com
thank you very much -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-an-unspecified-number-of-components-tp3497096p3497312.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: How to add an unspecified number of components

2011-05-04 Thread jcgarciam
What you want to achieve is a very common usecase in wicket, play around with a ListView component and then move to a suitable component for database like that provide like DataView https://cwiki.apache.org/WICKET/listview-and-other-repeaters.html

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
something like this may help you. AbstractDefaultAjaxBehavior b=new AbstractDefaultAjaxBehavior() { respond(target) { // handle ajax callback } }; div.add(b); String script=b.getCallbackScript(); what you have in the script variable is a javascript fragment which will invoke the server-side ca

Re: Custom event: fire and handle

2011-05-04 Thread Scott Reed
I tried doing this using the onclick event of the list item but there were a couple of problems. The biggest problem is that there may be hundreds of items in the list and inserting an ajax call in each item increases the page size too much for a mobile app. Another problem is that the id of th

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
can you not do it the other way around? have the link that goes to detail be a wicket ajax link which then repaints the content div and tells jquery that it did so? otherwise what you can do is add an ajaxeventbehavior for that even to the content div or whatever div receives it, or wire it in dir

Re: Custom event: fire and handle

2011-05-04 Thread Scott Reed
I want to update the models for the component's children and refresh it. This app has a list on the "home page". Selecting one of the list items causes a transition to the "detail page". During that transition the pagebeforeshow event fires and then the page is displayed. When the pagebeforesh

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
can you explain a bit more of what you want to happen when this javascript event is fired? -igor On Wed, May 4, 2011 at 3:05 PM, Scott Reed wrote: > Certain jQuery Mobile components can trigger a custom javascript event, > "pagebeforeshow", which I want to handle on the server. I am new to this

Custom event: fire and handle

2011-05-04 Thread Scott Reed
Certain jQuery Mobile components can trigger a custom javascript event, "pagebeforeshow", which I want to handle on the server. I am new to this list and to Wicket and have not been able to find any documentation or examples that show how this could be done.|I would appreciate any help in figur

Re: DataTable's view does not always update

2011-05-04 Thread Martin Grigorov
Hi, On Wed, May 4, 2011 at 10:58 PM, Tom Barbaro wrote: > I found the cause of my problem. > > The dataview was not updating due to an Ajax error. I found that when I > enabled ajax debugging in the application class by adding > > getDebugSettings().setAjaxDebugModeEnabled(true); > > That showed

Re: DataTable's view does not always update

2011-05-04 Thread Tom Barbaro
I found the cause of my problem. The dataview was not updating due to an Ajax error. I found that when I enabled ajax debugging in the application class by adding getDebugSettings().setAjaxDebugModeEnabled(true); That showed that it could not find the beginning tag for the ajax response but vis

Re: Running Wicket under WebSphere

2011-05-04 Thread Bruno Borges
There's no need for an index.jsp / index.html if you enable the property I mentioned before. Cheers, Bruno Borges www.brunoborges.com.br +55 21 76727099 On Wed, May 4, 2011 at 4:51 PM, D D wrote: > try adding index file under WebContent - make sure that extension > matches the welcome-file-l

ComponentFeedbackPanel works during ajax validation, not on form submit

2011-05-04 Thread Adam Gray
I have a component hierarchy that looks (grossly oversimplified) like: page --form components --form barcodeTextField barcodeFeedbackPanel TextField barcodeField = new TextField("barcode"); barcodeField.add(new StringValidator.ExactLengthValidator(11)); form.add(barcodeField); Compon

Re: Running Wicket under WebSphere

2011-05-04 Thread D D
try adding index file under WebContent - make sure that extension matches the welcome-file-list element in your deployment descriptor. you are probably seeing 404 as I was. Dave On Tue, May 3, 2011 at 2:56 PM, Bruno Borges wrote: > You must enable the > *com.ibm.ws.webcontainer.invokefilterscom

Re: Reading

2011-05-04 Thread Igor Vaynberg
that should work. i know people use this to have external apps post to a wicket page, so it should work. -igor On Wed, May 4, 2011 at 11:51 AM, Matthew Pennington wrote: > Hi I've got a small wicket app that is using paypal to take payments. > > On reciept of payment, paypal posts a notificatio

Reading

2011-05-04 Thread Matthew Pennington
Hi I've got a small wicket app that is using paypal to take payments. On reciept of payment, paypal posts a notification back to the website. If I intercept this with a filter and look at the request parameters all the information I would expect is there, transaction details, item details etc.

Re: web site issue: examples ("in live action") and components are not reachable

2011-05-04 Thread Igor Vaynberg
there is a dns problem with wicketstuff.org which is being looked into. -igor On Wed, May 4, 2011 at 2:19 AM, Michael Bartholomäus wrote: > Hi there, > since yesterday there is a wicket web site issue: examples ("in live action") > and components are not reachable. > So what to do / whom to co

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
ahh saw that you continued the commentary on the issue.. Thanks 2011/5/4 nino martinez wael : > Any time frame on when you will be able to test it? > > 2011/5/4 nino martinez wael : >> Done and reproduced.. >> >> https://issues.apache.org/jira/browse/WICKET-3667 >> >> 2011/5/4 nino martinez wael :

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Any time frame on when you will be able to test it? 2011/5/4 nino martinez wael : > Done and reproduced.. > > https://issues.apache.org/jira/browse/WICKET-3667 > > 2011/5/4 nino martinez wael : >> Hmm I startet wondering if it could be something with pageversioning >> if we have 12 windows opened

PageParameters and setResponsePage()

2011-05-04 Thread Peter Miklosko
We are using MixedParamUrlCodingStrategy to create "user/SEO friendly" URLs for booking website. The booking can have two different types as fixed or flexible that do share some parameters, but not stuff like time periods. >From what I read in API it is my understanding that if some of the paramete

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Done and reproduced.. https://issues.apache.org/jira/browse/WICKET-3667 2011/5/4 nino martinez wael : > Hmm I startet wondering if it could be something with pageversioning > if we have 12 windows opened AFAIK pageversioning are set to 15 by > default per session? So all these windows keep refres

Re: moving from development to deployment mode

2011-05-04 Thread henry
Thanks Guys, Now running in deployment mode, start glassfish with JVM parameter -Dwicket.configuration=deploy ? Thanks... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/moving-from-development-to-deployment-mode-tp3495199p3495624.html Sent from the Users

Re: moving from development to deployment mode

2011-05-04 Thread Peter Karich
> Could it be a result of the wicket version that am using?Because i have > cleared web container and i still get same message.Take a look at this. > > > [Application] Started Wicket version 1.4-rc1 in development mode maybe 1.4-rc1 ist just too old? why not using at least a stable release? ---

Re: moving from development to deployment mode

2011-05-04 Thread Martin Grigorov
actually latest versions of Wicket both "configuration" and "wicket.configuration" is OK for context-param/init-param for system property only "wicket.configuration" is looked up I can't say what's the case in 1.4-rc On Wed, May 4, 2011 at 3:31 PM, moèz ben rhouma wrote: > Hi Henry, > You h

Re: moving from development to deployment mode

2011-05-04 Thread Major Péter
Also 1.4-rc1 is _very_ old, try to use the latest stable release: 1.4.17. On 2011-05-04 15:20, henry wrote: Hi Moez, Could it be a result of the wicket version that am using?Because i have cleared web container and i still get same message.Take a look at this. [Application] Started Wicket ver

Re: moving from development to deployment mode

2011-05-04 Thread Major Péter
It can be also a servlet/filter init param and a JVM property for the server. Check out the WebApplication#getConfigurationType method, or if it really doesn't want to work, try to debug it. Regards, Peter On 2011-05-04 15:31, moèz ben rhouma wrote: Hi Henry, You have two solutions and nothin

Re: moving from development to deployment mode

2011-05-04 Thread moèz ben rhouma
Hi Henry, You have two solutions and nothing else: 1) Override the method getConfigurationType() in your application class 2) Add in your web.xml: wicket.configuration deployment or in your filter: @WebInitParam(name="wicket.configuration", value="deployment") I also

Re: moving from development to deployment mode

2011-05-04 Thread Andrea Del Bene
Have you already tried to start glassfish with JVM parameter -Dwicket.configuration=deploy ? Cleared my web container, the changes don't seems to be persisted. Still getting same message. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/moving-from

Re: moving from development to deployment mode

2011-05-04 Thread henry
Hi Moez, Could it be a result of the wicket version that am using?Because i have cleared web container and i still get same message.Take a look at this. [Application] Started Wicket version 1.4-rc1 in development mode *** WARNI

Re: Ajax DataTable navigation links

2011-05-04 Thread Bertrand Guay-Paquet
I ended up implementing the solution proposed here : http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ It's an all or nothing solution, but it works. On 03/05/2011 10:52 AM, Bertrand Guay-Paquet wrote: Hello, I am using an AjaxFallbackDefaultDataTable and ge

RE: moving from development to deployment mode

2011-05-04 Thread henry
Cleared my web container, the changes don't seems to be persisted. Still getting same message. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/moving-from-development-to-deployment-mode-tp3495199p3495388.html Sent from the Users forum mailing list arc

RE: moving from development to deployment mode

2011-05-04 Thread Wilhelmsen Tor Iver
Clean the web container work area or the unpacked application folder? This sounds like a case of the web container keeping old code around. mvh - Tor Iver Wilhelmsen, Arrive AS -Original Message- From: henry [mailto:henstri...@yahoo.com] Sent: 4. mai 2011 13:58 To: users@wicket.apache.

Re: moving from development to deployment mode

2011-05-04 Thread Martin Grigorov
On Wed, May 4, 2011 at 1:26 PM, henry wrote: > hi Guys, > > I just developed a web application using wicket and is running on a > glassfish server and anything i run the wicket web application i see things > like: > > > *** WARNING: Wicket is running in DEVELOPMENT mode.              *** > ***    

Re: moving from development to deployment mode

2011-05-04 Thread henry
Hi Moez, Am still getting the same message that my wicket is running in development mode. I added the code snippet below in my Application class @Override public String getConfigurationType() { return Application.DEPLOYMENT; } But still getting message *** WARNING: Wicket is ru

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Hmm I startet wondering if it could be something with pageversioning if we have 12 windows opened AFAIK pageversioning are set to 15 by default per session? So all these windows keep refreshing every 2 seconds, some of them are bound to go over the limit... I'll look into doing the quickstart and

Re: moving from development to deployment mode

2011-05-04 Thread moèz ben rhouma
Hi, In your application class add the following method: @Override public String getConfigurationType() { return Application.DEPLOYMENT; } 2011/5/4 henry > hi Guys, > > I just developed a web application using wicket and is running on a > glassfish server and anything i run the

moving from development to deployment mode

2011-05-04 Thread henry
hi Guys, I just developed a web application using wicket and is running on a glassfish server and anything i run the wicket web application i see things like: *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread Martin Grigorov
create a quickstart and describe the exact steps to reproduce it all this in a ticket On Wed, May 4, 2011 at 1:05 PM, nino martinez wael wrote: > It did not seem to do a difference... > > 2011/5/4 nino martinez wael : >> Ok overriden the defaultpageprovider and set everything to 10x of the >> ori

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
It did not seem to do a difference... 2011/5/4 nino martinez wael : > Ok overriden the defaultpageprovider and set everything to 10x of the > original implementation that should make a change correct if this is > the problem? > > > > 2011/5/4 Martin Grigorov : >> The session is not timed out. >> Y

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Ok overriden the defaultpageprovider and set everything to 10x of the original implementation that should make a change correct if this is the problem? 2011/5/4 Martin Grigorov : > The session is not timed out. > You see PageExpirationException. *Page*! > That means the page instance is not in t

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread Martin Grigorov
The session is not timed out. You see PageExpirationException. *Page*! That means the page instance is not in the page store. Reasons: - it storing failed so the page never been in the store - it has been removed from the store because of other reasons - like the size for the session related data r

Re: Wicketstuff

2011-05-04 Thread Martin Grigorov
Sonatype's repo is the new home: https://repository.sonatype.org/index.html#nexus-search;quick~inmethod-grid The maintainer of wicketstuff.org is notified. On Wed, May 4, 2011 at 11:49 AM, Fabrice BUQUET wrote: > Hi, http://wicketstuff.org/ seems down... > In my POM I have reference to org.wicke

Wicketstuff

2011-05-04 Thread Fabrice BUQUET
Hi, http://wicketstuff.org/ seems down... In my POM I have reference to org.wicketstuff:inmethod-grid:jar:1.4-SNAPSHOT and maven tries to download it and fails ! The jar is in my local repository but maven ALWAYS tries to download it and fails... I also tried mvn -o compile (offline) but it fails t

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Ok now we are getting something.. I can see that the session are being created (one session for the 12 browser instances). But I never get the session destroyed log info. However wicket still claims that the session are timedout.. How can that be? regards Nino 2011/5/4 Martin Grigorov : > Servle

Re: Modal window update once opened

2011-05-04 Thread Isammoc OFF
Sounds weird about two divs with same id. At first glance, it looks like a bug. Can someone confirm ? 2011/5/3 jeross > Thank you for your quick reply. > I had the modalWindow.setOutputMarkupId(true) as well as on the message > label on the modalWindow. I tried the timerTarget.addComponent(

web site issue: examples ("in live action") and components are not reachable

2011-05-04 Thread Michael Bartholomäus
Hi there, since yesterday there is a wicket web site issue: examples ("in live action") and components are not reachable. So what to do / whom to contact? Greetings, Michael Bartholomäus

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread Martin Grigorov
Servlet API - HttpSessionBindingListener On Wed, May 4, 2011 at 10:33 AM, nino martinez wael wrote: > hmm I did see something about the request logger being enabled.. could > be a version mismatch.. Can I get information about when sessions are > created/deleted? > > 2011/5/4 nino martinez wael :

Re: Opera: Ajax response with

2011-05-04 Thread Martin Grigorov
Yes, it may be that Opera improved since this code has been added in wicket-ajax.js. Please file a ticket with a quickstart attached so we can debug it. On Wed, May 4, 2011 at 10:21 AM, mschayna wrote: > Hi all, > > wicket 1.4.17 > opera 11.10 > > I have my own component with overridden onCompone

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
hmm I did see something about the request logger being enabled.. could be a version mismatch.. Can I get information about when sessions are created/deleted? 2011/5/4 nino martinez wael : > but what about the dummyrequestlogger information? > > 2011/5/4 Martin Grigorov : >> See >> org.apache.wick

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
but what about the dummyrequestlogger information? 2011/5/4 Martin Grigorov : > See org.apache.wicket.settings.IRequestLoggerSettings.isRequestLoggerEnabled() > > On Wed, May 4, 2011 at 10:18 AM, nino martinez wael > wrote: >> We are seeing a lot of these on the customers server >> >> 2011-05-04

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread Martin Grigorov
See org.apache.wicket.settings.IRequestLoggerSettings.isRequestLoggerEnabled() On Wed, May 4, 2011 at 10:18 AM, nino martinez wael wrote: > We are seeing a lot of these on the customers server > > 2011-05-04 10:13:25,843  INFO ["http-bio-8080"-exec-3] > (DummyRequestLogger.java:367) - > time=31,e

Opera: Ajax response with

2011-05-04 Thread mschayna
Hi all, wicket 1.4.17 opera 11.10 I have my own component with overridden onComponentRendered() in this way: @Override protected void onComponentRendered() { Response response = getComponent().getResponse(); response.write(JavascriptUtils.SCRIPT_OP

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
We are seeing a lot of these on the customers server 2011-05-04 10:13:25,843 INFO ["http-bio-8080"-exec-3] (DummyRequestLogger.java:367) - time=31,event=null,response=null,sessionid=034801D1024C79B62FD60ACE7C0B2110,sessionsize=1456,sessionstart=Wed May 04 10:12:08 CEST 2011,requests=131,totaltime

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Yes. We have several browsers open on the same machine, and suddenly after a few seconds a couple of the browsers gets the session timeout page. It's very strange. What we have tried so far are FF4, IE6 Tomcat 7.11 and jetty 7.4. Removing the filterfix for tomcat. Using wicket rc2 and rc3. No dif

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread nino martinez wael
Hmm tried with ff and problem reoccurs.. we are doing further testing.. 2011/5/3 nino martinez wael : > now testing here on our demo server using ff chrome and IE8.. One > thing springs to mind, we tested on the customers server which has IE6 > installed, i'll get ff installed tomorrow and retest

Re: 1.5 RC3 Ajax random timeouts

2011-05-04 Thread Martin Grigorov
Can you explain what exactly happens ? On Wed, May 4, 2011 at 9:06 AM, nino martinez wael wrote: > Hmm tried with ff and problem reoccurs.. we are doing further testing.. > > 2011/5/3 nino martinez wael : >> now testing here on our demo server using ff chrome and IE8.. One >> thing springs to min