Re: RTL in RichTextEditor

2011-09-25 Thread Ali Jalal
Hi Noam,

RichTextArea Formatter (RichTextAreaImplStandard) uses javascript
execCommand for formatting RichTextArea content. Problem is that javascript
*execCommand *with *direction *parameter not supported.

You have two choices:
1. Use javascript editors like TinyMCE that supports directionality
(RTL/LTR). This method may increase size of your application.

2. Put RTL/LTR Button by yourself and by clicking on this buttons, wrap the
html that set to RichTextArea in a span with RTL/LTR direction.

Second choice is easier but it will change direction of whole content of
RichTextEditor (Not just selected section).

Ali Jalal.


On Mon, Sep 19, 2011 at 9:45 AM, Noam Lampert noam.lamp...@gmail.comwrote:

 The toolbar in the rich text editor in the showcase example is missing the
 RTL and LTR buttons that allow the user to specify that the text is RTL.

 Without these buttons, the text is not truly RTL. For instance even if
 entering Hebrew/Arabic text aligned to the right, bullets are on the left.

 Thanks,

 Noam

 --
 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: Edit an object in a List without a ListEditor

2011-09-25 Thread Thomas Broyer
Actually, currently: never: 
http://www.google.com/codesearch#searchq=onPropertyChange+package:http://google-web-toolkit%5C.googlecode%5C.com

-- 
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/-/SYXllQWl5qgJ.
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: Split panel

2011-09-25 Thread JSwinger
Cross posted at http://www.coderanch.com/t/553677/GWT/Split-panel

On Sep 24, 1:25 pm, hadar idan1...@gmail.com wrote:
 Hi,

 I want to create a page in GWT that contain 2 parts.One for input and
 second with results.

 The input part should be device to 3. 2 parts that contain label,text
 box and in the middle several checkbox and button.

 How can it be done ?

 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.



Openings for GWT (6-8 yrs) of experience

2011-09-25 Thread sridevi macherla
Hi,

There are multiple for openings GWT (6-8 yrs) of experience

Thanks
Sridevi

-- 
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: Openings for GWT (6-8 yrs) of experience

2011-09-25 Thread Alvin Reyes
Wow..

I thought GWT was initially started on 2006. Its been only 5 years since the
initial release.. :)



On Sun, Sep 25, 2011 at 8:00 PM, sridevi macherla sridevimache...@gmail.com
 wrote:

 Hi,

 There are multiple for openings GWT (6-8 yrs) of experience

 Thanks
 Sridevi

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




-- 
*Alvin P. Reyes*,
Oracle Certified Professional, Java Programmer
Oracle Certified Professional, Java Web Component Developer
Oracle Certified Professional, Java Business Component Developer
Software Engineer

Blog: http://requestandresponse.wordpress.com

-- 
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: Openings for GWT (6-8 yrs) of experience

2011-09-25 Thread jhulford
They must be looking in a round about way for one of the googlers who
initially developed the project.  It couldn't be that he's posting
nonsensical job requirements to the actual GWT group, who'd be ill
informed enough to do that?

On Sep 25, 8:36 am, Alvin Reyes alvin.jay.p.re...@gmail.com wrote:
 Wow..

 I thought GWT was initially started on 2006. Its been only 5 years since the
 initial release.. :)

 On Sun, Sep 25, 2011 at 8:00 PM, sridevi macherla sridevimache...@gmail.com









  wrote:
  Hi,

  There are multiple for openings GWT (6-8 yrs) of experience

  Thanks
  Sridevi

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

 --
 *Alvin P. Reyes*,
 Oracle Certified Professional, Java Programmer
 Oracle Certified Professional, Java Web Component Developer
 Oracle Certified Professional, Java Business Component Developer
 Software Engineer

 Blog:http://requestandresponse.wordpress.com

-- 
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: Optimization of the final field

2011-09-25 Thread vital
The question is why it is not implemented, may have some limitations
in the implementation? I would like to know opinions gwt developers

On Sep 23, 6:08 pm, TreKing treking...@gmail.com wrote:
 On Fri, Sep 23, 2011 at 7:33 AM, Vitaly vtl...@gmail.com wrote:
  Do you have any ideas?

 About what ... ?

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

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



Splitting initial fragment

2011-09-25 Thread John Patterson
My app has many html pages that each load a base loader module that calls 
a set of features which are each split with a GWT.runAsync call.

The idea is to share common code such as java.util classes and common gwt 
widgets.

But the problem I have hit is that the initial fragment has become too 
large.  Any code that is common between 2 features is placed in the initial 
fragment even though it is not used in any other features.  It doesn't seem 
very clever to just throw everything in the same fragment.  I want this 
initial fragment to be more fine grained.

Is there any work happening to help with these non-app in a single page 
type websites?

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



RequestFactory spec and/or use with iPhone

2011-09-25 Thread Sekhar
I'm planning to use RequestFactory with GWT/Android and was wondering
if it's possible to access the same setup from iPhone. Is the
RequestFactory spec (i.e., JSON structures, etc.) public so we can
simulate that in iPhone or is these some other way to access it from
iPhone without having to write custom servlet/code?

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



XML parsing error when using Guice with servlets

2011-09-25 Thread Nicklas
Hello,

I'm setting up a web application I call WineCellar using GWT with Guice. I have
set up the Guice to use servlets as instructed here:
http://code.google.com/p/google-guice/wiki/Servlets. I am using Eclipse 3.5 with
the GWT plugin.

However, when I try to run the application in debug mode, I get the error
message below. 

Loading modules
   winecellar.WineCellar
  Loading inherited module 'com.google.gwt.user.User'
 Loading inherited module 'com.google.gwt.i18n.I18N'
[ERROR] Unexpected error while processing XML
java.lang.NoClassDefFoundError:
com/google/gwt/core/ext/linker/PropertyProviderGenerator
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:900)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:314)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(
ModuleDefSchema.java:886)

at 
com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
at 
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(
ReflectiveParser.java:294)
at
com.sun.org.apache.xerces.internal.parsers.
AbstractSAXParser.startElement(AbstractSAXParser.java:504)
at
com.sun.org.apache.xerces.internal.parsers.
AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at
com.sun.org.apache.xerces.internal.impl.
XMLDocumentFragmentScannerImpl.scanStartElement(
XMLDocumentFragmentScannerImpl.java:1320)
at
com.sun.org.apache.xerces.internal.impl.
XMLDocumentFragmentScannerImpl$FragmentContentDriver.
next(XMLDocumentFragmentScannerImpl.java:2732)
at
com.sun.org.apache.xerces.internal.impl.
XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)

at
com.sun.org.apache.xerces.internal.impl.
XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.
java:488)

at
com.sun.org.apache.xerces.internal.parsers.
XML11Configuration.parse(XML11Configuration.java:812)
at
com.sun.org.apache.xerces.internal.parsers.
XML11Configuration.parse(XML11Configuration.java:741)
at com.sun.org.apache.xerces.internal.parsers.
XMLParser.parse(XMLParser.java:123)
at
com.sun.org.apache.xerces.internal.parsers.
AbstractSAXParser.parse(AbstractSAXParser.java:1208)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.
parse(SAXParserImpl.java:525)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.
java:347)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(
ReflectiveParser.java:68)
at com.google.gwt.dev.util.xml.ReflectiveParser.parse(
ReflectiveParser.java:418)
at 
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:296)
at
com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin
(ModuleDefSchema.java:495)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(
ReflectiveParser.java:294)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(
AbstractSAXParser.java:504)
at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.
emptyElement(AbstractXMLDocumentParser.java:182)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.
scanStartElement(XMLDocumentFragmentScannerImpl.java:1320)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$
FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732)
at
com.sun.org.apache.xerces.internal.impl.
XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.
scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
parse(XML11Configuration.java:812)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
parse(XML11Configuration.java:741)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.
parse(XMLParser.java:123)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.
parse(AbstractSAXParser.java:1208)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.
parse(SAXParserImpl.java:525)
at

Random SerializationException

2011-09-25 Thread Maverick
Hi all
I'm experiencing a problem that seems pretty absurd: I have a complex
GWT app, which spans over several projects; from a while ago (not sure
when it started exactly) the app is loaded successfully and a data
structure is sent over RPC, but, if I reload the page, the *same* RPC
call fails with this exception:

com.google.gwt.user.client.rpc.StatusCodeException: 500 The call
failed on the server; see server log for details
at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
209)
at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
at com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
326)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
207)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
132)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Thread.java:680)


And in the exception message:

com.google.gwt.user.client.rpc.SerializationException: Type
'com.conceptle.istar.shared.ConceptualModelStatus' was not included in
the set of types which can be serialized by this SerializationPolicy
or its Class object could not be loaded. For security purposes, this
type will not be serialized.: instance =
com.conceptle.istar.shared.ConceptualModelStatus@5afecc75
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
615)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
535)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:
705)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:
744)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
617)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
126)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
535)
at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616)
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
474)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
571)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
208)
at

Re: Random SerializationException

2011-09-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

you don't send the same data the second time. my experience says that
this can have a thousand reasons which are not even hinted at by the
error message.
something in your class makes the gwt compiler think that it cannot be
serialized or the gwt compiler assumes the class is never serialized
(it's generally confused by generics)

Am 25.09.2011 20:57, schrieb Maverick:
 Hi all I'm experiencing a problem that seems pretty absurd: I have
 a complex GWT app, which spans over several projects; from a while
 ago (not sure when it started exactly) the app is loaded
 successfully and a data structure is sent over RPC, but, if I
 reload the page, the *same* RPC call fails with this exception:
 
 com.google.gwt.user.client.rpc.StatusCodeException: 500 The call 
 failed on the server; see server log for details at 
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:

 
209)
 at 
 com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:

 
287)
 at com.google.gwt.http.client.RequestBuilder 
 $1.onReadyStateChange(RequestBuilder.java:395) at
 sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:

 
25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 
 103) at
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 
71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:

 
167)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:

 
326)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:

 
207)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:

 
132)
 at
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:

 
561)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:

 
269)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:

 
91)
 at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at
 com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at
 sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:

 
25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 
 103) at
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 
71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:

 
167)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:

 
281)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:

 
531)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:

 
352)
 at java.lang.Thread.run(Thread.java:680)
 
 
 And in the exception message:
 
 com.google.gwt.user.client.rpc.SerializationException: Type 
 'com.conceptle.istar.shared.ConceptualModelStatus' was not included
 in the set of types which can be serialized by this
 SerializationPolicy or its Class object could not be loaded. For
 security purposes, this type will not be serialized.: instance = 
 com.conceptle.istar.shared.ConceptualModelStatus@5afecc75 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:

 
615)
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:

 
126)
 at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter

 
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:

 
535)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:

 
705)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:

 
744)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:

 
617)
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:

 
126)
 at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter

 
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:

 
535)
 at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) 
 at 
 

Re: RequestFactory spec and/or use with iPhone

2011-09-25 Thread Alfredo Quiroga-Villamil
Hello, you might want to check out:

http://www.emitrom.com/gwt4timobile

We provide support for RF, GWt-RPC as well as RequestBuilder and you can
write for Android, iPhone as well as iPad in Java.

If you are interested feel free to post additional questions in our forum.

Regards,

Alfredo

On Sun, Sep 25, 2011 at 12:22 PM, Sekhar allur...@gmail.com wrote:

 I'm planning to use RequestFactory with GWT/Android and was wondering
 if it's possible to access the same setup from iPhone. Is the
 RequestFactory spec (i.e., JSON structures, etc.) public so we can
 simulate that in iPhone or is these some other way to access it from
 iPhone without having to write custom servlet/code?

 --
 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: Random SerializationException

2011-09-25 Thread Maverick
Thanks for your reply; I'll try to investigate more. What is
disorienting me is that the type, which is not said to be
serializable, also changes on different calls.

Could you please tell me something more about your experience and
possible checks to do? That would help greately, because I finished
the ideas...

Thanks


On 25 Set, 21:28, Dennis Haupt d.haup...@googlemail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 you don't send the same data the second time. my experience says that
 this can have a thousand reasons which are not even hinted at by the
 error message.
 something in your class makes the gwt compiler think that it cannot be
 serialized or the gwt compiler assumes the class is never serialized
 (it's generally confused by generics)

 Am 25.09.2011 20:57, schrieb Maverick:



  Hi all I'm experiencing a problem that seems pretty absurd: I have
  a complex GWT app, which spans over several projects; from a while
  ago (not sure when it started exactly) the app is loaded
  successfully and a data structure is sent over RPC, but, if I
  reload the page, the *same* RPC call fails with this exception:

  com.google.gwt.user.client.rpc.StatusCodeException: 500 The call
  failed on the server; see server log for details at
  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv­ed(RequestCallbackAdapter.java:

 209)
  at
  com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:

 287)
  at com.google.gwt.http.client.RequestBuilder
  $1.onReadyStateChange(RequestBuilder.java:395) at
  sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp­l.java:

 25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
  103) at
  com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 71)
  at
  com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav­a:

 167)
  at
  com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingFo­rReturn(BrowserChannelServer.java:

 326)
  at
  com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann­elServer.java:

 207)
  at
  com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:

 132)
  at
  com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:

 561)
  at
  com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:

 269)
  at
  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j­ava:

 91)
  at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at
  com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at
  sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp­l.java:

 25)
  at java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
  103) at
  com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 71)
  at
  com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav­a:

 167)
  at
  com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChanne­lServer.java:

 281)
  at
  com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan­nelServer.java:

 531)
  at
  com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java­:

 352)
  at java.lang.Thread.run(Thread.java:680)

  And in the exception message:

  com.google.gwt.user.client.rpc.SerializationException: Type
  'com.conceptle.istar.shared.ConceptualModelStatus' was not included
  in the set of types which can be serialized by this
  SerializationPolicy or its Class object could not be loaded. For
  security purposes, this type will not be serialized.: instance =
  com.conceptle.istar.shared.ConceptualModelStatus@5afecc75 at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali­ze(ServerSerializationStreamWriter.java:

 615)
  at
  com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write­Object(AbstractSerializationStreamWriter.java:

 126)
  at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter

 $ValueWriter$8.write(ServerSerializationStreamWriter.java:153)



  at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali­zeValue(ServerSerializationStreamWriter.java:

 535)
  at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali­zeClass(ServerSerializationStreamWriter.java:

 705)
  at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali­zeImpl(ServerSerializationStreamWriter.java:

 744)
  at
  com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali­ze(ServerSerializationStreamWriter.java:

 617)
  at
  

GWT Designer

2011-09-25 Thread gwt...@yahoo.com
Hello All,
I use InstalI software in Eclipse to install GWT Designer

GWT Designer - http://dl.google.com/eclipse/inst/d2gwt/latest/3.6

My question is Where can I icons for GWT Designer in Eclipse ? Can I
invoke GWT Designer from Eclipse?

Regards,
Lakshmi

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



Searching for calendar library

2011-09-25 Thread Xavier NOPRE
Hi,

For my application, I'm seraching for a library, JavaScript or GWT, to
display a week calendar. But my need is a little different that common
calendar, I don't want a display like Google Agenda, I don't want hours in
vertical axis but I want resources (like people or other resources).

Here is an drawn example :
http://xnopre.visibli.com/share/oDHJR8

I found gwt-cal (http://code.google.com/p/gwt-cal/) but it seems not to be
possible to display something else than hours in vertical axis ...

Thank you for any ideas or suggestions ...

I can contribute to any open source project to adapt an existing library to
my need  ;-)

Xavier

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



request for help because of error message while running my GWT application

2011-09-25 Thread blaise
I'm beginning with google web toolkit. while running my application, i
got this error message:
 [ERROR] Unable to find 'com/google/gwt/sample/stockwatcher/
StockwatcherNew.gwt.xml' on your classpath; could be a typo, or maybe
you forgot to include a classpath entry for source?
[ERROR] shell failed in doStartup method

please i need your help to result it.

-- 
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: too much code: GWT Development with Activities and Places

2011-09-25 Thread camerojo
I also agree - I hope the Google folk look at this.

GWT is a wonderful concept, and we should all be very grateful for it,
but some of the implementation is certainly over engineered.

In particular I wish that more focus was given to fixing basic bugs
(of which there are quite a few) rather than coming up with new high
level architectural concepts.

Of course all developers would prefer to be playing around with new
concepts rather than fixing bugs in existing code, but production
software demands that basic debugging must always take priority.


-- 
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: too much code: GWT Development with Activities and Places

2011-09-25 Thread Gal Dolber
I also agree, but I don't think google is responsable for improving the user
framework on gwt.
It is great that they put together uibinder, gwt-rpc, the editors framework
and other goodies, but its your choice to use them or not.

I am personally happy with a strong gwt core, and that just keep getting
better with each release.

On Sun, Sep 25, 2011 at 8:32 PM, camerojo jadcpub-goo...@yahoo.com.auwrote:

 I also agree - I hope the Google folk look at this.

 GWT is a wonderful concept, and we should all be very grateful for it,
 but some of the implementation is certainly over engineered.

 In particular I wish that more focus was given to fixing basic bugs
 (of which there are quite a few) rather than coming up with new high
 level architectural concepts.

 Of course all developers would prefer to be playing around with new
 concepts rather than fixing bugs in existing code, but production
 software demands that basic debugging must always take priority.


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




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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



GWT + SVN + Eclipse

2011-09-25 Thread Raymond Cidad
Hello guys
I'm having a hard time setting up a GWT into eclipse to work with a team, 
using SVN.

Where we are:
1. I created the project. Did some code. Runs fine.
2. Create the SVN repository (in the cloud with codesion.com)
3. The other team member, did checkout. He can see the code

Problem:
- He cannot run the project. It doesn't compile right. 

I THINK THE PROBLEM IS RELATED TO  BUILD PATH. 

QUESTIONS:
1. WE ARE NOW TRYING TO ADD THE WAR/WEB-INF/DEPLOY TO THE SVN:IGNORE TO SEE 
IF THAT HELPS. DO YOU GUYS TELL SVN NOT TO UPLOAD SOME DIRECTORIES?

2. WHAT CHANGES DO YOU GUYS DO THE PROJECT AFTER YOU DO CHECKOUT THE FIRST 
TIME? 

I'M SURE THE PROBLEMS SHOULD BE SOLVED WITH A COUPLE OF CLICKS , BUT I 
CAN'T FIGURE OUT THOSE CLICKS

THANKS FOR YOUR HELP







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



Isn't the Activities and Places model violating the MVP pattern?

2011-09-25 Thread Behi
Just had a look at the source code for the Tutorial-hellomvp-2.1
example and noticed the following view interface:

public interface HelloView extends IsWidget
{
void setName(String helloName);
void setPresenter(Presenter listener);

public interface Presenter
{
void goTo(Place place);
}
}

Isn't this in violation with the MVP pattern as the view should not
depend-on/have-a-reference-to to the Presenter?

-- 
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: Edit an object in a List without a ListEditor

2011-09-25 Thread Maiku
So if I understand correctly, ValueAwareEditor basically allows you to
muck with how the object obtains its values?   I have tried to
implement this in 2.3 but now I am getting a problem with the Config
object not retaining the values set for the LanguageProxy. That is,
the returned ConfigProxy seems to have the values but once the code
calls to the Server side, the values have been reset to null.

In my code:

In ConfigViewImpl (which implements ConfigView which in turn
implements ValueAwareProxyConfigProxy):

pre
   @Override
   public void flush()
   {
  ListLanguageProxy languages = new ArrayListLanguageProxy();

  // Not sure if this is the correct way to create an editable
ValueProxy
  LanguageProxy lang =
requestFactory.configRequest().create(LanguageProxy.class);

  lang.setString(language.getText());
  lang.setDefault(true);
  languages.add(lang);
  proxy.setLanguageList(languages);
   }
...
   @Override
   public void setValue(ConfigProxy value)
   {
  proxy = value;
   }
/pre


Then in ConfigPresenter:

pre
   public void save()
   {
  ConfigRequestContext context =
(ConfigRequestContext)view.getEditorDriver().flush();

  // If I use this code, the values persist properly.
  //LanguageProxy language = context.create(LanguageProxy.class);
  //language.setString(FRA);
  //editProxy.setLanguageList(new ArrayListLanguageProxy());
  //editProxy.getLanguageList().add(language);

  if (null == saveRequest)
  {
 saveRequest = context.save(editProxy);
  }

  view.setLocked(true);

  // Up to this point, the editProxy contains an ArrayList with
the correct LanguageProxy
  saveRequest.fire(new ReceiverVoid()
  {
 @Override
 public void onSuccess(Void response)
 {
view.setLocked(false);
view.close();
 }
  }
/pre

On the server side's Save code, my Config object still contains an
ArrayList with a Language object but the fields of the Language object
are all null. If I use the commented code which sets the values in the
Presenter then those values will persist to the server side
correctly.  Is this an issue with the way I have setup my
ValueAwareEditor, how I created the LanguageProxy, or something else?

-- 
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: Splitting initial fragment

2011-09-25 Thread John Patterson
Actually I mean the *leftovers *fragment!  It just keeps on growing

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



Do I have to use DTO if I use GWT + JPA?

2011-09-25 Thread Warren Tang
Some say transferring entities cross the wire may cause problems, e.g. lazy 
loading. 

But I feel reluctant to introduce DTO. It's boilerplate and it's not right.

I also looked at RequestFactory and it seems a solution. However I'm also 
using GWTP's command pattern, which doesn't seem to work with 
RequestFactory.

Is there any alternatives? Do I have to use DTO?

-- 
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/-/xdLeM3KY-FcJ.
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: Do I have to use DTO if I use GWT + JPA?

2011-09-25 Thread Behi
Lazy loading won't work on the client side as the JPA session is only
maintained on the server side and only detached objects are sent down
to the client. You would need to use DTOs and send the fully-loaded
domain objects to the client.

On Sep 26, 12:21 pm, Warren Tang warren.c.t...@gmail.com wrote:
 Some say transferring entities cross the wire may cause problems, e.g. lazy
 loading.

 But I feel reluctant to introduce DTO. It's boilerplate and it's not right.

 I also looked at RequestFactory and it seems a solution. However I'm also
 using GWTP's command pattern, which doesn't seem to work with
 RequestFactory.

 Is there any alternatives? Do I have to use DTO?

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



Date Inequalites Resulting in Illegal Argument Exception using JDO

2011-09-25 Thread Owen Ilagan
Hello all,

I just encountered a surprising problem. Given that the way to filter
by Date in JDO is simply:

myQuery.setFilter(someDateField  dateParam);
myQuery.declareParameters(java.util.Date dateParam);
myQuery.execute(new java.util.Date());

It always returns an Illegal argument exception. But if you change the
filter to someDateField == dateParam, then the error goes away
(unfortunately, it doesnt return a match even if the time of day is
already identical down to the last second). There must be something
amiss.

I've already upgraded to AppEngine 1.5.3 and using GWT 2.4.0. Previous
versions still remain on my Eclipse and this project was already using
the current AppEngine and the preceding version of GWT when it was
created so I wonder if that has anything to do with it.

Anyways, I shifted to Objectify and it works so I am inclined to think
this is purely a JDO problem.

- Owen

-- 
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: Do I have to use DTO if I use GWT + JPA?

2011-09-25 Thread Warren Tang

Thanks for your reply. I also read this:

http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html

It seems that I have to go DTO anyway.

--
Regards,
Warren Tang http://blog.tangcs.com


On Monday, September 26, 2011 10:55:51 AM, Behi wrote:


Lazy loading won't work on the client side as the JPA session is only
maintained on the server side and only detached objects are sent down
to the client. You would need to use DTOs and send the fully-loaded
domain objects to the client.

On Sep 26, 12:21 pm, Warren Tang warren.c.t...@gmail.com wrote:


Some say transferring entities cross the wire may cause problems, 
e.g. lazy

loading.

But I feel reluctant to introduce DTO. It's boilerplate and it's not 
right.


I also looked at RequestFactory and it seems a solution. However I'm also
using GWTP's command pattern, which doesn't seem to work with
RequestFactory.

Is there any alternatives? Do I have to use DTO?




--
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: Edit an object in a List without a ListEditor

2011-09-25 Thread -sowdri-
In the code above: The RC which creates the LanguageProxy is different from 
the one which is used to fire the request on ConfigProxy. That could be the 
reason why your LanguageProxy is not presisted on the server. 

In the commented code thats not the case, thats why its working. 

To overcome this, you should not create LanguageProxies using arbitary RCs. 
Ask the presenter whenever you want new LanguageProxy. 

Ex:

// in view
LanguageProxy presenter.getLanguageProxy();

// in presenter 
LanguageProxy getLangaugeProxy(){
 return sameRc.create(LanguageProxy.class);
}

Keep the view simple, and let the presenter take care of creating the 
proxies :)

-- 
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/-/w2adPQtmuBsJ.
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: too much code: GWT Development with Activities and Places

2011-09-25 Thread Ali Jalal
Hi,
I think future of GWT being threatened by 2 evil:

1. *Big compile time* (specially when size of module increase) which
increase development time, and usually in compile time, developer will
concentrates on subjects other than development (!) and it takes a few
minutes to concentrates on development again.
2. *Complex and excessive code*.

For example, I used Spring Roo to generate code for an entity with 4 field
(property or relation) based on GWT, Spring  Hibernate. It generates about
1600 line code just for CRUD (create-read-update-delete and search)
operations (!). Spring Roo generated GWT code based on MVP and
ActivityPlaces, UIBinder,...

Recently I designed a code generator based on GWT, Spring and Hibnerate. It
generates about 700 line code for same entity, same operations and same
functionality (but I don't use MVP, PlacesActivities or RequestFactory). So
it is possible to decrease complexity and size of code.

MVC pattern (predecessor of MVP) which introduced in 1990s by GoV (Buschmann
et. al.) as an architectural pattern, but it was not used widely and now
simpler versions of it are used. It shows that a complex pattern will not
survives even it designed based on best OO principles.

MVP is a good pattern but if you used it, you should accept its complexity,
So use it when is necessary. (*there is no such thing as a free launch!*)


On Mon, Sep 26, 2011 at 3:42 AM, Gal Dolber gal.dol...@gmail.com wrote:

 I also agree, but I don't think google is responsable for improving the
 user framework on gwt.
 It is great that they put together uibinder, gwt-rpc, the editors framework
 and other goodies, but its your choice to use them or not.

 I am personally happy with a strong gwt core, and that just keep getting
 better with each release.

 On Sun, Sep 25, 2011 at 8:32 PM, camerojo jadcpub-goo...@yahoo.com.auwrote:

 I also agree - I hope the Google folk look at this.

 GWT is a wonderful concept, and we should all be very grateful for it,
 but some of the implementation is certainly over engineered.

 In particular I wish that more focus was given to fixing basic bugs
 (of which there are quite a few) rather than coming up with new high
 level architectural concepts.

 Of course all developers would prefer to be playing around with new
 concepts rather than fixing bugs in existing code, but production
 software demands that basic debugging must always take priority.


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




 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/




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



[gwt-contrib] Re: Multiple leftover fragments with a tree of code split points?

2011-09-25 Thread John Patterson
I am also hitting this problem with the left overs fragment and Lex 
suggestion does not seem to help.

I have split points A and B which both use GWT-RPC and so all the RPC code 
gets moved into the left overs fragment which adds 30Kb to its size.  I've 
created a new split point C, in front of A and B but the RPC code remains in 
the leftovers fragment - not in C as Lex seems to suggest it should.

Problem is that split points D, E etc don't use RPC at all but still haee to 
download all that code.

Every new split point a add (one for every html page) adds a bit more to the 
left overs fragment and I see no way to control this.

Does anyone have suggestions how to limit the size of this growing 
leftovers?  Is any fix in the works?

Thanks,

John

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors