Re: Unresponsive Script Warning - Need help on Incremental Command

2010-04-13 Thread abickford
To clarify, are you getting to your 'onSuccess()' of your callback?
It could be the case that GWT can't deserialize the objects and there
isn't much you can do about it except grab your data in smaller
chunks.  The deRpc may help but it has it's own issues, large payloads
in FireFox throw an exception saying it couldn't evaluate the payload.

If you are successfully getting your data and causing that error in
your code, such as looping over that large collection creating a
table, you will want to investigate IncrementalCommand as you suspect.

On Apr 12, 4:39 am, Anand Mohan Singh  wrote:
> Hi,
>    I am using GWT 2.0.3 along with Gilead 1.3 and Hibernate 3.2 for
> developing an application. Some of the bean classes have 20+ entities
> because of which when I am trying to bring list of such beans to
> client side the browser is throwing 'Warning: Unresponsive Script'.
> This hold true even when instead of Gilead, DTO is used. So problem is
> basically large chunk of data. However, because of requirement I will
> have to use such big beans.
>   I browsed through various forums and after quite a work came along
> 'Incremental Command'. However, there is no comprehensive
> documentation/tutorial for it and I don't know how to proceed further
> with it.Hence, if possible can someone help me by explaining how
> 'Incremental Command' works and how to use it (If possible any
> comprehensive tutorials). I have already tried to implement on the
> line of the example given in the link below but it was not of much
> use. So request you to please help me through this.
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDela...

-- 
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-tool...@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: Using GWT RPC with 3rd party Serializable types as return type - what is required?

2008-09-11 Thread abickford

You need the source code.  GWT works on java source code, not byte
code.  Class files are not enough.

Also keep in mind that GWT only supports a subset of the JRE and if
the class wasn't written w/this in mind will likely break it.

On Sep 10, 9:32 am, Mdu <[EMAIL PROTECTED]> wrote:
> Hi All,
>    I have a type (Serializable 3rd Party Library Type - S3PLT) that
> I'm returning to the GWT RPC client from a method call on a GWT remote
> interface. This type is included in my Eclipse GWT project from an
> external .jar. No source code is available within Eclipse project.
>    When I compile, I get the ff. error:
>
> [ERROR] Line : No source code is available for type package.S3PLT;
> did you forget to inherit a required module?
>
> AFAIK, it is enough that S3PLT is Serializable. What else do I need to
> do?
>
> Thnx,
> -Mdu
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---