Re: Ajaxified Notification

2009-01-30 Thread Dipu
take a look at AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior

i think this is what you are looking for.

Regards
Dipu

On Fri, Jan 30, 2009 at 6:38 AM, PSkarthic kart...@touchpointindia.com wrote:

 Hi
  I am karthic i am using wicket in project and its going well.

  I have scenerio like this
Client will click a button
and the click event will request something but the requested
 values will be from the other  server(webservices).
   My Question is the value from other server may come anytime from
 1 secs to 1 mins so the thread will listen for the values to arrive . How to
 notify this values to client side is it possible in wicket? The notification
 should be ajax like that is the client page should not be refreshed

 (Like automatic updation to clien when an event occur on server)

 Anybody have any idea
 please guide me

 Thanks
 Karthic
 --
 View this message in context: 
 http://www.nabble.com/Ajaxified-Notification-tp21742197p21742197.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Ajaxified Notification

2009-01-30 Thread PSkarthic

Thank you for your reply.
  Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the
client on particular situation.
That is many browser(many client logged in) may opened and accessing the
wicket application, at some when event occurs for particular client time the
server has send the details to particular client browser can this be done.


Thanks in advance
Karthic
-- 
View this message in context: 
http://www.nabble.com/Ajaxified-Notification-tp21742197p21744321.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Ajaxified Notification

2009-01-30 Thread Ernesto Reinaldo Barreiro
Hi,

On Fri, Jan 30, 2009 at 11:04 AM, PSkarthic kart...@touchpointindia.comwrote:


 Thank you for your reply.
  Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the
 client on particular situation.


With AJAX timer behavior is the client that periodically makes a round trip
to the server to ask for something. What you want is a (comet/reverse
AJAX) like thing. I have been using DWR (see 1 bellow) for such things but I
think there is also support for dojo cometd (see 2) on dojo wicket stuff
project.

References
1-http://directwebremoting.org/
2-http://cometdproject.dojotoolkit.org/


Best,

Ernesto


 That is many browser(many client logged in) may opened and accessing the
 wicket application, at some when event occurs for particular client time
 the
 server has send the details to particular client browser can this be done.


 Thanks in advance
 Karthic
 --
 View this message in context:
 http://www.nabble.com/Ajaxified-Notification-tp21742197p21744321.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Ajaxified Notification

2009-01-30 Thread Dipu
On Fri, Jan 30, 2009 at 10:04 AM, PSkarthic kart...@touchpointindia.com wrote:

 Thank you for your reply.
  Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the
 client on particular situation.
 That is many browser(many client logged in) may opened and accessing the
 wicket application, at some when event occurs for particular client time the
 server has send the details to particular client browser can this be done.

that's how things normally work isn't it ?

Button button = new Button(button)
{
public void onSubmit()
{
 call  webservice   
 setResponsePage( new ResutPage());
}
};

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Ajaxified Notification

2009-01-30 Thread Michael Sparer

just wanted to add some starting points on cometd with wicket, as it isn't
that easy to find:

- how to get including sample app:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-dojo-1.1
- matt raible on cometd:
http://raibledesigns.com/rd/entry/dojo_comet_support_in_java
- suggestion of providing in-depth examples for a small donation:
http://techblog.molindo.at/2009/01/talk-on-tech-now-molindo-techblog.html

(yes the last one was a bit of self-promotion, hope you don't mind ;-))

regards,
Michael


reiern70 wrote:
 
 Hi,
 
 On Fri, Jan 30, 2009 at 11:04 AM, PSkarthic
 kart...@touchpointindia.comwrote:
 

 Thank you for your reply.
  Ok i will try AbstractAjaxTimerBehavior but tell me can server notify
 the
 client on particular situation.
 
 
 With AJAX timer behavior is the client that periodically makes a round
 trip
 to the server to ask for something. What you want is a (comet/reverse
 AJAX) like thing. I have been using DWR (see 1 bellow) for such things but
 I
 think there is also support for dojo cometd (see 2) on dojo wicket stuff
 project.
 
 References
 1-http://directwebremoting.org/
 2-http://cometdproject.dojotoolkit.org/
 
 
 Best,
 
 Ernesto
 
 
 That is many browser(many client logged in) may opened and accessing the
 wicket application, at some when event occurs for particular client time
 the
 server has send the details to particular client browser can this be
 done.


 Thanks in advance
 Karthic
 --
 View this message in context:
 http://www.nabble.com/Ajaxified-Notification-tp21742197p21744321.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 


-
Michael Sparer
http://techblog.molindo.at
-- 
View this message in context: 
http://www.nabble.com/Ajaxified-Notification-tp21742197p21745293.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Ajaxified Notification

2009-01-29 Thread PSkarthic

Hi
  I am karthic i am using wicket in project and its going well.

 I have scenerio like this 
Client will click a button
and the click event will request something but the requested
values will be from the other  server(webservices).
   My Question is the value from other server may come anytime from
1 secs to 1 mins so the thread will listen for the values to arrive . How to
notify this values to client side is it possible in wicket? The notification
should be ajax like that is the client page should not be refreshed

(Like automatic updation to clien when an event occur on server)

Anybody have any idea
please guide me

Thanks
Karthic
-- 
View this message in context: 
http://www.nabble.com/Ajaxified-Notification-tp21742197p21742197.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org