Re: Regarding JNSI/make a call to GWT Widgets on click of HTML Buttons.
On 25 sep, 16:19, Manish <[EMAIL PROTECTED]> wrote: > Hi > > Thank all of you for providing continuos help and advice by this > group. > > I am new to this group.I have just put my hands on integration of my > existing HTML with GWT. > > My very initail requirement is to show a GWT pop-up message box on > click of HTML Button element( This HTML Button component is pre-exist > and made using HTML Tags ). > > As I had some idea about JNSI , I tried with it But I don't succeed > due to not having much exposure. > > Can anybody please provide pseudo code for JNSI ( if applicable )or > any other way of implementation. With GWT 1.5, you no longer need JSNI thanks to Button.wrap: ... ... Button myBtn = Button.wrap(Document.get().getElementById("myBtn")); myBtn.addClickListener(new ClickListener() { ... }); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Regarding JNSI/make a call to GWT Widgets on click of HTML Buttons.
Hi Thomos, Thanx for providing such a much needed stuffs. It's working and is more useful than JSNI. Regards Manish - Original Message - From: "Thomas Broyer" <[EMAIL PROTECTED]> To: "Google Web Toolkit" Sent: Friday, September 26, 2008 2:17 PM Subject: Re: Regarding JNSI/make a call to GWT Widgets on click of HTML Buttons. > > > On 25 sep, 16:19, Manish <[EMAIL PROTECTED]> wrote: >> Hi >> >> Thank all of you for providing continuos help and advice by this >> group. >> >> I am new to this group.I have just put my hands on integration of my >> existing HTML with GWT. >> >> My very initail requirement is to show a GWT pop-up message box on >> click of HTML Button element( This HTML Button component is pre-exist >> and made using HTML Tags ). >> >> As I had some idea about JNSI , I tried with it But I don't succeed >> due to not having much exposure. >> >> Can anybody please provide pseudo code for JNSI ( if applicable )or >> any other way of implementation. > > With GWT 1.5, you no longer need JSNI thanks to Button.wrap: > ... > ... > Button myBtn = Button.wrap(Document.get().getElementById("myBtn")); > myBtn.addClickListener(new ClickListener() { ... }); > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Regarding JNSI/make a call to GWT Widgets on click of HTML Buttons.
Hi Thank all of you for providing continuos help and advice by this group. I am new to this group.I have just put my hands on integration of my existing HTML with GWT. My very initail requirement is to show a GWT pop-up message box on click of HTML Button element( This HTML Button component is pre-exist and made using HTML Tags ). As I had some idea about JNSI , I tried with it But I don't succeed due to not having much exposure. Can anybody please provide pseudo code for JNSI ( if applicable )or any other way of implementation. Thank you in advance. Regards, Manish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---