Re: Storing uploaded file in gwt (server side)

2014-03-05 Thread Maithilish

Online tutorial is now available at CodeDrops - 
http://www.codedrops.in/gwt-tutorial/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Development Mode will not be supported in Firefox 27+

2014-03-05 Thread Ed Bras
 They have to change, they have to update their tools and move forward, or
quit doing Web dev.
Agree, that's why I spend a lot of grey hairs in using SDM, but it's simple
not there yet saidly... Don't get me wrong, I wish it would as I certainly
see the advantages.

I noticed that it's hard to understand these reasons by people that have
their focus on Hello world app's or hardly touch enterprise alike GWT
app's...

BTW: for none enterprise app's, I use others JS frameworks like JQuery.
GWT: heavier business logica (= call it Enterprise app's or some other
beautiful trendy name), share with backend...

Just my 50 cents to have a good understanding what we talk about..

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Multiple host page and compilation errors related

2014-03-05 Thread Rubén Bermúdez López


I have a GWT application that use and have 2 host pages with 2 differents 
EntryPoint (gwt.xml files) which some code and most important, Database 
(datastore in Google App Engine) common.

The problem is that one of them (main application entry point) makes use of 
several external Java libraries, including SmartGWT with its JS libraries, 
meanwhile the second one use none of them. When I deploy (and compile) to 
Google App Engine, I need to include reference in the second entry point to 
SmartGWT, although it's not used. If inherits directive lacks, I get lot of 
compilation errors. I don't want to load SmartGWT JS files (2 MBytes) when 
they are not necessary, growing download from a few Kbytes to 100x times 
Kilobytes with SmartGWT. This second host page is a Google Chrome 
Extension, where light load is a strong requirement.

If I run in GAE SDK eclipse local webserver without any reference to 
SmartGWT in second host page, it works. But if I compile the whole project 
(although in first hots page references to SmartGWT remains) I get errors, 
related to SmartGWT absence. We have inspected second host page code, and 
no reference to SmartGWT (imports) are present. 

Is it possible to make a separate compilation of two host pages? 



-- 

*___Nota:* Según la normativa vigente en materia de Protección de Datos de 
Carácter Personal, le informamos que sus datos han sido incorporados a un 
fichero denominado Clientes y/o Proveedores creado por resolución de la 
Agencia Española de Protección de Datos y del que es responsable *The 
Cloud Gate S.L.*, con CIF: B-18961433. La finalidad del tratamiento de sus 
datos es mantener la relación contractual existente o mantenerle informado 
de novedades y noticias que puedan resultar de su interés. Le informamos 
que usted puede ejercitar sus derechos de acceso, rectificación, 
cancelación y oposición, mediante escrito dirigido a: *The Cloud Gate S.L.*, 
Calle Campo Verde 4, 3ºC , 18001 - Granada, o mediante email a la siguiente 
dirección de correo electrónico: i...@thecloud.es La información incluida 
en este e-mail es CONFIDENCIAL, siendo para uso exclusivo del destinatario 
arriba mencionado. Si usted lee este mensaje y no es el destinatario 
indicado, le informamos que está totalmente prohibida cualquier 
utilización, divulgación, distribución y/o reproducción de esta 
comunicación sin autorización expresa en virtud de la legislación vigente. 
Si ha recibido este mensaje por error, le rogamos nos lo notifique 
inmediatamente por esta misma vía y proceda a su eliminación. ***nubbius*es 
una marca registrada por The Cloud Gate S.L.

This information is private and confidential and intended for the recipient 
only. If you are not the intended recipient of this message you are hereby 
notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited. This communication is for information 
purposes only and should not be regarded as an official statement from *The 
Cloud Gate, S.L.* Email transmission cannot be guaranteed to be secure or 
error-free. Therefore, we do not represent that this information is 
complete or accurate and it should not be relied upon as such. All 
information is subject to change without notice. *nubbius* is a 
registered trademark of The Cloud Gate S.L.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT with Spring4

2014-03-05 Thread Dilan A
Hi
I'm try to setup GWT, Maven with Spring and I'm getting following error;

java.lang.ClassNotFoundException: 
org.springframework.web.context.ContextLoaderListener

I have created the project with following mvn commands;

 mvn archetype:generate \
   -DarchetypeGroupId=org.codehaus.mojo \
   -DarchetypeArtifactId=gwt-maven-plugin \
   -DarchetypeVersion=2.6.0

mvn gwt:eclipse

then import the project as maven import

then configure the application with spring 4

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT with Spring

2014-03-05 Thread Dilan A
Hi  I got gwt setup through maven and try to configure spring 4 and getting 
following error:

javax.servlet.UnavailableException: 
org.spring4gwt.server.SpringGwtRemoteServiceServlet

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Development Mode will not be supported in Firefox 27+

2014-03-05 Thread Thomas Broyer


On Wednesday, March 5, 2014 9:30:54 AM UTC+1, Ed wrote:

  They have to change, they have to update their tools and move forward, 
 or quit doing Web dev.
 Agree, that's why I spend a lot of grey hairs in using SDM, but it's 
 simple not there yet saidly... Don't get me wrong, I wish it would as I 
 certainly see the advantages.


And don't get me wrong: I'm not saying SDM is either perfect nor 100% 
usable yet. I was just reacting to the fact people complain that DevMode 
won't be maintained anymore as they don't *want* to move to SDM (which is 
entirely different from your “I tried, it didn't work” situation).
We're currently in a transition period where DevMode is already half-dead 
and SDM isn't 100% usable yet. Hopefully SDM should be much better by the 
next release, with incremental compilation (that'll have an impact on your 
code to really take advantage of it).

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems using native JavaScript library (Snap)

2014-03-05 Thread Jens
Code below is untested:


public class GraphicsWidget extends Widget
{
 private static boolean injected = false;
 
 public GraphicsWidget()
 {
  if (!injected)
  {
   MyGraphics.injectSnap ();
   injected = true;
  }

  // set empty div as widget element:  
  Element  e = Document.get().*createElement(svg); // Snap() needs a svg 
element, see docs.*
  setElement(e);
 }

 public void test () // called from Dialog Box
 {
  Element e = getElement();
  testLib(e);
 }

 private native void testLib (Element container)
 /*-{
  var s = $wnd.Snap (container); *// should work now*
  var c = s.circle (150,150,100);  
 }-*/;
}

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Multiple host page and compilation errors related

2014-03-05 Thread Thomas Broyer


On Wednesday, March 5, 2014 9:49:06 AM UTC+1, Rubén Bermúdez López wrote:

 I have a GWT application that use and have 2 host pages with 2 differents 
 EntryPoint (gwt.xml files) which some code and most important, Database 
 (datastore in Google App Engine) common.

 The problem is that one of them (main application entry point) makes use 
 of several external Java libraries, including SmartGWT with its JS 
 libraries, meanwhile the second one use none of them. When I deploy (and 
 compile) to Google App Engine, I need to include reference in the second 
 entry point to SmartGWT, although it's not used. If inherits directive 
 lacks, I get lot of compilation errors. I don't want to load SmartGWT JS 
 files (2 MBytes) when they are not necessary, growing download from a few 
 Kbytes to 100x times Kilobytes with SmartGWT. This second host page is a 
 Google Chrome Extension, where light load is a strong requirement.

 If I run in GAE SDK eclipse local webserver without any reference to 
 SmartGWT in second host page, it works. But if I compile the whole project 
 (although in first hots page references to SmartGWT remains) I get errors, 
 related to SmartGWT absence. We have inspected second host page code, and 
 no reference to SmartGWT (imports) are present. 

 Is it possible to make a separate compilation of two host pages?


I'd say you *should* do separate compilations; I'd even say you should have 
several projects/modules for your webapp, Chrome extension and shared code.
It entirely depends on your build setup though. I suspect you don't have a 
build tool and do everything from within Eclipse; that might be the first 
mistake, but even using only Eclipse you should be able to compile 
separately (just create 2 distinct launch configurations); I have no idea 
how it plays out with GAE and how the Google Plugin for Eclipse handles GAE 
deployment.
Given that your problem is mostly Eclipse-related (IIUC), you should 
probably ask in the GPE 
forum: https://groups.google.com/d/forum/google-plugin-eclipse
 




 *___Nota:* Según la normativa vigente en materia de Protección de Datos 
 de Carácter Personal, le informamos que sus datos han sido incorporados a 
 un fichero denominado Clientes y/o Proveedores creado por resolución de 
 la Agencia Española de Protección de Datos y del que es responsable *The 
 Cloud Gate S.L.*, con CIF: B-18961433. La finalidad del tratamiento de 
 sus datos es mantener la relación contractual existente o mantenerle 
 informado de novedades y noticias que puedan resultar de su interés. Le 
 informamos que usted puede ejercitar sus derechos de acceso, rectificación, 
 cancelación y oposición, mediante escrito dirigido a: *The Cloud Gate 
 S.L.*, Calle Campo Verde 4, 3ºC , 18001 - Granada, o mediante email a la 
 siguiente dirección de correo electrónico: in...@thecloud.es javascript: La 
 información incluida en este e-mail es CONFIDENCIAL, siendo para uso 
 exclusivo del destinatario arriba mencionado. Si usted lee este mensaje y 
 no es el destinatario indicado, le informamos que está totalmente prohibida 
 cualquier utilización, divulgación, distribución y/o reproducción de esta 
 comunicación sin autorización expresa en virtud de la legislación vigente. 
 Si ha recibido este mensaje por error, le rogamos nos lo notifique 
 inmediatamente por esta misma vía y proceda a su eliminación. **
 *nubbius* es una marca registrada por The Cloud Gate S.L.

 This information is private and confidential and intended for the 
 recipient only. If you are not the intended recipient of this message you 
 are hereby notified that any review, dissemination, distribution or copying 
 of this message is strictly prohibited. This communication is for 
 information purposes only and should not be regarded as an official 
 statement from *The Cloud Gate, S.L.* Email transmission cannot be 
 guaranteed to be secure or error-free. Therefore, we do not represent that 
 this information is complete or accurate and it should not be relied upon 
 as such. All information is subject to change without notice. *nubbius* 
 is a registered trademark of The Cloud Gate S.L.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


list box item is truncated in IE

2014-03-05 Thread aditi
the selected item in the list box is truncated in IE. We have language 
listbox where default language is English.
The language name is displayed as Englis(h is truncated). Do we have to 
write some css that works for IE only?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Tomcat exception

2014-03-05 Thread Bryn Ellis
Hi Magnus

I've just hit this exact problem in a production environment.  Did you ever 
get a resolution to it please?

Regards
Bryn

On Friday, 6 December 2013 14:23:44 UTC, Magnus wrote:

 Hi,

 my user reported a rpc.StatusCodeException. The tomcat logs report the 
 exceptions shown below.
 But I cannot see what the problem is.
 Any hints?

 Thanks
 Magnus

 -

 SEVERE: Exception while dispatching incoming RPC call
 java.io.IOException
 at 
 org.apache.jk.common.JkInputStream.receive(JkInputStream.java:205)
 at 
 org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:179)
 at org.apache.coyote.Request.doRead(Request.java:428)
 at 
 org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
 at 
 org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405)
 at 
 org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
 at 
 org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
 at 
 com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:222)
 at 
 com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:250)
 at 
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)
 at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:239)
 at 
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at 
 org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
 at 
 org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
 at 
 org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
 at 
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
 at 
 org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
 at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
 at java.lang.Thread.run(Thread.java:662)
 Dec 6, 2013 2:52:22 PM org.apache.catalina.core.ApplicationContext log
 SEVERE: Exception while dispatching incoming RPC call
 java.io.IOException
 at 
 org.apache.jk.common.JkInputStream.receive(JkInputStream.java:205)
 at 
 org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:179)
 at org.apache.coyote.Request.doRead(Request.java:428)
 at 
 org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
 at 
 org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405)
 at 
 org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
 at 
 org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
 at 
 com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:222)
 at 
 com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:250)
 at 
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)
 at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:239)
 at 
 com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
 

Connect GWT with MY SQL database using JDO

2014-03-05 Thread Mansi Shah
Hello,
I am new to GWT  JDO.
Please tell me how to build application in GWT using JDO with MY 
SQL database.

Regards,
Mansi

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Connect GWT with MY SQL database using JDO

2014-03-05 Thread Jens


  Please tell me how to build application in GWT using JDO with MY SQL 
 database.


By reading the documentation of GWT, JDO and MYSQL.

http://www.gwtproject.org/doc/latest/DevGuide.html

-- J. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Running Hupa in Development Mode

2014-03-05 Thread Manuel Carrasco Moñino
It seems a problem in your maven setup, maybe this answer in SO could help:

http://stackoverflow.com/questions/7905501/get-rid-of-pom-not-found-warning-for-org-eclipse-m2elifecycle-mapping


On Tue, Mar 4, 2014 at 10:34 AM, Harry Lin linch0...@gmail.com wrote:

 Thanks!!

 I can compile with  : mvn clean package -DskipTests

 But got errors when launching


 log :

 D:\Harry.Lin\java\workspace\james-hupa-trunkmvn -am -pl hupa gwt:run
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Reactor Build Order:
 [INFO]
 [INFO] Apache James Hupa Parent
 [INFO] Apache James Hupa Shared
 [INFO] Apache James Hupa Mock
 [INFO] Apache James Hupa Server
 [INFO] Apache James Hupa Widgets
 [INFO] Apache James Hupa Client
 [INFO] Apache James Hupa
 [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
 missing, no
  dependency information available
 [WARNING] Failed to retrieve plugin descriptor for
 org.eclipse.m2e:lifecycle-map
 ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its
 depende
 ncies could not be resolved: Failure to find
 org.eclipse.m2e:lifecycle-mapping:j
 ar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local
 reposito
 ry, resolution will not be reattempted until the update interval of
 central has
 elapsed or updates are forced
 [INFO]
 [INFO] Using the builder
 org.apache.maven.lifecycle.internal.builder.singlethrea
 ded.SingleThreadedBuilder with a thread count of 1
 [INFO]
 [INFO]
 
 [INFO] Building Apache James Hupa Parent 0.0.5-SNAPSHOT
 [INFO]
 
 [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
 missing, no
  dependency information available
 [WARNING] Failed to retrieve plugin descriptor for
 org.eclipse.m2e:lifecycle-map
 ping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its
 depende
 ncies could not be resolved: Failure to find
 org.eclipse.m2e:lifecycle-mapping:j
 ar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local
 reposito
 ry, resolution will not be reattempted until the update interval of
 central has
 elapsed or updates are forced
 [INFO]
 [INFO]  gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent 
 [INFO]
 [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
 hupa-parent -
 --
 [INFO]
 [INFO]  gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent 
 [INFO]
 [INFO] --- gwt-maven-plugin:2.5.1:run (default-cli) @ hupa-parent ---
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] Apache James Hupa Parent .. FAILURE [
 1.589 s]
 [INFO] Apache James Hupa Shared .. SKIPPED
 [INFO] Apache James Hupa Mock  SKIPPED
 [INFO] Apache James Hupa Server .. SKIPPED
 [INFO] Apache James Hupa Widgets . SKIPPED
 [INFO] Apache James Hupa Client .. SKIPPED
 [INFO] Apache James Hupa . SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.771 s
 [INFO] Finished at: 2014-03-04T15:58:35+08:00
 [INFO] Final Memory: 26M/309M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.codehaus.mojo:gwt-maven-plugin:2.5.1:run (def
 ault-cli) on project hupa-parent: The parameters 'runTarget' for goal
 org.codeha
 us.mojo:gwt-maven-plugin:2.5.1:run are missing or invalid - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please rea
 d the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/PluginParamete
 rException
 D:\Harry.Lin\java\workspace\james-hupa-trunk


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send 

Re: GWT SimpleEventBus which implementation to use?

2014-03-05 Thread sluettmann
Thanks very much for the clairification Jens.

Am Dienstag, 4. Februar 2014 10:17:51 UTC+1 schrieb Jens:

 In your code you should use the web.bindery one. 

 If you use Activities then you still get the old 
 com.google.gwt.event.shared.EventBus for compatibility reasons through 
 Activity.start(). But you can easily assign that one to a 
 com.google.web.bindery.event.shared.EventBus field.

 -- J.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


HTML5 Video Eror Handler

2014-03-05 Thread sluettmann
Hey folks,
is there a way to register an error handler on a GWT Video Element? 

I tried to use 
 video.addDomHandler(handler, ErrorEvent.getType());
but that doesn't fire when the HTML5 Video is not able to play the video 
(e.g. the video is not compatible with the codecs accepted by the html5 
video tag).

Thanks in advanced.

Best,
 Sven

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT HTML5 Video register Error Handler

2014-03-05 Thread sluettmann
Hey folks,
is there a way to register an error handler on a GWT Video Element? 

I tried to use 
 video.addDomHandler(handler, ErrorEvent.getType());
but that doesn't fire when the HTML5 Video is not able to play the video 
(e.g. the video is not compatible with the codecs accepted by the html5 
video tag).

Thanks in advanced.

Best,
 Sven

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems using native JavaScript library (Snap)

2014-03-05 Thread Magnus


On Wednesday, March 5, 2014 10:19:51 AM UTC+1, Jens wrote:

   // set empty div as widget element:  
   Element  e = Document.get().*createElement(svg); // Snap() needs a 
 svg element, see docs.*


*Yes, one overloaded method expects a svg element. I also tested this, 
but...*

  var s = $wnd.Snap (container); *// should work now*
   var c = s.circle (150,150,100);  


*Object [object Object] has no method 'circle'* 

It seems that the existing svg element is not recognized by the Snap 
constructor.
This was also noticed 
herehttp://stackoverflow.com/questions/20045532/snap-svg-cant-find-dynamically-and-successfully-appended-svg-element-with-jqu,
 
but the solution (adding more attributes to the element) did not make a 
change.

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems using native JavaScript library (Snap)

2014-03-05 Thread Jens


 It seems that the existing svg element is not recognized by the Snap 
 constructor.
 This was also noticed 
 herehttp://stackoverflow.com/questions/20045532/snap-svg-cant-find-dynamically-and-successfully-appended-svg-element-with-jqu,
  
 but the solution (adding more attributes to the element) did not make a 
 change.


Oh I see.. didn't know the namespace thing. Well then either do what the 
solution on Stackoverflow suggests (I think GWT has not build-in 
createElementNS() method so you would create it in a custom JSNI method) or 
use a div for your widget and let Snap create the SVG element (and then 
append it to your widget's div)

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Connect GWT with MY SQL database using JDO

2014-03-05 Thread Mansi Shah


On Wednesday, March 5, 2014 7:13:20 PM UTC+5:30, Jens wrote:

  Please tell me how to build application in GWT using JDO with MY SQL 
 database.


 By reading the documentation of GWT, JDO and MYSQL.

 http://www.gwtproject.org/doc/latest/DevGuide.html

 -- J. 


Thanks Jens..
I have implemented basic apps of GWT  RPC but now I want to use JDO in GWT 
to access MY SQL database..
Please tell me how to implement it.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Connect GWT with MY SQL database using JDO

2014-03-05 Thread Mansi Shah


On Wednesday, March 5, 2014 7:13:20 PM UTC+5:30, Jens wrote:

  Please tell me how to build application in GWT using JDO with MY SQL 
 database.


 By reading the documentation of GWT, JDO and MYSQL.

 http://www.gwtproject.org/doc/latest/DevGuide.html

 -- J. 


Thanks Jens..
I have implemented basic apps of GWT  RPC but now I want to use JDO in GWT 
to access MY SQL database..
Please tell me how to implement it.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems using native JavaScript library (Snap)

2014-03-05 Thread Magnus


On Wednesday, March 5, 2014 7:56:45 PM UTC+1, Jens wrote:

 It seems that the existing svg element is not recognized by the Snap 
 constructor.
 This was also noticed 
 herehttp://stackoverflow.com/questions/20045532/snap-svg-cant-find-dynamically-and-successfully-appended-svg-element-with-jqu,
  
 but the solution (adding more attributes to the element) did not make a 
 change.


 Oh I see.. didn't know the namespace thing. Well then either do what the 
 solution on Stackoverflow suggests (I think GWT has not build-in 
 createElementNS() method so you would create it in a custom JSNI method)


I tried this (because of the suggestion):

  Element  e = Document.get().createElement(svg);
  e.setAttribute (width,400);
  e.setAttribute (height,400);
  e.setAttribute (xmlns,http://www.w3.org/2000/svg;);
  e.setAttribute (version,1.1);
  setElement(e);

 
But the svg element wasn't recognized by Snap.

or use a div for your widget and let Snap create the SVG element (and 
 then append it to your widget's div)


This is what I would prefer:

private native void testLib (Element container)
 /*-{
  var s = $wnd.Snap (400,400);
  var c = s.circle (150,150,100);  
  container.appendChild (s);
 }-*/;

But this leads to:

An attempt was made to reference a Node in a context where 
it does not exist.

Magnus 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.