Re: call static gwt method from js file?

2011-11-24 Thread David Stubbs
Hi Dennis,

Look at
http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.htmland
scroll down to the section Calling a Java Method from Handwritten
JavaScript. That has the code example you are looking for.

Regards,

David.

On 23 November 2011 16:30, Dennis Haupt d.haup...@googlemail.com wrote:

 is there any way to call a static method of one of my gwt client classes
 from pure js code? i'm not talking about calling a method from inline
 javascript inside the gwt class, that works fine. the gwt class and the
 calling js method are completely separate at compile time. at runtime, the
 gwt has access to all the js code.

 i'm a javascript noob, so maybe i'm missing an obvious solution.


  --
 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.




-- 
--
David Stubbs
_

Genial Genetic Solutions Ltd
W: www.genialgenetics.com  T: +44 (0)1244 404970 F: +44
(0)1244 404971
_

Please note our correspondence address as follows:

Genial Genetic Solutions Ltd
P.O. Box 3751
Chester
CH1 9UF
U.K.

Please ensure that your records are updated to reflect these details -
Thank You.


The information contained in this e-mail may be confidential. It is
intended only for the use of the named recipient.

If you are not the named recipient please delete this e-mail as any
disclosure, reproduction, distribution or other dissemination or use of the
information contained within is strictly prohibited.
_
Please be aware that all emails relating to service and support matters
should be
sent to Genial's central support email address - support@genialgenetics.comin
order to ensure that they receive prompt and coordinated attention from our
support teams.  Please note that emails relating to service and support
matters
should not be sent to individual members of the support team.
In following this centralised support process you are helping to ensure
that we
coordinate and deliver the fastest and most appropriate continual service
to you. We
appreciate your compliance with this policy and we will assist you as soon
as
possible with any service or support-related matter.
_

-- 
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.



Number of DAO's effect over all module sizes

2009-01-15 Thread David Stubbs

We have an application spread over 60+ modules. Each module as
compiled javascript ranges in size between 800k and 2.8Mb.

The size of every module is increasing as the app grows. After some
very basic investigation it seems to be our DAO models that are
causing the steady increase in size.

Within our application we replicate all of our server side DAO's on
the client side using code generation. Almost all the DAO are
interconnected, using a DAO object in a module causes all the others
to be included as well.

I understand why this is happening, but I'm wondering if there is any
way to avoid this?

Any ideas, suggestions or experiences welcome.

David.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---