Re: facebook like notification
Thank you Sebastian. I will check it. Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...! -Original Message- From: Sebastian Date: Sun, 19 Jun 2011 16:57:42 To: Reply-To: users@wicket.apache.org Subject: Re: facebook like notification You can use the wicketstuff-push component https://github.com/wicketstuff/core/wiki/Push which can either use a polling approach or cometd to update clients based on server-side events. Seb On 19.06.2011 11:50, Noven wrote: > Hi All.. > > Newbie need guide , I just registered and this is my first post. > > I am facing problem about creating a facebook like notification. > Like if your friend tag someone in your photos, there will be a > notification appeared on your facebook page. > > My problem actually, I can't manage the user session/application state. > I have successfully presented my feedback message into jGrowl like here > > The real scenario is : > There are 2 role of user in my application, a user and a supervisor. > When the user create something via a form, a notification appeared on > the supervisor page lively. > > My question is how I can trigger the notification (which is a > feedback message) appears on the supervisor page. Where I have to put my > code, override some method in wicket application class? > > I am sorry if there is a similar question like mine before. > > Thanks, > Noven - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: facebook like notification
You can use the wicketstuff-push component https://github.com/wicketstuff/core/wiki/Push which can either use a polling approach or cometd to update clients based on server-side events. Seb On 19.06.2011 11:50, Noven wrote: Hi All.. Newbie need guide , I just registered and this is my first post. I am facing problem about creating a facebook like notification. Like if your friend tag someone in your photos, there will be a notification appeared on your facebook page. My problem actually, I can't manage the user session/application state. I have successfully presented my feedback message into jGrowl like here The real scenario is : There are 2 role of user in my application, a user and a supervisor. When the user create something via a form, a notification appeared on the supervisor page lively. My question is how I can trigger the notification (which is a feedback message) appears on the supervisor page. Where I have to put my code, override some method in wicket application class? I am sorry if there is a similar question like mine before. Thanks, Noven - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: facebook like notification
Thank you Nino for your point me out of this. Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...! -Original Message- From: nino martinez wael Date: Sun, 19 Jun 2011 14:44:18 To: ; Reply-To: users@wicket.apache.org Subject: Re: facebook like notification http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.toaster.ToasterSample http://wicketstuff.org/wicket/ajax/clock should get you going.. > You could also do a ajax heartbeat and use a javascript toaster > > 2011/6/19 Noven : >> Hi All.. >> >> Newbie need guide , I just registered and this is my first post. >> >> I am facing problem about creating a facebook like notification. >> Like if your friend tag someone in your photos, there will be a >> notification appeared on your facebook page. >> >> My problem actually, I can't manage the user session/application state. >> I have successfully presented my feedback message into jGrowl like here >> >> The real scenario is : >> There are 2 role of user in my application, a user and a supervisor. >> When the user create something via a form, a notification appeared on >> the supervisor page lively. >> >> My question is how I can trigger the notification (which is a >> feedback message) appears on the supervisor page. Where I have to put my >> code, override some method in wicket application class? >> >> I am sorry if there is a similar question like mine before. >> >> Thanks, >> Noven > > - > 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: facebook like notification
http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.toaster.ToasterSample http://wicketstuff.org/wicket/ajax/clock should get you going.. > You could also do a ajax heartbeat and use a javascript toaster > > 2011/6/19 Noven : >> Hi All.. >> >> Newbie need guide , I just registered and this is my first post. >> >> I am facing problem about creating a facebook like notification. >> Like if your friend tag someone in your photos, there will be a >> notification appeared on your facebook page. >> >> My problem actually, I can't manage the user session/application state. >> I have successfully presented my feedback message into jGrowl like here >> >> The real scenario is : >> There are 2 role of user in my application, a user and a supervisor. >> When the user create something via a form, a notification appeared on >> the supervisor page lively. >> >> My question is how I can trigger the notification (which is a >> feedback message) appears on the supervisor page. Where I have to put my >> code, override some method in wicket application class? >> >> I am sorry if there is a similar question like mine before. >> >> Thanks, >> Noven > > - > 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: facebook like notification
Hi Nino, Thank you for you info, do you have example about using ajax heartbeat or javascript toaster? Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...! -Original Message- From: nino martinez wael Date: Sun, 19 Jun 2011 13:58:53 To: ; Noven Reply-To: users@wicket.apache.org Subject: Re: facebook like notification You could also do a ajax heartbeat and use a javascript toaster 2011/6/19 Noven : > Hi All.. > > Newbie need guide , I just registered and this is my first post. > > I am facing problem about creating a facebook like notification. > Like if your friend tag someone in your photos, there will be a > notification appeared on your facebook page. > > My problem actually, I can't manage the user session/application state. > I have successfully presented my feedback message into jGrowl like here > > The real scenario is : > There are 2 role of user in my application, a user and a supervisor. > When the user create something via a form, a notification appeared on > the supervisor page lively. > > My question is how I can trigger the notification (which is a > feedback message) appears on the supervisor page. Where I have to put my > code, override some method in wicket application class? > > I am sorry if there is a similar question like mine before. > > Thanks, > Noven - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: facebook like notification
You could also do a ajax heartbeat and use a javascript toaster 2011/6/19 Noven : > Hi All.. > > Newbie need guide , I just registered and this is my first post. > > I am facing problem about creating a facebook like notification. > Like if your friend tag someone in your photos, there will be a > notification appeared on your facebook page. > > My problem actually, I can't manage the user session/application state. > I have successfully presented my feedback message into jGrowl like here > > The real scenario is : > There are 2 role of user in my application, a user and a supervisor. > When the user create something via a form, a notification appeared on > the supervisor page lively. > > My question is how I can trigger the notification (which is a > feedback message) appears on the supervisor page. Where I have to put my > code, override some method in wicket application class? > > I am sorry if there is a similar question like mine before. > > Thanks, > Noven - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: facebook like notification
Hi, I think you need a push approach. I suggest you to use the Atmosphere framework that enable a push channel between the client and the server with WebSocket (of HTML5). If Websocket doesn't work, Atmosphere uses the Comet approach. See: http://jfarcand.wordpress.com/2010/10/07/writing-websocket-application-using-apache-wicket/ Hope that helped you Julien On Sun, Jun 19, 2011 at 11:50 AM, Noven wrote: > Hi All.. > > Newbie need guide , I just registered and this is my first post. > > I am facing problem about creating a facebook like notification. > Like if your friend tag someone in your photos, there will be a > notification appeared on your facebook page. > > My problem actually, I can't manage the user session/application state. > I have successfully presented my feedback message into jGrowl like here > > The real scenario is : > There are 2 role of user in my application, a user and a supervisor. > When the user create something via a form, a notification appeared on > the supervisor page lively. > > My question is how I can trigger the notification (which is a > feedback message) appears on the supervisor page. Where I have to put my > code, override some method in wicket application class? > > I am sorry if there is a similar question like mine before. > > Thanks, > Noven