Re: how to select a treeitem on click of + icon on Tree

2012-04-26 Thread Dayananda B V
thanks for replay, it won't help, when i click tree + icon, there is
no selection event fires, is there any alternative way for this.
appriciate your help.

On Apr 18, 9:42 am, Lakshminarayana Golla
royalkingnaray...@gmail.com wrote:
 HI..
 Try this..

         MainTree.addSelectionHandler(new SelectionHandlerTreeItem() {
                         @Override
                         public void onSelection(SelectionEventTreeItem 
 event) {
                                 TreeItem item = (TreeItem) 
 event.getSelectedItem();
                                  System.out.println(item.getText());
                                  //Do something
                                 }
                 });

 On Apr 17, 3:16 pm,DayanandaB V dayanand...@gmail.com wrote:



  HI all,

  How I can select corresponding a treeitem on click of + icon on the
  tree.
  appreciate your help.

  Thanks
  Daya- Hide quoted text -

 - Show quoted text -

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to make parent window read only and background color to gray when dialogbox open

2012-04-26 Thread Dayananda B V
Hi All,

How to make parent window read only and background color to gray when
dialogbox open.
like swing dialog model.

appreciate your help

Thanks
Dayananda B V

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: where to place css file and image file?

2012-04-26 Thread tong123123
According to the developer guide
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideDirectoriesPackageConventions
Standard Directory and Package Layout

 In the war directory, place any static resources (such as the host page, 
 style sheets, or images).

I follow this structure, but then how to refer the image in Resources file 
in client package?
@Source(../../../war/Images/xxx.png)
prompt Resource file xxx.png is missing!!
and also how to refer the css?

On Thursday, April 26, 2012 11:17:52 AM UTC+8, tong123123 wrote:

 Currently, I place css file under war directory and images file under 
 war/images directory.
 but if I want to use ClientBundle, seems these file need place under src 
 directory? if yes, how to modify the build.xml?


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TVlj98XsOv8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Connexion Google Web Toolkit to DataBase

2012-04-26 Thread alaa aadil
hello

i'm new to google web toolkit , and i want to connect my database that
i create it with PostgreSql to my application GWT , in order to
display some information of my database .

please if some one have an idea or an project exemple , please reply
to my question .

thanks

best regards

Aadil

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to make parent window read only and background color to gray when dialogbox open

2012-04-26 Thread Jens
DialogBox.setGlassEnabled(), DialogBox.setModal().

-- J.

Am Donnerstag, 26. April 2012 09:39:31 UTC+2 schrieb Dayananda B V:

 Hi All, 

 How to make parent window read only and background color to gray when 
 dialogbox open. 
 like swing dialog model. 

 appreciate your help 

 Thanks 
 Dayananda B V 



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VAGty048EIcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 12 release

2012-04-26 Thread Alan Leung
Mac universal binary:

http://acleung.com/ff12-mac.xpi

-Alan

On Wed, Apr 25, 2012 at 10:37 PM, Alan Leung acle...@google.com wrote:

 Sound be fixed now.


 On Wed, Apr 25, 2012 at 9:43 PM, Ashwin Desikan 
 ashwin.desi...@gmail.comwrote:

 Alan,

 Receiving 403 (forbidden) error while trying to access the 64 bit xpi
 file. 32-bit version has no such issues


 Thanks
 Ashwin

 Sent from my iPhone

 On Apr 26, 2012, at 7:11 AM, Alan Leung acle...@google.com wrote:

 Linux 64 bit: http://acleung.com/ff12-linux64.xpi
 http://acleung.com/ff12-linux64.xpi

 Have fun!

 -Alan

 On Wed, Apr 25, 2012 at 1:20 PM, Alan Leung  acle...@google.com
 acle...@google.com wrote:

 Let me know if you see any problems: http://acleung.com/ff12-linux32.xpi
 http://acleung.com/ff12-linux32.xpi

 More to come.

 -Alan


 On Wed, Apr 25, 2012 at 1:56 AM, Thomas Broyer  t.bro...@gmail.com
 t.bro...@gmail.com wrote:



 On Wednesday, April 25, 2012 8:17:30 AM UTC+2, Olivier Scherler wrote:

 Why don’t people either:

 – Turn off auto-update in Firefox* if they use it to develop in GWT? I
 think it’s been proven that the only major thing these releases have
 is their version number increment, so why the rush to update?

 Or install a portable version that you use only for development.



 – Use Chrome to develop in GWT? I never had a single problem with the
 GWT plugin since I started development.

 You're lucky apparently:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
  http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
 http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
 http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7196
 http://code.google.com/p/google-web-toolkit/issues/detail?id=7196

  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ
 https://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ.

 To post to this group, send email to
 google-web-toolkit@googlegroups.com
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en
 http://groups.google.com/group/google-web-toolkit?hl=en.



  --
 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
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

  --
 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
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 12 release

2012-04-26 Thread Dimitrijević Ivan
Tested on Max OS X.
Works OK!

Thanks Alan!

On Thursday, April 26, 2012 10:37:58 AM UTC+2, Alan Leung wrote:

 Mac universal binary:

 http://acleung.com/ff12-mac.xpi

 -Alan

 On Wed, Apr 25, 2012 at 10:37 PM, Alan Leung acle...@google.com wrote:

 Sound be fixed now.


 On Wed, Apr 25, 2012 at 9:43 PM, Ashwin Desikan ashwin.desi...@gmail.com
  wrote:

 Alan,

 Receiving 403 (forbidden) error while trying to access the 64 bit xpi 
 file. 32-bit version has no such issues 


 Thanks
 Ashwin

 Sent from my iPhone

 On Apr 26, 2012, at 7:11 AM, Alan Leung acle...@google.com wrote:

 Linux 64 bit: http://acleung.com/ff12-linux64.xpi
 http://acleung.com/ff12-linux64.xpi

 Have fun!

 -Alan

 On Wed, Apr 25, 2012 at 1:20 PM, Alan Leung  acle...@google.com
 acle...@google.com wrote:

 Let me know if you see any problems: http://acleung.com/ff12-linux32.xpi
 http://acleung.com/ff12-linux32.xpi

 More to come.

 -Alan


 On Wed, Apr 25, 2012 at 1:56 AM, Thomas Broyer  t.bro...@gmail.com
 t.bro...@gmail.com wrote:



 On Wednesday, April 25, 2012 8:17:30 AM UTC+2, Olivier Scherler wrote:

 Why don’t people either:

 – Turn off auto-update in Firefox* if they use it to develop in GWT? I
 think it’s been proven that the only major thing these releases have
 is their version number increment, so why the rush to update?

 Or install a portable version that you use only for development.

  

 – Use Chrome to develop in GWT? I never had a single problem with the
 GWT plugin since I started development.

 You're lucky apparently:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
  http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
 http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
 http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7196
 http://code.google.com/p/google-web-toolkit/issues/detail?id=7196

  -- 
 You received this message because you are subscribed to the Google 
 Groups Google Web Toolkit group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ
 https://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ.

 To post to this group, send email to 
 google-web-toolkit@googlegroups.com
 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en
 http://groups.google.com/group/google-web-toolkit?hl=en.



  -- 
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.

  -- 
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.





-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/DwbyNmqHy28J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 12 release

2012-04-26 Thread Fabricio Pizzichillo
Thanks Alan!!!

2012/4/26 Dimitrijević Ivan dim...@gmail.com

 Tested on Max OS X.
 Works OK!

 Thanks Alan!


 On Thursday, April 26, 2012 10:37:58 AM UTC+2, Alan Leung wrote:

 Mac universal binary:

 http://acleung.com/ff12-mac.**xpi http://acleung.com/ff12-mac.xpi

 -Alan

 On Wed, Apr 25, 2012 at 10:37 PM, Alan Leung acle...@google.com wrote:

 Sound be fixed now.


 On Wed, Apr 25, 2012 at 9:43 PM, Ashwin Desikan 
 ashwin.desi...@gmail.com wrote:

 Alan,

 Receiving 403 (forbidden) error while trying to access the 64 bit xpi
 file. 32-bit version has no such issues


 Thanks
 Ashwin

 Sent from my iPhone

 On Apr 26, 2012, at 7:11 AM, Alan Leung acle...@google.com wrote:

 Linux 64 bit: http://acleung.com/ff12-linux64.xpi
 http://acleung.com/ff12-**linux64.xpihttp://acleung.com/ff12-linux64.xpi

 Have fun!

 -Alan

 On Wed, Apr 25, 2012 at 1:20 PM, Alan Leung  acle...@google.com
 acle...@google.com wrote:

 Let me know if you see any problems: http://acleung.com/ff12-linux32.xpi
 http://acleung.com/**ff12-linux32.xpihttp://acleung.com/ff12-linux32.xpi

 More to come.

 -Alan


 On Wed, Apr 25, 2012 at 1:56 AM, Thomas Broyer  t.bro...@gmail.com
 t.bro...@gmail.com wrote:



 On Wednesday, April 25, 2012 8:17:30 AM UTC+2, Olivier Scherler wrote:

 Why don’t people either:

 – Turn off auto-update in Firefox* if they use it to develop in GWT?
 I
 think it’s been proven that the only major thing these releases have
 is their version number increment, so why the rush to update?

 Or install a portable version that you use only for development.



 – Use Chrome to develop in GWT? I never had a single problem with the
 GWT plugin since I started development.

 You're lucky apparently:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
 http://code.google.com/p/**google-web-toolkit/issues/**detail?id=5778http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
  http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
 http://code.google.com/p/**google-web-toolkit/issues/**detail?id=4582http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
 http://code.google.com/p/**google-web-toolkit/issues/**detail?id=7182http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
  http://code.google.com/p/google-web-toolkit/issues/detail?id=7196
 http://code.google.com/p/**google-web-toolkit/issues/**detail?id=7196http://code.google.com/p/google-web-toolkit/issues/detail?id=7196

  --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ
 https://groups.google.com/d/**msg/google-web-toolkit/-/V-**dhlnghUmQJhttps://groups.google.com/d/msg/google-web-toolkit/-/V-dhlnghUmQJ
 .

 To post to this group, send email to
 google-web-toolkit@googlegroups.comgoogle-web-toolkit@**
 googlegroups.com google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit+**unsubscr...@googlegroups.comgoogle-web-toolkit+unsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en
 http://groups.google.com/**group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.



  --
 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 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to google-web-toolkit+**
 unsubscr...@googlegroups.comgoogle-web-toolkit+unsubscr...@googlegroups.com
 .
 For more options, visit this group at http://groups.google.com/**
 group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.

  --
 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 google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to google-web-toolkit+**
 unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at http://groups.google.com/**
 group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/DwbyNmqHy28J.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 

Re: automatically unsinking event when no hanlders present ?

2012-04-26 Thread Ed Bras
Thanks,  but what happens when the widget isn't destroyed and the handlers
of a certain type are all removed?
Is it worth to unsink the events as no handler of that type is present, or
just do nothing (like GWT is doing current)?
- Ed


On Thu, Apr 26, 2012 at 1:45 AM, Joseph Lust lifeofl...@gmail.com wrote:

 The DOM handlers are automatically removed by GWT when you destroy that
 object (i.e. that widget is removed from the DOM). This is why you should
 always capture browser events in this way rather than using JSNI. If you do
 create your own custom handlers, then you'll need to remove those
 onDetach() of the widget or you'll have a leak.


 Sincerely,
 Joseph

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/uSvSKur4VocJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT with RequestFactory ::::: com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /gwtRequest

2012-04-26 Thread thiago borges martins
Okay, I have some questions:
1) Have you developed a web application?
2) What framework, pattern or technology you have used for
development? Spring or EJB3?
I ask these questions, because the development will be the same, using
GWT, JSF, Flex or pure html. So I advise you before making any crud
screen or screens that access data from a database, define how it will
service layer, since there is thousands of how to implement for both
and you will find people who will say that Spring is better and EBJ3
others that are better, but you aconcelho to do with which one you
identify.
Below is some links about GWT and EJB3 with the RF:

http://www.javacodegeeks.com/2010/09/gwt-ejb3-maven-jboss-51-integration.html
http://cleancodematters.wordpress.com/2011/06/04/tutorial-gwt-request-factory-part-i/

Any questions just post.
Thiago Borges Martins
Systems analyst

On 26 abr, 02:47, laxman lingampally lingampall.lax...@gmail.com
wrote:
 hi

 thinks a lot

 first I want to thanks you for these superb  on GWT RequestFactory, they
 really helped me getting started quickly.

 i  don't now about symbolMaps , i think it is google datastore, but i am
 trying to store in mysql database.

   i created a web application with GWT RequestFactory and for persistence i
 use the hibernate and mysql datastore but , to transfert data between
 server and client i should use mysql or sql server but i don't know how can
 i do it,

 so i will be grateful if someone can help me with example or any information

 please help me.

 Thanks  Regards.
 laxman

 On Wed, Apr 25, 2012 at 7:20 PM, thiago borges martins 







 tborgesmart...@gmail.com wrote:
  Make the following change to your web.xml and see if it will funionar:
  servlet
         servlet-namerequestFactoryServlet/servlet-name
         servlet-
  classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/
  servlet-class
         init-param
                 param-namesymbolMapsDirectory/param-name
                 !-- You'll need to compile with -extras and move the
  symbolMaps
  directory
                 to this location if you want stack trace deobfuscation to
  work --
                 param-valueWEB-INF/classes/symbolMaps//param-value
                  param-nameuserInfoClass/param-name

   param-valuecom.dynatech.server.domain.NameData/param-value
         /init-param
  /servlet

  servlet-mapping
         servlet-namerequestFactoryServlet/servlet-name
         url-pattern/gwtRequest/url-pattern
  /servlet-mapping

  this stretch you need to check where the GWT is generating a
  compilation of sources, perhaps because the problem is that he is not
  able to find the java-script compiled. In my case it's in this
  directory
  url-pattern/br.com.tbm.consult.Application/gwtRequest/ url-
  pattern
  To identify the directory you just go in the target folder after
  compilation if you are using maven. if you are using the standard
  build of gwt you should be in the war directory.

  Any problems just post.

  On 25 abr, 07:19, laxman lingampally lingampall.lax...@gmail.com
  wrote:
   Hi all,

   please help me.

   i am wworking on gwt woth requestfactory, at that time getting above
  error.

   *here web.xml i configared .RequestFactoryServlet but it is internally
   calling LocalResourceFileServlet.*

   Why itis happening??

   web.xml.

   servlet
   servlet-namerequestFactoryServlet/servlet-name

  servlet-classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/servlet-class
   init-param
   param-nameuserInfoClass/param-name
   param-valuecom.dynatech.server.domain.NameData/param-value
   /init-param
   /servlet

   servlet-mapping
   servlet-namerequestFactoryServlet/servlet-name
   url-pattern/gwtRequest/url-pattern
   /servlet-mapping

   thanks in advace,

   thanks  regards.
   laxman

  --
  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
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



how to get information from a database with Eclipse ,and after that to display the result with Gooogle Web toolkit

2012-04-26 Thread alaa aadil
hi,

how to get information from a database with Eclipse ,and  after that
to display the result with Gooogle Web toolkit

please is this possible or not ???

thanks

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to make parent window read only and background color to gray when dialogbox open

2012-04-26 Thread Steve Moyer
Or if you're using UiBinder, try something like:

g:DialogBox autoHide=false glassEnabled=true modal=true
ui:field=dialog
/g:DialogBox

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 12 release

2012-04-26 Thread Marcel Stör
What about Windows?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/fAwX-dqYQQAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Difficulty to run simple GWT application

2012-04-26 Thread Rahul Sharma
I am making gwt application as following step: 1. Firstly i install
gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
project. 3. now i am adding gwt plugin through goto to property page
of the project, select google-webtoolkit, check use GWT, then go to
google-web application, the directory name to web-content. 4.now i
am creating gwt module in my project then create entry point class
then html. 5.now i am creating a button in onModule method of entry
point class.

and then i am running application in tomcat server just right click on
project and select run as web application(run with tomcat server). As
result of this I am getting a blank page on browser? There is no
excption in server log. I am not able to debug where i am doing wrong?
Please help me to sort out this problem.

I am not using google web application because i was getting difficulty
to create war file. As i solution of this I got the above process to
develop GWT application.

Thanks Rahul

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Difficulty to run simple GWT application

2012-04-26 Thread Sebastian Gurin
Hi Rahul, this is what I shlud do for getting started.

first of all do not use tomcat yet, first feel confortable with the GWT+eclipse

1) File-New-(Google)New Application proyect - create your gwt web application 
project. Here use Google Web toolkit only, don't use Google App engine yet.

That will create you a new project with some interesting things:

a) your.proj.YourProject.gwt.xml - this file is called a gwt module definition.
b) packages client, shared, server
c) a root folder named war with a html file inside. This war folder is the 
web application folder (what you put inside webapps in tomcat - but not yet.)

in client package that is where your java that will be translated to javascript 
by gwt are, there is two Greeting* classes (dont worry about these yet) and a 
third class named YourProject.java (or whatever name you give to your new 
project). thi s class is your entry point. 

the project has a sample applicatoin ready to be executed, right click on 
your.proj.YourProject.gwt.xml and run as Web application. The Developer mode 
view will be shows and after the app is loaded, it will show you an url like 
http://127.0.0.1:/Test12.html?gwt.codesvr=127.0.0.1:9997. Open this url 
with firefox (version =10) or with chrome. It will ask you to install a 
browser plugin, do it. When the plugin is installed reopen that url and you 
will be executing your sample webapp using the GWT hosted-mode. You can make 
changes in the java sources, save then and reoloading the page will reflect the 
changes. Try to change something...

Now what about putting all this on a tomcat? its easy, first compile your 
project like this: ijn package explorer view, right click your new project - 
Google - GWT Compile... - compile. When this is finish, GWT will put in war 
the entinre webapp. just copy or link the war folder to your tomcat's webapps 
folder and rename it acordingly, for example, yourproject. Start tomcat and 
go to http://localhost:8080/yourProject/yourProject.html.

I have ant scripts for doing all this with ant if you want I can share. 

hope this can help you ...


On Thu, 26 Apr 2012 07:06:04 -0700 (PDT)
Rahul Sharma rahul.sharma1...@gmail.com wrote:

 I am making gwt application as following step: 1. Firstly i install
 gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
 project. 3. now i am adding gwt plugin through goto to property page
 of the project, select google-webtoolkit, check use GWT, then go to
 google-web application, the directory name to web-content. 4.now i
 am creating gwt module in my project then create entry point class
 then html. 5.now i am creating a button in onModule method of entry
 point class.
 
 and then i am running application in tomcat server just right click on
 project and select run as web application(run with tomcat server). As
 result of this I am getting a blank page on browser? There is no
 excption in server log. I am not able to debug where i am doing wrong?
 Please help me to sort out this problem.
 
 I am not using google web application because i was getting difficulty
 to create war file. As i solution of this I got the above process to
 develop GWT application.
 
 Thanks Rahul
 
 -- 
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


-- 
Sebastian Gurin sgu...@softpoint.org

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Difficulty to run simple GWT application

2012-04-26 Thread Assiya EL
Hi Sebastien ,

i have the same problem , thank you for your response

you can shared with me a ant script ??

2012/4/26 Sebastian Gurin sgu...@softpoint.org

 Hi Rahul, this is what I shlud do for getting started.

 first of all do not use tomcat yet, first feel confortable with the
 GWT+eclipse

 1) File-New-(Google)New Application proyect - create your gwt web
 application project. Here use Google Web toolkit only, don't use Google App
 engine yet.

 That will create you a new project with some interesting things:

 a) your.proj.YourProject.gwt.xml - this file is called a gwt module
 definition.
 b) packages client, shared, server
 c) a root folder named war with a html file inside. This war folder is
 the web application folder (what you put inside webapps in tomcat - but not
 yet.)

 in client package that is where your java that will be translated to
 javascript by gwt are, there is two Greeting* classes (dont worry about
 these yet) and a third class named YourProject.java (or whatever name you
 give to your new project). thi s class is your entry point.

 the project has a sample applicatoin ready to be executed, right click on
 your.proj.YourProject.gwt.xml and run as Web application. The Developer
 mode view will be shows and after the app is loaded, it will show you an
 url like http://127.0.0.1:/Test12.html?gwt.codesvr=127.0.0.1:9997.
 Open this url with firefox (version =10) or with chrome. It will ask you
 to install a browser plugin, do it. When the plugin is installed reopen
 that url and you will be executing your sample webapp using the GWT
 hosted-mode. You can make changes in the java sources, save then and
 reoloading the page will reflect the changes. Try to change something...

 Now what about putting all this on a tomcat? its easy, first compile your
 project like this: ijn package explorer view, right click your new
 project - Google - GWT Compile... - compile. When this is finish, GWT
 will put in war the entinre webapp. just copy or link the war folder to
 your tomcat's webapps folder and rename it acordingly, for example,
 yourproject. Start tomcat and go to
 http://localhost:8080/yourProject/yourProject.html.

 I have ant scripts for doing all this with ant if you want I can share.

 hope this can help you ...


 On Thu, 26 Apr 2012 07:06:04 -0700 (PDT)
 Rahul Sharma rahul.sharma1...@gmail.com wrote:

  I am making gwt application as following step: 1. Firstly i install
  gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
  project. 3. now i am adding gwt plugin through goto to property page
  of the project, select google-webtoolkit, check use GWT, then go to
  google-web application, the directory name to web-content. 4.now i
  am creating gwt module in my project then create entry point class
  then html. 5.now i am creating a button in onModule method of entry
  point class.
 
  and then i am running application in tomcat server just right click on
  project and select run as web application(run with tomcat server). As
  result of this I am getting a blank page on browser? There is no
  excption in server log. I am not able to debug where i am doing wrong?
  Please help me to sort out this problem.
 
  I am not using google web application because i was getting difficulty
  to create war file. As i solution of this I got the above process to
  develop GWT application.
 
  Thanks Rahul
 
  --
  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
 google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


 --
 Sebastian Gurin sgu...@softpoint.org

 --
 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
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

Assiya EL
Master Qualité du Logiciel



Plz consider environment - Only print this if necessary

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Introducing DataGrid to an older code base

2012-04-26 Thread wytten
This was caused by an older version of Xerces being in the classpath (in 
the guise of an EMC Documentum jar)

On Wednesday, April 25, 2012 9:09:13 AM UTC-5, wytten wrote:

 I'm having a problem trying to convert an older (GWT 2.1) app to
 use the new DataGrid class.  The app was successfully upgraded to
 GWT 2.4 months ago, but this is the first time we are trying to
 introduce new 2.4 features.

 When I run in development mode, the GWT Development Mode window
 logs the following:

 00:00:32.151  [WARN] For the following type(s), generated source was 
 never committed (did you forget to call commit()?)
   00:00:32.151  [WARN] 
 com.google.gwt.user.client.ui.NativeHorizontalScrollbar_NativeHorizontalScrollbarUiBinderImpl



 Meanwhile an exception is caught in the client:

 java.lang.ExceptionInInitializerError
  at 
 com.google.gwt.user.client.ui.CustomScrollPanel.init(CustomScrollPanel.java:196)
  at 
 com.google.gwt.user.client.ui.CustomScrollPanel.init(CustomScrollPanel.java:233)
  at 
 com.google.gwt.user.cellview.client.DataGrid.init(DataGrid.java:631)
  at 
 com.google.gwt.user.cellview.client.DataGrid.init(DataGrid.java:570)
  at 
 com.google.gwt.user.cellview.client.DataGrid.init(DataGrid.java:557)
  at 
 com.google.gwt.user.cellview.client.DataGrid.init(DataGrid.java:534)
  at 
 com.google.gwt.user.cellview.client.DataGrid.init(DataGrid.java:525)



 Line 196 of CustomScrollPanel.java reads:

 setHorizontalScrollbar(new NativeHorizontalScrollbar(hResources), 
 AbstractNativeScrollbar
 .getNativeScrollbarHeight());



 This seems to indicate that the exception is tied to the
 warnings, but I don't know what it all means.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/S1Zy41YHM3YJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Difficulty to run simple GWT application

2012-04-26 Thread Sebastian Gurin
This is my build.xml for one of my projects (Raphael4gwt - a vector drawing and 
charting library): 

build.xml
http://code.google.com/p/raphael4gwt/source/browse/trunk/raphael4gwt/build.xml

build.properties
http://code.google.com/p/raphael4gwt/source/browse/trunk/raphael4gwt/build.properties

in build.properties, you have to edit gwt.sdk variable to point to your gwt sdk.

warning, my project contains 4 different modules so you should edit build.xml 
to this:

target name=compile depends=clean
antcall target=javac
/antcall
antcall target=gwtc
param name=moduleName value=your.project.ModuleName/
/antcall
/target   

ther is no deploy to tomcat, only compilation. After it compiles you can safely 
deploy the war dir to your servlet container.

Hope it helps


On Thu, 26 Apr 2012 14:42:17 +
Assiya EL missweb...@gmail.com wrote:

 Hi Sebastien ,
 
 i have the same problem , thank you for your response
 
 you can shared with me a ant script ??
 
 2012/4/26 Sebastian Gurin sgu...@softpoint.org
 
  Hi Rahul, this is what I shlud do for getting started.
 
  first of all do not use tomcat yet, first feel confortable with the
  GWT+eclipse
 
  1) File-New-(Google)New Application proyect - create your gwt web
  application project. Here use Google Web toolkit only, don't use Google App
  engine yet.
 
  That will create you a new project with some interesting things:
 
  a) your.proj.YourProject.gwt.xml - this file is called a gwt module
  definition.
  b) packages client, shared, server
  c) a root folder named war with a html file inside. This war folder is
  the web application folder (what you put inside webapps in tomcat - but not
  yet.)
 
  in client package that is where your java that will be translated to
  javascript by gwt are, there is two Greeting* classes (dont worry about
  these yet) and a third class named YourProject.java (or whatever name you
  give to your new project). thi s class is your entry point.
 
  the project has a sample applicatoin ready to be executed, right click on
  your.proj.YourProject.gwt.xml and run as Web application. The Developer
  mode view will be shows and after the app is loaded, it will show you an
  url like http://127.0.0.1:/Test12.html?gwt.codesvr=127.0.0.1:9997.
  Open this url with firefox (version =10) or with chrome. It will ask you
  to install a browser plugin, do it. When the plugin is installed reopen
  that url and you will be executing your sample webapp using the GWT
  hosted-mode. You can make changes in the java sources, save then and
  reoloading the page will reflect the changes. Try to change something...
 
  Now what about putting all this on a tomcat? its easy, first compile your
  project like this: ijn package explorer view, right click your new
  project - Google - GWT Compile... - compile. When this is finish, GWT
  will put in war the entinre webapp. just copy or link the war folder to
  your tomcat's webapps folder and rename it acordingly, for example,
  yourproject. Start tomcat and go to
  http://localhost:8080/yourProject/yourProject.html.
 
  I have ant scripts for doing all this with ant if you want I can share.
 
  hope this can help you ...
 
 
  On Thu, 26 Apr 2012 07:06:04 -0700 (PDT)
  Rahul Sharma rahul.sharma1...@gmail.com wrote:
 
   I am making gwt application as following step: 1. Firstly i install
   gwt plugin in my eclipse(Helios). 2. now i am creating dynamic
   project. 3. now i am adding gwt plugin through goto to property page
   of the project, select google-webtoolkit, check use GWT, then go to
   google-web application, the directory name to web-content. 4.now i
   am creating gwt module in my project then create entry point class
   then html. 5.now i am creating a button in onModule method of entry
   point class.
  
   and then i am running application in tomcat server just right click on
   project and select run as web application(run with tomcat server). As
   result of this I am getting a blank page on browser? There is no
   excption in server log. I am not able to debug where i am doing wrong?
   Please help me to sort out this problem.
  
   I am not using google web application because i was getting difficulty
   to create war file. As i solution of this I got the above process to
   develop GWT application.
  
   Thanks Rahul
  
   --
   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
  google-web-toolkit+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
  
 
 
  --
  Sebastian Gurin sgu...@softpoint.org
 
  --
  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 

Re: where to place css file and image file?

2012-04-26 Thread Thad
I've done this two ways. The first, on a project before UiBinder (and 
before ClientBundle, but back fitted), I put the CSS file in 
src/com/corp/app/public and my images in src/com/corp/app/public/images. In 
my images client bundles would be entries like 

@Source (com/corp/app/public/images/16x16/ZoomOut.png)
public ImageResource zoomOut();

In the app I'm writing now with UiBuilder, the CSS file is in 
src/com/corp/newapp/client and the EntryPoint file NewApp.java contains

interface GlobalResources extends ClientBundle {
@NotStrict
@Source(NewApp.css)
CssResource css();
}

I don't have ClientBundles of images. The images are in 
src/com/corp/newapp/client/ui and are referenced as sprites in my *.ui.xml 
files.

On Thursday, April 26, 2012 3:48:38 AM UTC-4, tong123123 wrote:

 According to the developer guide

 https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideDirectoriesPackageConventions
 Standard Directory and Package Layout

 In the war directory, place any static resources (such as the host page, 
 style sheets, or images).

 I follow this structure, but then how to refer the image in Resources file 
 in client package?
 @Source(../../../war/Images/xxx.png)
 prompt Resource file xxx.png is missing!!
 and also how to refer the css?

 On Thursday, April 26, 2012 11:17:52 AM UTC+8, tong123123 wrote:

 Currently, I place css file under war directory and images file under 
 war/images directory.
 but if I want to use ClientBundle, seems these file need place under src 
 directory? if yes, how to modify the build.xml?



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/p53_50M-b28J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to get information from a database with Eclipse ,and after that to display the result with Gooogle Web toolkit

2012-04-26 Thread Sebastian Gurin
eclipse is an IDE for writing programs, not a database application. You obtain 
databse data using some java framework (jdbc, hibernate). Is your program who 
will retrive data from a database, not eclipse... Then yes, you can show or 
whatver you like to do with the retrieved data in your program using GWT. Hope 
that helps

On Thu, 26 Apr 2012 05:42:37 -0700 (PDT)
alaa aadil aadila...@gmail.com wrote:

 hi,
 
 how to get information from a database with Eclipse ,and  after that
 to display the result with Gooogle Web toolkit
 
 please is this possible or not ???
 
 thanks
 
 -- 
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


-- 
Sebastian Gurin sgu...@softpoint.org

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Connexion Google Web Toolkit to DataBase

2012-04-26 Thread Sebastian Gurin
some tips for getting started. 

Install gwt and google eclipse plugins. Create a sample project as I explained 
in thread named Difficulty to run simple GWT application. Now a note: GWT 
apps are divided in client and server parts. Client part is translated to 
javascript and executed in the browser. server part is java code that runs on 
the server (see client and server packages).

In the exmaple generated GWT RPC is used as the mechanism for client-server 
comunication.

You must retrieve the data from data base using some tool, for example [1] in 
the server side. In the generated example this is at class named 
org.test12.server.GreetingServiceImpl, method greetServer. Then when you have 
successfully retrieved the data from the database. you have to return it (in a 
type supported by gwt) to the client side, so your client GWT code can for 
example, print a table with results.

hope this help

p/d - you have lots of choices for accessing a database - here is an example of 
conecting w postgresql
[1] 
http://www.mkyong.com/jdbc/how-do-connect-to-postgresql-with-jdbc-driver-java/

Then in 
On Thu, 26 Apr 2012 00:56:53 -0700 (PDT)
alaa aadil aadila...@gmail.com wrote:

 hello
 
 i'm new to google web toolkit , and i want to connect my database that
 i create it with PostgreSql to my application GWT , in order to
 display some information of my database .
 
 please if some one have an idea or an project exemple , please reply
 to my question .
 
 thanks
 
 best regards
 
 Aadil
 
 -- 
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 


-- 
Sebastian Gurin sgu...@softpoint.org

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Google axing GWT?

2012-04-26 Thread dka...@gmail.com
Some of my contacts down in Atlanta tell me Google is making big
changes to the GWT team and word is they are going to eliminate GWT
and a number of other projects. Can anyone from Google confirm or
deny?

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: where to place css file and image file?

2012-04-26 Thread tong123123


 In my images client bundles would be entries like 

where is your client bundles (java file) places? Also, if place the css 
file and image file under public folder, after compile, where will it be 
placed?

On Thursday, April 26, 2012 11:31:37 PM UTC+8, Thad wrote:

 I've done this two ways. The first, on a project before UiBinder (and 
 before ClientBundle, but back fitted), I put the CSS file in 
 src/com/corp/app/public and my images in src/com/corp/app/public/images. In 
 my images client bundles would be entries like 

 @Source (com/corp/app/public/images/16x16/ZoomOut.png)
 public ImageResource zoomOut();

 In the app I'm writing now with UiBuilder, the CSS file is in 
 src/com/corp/newapp/client and the EntryPoint file NewApp.java contains

 interface GlobalResources extends ClientBundle {
 @NotStrict
 @Source(NewApp.css)
 CssResource css();
 }

 I don't have ClientBundles of images. The images are in 
 src/com/corp/newapp/client/ui and are referenced as sprites in my *.ui.xml 
 files.

 On Thursday, April 26, 2012 3:48:38 AM UTC-4, tong123123 wrote:

 According to the developer guide

 https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideDirectoriesPackageConventions
 Standard Directory and Package Layout

 In the war directory, place any static resources (such as the host page, 
 style sheets, or images).

 I follow this structure, but then how to refer the image in Resources 
 file in client package?
 @Source(../../../war/Images/xxx.png)
 prompt Resource file xxx.png is missing!!
 and also how to refer the css?

 On Thursday, April 26, 2012 11:17:52 AM UTC+8, tong123123 wrote:

 Currently, I place css file under war directory and images file under 
 war/images directory.
 but if I want to use ClientBundle, seems these file need place under src 
 directory? if yes, how to modify the build.xml?



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2vNbQwz4yDwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google axing GWT?

2012-04-26 Thread dominikz
Gee man...

are you aware of all this?
https://groups.google.com/d/topic/google-web-toolkit/YgVlmth_6SU/discussion

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/V-0Rn8GqYrAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Google axing GWT?

2012-04-26 Thread dka...@gmail.com
Yes I am aware of this. There have been further developments recently
in terms of staff, and supposedly one of the other projects being cut
is Dart. I'll admit, maybe some of the current (and former) GWT team
members down in Atlanta aren't seeing the whole picture, but from
where they sit it looks pretty grim.

On Apr 26, 11:43 am, dominikz dominik.zalew...@gmail.com wrote:
 Gee man...

 are you aware of all 
 this?https://groups.google.com/d/topic/google-web-toolkit/YgVlmth_6SU/disc...

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: standard.css attribute override my css attribute!!

2012-04-26 Thread Joseph Lust
Either:

   1. Remove the offending selector from *standard.css*.
   2. OR set your CSS property to *font-size: 20px !important;* to force it 
   to override the other property.


Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hDhCGtXGZcYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Disable TreeItem selection in Tree

2012-04-26 Thread Alfredo Quiroga-Villamil
Syed:

Not sure if you ever got around to it. A few strategies can be used
here. I wasn't able to find something out of the box to do it.
However, a few approaches can be used in this case.  I took what I
thought would be the easiest/fastest to illustrate how to accomplish
it.

Essentially, I am wrapping the TreeItem's with a FlowPanel and playing
with the CSS properties a bit. You can add the logic that you need and
use something similar for only the nodes you want.

Tree tree = new Tree();
String items[] = {Uno, Dos, Tres};

for (String item : items) {
TreeItem topitem = tree.addItem(item);
InlineLabel label = new InlineLabel(Hoja -  + item);
label.getElement().getStyle().setOpacity(0.5);

FlowPanel layer = new FlowPanel();
layer.getElement().getStyle().setCursor(Cursor.AUTO);
layer.add(label);
topitem.addItem(layer);
}

Best regards,

Alfredo

On Mon, Apr 23, 2012 at 11:50 AM, Syed Fazal Ahmad syedfah...@gmail.com wrote:
 Hi There:

 I have created a Tree and have added the TreeItems to it. I would like
 to disable selection of certain nodes depending on my business rules.
 However, I have not been able disable selection of a given node. If I
 could even gray-out the node it would be helpful. I will appreciate if
 someone could provide insight on how to achieve the above.

 Thanks for your help
 Syed

 --
 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 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 12 release

2012-04-26 Thread Alan Leung
http://acleung.com/ff12-win.xpi

That should cover all the OS'es. I am going to put together all that and
check it in soon.

Let me know if you run into problems.

-Alan

On Thu, Apr 26, 2012 at 6:45 AM, Marcel Stör mar...@frightanic.com wrote:

 What about Windows?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/fAwX-dqYQQAJ.

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



UIBinder: Overriding obfuscated CSS styleNames

2012-04-26 Thread Brad Leupen
Hello!

I've got a couple of uibinder-built widgets that use inline css. The
first is a custom toggle button that looks something like this:

class ToggleButton {
   interface Style extends CssResource
   {
public String down();
   }

   @UiField
   Style style;

   @UiField
   ButtonElement buttonElt;
   ...

   public void setDown(boolean down)
   {
   if (down)
  addStyleName(style.down());
   else
  removeStyleName(style.down());
   }
}

This class works great. However, trouble arises when i wish to use it
from within another uibound widget and override the down style. So far
i have this in my ui xml:

ui:style
.button {
   background: #fff;
 }

.button .down {
   background: #fff;
}
/ui:style

g:HTMLPanel
  ...
  e:CustomPushButton addStyleName={style.button}My White
Button/e:CustomPushButton
/g:HTMLPanel


Is it possible to override the .down secondary style?

Thanks!

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Server detection of client crash

2012-04-26 Thread mmorckos
Hello,

I'm intending to develop a web-based frontend UI for a control system
in a research lab. For safety purposes, it's vital that when a client
crashes, the server is notified immediately and dispatches a stop
signal to all connected machinery.

I'm new to gwt and would like to know if there is a way to know
whenever a client crashes on the server side, specifically inside a
RemoteServiceServlet.

 Regards,
Michael

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.