Re: Servlet and Wicket
Hi.. I understood what your issue is. Just want to share my experience here. I used to convert my struts application to wicket. I found there were no easy way to solve this matter. Since wicket is component based, not rely on servlet to do an action. Finally, I ended this matter by recreating all the jsp page to wicket page one by one. The html dan css structure were still usable. Just need reform the page with wicket style. Other things like form action servlet, link, etc are not much usable except the business logic. The way jsp do page templating (e.g. tiles or sitemesh) was also not usable. In wicket we do inheritance or border to do page templating. My conclusion, this is not an easy thing to do. But if you really want to, you really need to spent time to reform your presentation. It can be a pain if your project is huge size. I know I didn't share any solution here, just shared my thoughts. Hope others have solution for you. Cheers, Noven Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...! -Original Message- From: "koha...@gmail.com" Date: Mon, 26 Sep 2011 15:06:42 To: Reply-To: users@wicket.apache.org Subject: Re: Servlet and Wicket I am asking this question because I have reviewed all the books published on Wicket including the recent Wicket Cookbook, I have not seen any examples of how you can replace JSP with Wicket. I want to use Wicket in my current project but it would be cost prohibitive if I have to discard all the Servlet implementation. Now, my question is, how easy would it be to replace the JSP code with Wicket code. Or to ask it another way. Is it possible to reuse my current Servlet code and integrate it with Wicket for the UI. It would help to see examples of how to integrate Servlet code with Wicket. I hope this helps clearify things a bit. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Servlet-and-Wicket-tp3844944p3845548.html Sent from the Users forum 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: 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
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
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