Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-07-15 Thread dx74a19

I am still having exceptions with this. Im using wicket-1.3 snapshots.
(btw, I'm not using wicket's AjaxTabbedPanel, but my own implementations -
altough I don't think that's the problem).

Help is much appreciated

-- 
View this message in context: 
http://www.nabble.com/have-problems-with-AjaxSelfUpdatingTimerBehavior-and-AjaxTabbedPanel-tf3724059.html#a11604894
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-07-15 Thread dx74a19

The exception :

java.lang.IndexOutOfBoundsException: Index: 0 at
java.util.Collections$EmptyList.get(Unknown Source) at
org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:88)

at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)

at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1031)  
  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1107) at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176)



-- 
View this message in context: 
http://www.nabble.com/have-problems-with-AjaxSelfUpdatingTimerBehavior-and-AjaxTabbedPanel-tf3724059.html#a11604895
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-12 Thread Matej Knopp
Should be fixed for 1.3.

-Matej

On 5/11/07, James McLaughlin [EMAIL PROTECTED] wrote:
 done!
 https://issues.apache.org/jira/browse/WICKET-556

 with a brief discussion of other possibilities.

 best,
 jim


  On 5/11/07, Matej Knopp [EMAIL PROTECTED] wrote:
  Yeah, looks like a good idea :)
 
  On 5/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
   please make a jira issue with the fix you now have
  
   On 5/10/07, Murat Yücel  [EMAIL PROTECTED] wrote:
Hi James
   
Thanks for the fix. It works like a charm :)... Is this something that
wicket will solve
in a future release?
   
/Murat
   
2007/5/10, James McLaughlin [EMAIL PROTECTED]:

 erm, sorry that was:


 http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html

 On 5/10/07, James McLaughlin  [EMAIL PROTECTED] wrote:
 
  Hi Murat,
  I posted a hack to fix this several months back:
 
 
 http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
 
  Essentially, I have the timer check if the markup for the
 component it
  was bound to is still in the page, and return without firing if it
 is
not.
  Hope this helps.
 
  best,
  jim
 
   On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
 
   Hi All
  
   I had some problem with ajax when using wicket 1.2.6. I read the
   thread with the following subject:
   Problem with concurren ajax requests on page
  
   Matej suggested that a upgrade to wicket 1.3 would solve the
 ajax
   problem. So i upgraded the application
   to wicket-1.3.0-incubating-SNAPSHOT.
  
   Now I have problems with AjaxSelfUpdatingTimerBehavior when
 using it
   together with AjaxTabbedPanel.
  
   Panel 1 includes a subpanel which has an
   AjaxSelfUpdatingTimerBehavior.
   Panel 2 has another subpanel and it doesnt include the subpanel
 from
   panel 1.
  
   When swithing page from panel 1 to panel 2 then after 5
 seconds
   which is the duration of the first subpanel
   then i get the following error:
  
   org.apache.wicket.WicketRuntimeException:
 component
   contentpanel:menu:panel:showthreads not found
 on page
   dk.team.ninan.web.wicket.BasePage[id = 1],
 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:137)
  
   The error message is correct because the panel showthreads is no
   longer a part of BasePage, but why doesnt the behaviour
 disappear
   when replacing panels? What am i doing wrong? :)
  
   /Murat
  
  
  
   
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and
 take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread Johan Compagner
please make a jira issue with the fix you now have

On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
 Hi James

 Thanks for the fix. It works like a charm :)... Is this something that
 wicket will solve
 in a future release?

 /Murat

 2007/5/10, James McLaughlin [EMAIL PROTECTED]:
 
  erm, sorry that was:
 
  http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
 
  On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
  
   Hi Murat,
   I posted a hack to fix this several months back:
  
   http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
  
   Essentially, I have the timer check if the markup for the component it
   was bound to is still in the page, and return without firing if it is
 not.
   Hope this helps.
  
   best,
   jim
  
On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  
Hi All
   
I had some problem with ajax when using wicket 1.2.6. I read the
thread with the following subject:
Problem with concurren ajax requests on page
   
Matej suggested that a upgrade to wicket 1.3 would solve the ajax
problem. So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.
   
Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
together with AjaxTabbedPanel.
   
Panel 1 includes a subpanel which has an
AjaxSelfUpdatingTimerBehavior.
Panel 2 has another subpanel and it doesnt include the subpanel from
panel 1.
   
When swithing page from panel 1 to panel 2 then after 5 seconds
which is the duration of the first subpanel
then i get the following error:
   
org.apache.wicket.WicketRuntimeException: component
contentpanel:menu:panel:showthreads not found on page
dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)
   
The error message is correct because the panel showthreads is no
longer a part of BasePage, but why doesnt the behaviour disappear
when replacing panels? What am i doing wrong? :)
   
/Murat
   
   
   
 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread Matej Knopp
Yeah, looks like a good idea :)

On 5/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
 please make a jira issue with the fix you now have

 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  Hi James
 
  Thanks for the fix. It works like a charm :)... Is this something that
  wicket will solve
  in a future release?
 
  /Murat
 
  2007/5/10, James McLaughlin [EMAIL PROTECTED]:
  
   erm, sorry that was:
  
   http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
  
   On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
   
Hi Murat,
I posted a hack to fix this several months back:
   
http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
   
Essentially, I have the timer check if the markup for the component it
was bound to is still in the page, and return without firing if it is
  not.
Hope this helps.
   
best,
jim
   
 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
   
 Hi All

 I had some problem with ajax when using wicket 1.2.6. I read the
 thread with the following subject:
 Problem with concurren ajax requests on page

 Matej suggested that a upgrade to wicket 1.3 would solve the ajax
 problem. So i upgraded the application
 to wicket-1.3.0-incubating-SNAPSHOT.

 Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
 together with AjaxTabbedPanel.

 Panel 1 includes a subpanel which has an
 AjaxSelfUpdatingTimerBehavior.
 Panel 2 has another subpanel and it doesnt include the subpanel from
 panel 1.

 When swithing page from panel 1 to panel 2 then after 5 seconds
 which is the duration of the first subpanel
 then i get the following error:

 org.apache.wicket.WicketRuntimeException: component
 contentpanel:menu:panel:showthreads not found on page
 dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)

 The error message is correct because the panel showthreads is no
 longer a part of BasePage, but why doesnt the behaviour disappear
 when replacing panels? What am i doing wrong? :)

 /Murat



  -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread James McLaughlin

done!
https://issues.apache.org/jira/browse/WICKET-556

with a brief discussion of other possibilities.

best,
jim

On 5/11/07, Matej Knopp [EMAIL PROTECTED] wrote:


Yeah, looks like a good idea :)

On 5/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
 please make a jira issue with the fix you now have

 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  Hi James
 
  Thanks for the fix. It works like a charm :)... Is this something that
  wicket will solve
  in a future release?
 
  /Murat
 
  2007/5/10, James McLaughlin [EMAIL PROTECTED]:
  
   erm, sorry that was:
  
   http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
  
   On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
   
Hi Murat,
I posted a hack to fix this several months back:
   
   
http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
   
Essentially, I have the timer check if the markup for the
component it
was bound to is still in the page, and return without firing if it
is
  not.
Hope this helps.
   
best,
jim
   
 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
   
 Hi All

 I had some problem with ajax when using wicket 1.2.6. I read the
 thread with the following subject:
 Problem with concurren ajax requests on page

 Matej suggested that a upgrade to wicket 1.3 would solve the
ajax
 problem. So i upgraded the application
 to wicket-1.3.0-incubating-SNAPSHOT.

 Now I have problems with AjaxSelfUpdatingTimerBehavior when
using it
 together with AjaxTabbedPanel.

 Panel 1 includes a subpanel which has an
 AjaxSelfUpdatingTimerBehavior.
 Panel 2 has another subpanel and it doesnt include the subpanel
from
 panel 1.

 When swithing page from panel 1 to panel 2 then after 5
seconds
 which is the duration of the first subpanel
 then i get the following error:

 org.apache.wicket.WicketRuntimeException: component
 contentpanel:menu:panel:showthreads not found on page
 dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)

 The error message is correct because the panel showthreads is no
 longer a part of BasePage, but why doesnt the behaviour
disappear
 when replacing panels? What am i doing wrong? :)

 /Murat



 
-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and
take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
  
  
-
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take

[Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread Murat Yücel

Hi All

I had some problem with ajax when using wicket 1.2.6. I read the thread with
the following subject:
Problem with concurren ajax requests on page

Matej suggested that a upgrade to wicket 1.3 would solve the ajax problem.
So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.

Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
together with AjaxTabbedPanel.

Panel 1 includes a subpanel which has an AjaxSelfUpdatingTimerBehavior.
Panel 2 has another subpanel and it doesnt include the subpanel from panel
1.

When swithing page from panel 1 to panel 2 then after 5 seconds which is
the duration of the first subpanel
then i get the following error:

org.apache.wicket.WicketRuntimeException: component
contentpanel:menu:panel:showthreads not found on page
dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)

The error message is correct because the panel showthreads is no longer a
part of BasePage, but why doesnt the behaviour disappear
when replacing panels? What am i doing wrong? :)

/Murat
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin

Hi Murat,
I posted a hack to fix this several months back:

http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559

Essentially, I have the timer check if the markup for the component it was
bound to is still in the page, and return without firing if it is not. Hope
this helps.

best,
jim

On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:


Hi All

I had some problem with ajax when using wicket 1.2.6. I read the thread
with the following subject:
Problem with concurren ajax requests on page

Matej suggested that a upgrade to wicket 1.3 would solve the ajax problem.
So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.

Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
together with AjaxTabbedPanel.

Panel 1 includes a subpanel which has an AjaxSelfUpdatingTimerBehavior.
Panel 2 has another subpanel and it doesnt include the subpanel from panel
1.

When swithing page from panel 1 to panel 2 then after 5 seconds which is
the duration of the first subpanel
then i get the following error:

org.apache.wicket.WicketRuntimeException: component
contentpanel:menu:panel:showthreads not found on page
dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)

The error message is correct because the panel showthreads is no longer a
part of BasePage, but why doesnt the behaviour disappear
when replacing panels? What am i doing wrong? :)

/Murat

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin

erm, sorry that was:

http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html

On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:


Hi Murat,
I posted a hack to fix this several months back:

http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559

Essentially, I have the timer check if the markup for the component it was
bound to is still in the page, and return without firing if it is not. Hope
this helps.

best,
jim

On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:

 Hi All

 I had some problem with ajax when using wicket 1.2.6. I read the thread
 with the following subject:
 Problem with concurren ajax requests on page

 Matej suggested that a upgrade to wicket 1.3 would solve the ajax
 problem. So i upgraded the application
 to wicket-1.3.0-incubating-SNAPSHOT.

 Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
 together with AjaxTabbedPanel.

 Panel 1 includes a subpanel which has an AjaxSelfUpdatingTimerBehavior.
 Panel 2 has another subpanel and it doesnt include the subpanel from
 panel 1.

 When swithing page from panel 1 to panel 2 then after 5 seconds which
 is the duration of the first subpanel
 then i get the following error:

 org.apache.wicket.WicketRuntimeException: component
 contentpanel:menu:panel:showthreads not found on page
 dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)

 The error message is correct because the panel showthreads is no longer
 a part of BasePage, but why doesnt the behaviour disappear
 when replacing panels? What am i doing wrong? :)

 /Murat


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread Murat Yücel

Hi James

Thanks for the fix. It works like a charm :)... Is this something that
wicket will solve
in a future release?

/Murat

2007/5/10, James McLaughlin [EMAIL PROTECTED]:


erm, sorry that was:

http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html

On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:

 Hi Murat,
 I posted a hack to fix this several months back:

 http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559

 Essentially, I have the timer check if the markup for the component it
 was bound to is still in the page, and return without firing if it is not.
 Hope this helps.

 best,
 jim

  On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:

  Hi All
 
  I had some problem with ajax when using wicket 1.2.6. I read the
  thread with the following subject:
  Problem with concurren ajax requests on page
 
  Matej suggested that a upgrade to wicket 1.3 would solve the ajax
  problem. So i upgraded the application
  to wicket-1.3.0-incubating-SNAPSHOT.
 
  Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
  together with AjaxTabbedPanel.
 
  Panel 1 includes a subpanel which has an
  AjaxSelfUpdatingTimerBehavior.
  Panel 2 has another subpanel and it doesnt include the subpanel from
  panel 1.
 
  When swithing page from panel 1 to panel 2 then after 5 seconds
  which is the duration of the first subpanel
  then i get the following error:
 
  org.apache.wicket.WicketRuntimeException: component
  contentpanel:menu:panel:showthreads not found on page
  dk.team.ninan.web.wicket.BasePage[id = 1], 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:137)
 
  The error message is correct because the panel showthreads is no
  longer a part of BasePage, but why doesnt the behaviour disappear
  when replacing panels? What am i doing wrong? :)
 
  /Murat
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user