sortHandler = new ColumnSortEvent.ListHandler<Client>(dataProvider.getList()) {
@Override public void onColumnSort(ColumnSortEvent event) {
super.onColumnSort(event); dataProvider.refresh(); }
};
Monday, March 23, 2015
GWT DataGrid refresh on column sorting
GWT DataGrid needs refresh on ListDataProvider when you do sort on column:
Saturday, March 21, 2015
Linux Ubuntu - Instal and run GWT plugin Firefox 24
https://support.google.com/chrome/answer/95346?hl=en
Linux Ubuntu - where to store all application as Program Files in Windows
In Linux Ubuntu store all your applications under:
/usr/local
Create new directory in it e.g. apps and keep all your downloaded third-party apps there.
/usr/local
Create new directory in it e.g. apps and keep all your downloaded third-party apps there.
Linux Ubuntu - What does the asterisk mean after a filename
The asterisk after a filename means in Linux that that file is executable
Wednesday, March 11, 2015
Ruby Gem install Sass on Windows trough Proxy
gem install -p http://[username]:[password]@proxy_ip:proxy_port sass
Wednesday, March 4, 2015
GWT / GXT: difference between WEBAPP and RESOURCES project's directories in storing resources e.g. images, css
Basic things you should remember about RIA structure:
WEB-INF directory holds everything on server e.g. Apache Tomcat servlet container lets say in "private" access i.e. nothing there is assessable by direct URL, only through the call to the server made by your app.
This means that
-----------------------------------------------------------------------
So: if you'll store your resources in webapp directory, then after the build all that resources WILL HAVE public access e.g. directly assessable for everyone from their browser e.g. by URL.
If you want to insure your resources privacy e.g. images, css, properties etc you should put them inside of resources directory, NOT in webapp. Thus, after build they will be copied (stored) in WEB-INF directory.
Nevertheless, all your resources you use and store in your packages inside of src/main/java tree will be stored thereafter in WEB_INF/classes along with compiled source, which is not good because they should not be compiled. For this reason it is better to create some public directory for them on the same level of *.gwt.xml or in resources directory.
WEB-INF directory holds everything on server e.g. Apache Tomcat servlet container lets say in "private" access i.e. nothing there is assessable by direct URL, only through the call to the server made by your app.
This means that
WEB-INF resources are accessible to the classloader of your Web-Application and not directly visible for the public.-----------------------------------------------------------------------
So: if you'll store your resources in webapp directory, then after the build all that resources WILL HAVE public access e.g. directly assessable for everyone from their browser e.g. by URL.
If you want to insure your resources privacy e.g. images, css, properties etc you should put them inside of resources directory, NOT in webapp. Thus, after build they will be copied (stored) in WEB-INF directory.
Nevertheless, all your resources you use and store in your packages inside of src/main/java tree will be stored thereafter in WEB_INF/classes along with compiled source, which is not good because they should not be compiled. For this reason it is better to create some public directory for them on the same level of *.gwt.xml or in resources directory.
Basic knowledge is taken from here http://stackoverflow.com/questions/19786142/what-is-web-inf-used-for-in-a-java-web-application
Monday, March 2, 2015
Tuesday, February 24, 2015
Monday, February 23, 2015
Friday, February 20, 2015
Subscribe to:
Posts (Atom)
