Re: AjaxSelfUpdatingBehavior .. page expired

2012-03-14 Thread mlabs
after much hair pulling and searching I googled a post describing the same issue... the magic trick is to attach the behavior to a CHILD of the panel returned by ITab.getPanel() ... no idea why ? but it works -- View this message in context:

Re: Seeing sporadic ClassNotFoundExceptions after upgrading from 1.4.9 or 1.4.11

2012-03-14 Thread Martin Grigorov
Hi, Try with 1.4.20. I remember such problem have been fixed at some point. 1.4.11 is too old. On Wed, Mar 14, 2012 at 2:19 AM, nhsoft.yhw nhsoft@gmail.com wrote: I have same problem also, This situation occasionally occurs. Nitnatsnok wrote 03-13 18:37:30.466[      

Re: WicketTester - getTagByWicketId

2012-03-14 Thread Martin Grigorov
Hi, I guess it doesn't work because your application is configured to remove wicket:xyz tags and attributes. See org.apache.wicket.settings.IMarkupSettings#setStripWicketTags(). Additionally this method works only with component id, not with component path, i.e. it should work for 'panel' and

Re: [Announce] Wicket Stuff Core 1.5.5 Released

2012-03-14 Thread danisevsky
Thank you very much Michael! 2012/3/14 Michael O'Cleirigh michael.ocleir...@rivulet.ca: Hello, Following the release of wicket 1.5.5 have cut a matching wicketstuff-core release. The artifacts have been promoted and are now available in maven central. They can be retrieved like this:

Re: WicketTester - getTagByWicketId

2012-03-14 Thread northar
Thanks for your reply. Yes, didn't even know the application i work on had this configured, but setStripWicketTags was the issue. Works now! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-getTagByWicketId-tp4470042p4471631.html Sent from the Users forum

Could not find component after session dies

2012-03-14 Thread Francois Meillet
Release: Wicket 6.0-SNAPSHOT The pages: All pages extends a Skeleton, which has a header panel. In this header panel, another panel is displayed, depending if the user is logged (ConnectedPanel) or not (HeaderLoginPanel). So when a user is not connected, the component's structure is

Control panels through Ajax

2012-03-14 Thread Alexander Zotter
Hi, I´m trying to achieve a 4 Panel Page, which has a navigating panel (which is a wicket tree basically) and a detailpanel which should show detail for the selected element. My problem is how to redirect the ajax target from one Panel to the other. Are there any best practice examples,

RE: Control panels through Ajax

2012-03-14 Thread Wilhelmsen Tor Iver
My problem is how to redirect the ajax target from one Panel to the other. If Panel A needs to invoke anything in Panel B then Panel A should have a reference to Panel B (or to a mediator object that knows about it), and send the AjaxRequestTarget (which applies to the entire Page's component

RE: Control panels through Ajax

2012-03-14 Thread saschisch87
Wilhelmsen Tor Iver wrote My problem is how to redirect the ajax target from one Panel to the other. If Panel A needs to invoke anything in Panel B then Panel A should have a reference to Panel B (or to a mediator object that knows about it), and send the AjaxRequestTarget (which applies

Re: Could not find component after session dies

2012-03-14 Thread Martin Grigorov
Hi Francois, On Wed, Mar 14, 2012 at 1:51 PM, Francois Meillet qq...@gmail.com wrote: Release: Wicket 6.0-SNAPSHOT Good! And sorry if I break the APIs from time to time ;-) The pages: All pages extends a Skeleton, which has a header panel. In this header panel, another panel is

Re: Control panels through Ajax

2012-03-14 Thread Martin Grigorov
Hi, I think the best approach is to share models between the panels combined with events. I.e. Panel A uses the model to decide which node is the selected one in the Tree. Panel B uses the model to decide what details to show for this node. If Panel A has a reference to Panel B then you can just

RE: Control panels through Ajax

2012-03-14 Thread Wilhelmsen Tor Iver
I´m really new to web programming, so how should that solve my Problem? If I got it right the mediator does only know the colleagues which would be Panels in my case. But the methods of these colleague Panels are hidden because of inheritance (myPanel is child of Panel). Could you describe

Re: Could not find component after session dies

2012-03-14 Thread François Meillet
Hi Martin, Le 14 mars 2012 à 13:50, Martin Grigorov a écrit : Hi Francois, On Wed, Mar 14, 2012 at 1:51 PM, Francois Meillet qq...@gmail.com wrote: Release: Wicket 6.0-SNAPSHOT Good! And sorry if I break the APIs from time to time ;-) ;-) The pages: All pages extends

Re: Could not find component after session dies

2012-03-14 Thread Martin Grigorov
2012/3/14 François Meillet fm...@meillet.com: Hi Martin, Le 14 mars 2012 à 13:50, Martin Grigorov a écrit : Hi Francois, On Wed, Mar 14, 2012 at 1:51 PM, Francois Meillet qq...@gmail.com wrote: Release: Wicket 6.0-SNAPSHOT Good! And sorry if I break the APIs from time to time

Re: Seeing sporadic ClassNotFoundExceptions after upgrading from 1.4.9 or 1.4.11

2012-03-14 Thread nhsoft.yhw
Martin Grigorov-4 wrote Hi, Try with 1.4.20. I remember such problem have been fixed at some point. 1.4.11 is too old. I am using wicket 1.5.5, This problem has always existed from version 1.4.9 to version 1.5.x. However, this problem seems to have little effect, this problem the

Debug Performance Issue in Wicket App

2012-03-14 Thread eugenebalt
I am having some delays/performance issues in my Wicket app. It could be anything. Is there a way to turn on some debugging that monitors the lifecycle of all Wicket requests/responses? thanks -- View this message in context:

Re: Debug Performance Issue in Wicket App

2012-03-14 Thread Martin Grigorov
See IRequestLogger On Wed, Mar 14, 2012 at 4:22 PM, eugenebalt eugeneb...@yahoo.com wrote: I am having some delays/performance issues in my Wicket app. It could be anything. Is there a way to turn on some debugging that monitors the lifecycle of all Wicket requests/responses? thanks --

Tracking % Complete for Resource Download

2012-03-14 Thread eugenebalt
I have a large resource that is downloaded from the server. Does Wicket have a way of tracking % Complete for the download? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Tracking-Complete-for-Resource-Download-tp4471988p4471988.html Sent from the Users forum

setTextEncoding on JavascriptResourceReferences/CssResourceReferences

2012-03-14 Thread exaptis
Hi, i'm currently dealing with an encoding issue in wicket 1.5.4. When accessing js or css files the content-type header information only includes the content-type but not the encoding, but all our html files are send with the correct content-type header information. curl has the following

Re: StackOverflow while getting browser info

2012-03-14 Thread Andre Schütz
Hi, Thank you for the hint. Do you have an idea where should place my code? I tried it in the constructor of my index webpage, but the setLocale method created a page reload that did not occur in the Webapplication constructor. Thanks, Andre --- Andre Schütz www.faustas.de Dan Retzlaff

Re: StackOverflow while getting browser info

2012-03-14 Thread Dan Retzlaff
It seems a bit hacky, but you might try ThreadContext.setSession(session) in MyApplication#newSession right after you construct MySession. 2012/3/14 Andre Schütz andre-p...@gmx.de Hi, Thank you for the hint. Do you have an idea where should place my code? I tried it in the constructor of my

PageExpiredException and PageExpired

2012-03-14 Thread Francois Meillet
I have the following settings getPageSettings().setRecreateMountedPagesAfterExpiry(false); getApplicationSettings().setPageExpiredErrorPage(PageExpired.class); I don't get the PageExpired (which is bookmarkable) for PageExpiredException Do I forget something ? François

Check if FormComponent is valid in later request

2012-03-14 Thread Thomas Götz
Hi! I have the following situation: I have a form containing several FormComponents and Validators, submitted via Ajax. Then I have an AjaxButton on the same page (outside the form) which triggers some backend logic. But it should only do so if the mentioned form had no validation errors

Re: Check if FormComponent is valid in later request

2012-03-14 Thread Igor Vaynberg
if the form is invalid your button's onsubmit() wont get fired... -igor On Wed, Mar 14, 2012 at 1:53 PM, Thomas Götz t...@decoded.de wrote: Hi! I have the following situation: I have a form containing several FormComponents and Validators, submitted via Ajax. Then I have an AjaxButton on

Re: Check if FormComponent is valid in later request

2012-03-14 Thread Dan Retzlaff
If I understand Thomas correctly, the button is not a form submitting button. It's outside the form and is handled on a request after the form is submitted. Thomas, I think if you want to avoid resubmitting the form then you'll need to set your own formSubmittedSuccessfully state in

Re: Check if FormComponent is valid in later request

2012-03-14 Thread Thomas Götz
Exactly! My bad I mentioned AjaxButton. It should read 'AjaxFormComponentUpdatingBehavior' on a DropDownChoice, was trying to generalize the problem for explaining, but 'AjaxButton' was a bad example … Wouldn't it be convenient if a Form (or FormComponent) whould remembered their 'valid' state

Re: How to submit a result of dropdownchoice and a result of input text simultaneously?

2012-03-14 Thread xiaowang
Thanks very much for your help. I have finished it. I know it is a very simple question. But if any other new people have the same question, just email me. -- View this message in context:

Re: weird interaction between ModalWindow and jQuery mousedown binding

2012-03-14 Thread Andrew Geery
Line 749 of modal.js seems to have the answer that, yes, mousedown events don't bubble out of a ModalWindow -- am I reading that correctly? div class=\w_content_1\ onmousedown=\if (Wicket.Browser.isSafari()) { event.ignore = true; } else { Wicket.stopEvent(event); } \+ Thanks Andrew On Wed, Mar