Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-29 Thread Wayne W
Great thanks! On Tue, Jun 28, 2022 at 9:18 PM Sven Meier wrote: > +1 > > Sven > > On 28.06.22 18:54, Andrea Del Bene wrote: > > I think we have enough work done for 9.11.0, so you shouldn't have to > wait > > too much to get it > > > > On Tue

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-28 Thread Wayne W
test, your test application > works fine now. > > Many thanks > Sven > > > On 20.06.22 18:19, Wayne W wrote: > > Hello Sven, > > > > Many thanks for looking into this. It's greatly appreciated that you > > understand what is happening here. >

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-20 Thread Wayne W
ug only appears with Tomcat's RedissonSessionManager, without > > it the detailPages open as expected. > > > > I'm no expert in Redis, so I don't know what is going wrong there. Can > > you confirm my observation so far? > > > > Regards > > Sven

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-13 Thread Wayne W
a quickstart. > > Thanks > Sven > > > On 08.06.22 18:51, Wayne W wrote: > > Hi Sven, > > > > I'm having a new issue with this wicket version - I've yet had time to > dig > > deep and try and make a quickstart to replicate it. However I thought I > > would descr

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-08 Thread Wayne W
for InSessionPageStore but it made no difference. Any idea? On Wed, Jun 8, 2022 at 10:43 AM Sven Meier wrote: > Thanks Wayne! > > The fix will be part of the next 9.x release. > > Best regards > Sven > > > On 07.06.22 12:22, Wayne W wrote: > > Hi Sven, > > > > I can co

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-06-07 Thread Wayne W
on 9.x > > BTW the workaround with HubInSessionCache subclassing InSessionPageStore > (to use a separate MetaDataKey) is no longer needed. > > Regards > Sven > > > On 26.05.22 19:19, Wayne W wrote: > > Hello Sven, > > > > So this particular issue I'

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-26 Thread Wayne W
ine 74 in HomePage.java has the dirty commented out at the moment. Enter some text into the textfield and you will see the model is updated (printed out). However when you click on the AjaxLink 'next' the model is null. Let me know your thoughts Many thanks. On Wed, May 25, 2022 at 4:19 PM Wayne W wrote:

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-25 Thread Wayne W
> > https://github.com/apache/wicket/tree/WICKET-6981-session-attributes-not-set > > Are you able to test this on your setup? > > Regards > Sven > > > On 24.05.22 10:43, Wayne W wrote: > > Hello Sven, > > > > Any update on this? > > Many thanks > >

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-24 Thread Wayne W
Hello Sven, Any update on this? Many thanks On Mon, May 16, 2022 at 11:40 AM Sven Meier wrote: > Hi Wayne, > > not, because InSessionPageStore#canBeAsynchronous returns false, thereby > preventing asynchronous adds. > > Regards > Sven > > > On 16.05.22 09:37, Wayn

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-17 Thread Wayne W
Ah thank you. Wasn't aware of that. On Mon, May 16, 2022 at 11:40 AM Sven Meier wrote: > Hi Wayne, > > not, because InSessionPageStore#canBeAsynchronous returns false, thereby > preventing asynchronous adds. > > Regards > Sven > > > On 16.05.22 09:37, Wayne W w

Re: FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-16 Thread Wayne W
s > > stored in the session. > > > > I'll take a deeper look into this tomorrow. > > > > Best regards > > Sven > > > > > > On 10.05.22 18:47, Wayne W wrote: > >> Hi, > >> > >> I am *still* trying to troubleshoot why migrati

FlushSession never called on AjaxFormComponentUpdatingBehavior

2022-05-10 Thread Wayne W
Hi, I am *still* trying to troubleshoot why migrating to 9.4 we have found that our app no longer supports session failover correctly. We use Redission to store the tomcat session in Redis. After a lot of debugging it appears that for AjaxFormComponentUpdatingBehavior.onEvent() calls,

Re: InSessionPageStore not storing page in http session

2022-04-26 Thread Wayne W
)); } }); This now seems to be working locally fine now. On Tue, Apr 26, 2022 at 12:25 PM Wayne W wrote: > Hello, > > Since migrating to 9.4 we have found that our app no longer supports > session failover correctly. We use Redission tomcat to store the tomcat > s

InSessionPageStore not storing page in http session

2022-04-26 Thread Wayne W
Hello, Since migrating to 9.4 we have found that our app no longer supports session failover correctly. We use Redission tomcat to store the tomcat session in Redis. This works fine. However after a lot of debugging I can see that InSessionPageStore does not serialize the page into the http

Re: Selenium testing

2022-02-01 Thread Wayne W
y to have a global waitForAjaxFinished(). > > In summary. We run our tests on a server running in production mode. Thus > we do not use any wicket path or anything similar, we use custom CSS > classes + custom element attributes to give a more precise context. > > Hope this help

Selenium testing

2022-01-31 Thread Wayne W
Hello all, Is anyone out there successfully using Selenium to do regression testing? It seems with the latest version of Selenium you cannot add custom selectors anymore (the idea turning on getDebugSettings().setComponentPathAttributeName("wicketpath") ). So it just uses css selectors and xpath

Re: Page is being lost from Session intermittently

2021-09-02 Thread Wayne W
Thanks On Thu, Sep 2, 2021 at 3:16 PM Martin Grigorov wrote: > On Thu, Sep 2, 2021 at 3:48 PM Wayne W > wrote: > > > Thanks for the replies. > > > > > > > > > Have you logged everything from the servlet container's session manager > > to > &

Re: Page is being lost from Session intermittently

2021-09-02 Thread Wayne W
el like a bodge though. Where is the Wicket code is this logic done managing the page in the session? Many thanks On Thu, Sep 2, 2021 at 9:41 AM Martin Grigorov wrote: > Hi, > > On Wed, Sep 1, 2021 at 7:31 PM Wayne W > wrote: > > > Hello there, > > > > We rec

Page is being lost from Session intermittently

2021-09-01 Thread Wayne W
Hello there, We recently upgraded from Wicket 7.8.0 to 9.4.0 . We are experiencing intermittent pages that are being lost from the session. I can reproduce in production but it takes time and is random. We have a page where some files can be uploaded to another microservice from the webpage via

Any CSP migration tips??

2021-02-16 Thread Wayne W
HI, We are now looking at migrating to Wicket9 and implementing CSP. However we have 10,000s of pages on a 13 year old wicket project and the task almost looks impossible. For example most of our components/panel/pages use inline style some a fair amount of JS as this was chosen at the start as

Re: 7.14.0 release

2019-05-24 Thread Wayne W
Ok thanks. So soon then hopefully!! On Wed, May 22, 2019 at 3:37 PM Andrea Del Bene wrote: > yes. 8.5.0 and 7.14.0 go hand in hand together :-) > > see > > http://apache-wicket.1842946.n4.nabble.com/Wicket-8-5-0-ready-td4682248.html > > On Wed, May 22, 2019 at 4:27 PM Wayne

7.14.0 release

2019-05-22 Thread Wayne W
Hi, Is there timeframe for this release? Thanks! Wayne

Re: Possible memory leak with Tomcat?

2019-05-21 Thread Wayne W
It is fixed in 7.14.0 and 8.4.0. > > On Mon, May 20, 2019 at 6:48 PM Wayne W > wrote: > > > Hi Sven, > > > > I'm having trouble replicating locally. We just saw it in production and > > then had to roll back as it was effecting customers. The log is fu

Re: Possible memory leak with Tomcat?

2019-05-20 Thread Wayne W
e explain what issues you're facing? A quickstart would > be perfect, or at least some explanations how we're able to reproduce > the problem. > > Regards > Sven > > > Am 17.05.19 um 13:23 schrieb Wayne W: > > Hello Sven, > > > > the fix you did for WICKET-65

Re: Possible memory leak with Tomcat?

2019-05-17 Thread Wayne W
dardSession.bindingEvent"), t); } } The valueUnbound is call to notify the object its no longer in the session. However looking at the change you did for PageStoreManager.valueUnbound its actually removing the session by calling clear() Doesn't seem correct?? or am I missing something? On Fri, May

Re: Possible memory leak with Tomcat?

2019-05-10 Thread Wayne W
Thanks Sven. On Thu, May 9, 2019 at 8:24 PM Sven Meier wrote: > Hi, > > we've had two fixed related to page stores (WICKET-6457, WICKET-6564) so > please upgrade to 7.13.0 first. > > Have fun > Sven > > > Am 09.05.19 um 21:10 schrieb Wayne W: > > Hi, &g

Possible memory leak with Tomcat?

2019-05-09 Thread Wayne W
Hi, I've take a memory dump of one of our production instances and I'm seeing about 500MB of memory consumed just by the DiskDataStore which doesn't seem correct to me. Here is a screen shot: https://customerservices.glasscubes.com/share/s/qmvnvrdtm36amme6sdrqg4dp2g I've highlighted the item -

getOutputStream() has already been called for this response

2017-10-18 Thread Wayne W
Hi, we have a lot of these in our production logs: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:578) at

Re: Very slow shutdown at org.apache.wicket.pageStore.AbstractPageStore.destroy

2017-09-26 Thread Wayne W
replication is configured as all sessions are replicate when it starts up? thanks On Tue, Sep 26, 2017 at 10:07 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > On Tue, Sep 26, 2017 at 10:35 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Hi, > > > >

Very slow shutdown at org.apache.wicket.pageStore.AbstractPageStore.destroy

2017-09-26 Thread Wayne W
Hi, we've started to experience very slow shutdown of our tomcat instances in production. Doing a thread dump I see: "localhost-startStop-2" #14871 daemon prio=5 os_prio=64 tid=0x06700800 nid=0x3a37 runnable [0xfcffcc5fd000] java.lang.Thread.State: RUNNABLE at

Re: CsrfPreventionRequestCycleListener or alternative CSRF protection

2017-09-19 Thread Wayne W
Hi Maxim, what are you using? CsrfPreventionRequestCycleListener? On Tue, Sep 19, 2017 at 2:23 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: > It works for us, but we are not using *CryptMapper's ... > > On Tue, Sep 19, 2017 at 7:49 PM, Wayne W <waynemailingli...@gmail.co

Re: CsrfPreventionRequestCycleListener or alternative CSRF protection

2017-09-19 Thread Wayne W
Hi, does anyone else have an ideas whats I could do here. Is there anyone out there who's successfully got the CSRF protection up and running in production? On Fri, Sep 8, 2017 at 10:31 AM, Wayne W <waynemailingli...@gmail.com> wrote: > Thanks Martin, > &g

Re: CsrfPreventionRequestCycleListener or alternative CSRF protection

2017-09-08 Thread Wayne W
questHandle > r#getComponent() > instanceOf Form > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Sep 7, 2017 at 11:04 AM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Thanks Martin, > > > &g

Re: CsrfPreventionRequestCycleListener or alternative CSRF protection

2017-09-07 Thread Wayne W
ion with > them! > > On Wed, Sep 6, 2017 at 12:07 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Hi, > > > > I've been trying to use CsrfPreventionRequestCycleListener in > production. > > However we are seeing in the logs that about 30 times a

CsrfPreventionRequestCycleListener or alternative CSRF protection

2017-09-06 Thread Wayne W
Hi, I've been trying to use CsrfPreventionRequestCycleListener in production. However we are seeing in the logs that about 30 times a day we get the request aborted because the clients browsers are not sending the referrer header sometimes. Doing some research it seems we cannot rely on the

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-27 Thread Wayne W
says that getRedirectUrl() returns null. > > So something calls RedirectRequestHandler's constructor with null url. > > Wicket doesn't instantiate this class for its needs, so it should be your > > application. > > > > Martin Grigorov > > Wicket Training

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-26 Thread Wayne W
Consulting > https://twitter.com/mtgrigorov > > On Tue, Jul 25, 2017 at 5:52 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Hi, > > > > I've got a strange issue I cannot get to the bottom of. Basically we have > > our app deployed on jetty 9.2.1 w

NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-25 Thread Wayne W
Hi, I've got a strange issue I cannot get to the bottom of. Basically we have our app deployed on jetty 9.2.1 with apache 2.4 in front. If I make calls to stateless pages its all good. However as soon as I try to make a call to a stateful page it does a 302 to the login page for our app, but then

Re: ComponentNotFoundException and Clustering failover

2017-04-12 Thread Wayne W
thanks On Mon, Apr 3, 2017 at 8:19 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > On Thu, Mar 30, 2017 at 11:21 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Please ignore my last email I have done a lot more debugging and I > *think* &

Re: ComponentNotFoundException and Clustering failover

2017-03-30 Thread Wayne W
s to the user the session is lost. This is at least what I am observing. I can provide a Quick start to demonstrate if needed. many thanks for you time thus far. On Thu, Mar 30, 2017 at 4:29 PM, Wayne W <waynemailingli...@gmail.com> wrote: > > > On Thu, Mar 30, 2017 at 4:09 PM

Re: ComponentNotFoundException and Clustering failover

2017-03-30 Thread Wayne W
g the page parameters when > > > constructing a new page instance in 7.0.0. > > > I have the feeling you are using 6.x. Am I correct ? > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > >

Re: ComponentNotFoundException and Clustering failover

2017-03-30 Thread Wayne W
Wicket you use ? > There was an improvement related to reusing the page parameters when > constructing a new page instance in 7.0.0. > I have the feeling you are using 6.x. Am I correct ? > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > >

Re: ComponentNotFoundException and Clustering failover

2017-03-28 Thread Wayne W
lt;mgrigo...@apache.org> wrote: > Hi, > > On Fri, Mar 24, 2017 at 1:31 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Thanks Martin, > > > > I have a theory what this is, perhaps you could confirm? > > > > What I observe is the

Re: ComponentNotFoundException and Clustering failover

2017-03-24 Thread Wayne W
itter.com/mtgrigorov > > On Thu, Mar 23, 2017 at 6:11 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > If I put the AbstractDefaultAjaxBehavior back in, it always fails. If I > > remove the AbstractDefaultAjaxBehavior most of the time it works, but > every &

Re: ComponentNotFoundException and Clustering failover

2017-03-23 Thread Wayne W
appreciated. On Thu, Mar 23, 2017 at 4:53 PM, Wayne W <waynemailingli...@gmail.com> wrote: > So it seems the homepage is not the only page. However removing the > AbstractDefaultAjaxBehavior makes no difference I still get the same > issues. Just don;t know where to start with this one. Is th

Re: ComponentNotFoundException and Clustering failover

2017-03-23 Thread Wayne W
, Wayne W <waynemailingli...@gmail.com> wrote: > Hi Martin, > > no - I still get the ComponentNotFoundException in the new instance. :-/ > > On Thu, Mar 23, 2017 at 3:57 PM, Martin Grigorov <mgrigo...@apache.org> > wrote: > >> Hi, >> >> On Th

Re: ComponentNotFoundException and Clustering failover

2017-03-23 Thread Wayne W
Hi Martin, no - I still get the ComponentNotFoundException in the new instance. :-/ On Thu, Mar 23, 2017 at 3:57 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > On Thu, Mar 23, 2017 at 4:20 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > H

Re: ComponentNotFoundException and Clustering failover

2017-03-23 Thread Wayne W
the cluster, if it the replication is actually working! > > > On Wed, Mar 22, 2017 at 1:02 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Hi, > > > > We have 2 instances of Tomcat running with Apache sitting in front > > balancing between the Tomcat

ComponentNotFoundException and Clustering failover

2017-03-22 Thread Wayne W
Hi, We have 2 instances of Tomcat running with Apache sitting in front balancing between the Tomcat instances. I have session replication setup which seems to work for basic bookmarkable links on the pages. I can stop one of the instances and I'm not logged in as it failover to the other

Re: Web sockets support clarification

2017-03-22 Thread Wayne W
Many thanks Martin On Mon, Mar 20, 2017 at 8:45 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > On Fri, Mar 17, 2017 at 6:00 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > > Hi, > > > > we are currently using Wicket 6.17 and

Web sockets support clarification

2017-03-17 Thread Wayne W
Hi, we are currently using Wicket 6.17 and use a version of Atmosphere jar libraries (not the wicket version). Its never been great and have had lots of production issues with it. I'm looking to replace it with straight web sockets as the fall back long polling etc we never could get to work.

Re: Single Page Applications (SPA), Wicket and the history ajax back issue

2016-07-27 Thread Wayne W
help with a use case that doesn't work with this impl then > > please create a demo application and I'll try to help! > > If one day the implementation is generic enough it may land in Wicket! > > > > Have fun! > > > > Martin Grigorov > > Wicket Training and C

Re: Single Page Applications (SPA), Wicket and the history ajax back issue

2016-07-13 Thread Wayne W
Hi, On Thu, Jul 7, 2016 at 11:28 PM, Martin Grigorov wrote: > Hi, > > It seems you use Wicket for several years now and you have no idea how to > use it! > Yes perhaps Martin, I do try but there's a lot too it. > > I have done this for a client of mine 4 years

Re: Single Page Applications (SPA), Wicket and the history ajax back issue

2016-07-13 Thread Wayne W
sed to using the navigation back button - we did some user testing and a fair number of people still use it, from from a UX perspective its not great dropping it. I did't see that request unfortunately > > > Have fun > Sven > > > > On 07.07.2016 14:13, Wayne W wrote:

Re: Single Page Applications (SPA), Wicket and the history ajax back issue

2016-07-07 Thread Wayne W
rver-side rendered framework Wicket surely isn't the new kid on the > block, but I can't think of anything forcing your application to be 'old > school'. > > Can you be more specific? > > Sven > > > > Am 7. Juli 2016, 13:23, um 13:23, Wayne W <waynemailingli..

Single Page Applications (SPA), Wicket and the history ajax back issue

2016-07-07 Thread Wayne W
Hi, we're been using wicket for some time now and we have a very established application used by many clients. It is however feeling some what dated, due to the fact the we have to constantly reload pages to access different functionality/areas if the app. We use ajax fairly heavily within each

Re: ListenerInvocationNotAllowedException question / help

2015-11-17 Thread Wayne W
t; >>>> > >>>> Actually org.apache.wicket.Component#canCallListenerInterface() is > >>>> responsible for the ACTION phase. > >>>> #onConfigure() is called in the RENDER phase, i.e. after onClick(). > >>>> > >>>> Mart

Re: Pagemap help

2015-11-16 Thread Wayne W
ple or N-click links if things are not going > fast enough). > > Martijn > > > On Mon, Nov 16, 2015 at 2:57 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > Hi Martijn, > > > > are you basically saving that with wicket there is no way I can not avoid > >

ListenerInvocationNotAllowedException question / help

2015-11-16 Thread Wayne W
Hi, I have a org.apache.wicket.markup.html.link.Link within a page this is visible only if a certain criteria is met. If user A visits this page the changes the criteria the link is visible. The user can then click on the link for some other functionality. However I'm finding is User B (in a

Re: Pagemap help

2015-11-16 Thread Wayne W
> you probably should look into websockets if you don't want polling. > > Martijn > > On Mon, Nov 16, 2015 at 12:50 PM, Wayne W <waynemailingli...@gmail.com> > wrote: > > Hi, > > > > I have a page that has a AbstractDefaultAjaxBehavior which adds a new >

Re: ListenerInvocationNotAllowedException question / help

2015-11-16 Thread Wayne W
ould it be because wicket is checking boolean isVisible() when > >making this decision? (as we override the links isVisible() > > indeed. > > You should override #onConfigure() and call #setVisible() instead of > overriding #isVisible(). > > Regards > Sven > > &g

Pagemap help

2015-11-16 Thread Wayne W
Hi, I have a page that has a AbstractDefaultAjaxBehavior which adds a new panel in the ajax request. This new panel can be a long running process to generate some data. I'm find this is locking the page map so other requests on that page get locked. How could I get around this aside from

Re: Anyone know a Wiki component?

2015-06-01 Thread Wayne W
a WYSIWYG editor ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jun 1, 2015 at 12:55 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, I'm looking for a wiki like component(s) as we need to add some wiki type functionality to a product. Anyone know

Anyone know a Wiki component?

2015-06-01 Thread Wayne W
Hi, I'm looking for a wiki like component(s) as we need to add some wiki type functionality to a product. Anyone know of any projects or open source projects? I'd rather not start from scratch if there is something already out there. I see alots of full java based wiki apps but they are all based

Re: ListenerInvocationNotAllowedException and InlineFrames

2015-02-19 Thread Wayne W
) haven't changed. kind regards Tobias Am 18.02.15 um 18:06 schrieb Wayne W: Wicket seems to think its not enabled isEnabledInHierarchy() returns false randomly On Wed, Feb 18, 2015 at 4:48 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, we're still stuck on this. I can

Re: ListenerInvocationNotAllowedException and InlineFrames

2015-02-18 Thread Wayne W
Wicket seems to think its not enabled isEnabledInHierarchy() returns false randomly On Wed, Feb 18, 2015 at 4:48 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, we're still stuck on this. I can reproduce it - it seems a bit random but I suspect it to do when the browser makes the request

Re: ListenerInvocationNotAllowedException and InlineFrames

2015-02-18 Thread Wayne W
$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:744) On Fri, Dec 19, 2014 at 1:36 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, we're trying to clear up our production logs at the moment and are going through errors. I cannot understand what is happen

Re: AttributeModifier not updated in Ajax request

2015-01-22 Thread Wayne W
Any ideas on this one? On Thu, Jan 15, 2015 at 2:31 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, we have a list which gets updated via ajax. This works fine. I'm trying to get it so that the style attribute is updated as well. However even though I put break points in the getObject

AttributeModifier not updated in Ajax request

2015-01-15 Thread Wayne W
Hi, we have a list which gets updated via ajax. This works fine. I'm trying to get it so that the style attribute is updated as well. However even though I put break points in the getObject() and I can see its got the new User object the style attribute sent back via ajax is the old one even

ListenerInvocationNotAllowedException and InlineFrames

2014-12-19 Thread Wayne W
Hi, we're trying to clear up our production logs at the moment and are going through errors. I cannot understand what is happen here. We're getting : org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: Component rejected interface invocationComponent: [InlineFrame

Does wicket instantiate a page even if the session has expired?

2014-12-19 Thread Wayne W
We have lots of really odd exceptions in our logs in production where essentially the session is empty but pages are still being created. Does wicket do this? and if so how do we handle the situation knowing that data in the session is needed to build the page thanks

Re: IPageRendererProvider - HTTP 500 issue

2014-11-26 Thread Wayne W
provided. Why aren't you using a RedirectToUrlException? Regards Sven On 11/18/2014 08:35 PM, Wayne W wrote: Hi Sven, Kind of - however its seems to happen only in 6.17. In 6.18 it seems to work ok with the quick start, but with our code base it still happens even with 6.18. I see this fix

Re: IPageRendererProvider - HTTP 500 issue

2014-11-18 Thread Wayne W
the problem in a quickstart? Sven On 11/17/2014 06:46 PM, Wayne W wrote: Hi, We had the requirement that we needed to use RedirectPolicy.NEVER_REDIRECT for a single page in our app . We used this code: setPageRendererProvider(new IPageRendererProvider() { @Override public

IPageRendererProvider - HTTP 500 issue

2014-11-17 Thread Wayne W
Hi, We had the requirement that we needed to use RedirectPolicy.NEVER_REDIRECT for a single page in our app . We used this code: setPageRendererProvider(new IPageRendererProvider() { @Override public PageRenderer get(final RenderPageRequestHandler context) { return new

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-14 Thread Wayne W
. Here's a real stateless page: http://www.wicket-library.com/wicket-examples/stateless/foo Regards Sven On 11/13/2014 03:27 PM, Wayne W wrote: Hi Sven, I tried setting setStatelessHint(true); but it always does a 302 redirect. I see something like this in the Net

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-14 Thread Wayne W
policy per page type. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Nov 14, 2014 at 12:57 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, it looks like we cannot make the page stateless as we have many links that require the model etc

Re: wicket + jsessionid and 302 issues

2014-11-13 Thread Wayne W
Perhaps your tomcats are not getting the session id? make sure your apache is passing the JSESSION to the tomcat instance ie ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=Off On Thu, Nov 13, 2014 at 12:37 AM, Jason Novotny jason.novo...@gmail.com wrote: Hi, I figured

RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-13 Thread Wayne W
Hi, We have an issue with hyperlinks Microsoft Word and Excel documents. Its seems to vary from version and OS, but the long and short of it is that Word when a user clicks on a link it uses an internal library to try and access the page, and once it gets a HTTP 200 it will open the default

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-13 Thread Wayne W
...@meiers.net wrote: Hi, make your page stateless, then no redirection will occur. Sven On 11/13/2014 11:55 AM, Wayne W wrote: Hi, We have an issue with hyperlinks Microsoft Word and Excel documents. Its seems to vary from version and OS, but the long and short of it is that Word when

Re: Wicket 6 Session issue

2014-11-06 Thread Wayne W
Hi Martin, I think this might have solved it . Many thanks :-) On Wed, Nov 5, 2014 at 1:49 PM, Martin Grigorov mgrigo...@apache.org wrote: Thanks ! It is more clear now ! On Wed, Nov 5, 2014 at 3:44 PM, Wayne W waynemailingli...@gmail.com wrote: Sorry Martin its not clear enough

Wicket 6 Session issue

2014-11-05 Thread Wayne W
Hi, we recently migrated to 6.17 from 4.x. Something we are now experiencing is an odd session problem in production. We have 2 tomcats load balance running the front end wicket code. We have a certain flow that goes like this: 1. User goes to : my.example.com/login (LoginPage.java) 2.

Re: Wicket 6 Session issue

2014-11-05 Thread Wayne W
. The HttpSession is replicated by Tomcat itself. What is your Tomcat config related to replication ? Do you use sticky sessions ? It seems you don't but I have to ask. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Nov 5, 2014 at 12:43 PM, Wayne W

Re: Wicket 6 Session issue

2014-11-05 Thread Wayne W
mail misleads. Would you please explain again the steps with more details which step on which node happens. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Nov 5, 2014 at 1:01 PM, Wayne W waynemailingli...@gmail.com wrote: Hi Martin, I don't

Re: Is this possible?

2014-10-17 Thread Wayne W
I'd recommend to use event delegation, i.e. one change listener on the dataview that handles 'change' for all items. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 16, 2014 at 7:09 PM, Wayne W waynemailingli...@gmail.com wrote: We have

Re: Anyway of stopping this?

2014-10-17 Thread Wayne W
results page after your form's submit. Sven On 10/16/2014 07:16 PM, Wayne W wrote: Hi, we have a simple search form: FormString form = new FormString(searchForm) { @Override protected void onSubmit() { PageParameters params = new PageParameters(); params.add(0, search

Re: Anyway of stopping this?

2014-10-17 Thread Wayne W
PM, Wayne W waynemailingli...@gmail.com wrote: Hi Sven, We don't set the RenderStrategy so we should (in wicket 6) be using this default strategy. Any other idea? On Thu, Oct 16, 2014 at 8:28 PM, Sven Meier s...@meiers.net wrote: Hi, what RenderStrategy are you using

Is this possible?

2014-10-16 Thread Wayne W
We have a page that has a rather big DataView list. We need to be able to make insertions and removals of this list without sending back the whole list via AJAX as its a bit slow over the wire. Is it possible to add a new element and return and insert that into the list? Obviously we could insert

Anyway of stopping this?

2014-10-16 Thread Wayne W
Hi, we have a simple search form: FormString form = new FormString(searchForm) { @Override protected void onSubmit() { PageParameters params = new PageParameters(); params.add(0, search); setResponsePage(SearchResultsPage.class, params); } }; This displays a list of results with each

Double submit with AjaxFormSubmitBehavior

2014-10-02 Thread Wayne W
Hi, I have basically the following: Form f = new Form('form) { }

Double submit with AjaxFormSubmitBehavior

2014-10-02 Thread Wayne W
Hi, I have basically the following FormString typeInForm = new FormString(typeInForm) { @Override protected void onSubmit() { doSubmit(this); } }; AjaxFormSubmitBehavior ajax = new AjaxFormSubmitBehavior(onkeyup) { @Override protected void

Error page for AJAX requests

2014-09-26 Thread Wayne W
Hi all, we've recently moved to Wicket 6.17 from 1.4 and I'm having trouble with NOT showing the default wicket error page when a runtime exception is thrown from an AjaxLink. I've set the following in the application: getApplicationSettings().setInternalErrorPage(ErrorPage.class);

UploadProgressBar Wicket 6 issues

2014-09-22 Thread Wayne W
Hi, we've just migrated from 1.4 to the 6.13 and I have to say its been very painful! So many API breaks. We're also experiencing many UI issues mainly brought about by how resources are now included. Anyhow we're though most of them, however I cannot get the UploadProgressBar to work at all.

XSS vulnerability

2014-05-12 Thread Wayne W
Hi Its been brought to my attention that wicket seems to be XSS vulnerable. We have a public internet facing form, and by simply putting img src=x onerror=prompt(1); In the fields you can get a js prompt appearing. As add the fields have validators on them, all code is passing through the

Re: XSS vulnerability

2014-05-11 Thread Wayne W
Hi All, please ignore this. We found the issue - it was due to AbstractBehavior that was being added to the textfields that outputs the raw value in a div before escaping it. On Wed, May 7, 2014 at 11:23 AM, Wayne W waynemailingli...@gmail.comwrote: Hi Its been brought to my attention

Re: Migrating from 1.4.21 to 6

2014-01-02 Thread Wayne W
with the same effort as updating. cheers and good luck ;) Am 30.12.2013 17:45, schrieb Wayne W: Hi All, I'm wanting to upgrade to the latest version of wicket but am worried about the possible impact. Also I'm wanting to know the best migration plan. Do you think it would be best to jump

Migrating from 1.4.21 to 6

2013-12-30 Thread Wayne W
Hi All, I'm wanting to upgrade to the latest version of wicket but am worried about the possible impact. Also I'm wanting to know the best migration plan. Do you think it would be best to jump straight to 6 or first upgrade to 5? Any tips or ideas would be much appreciated. thanks

Could not find root ajax-response element . Wicket 1.5.3

2012-04-15 Thread Wayne W
Hi, this is something I have found - I'm getting a consistent ajax error in this scenario: I have a page that has an AjaxLink (Add Product), that displays a panel that contains a form. If I use AjaxFormSubmitBehavior to perform the submit on the form the sequence of events is: - Communication

Re: Model problem with my own component

2012-01-11 Thread Wayne W
Am 11.01.2012 08:01, schrieb Wayne W: Hello, I cannot get my component model to update correctly when being set. I have list of products and when I click on the name via ajax I update a Product panel to display the info. In that panel I have my component that displays the image of the product

Model problem with my own component

2012-01-10 Thread Wayne W
Hello, I cannot get my component model to update correctly when being set. I have list of products and when I click on the name via ajax I update a Product panel to display the info. In that panel I have my component that displays the image of the product. sudo code: ProductPanel(id,

Cannot get Ajax Window Debug to trace responses

2011-12-12 Thread Wayne W
Hi, I'm starting a new project so made the jump to wicket 1.5. However when using ajax, I cannot see the responses being returned from the server - this is a form thats submitted via ajax. However if I use an ajx link then I get the response. I'm sure this was not the case with 1.4.x Am I

  1   2   >