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 id="myBtn">...</button>
...
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to