In this article we will discuss of creating our own widgets and adding event listeners to them. So lets start creating a sampleWidget.We will write a sample widget which extends Composite class and implements SouceClickEvents.By implementing this interface we will allow the widget to source the events defined by the ClickListener interfaces. Similarly we have SouceMouseEvents,SourceFocusEvents and even SouceKeyBoardEvents and...
Pages
Tuesday, April 28, 2009
Composite Widgets In Gwt
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ...
Wednesday, April 15, 2009
Internationalization

Today we will be seeing how to use Internationalization in a Gwt Application.in order to use Internationalization file in Gwt we need to write a properties file and access it during runtime.Firstly we will create a properties file with the name “MyConstants.properties” .This file contains 2 key-value pairs My_Name=jagadesh Your_Name=ashokIn...
Tuesday, April 14, 2009
Java Script Native Interface-3
In this 3 part of jsni we will see some more parts of java Script native interface. As we have seen in out previous blogs how to access a java script function written in Html page from out Gwt code. So see some more complex examples,
We can even assign a value to the existing field in the Html page , consider the sample code,
I have just placed a input element in html page
<input type="text" name=firstName value="Click...
Thursday, April 9, 2009
Java Native Script Interface-2
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ...
Subscribe to:
Posts
(
Atom
)