Add a JIRA issue, attach the project to it and assign it to me. Thanks. -Matej
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Ok, > i'm trying to build a little testapp. > > Where do i have to provide the code. I haven't done that before? > > > Freundliche Grüße / With kind regards > Fabian Hagen > > > > > "Matej Knopp" <[EMAIL PROTECTED]> > 27.08.2007 11:24 > Bitte antworten an > [email protected] > > > An > [email protected] > Kopie > > Thema > Re: Re: Re: nested ajax requests (AjaxEditableLabel and form) > > > > > > > I need a quickstart with as little code as possible but enough to > demonstrate teh problem :) There is a quickstart for 1.3 as well btw. > > -Matej > > On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > i've seen, that the quickstart is for wicket 1.2.6 and i'm working with > > 1.3. > > > > Do you need the code for the table with the EditableLabel and the page? > > > > > > Freundliche Grüße / With kind regards > > Fabian Hagen > > > > S&N AG > > Klingenderstr. 5 > > D 33100 Paderborn > > > > voice +49 5251/1581- 862 > > fax +49 5251/1581-71 > > eMail [EMAIL PROTECTED] > > web http://www.s-und-n.de > > > > Vorstand > > Klaus Beverungen > > Josef Tillmann > > > > Vorsitzender des Aufsichtsrates > > Heinz-Dieter Wendorff > > > > Handelsregister > > Amtsgericht Paderborn HRB 3270 > > > > > > > > "Matej Knopp" <[EMAIL PROTECTED]> > > 27.08.2007 10:45 > > Bitte antworten an > > [email protected] > > > > > > An > > [email protected] > > Kopie > > > > Thema > > Re: Re: nested ajax requests (AjaxEditableLabel and form) > > > > > > > > > > > > > > Could you please provide a quick start project that demonstrates this > > problem? > > > > -Matej > > > > On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Oh, i forgot: > > > > > > 1552733 [http-8080-Processor19] ERROR org.apache.wicket.RequestCycle - > > > component tabs:panel:form:table:rows:17:cells:2:cell:label not found > on > > > page pages.ConfirmPage[id = 4], listener interface = > > > [RequestListenerInterface name=IBehaviorListener, method=public > abstract > > > void org.apache.wicket.behavior.IBehaviorListener.onRequest()] > > > org.apache.wicket.WicketRuntimeException: component > > > tabs:panel:form:table:rows:17:cells:2:cell:label not found on page > > > pages.ConfirmPage[id = 4], listener interface = > > [RequestListenerInterface > > > name=IBehaviorListener, method=public abstract void > > > org.apache.wicket.behavior.IBehaviorListener.onRequest()] > > > at > > > > > > > > > > > > org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget > > > ( > > > AbstractRequestCycleProcessor.java:394) > > > at > > > > > > > > > > > > org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage > > > ( > > > AbstractRequestCycleProcessor.java:440) > > > at > > > org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve( > > > WebRequestCycleProcessor.java:139) > > > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1090) > > > at > org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176) > > > at > org.apache.wicket.RequestCycle.request(RequestCycle.java:499) > > > at org.apache.wicket.protocol.http.WicketFilter.doGet( > > > WicketFilter.java:257) > > > at org.apache.wicket.protocol.http.WicketServlet.doGet( > > > WicketServlet.java:126) > > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( > > > ApplicationFilterChain.java:252) > > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > > > ApplicationFilterChain.java:173) > > > at org.apache.catalina.core.StandardWrapperValve.invoke( > > > StandardWrapperValve.java:213) > > > at org.apache.catalina.core.StandardContextValve.invoke( > > > StandardContextValve.java:178) > > > at org.apache.catalina.core.StandardHostValve.invoke( > > > StandardHostValve.java:126) > > > at org.apache.catalina.valves.ErrorReportValve.invoke( > > > ErrorReportValve.java:105) > > > at org.apache.catalina.core.StandardEngineValve.invoke( > > > StandardEngineValve.java:107) > > > at org.apache.catalina.connector.CoyoteAdapter.service( > > > CoyoteAdapter.java:148) > > > at org.apache.coyote.http11.Http11Processor.process( > > > Http11Processor.java:868) > > > at > > > > > > > > > > > > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection > > > ( > > > Http11BaseProtocol.java:663) > > > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > > > PoolTcpEndpoint.java:527) > > > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( > > > LeaderFollowerWorkerThread.java:80) > > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > > > ThreadPool.java:684) > > > at java.lang.Thread.run(Unknown Source) > > > > > > > > > Wicket isn't able to find the next clicked label because of the form > > > refresh. If the value of the label isn't changed, everything works > fine. > > > > > > Freundliche Grüße / With kind regards > > > Fabian Hagen > > > > > > > > > > > > > > > > > > "Matej Knopp" <[EMAIL PROTECTED]> > > > 27.08.2007 10:27 > > > Bitte antworten an > > > [email protected] > > > > > > > > > An > > > [email protected] > > > Kopie > > > > > > Thema > > > Re: nested ajax requests (AjaxEditableLabel and form) > > > > > > > > > > > > > > > > > > > > > What exception? > > > > > > On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > > I got some problems in my app with a nested ajax request. > > > > > > > > In my form i'm using a DataTable whick includes AjaxEditableLabel > > > > components. > > > > The Problem with these combination is that if a label is changed, > the > > > rest > > > > of the form is conditionally updated. > > > > So the label refreshes the whole form: > > > > > > > > protected void onSubmit(AjaxRequestTarget target) > > > > { > > > > [...] > > > > this.getLabel().setVisible(true); > > > > this.getEditor().setVisible(false); > > > > > > > > target.addComponent(form); > > > > } > > > > > > > > The main problem is that when a user clicks into a label the editor > is > > > > displayed. So far ok. > > > > But if the user wants to leave the label, which has been changed, > and > > > > clicks into the next editable label an exception occurs. > > > > > > > > Everything works fine if the user clicks somewhere out of the > > DataTable > > > > and then into the next label. > > > > > > > > I think this happens because wicket tries to refresh the form and > > > doesn't > > > > find the next clicked label. > > > > > > > > How to avoid this exception? > > > > > > > > > > > > Freundliche Grüße / With kind regards > > > > Fabian Hagen > > > > > > > > S&N AG > > > > Klingenderstr. 5 > > > > D 33100 Paderborn > > > > > > > > voice +49 5251/1581- 862 > > > > fax +49 5251/1581-71 > > > > eMail [EMAIL PROTECTED] > > > > web http://www.s-und-n.de > > > > > > > > Vorstand > > > > Klaus Beverungen > > > > Josef Tillmann > > > > > > > > Vorsitzender des Aufsichtsrates > > > > Heinz-Dieter Wendorff > > > > > > > > Handelsregister > > > > Amtsgericht Paderborn HRB 3270 > > > > > > > > > > > >
