Re: Is there a way to determine if a GWT app is active or inactive?

2012-02-26 Thread KevMo
Try JSNI with this:
http://stackoverflow.com/questions/1060008/is-there-a-way-to-detect-if-a-browser-window-is-not-currently-active

On Feb 26, 6:22 pm, m8o  wrote:
> Is there a way to determine if a GWT app is active thru the Window or
> DOM class -- well, or any other class -- be that a callback / event or
> inspection of a static variable in a built-in object?
>
> Specifically meaning that the browser window is not minimized, or that
> if open the browser window it is the top/active window, and beyond
> that that the GWT app's tab and not another tab in the browser is the
> active tab?  I imagine it's something right in front of my face, but
> I'm just not seeing it.  (We do use Sencha's GXT v2.x too)
>
> The reason I ask is our application uses a Timer to update data.  If
> the app is left I want to keep updating its data for 5 minutes, but
> then stop the timers after that.  And of course the compliment; if the
> app is returned-to, to re-initiate the timed data updates.
>
> Thanx very much,
> -steve

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



Grid Control Recomendations

2012-02-26 Thread DrG
Besides the awful SmartGWT and ExtGWT (My opinion).  What other third party 
grids can you recommend?  Feel free to recommend Javascript grids that have 
the potential for a GWT Wrapper to be created for them.

Thanks
G

-- 
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/-/5nmZbv5nFlIJ.
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: video recorder widget

2012-02-26 Thread yash sharma
plz smbdy rply

On Sun, Feb 26, 2012 at 7:49 PM, yashujn  wrote:

> Hi All,
>
>
> I want to create video recorder widget in my gwt application , i hv
> webex video recorder but i dnt Know how to use this recorder in my
> application...
>
>
> i mean which database is best to use and how to create this
> application like is thier any api is availble to create video recorder
> application(by this user can able to record their windows activityand
> upload it)...
>
> I am using tomcar server 
>
> plz guide me how to start .???
>
> --
> 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: Is it possible to transfer list of EntityProxy between client and server using Requestfactory

2012-02-26 Thread July
Problem solved, turned out to be the polymorphism problem.


On Monday, February 27, 2012 11:50:59 AM UTC+8, July wrote:
>
> HI:
> Just like below, Is it possible to transfer list of EntityProxy between 
> client and server using RequestFactory? i didn't see any spec related to 
> this in RF doc. And i always get NPE when using maven processor plugin to 
> validate. Thanks.
>
> @Service( value =foo.class, locator = bar.class )
> public interface CustomerRequest extends RequestContext
> {
> Request count( List searchparams,* List 
> parent* );
> }
>

-- 
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/-/ySt1awIBn2YJ.
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 get previous searching criteria

2012-02-26 Thread tong123123
there is a paenl for user input searching criteria, when user press a
button, the searching criteria is send to server for retrieve record,
then return back and create a new panel to show the result. In
traditional jsp1 - servlet - jsp2, the searching criteria is stored in
session and then when user return to searching page, the searching
page will load the previous inputted searching criteria stored in
session, in GWT, how to do this seems simple task?

-- 
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: Timer AsyncCallback issue

2012-02-26 Thread JoseM
I think your issue might be that you are getting a lot of data back in
your RPC call and the browser is frozen while it is processing the
results. If this is the case maybe you should either send a smaller
amount of data to the browser (maybe break up the RPC request into
multiple smaller ones) or consider using Request Factory to transfer
the data as that is better able to keep the browser from freezing with
a bigger payload.


On Feb 24, 3:43 pm, "Peter D."  wrote:
> I have a timer set up to update an element on my UI periodically from
> a buffer.  If the buffer grows too small, I make an RPC call which
> returns the next chunk of frames.  However, I want the timer to
> continue updating the UI off the existing buffer while the RPC call is
> working.  It seems that when the buffer needs to grow, the timer calls
> calls the AsyncCallback function correctly and continues through the
> rest of the run() function, but the next scheduled execution will not
> occur until after the RPC call returns.  Is there any way around this?

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



Is it possible to transfer list of EntityProxy between client and server using Requestfactory

2012-02-26 Thread July
HI:
Just like below, Is it possible to transfer list of EntityProxy between 
client and server using RequestFactory? i didn't see any spec related to 
this in RF doc. And i always get NPE when using maven processor plugin to 
validate. Thanks.

@Service( value =foo.class, locator = bar.class )
public interface CustomerRequest extends RequestContext
{
Request count( List searchparams,* List 
parent* );
}

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



Is there a way to determine if a GWT app is active or inactive?

2012-02-26 Thread m8o
Is there a way to determine if a GWT app is active thru the Window or
DOM class -- well, or any other class -- be that a callback / event or
inspection of a static variable in a built-in object?

Specifically meaning that the browser window is not minimized, or that
if open the browser window it is the top/active window, and beyond
that that the GWT app's tab and not another tab in the browser is the
active tab?  I imagine it's something right in front of my face, but
I'm just not seeing it.  (We do use Sencha's GXT v2.x too)

The reason I ask is our application uses a Timer to update data.  If
the app is left I want to keep updating its data for 5 minutes, but
then stop the timers after that.  And of course the compliment; if the
app is returned-to, to re-initiate the timed data updates.

Thanx very much,
-steve

-- 
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-rendering a specific node on a CellBrowser

2012-02-26 Thread JavArt
Hi all,

Is it possible to update the view of a specific node in a CellBrowser
tree (basically call again the render method) ?
Basically I need to update the information displayed in certain nodes
of my tree as the user inputs information in other parts of the
application or when the data in the server changes.

I have read that one can close and open again nodes (forcing re-
rendering) with the following code

for (int i = 0; i < cellBrowser.getRootTreeNode().getChildCount(); i+
+) {
cellBrowser.getRootTreeNode().setChildOpen(i, false);
}

But this only affects the nodes that are children of the root node.

I would appreciate any help on this.

-- 
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: String replacement with grouping

2012-02-26 Thread Patrick Tucker
String.toUpperCase() will not do the trick?

You should probably provide an example of the before and after text...

On Feb 25, 4:20 pm, oogie  wrote:
> If I wanted to perform a search and replace on a string where I need
> to use grouping functionality, what is the best approach?  There
> doesn't seem to be any information available on how to do this.  For
> instance, given a string with a mix of lowercase characters and other
> symbols, I'd like to convert this to string where the lowercase alpha
> characters have been replaced with uppercase alpha characters.  Since
> Pattern and Match from Java are not allowed, what would be the best
> approach?  Thanks for any help.

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



Re: GWT Timer doesn't work

2012-02-26 Thread Patrick Tucker
You should execute the Timer right away, by directly calling its
run().  Then in the run() determine whether or not it needs to run
again.  If so, use schedule(int) to make it run() again.  The process
should be similar to how an IncrementalCommand would work...

On Feb 24, 3:36 pm, "Peter D."  wrote:
> Has a solution been found to this issue?  I have encountered the same
> thing, with no luck.
>
> On Jan 19, 2:24 am, Hanna Varakhobava  wrote:
>
>
>
>
>
>
>
> > Hey, somebody...

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



Re: GWT Speed Advice

2012-02-26 Thread Killian
Hi Colin,

Thank you so much for your prompt reply. Very interesting, I really had no 
idea. At least it clarifies everything :-)

Cheers for that,

Killian

On Sunday, 26 February 2012 20:08:37 UTC, Colin Alworth wrote:
>
> The rebinding is how all of the GWT.create calls work, to build browser 
> specific implementations of most of those (mostly to deal with browser 
> differences), and to generate the needed source for a few (mostly 
> i18n/clientbundle interfaces and RPC). This is perfectly normal, and 
> expected.
>
> As for addressing your speed issues, this is only something that should be 
> happening when running dev mode, or when compiling to source - it should 
> never affect the performance of the application when it is running in 
> production mode. Newer versions of GWT provide the ability to cache 
> generated classes, and only re-rebind them when dependent classes/files 
> have changed - this might speed up dev mode, especially after the first 
> page load.
>
> Split points (which is what I think you are referring to as 'code 
> breaking') will help some aspects of production mode performance, 
> specifically how much code is downloaded/parsed when the page first loads 
> (depending on how your app is structured, see the SOYC report for more 
> details), but isn't likely substantially change dev mode performance, and 
> will probably make compiling the app take somewhat longer.
>
> On Sunday, February 26, 2012 12:42:54 PM UTC-6, Killian wrote:
>>
>> Hi Lads,
>>
>> Just wanted to get an advice with respect to my gwt app running pretty 
>> slow. I'm not very good with respect to display issue so apologies in 
>> advance if this question sounds obvious.
>> In order to speed up the app I've followed instructions in the GWT 
>> website and used extensively code breaking. Although it did make some 
>> improvements it's still pretty slow.
>>
>> When looking in to the development mode console, I can see a lot of 
>> rebinding is going on. Would that be a reason why it's running so slow or 
>> is it normal for a gwt to be doing so many rebindings?
>>
>> Thanks in advance for your advice,
>>
>> Killian
>>
>> Console output extract:
>>
>> Rebinding com.google.gwt.ajaxloader.client.AjaxKeyConstants
>>
>> Rebinding com.google.gwt.event.shared.SimpleEventBus
>>
>> Rebinding com.google.gwt.user.client.ui.UIObject.DebugIdImpl
>>
>> Rebinding com.extjs.gxt.ui.client.image.XImages
>>
>> Rebinding com.google.gwt.user.client.ui.impl.ClippedImageImpl
>>
>> Rebinding com.extjs.gxt.ui.client.messages.XMessages
>>
>> Rebinding com.google.gwt.user.client.impl.DOMImpl
>>
>> Rebinding com.google.gwt.dom.client.DOMImpl
>>
>> Rebinding com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl
>>
>> Rebinding com.google.gwt.user.client.impl.WindowImpl
>>
>> Rebinding biz.linguabox.client.services.UserWordService
>>
>> Rebinding biz.linguabox.client.services.TagService
>>
>> Rebinding com.google.gwt.user.client.ui.impl.TextBoxImpl
>>
>> Rebinding com.google.gwt.user.client.ui.impl.FocusImpl
>>
>> Rebinding com.google.gwt.i18n.client.impl.LocaleInfoImpl
>>
>> Rebinding com.google.gwt.i18n.client.impl.CldrImpl
>>
>

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



Re: how to test GWT app through a proxy

2012-02-26 Thread Dan
That error message suggests a different kind of proxy,
http://en.wikipedia.org/wiki/Proxy_pattern.

On Feb 25, 8:40 pm, John Malpas  wrote:
> I have several GWT (2.4) applications out there.
>
> One in a while, a user writes in with a problem,
> where it is clear the RPC is not working, and it
> is clear there is some proxy involved in their access
> to the application.
>
> (Most recent: "Unable to initiate the asynchronous service invocation
> (MyDataService_Proxy.login)")
>
> I need to figure out some way to test access to the
> applications through a proxy, so I can at least see what
> these users are seeing. The same applications work fine
> for me on a variety of browsers and computers.
> (My own computers get to the web through ATT DSL with
> no proxy involved.)
>
> Has anyone else faced this problem (need to test through
> a proxy)?

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



Does Google Web Toolkit Participate in the Google Summer of Code program?

2012-02-26 Thread Chan
Hi everyone,
I'm Chan Le, a student from Korea. I'm interested in joining a project
for Google Web Toolkit in Google Summer of Code. I wonder if GWT, by
any chance, participates in the program?
Thank you,
Chan Le

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



String replacement with grouping

2012-02-26 Thread oogie
If I wanted to perform a search and replace on a string where I need
to use grouping functionality, what is the best approach?  There
doesn't seem to be any information available on how to do this.  For
instance, given a string with a mix of lowercase characters and other
symbols, I'd like to convert this to string where the lowercase alpha
characters have been replaced with uppercase alpha characters.  Since
Pattern and Match from Java are not allowed, what would be the best
approach?  Thanks for any help.

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



Re: GWT Speed Advice

2012-02-26 Thread Colin Alworth
The rebinding is how all of the GWT.create calls work, to build browser 
specific implementations of most of those (mostly to deal with browser 
differences), and to generate the needed source for a few (mostly 
i18n/clientbundle interfaces and RPC). This is perfectly normal, and 
expected.

As for addressing your speed issues, this is only something that should be 
happening when running dev mode, or when compiling to source - it should 
never affect the performance of the application when it is running in 
production mode. Newer versions of GWT provide the ability to cache 
generated classes, and only re-rebind them when dependent classes/files 
have changed - this might speed up dev mode, especially after the first 
page load.

Split points (which is what I think you are referring to as 'code 
breaking') will help some aspects of production mode performance, 
specifically how much code is downloaded/parsed when the page first loads 
(depending on how your app is structured, see the SOYC report for more 
details), but isn't likely substantially change dev mode performance, and 
will probably make compiling the app take somewhat longer.

On Sunday, February 26, 2012 12:42:54 PM UTC-6, Killian wrote:
>
> Hi Lads,
>
> Just wanted to get an advice with respect to my gwt app running pretty 
> slow. I'm not very good with respect to display issue so apologies in 
> advance if this question sounds obvious.
> In order to speed up the app I've followed instructions in the GWT website 
> and used extensively code breaking. Although it did make some improvements 
> it's still pretty slow.
>
> When looking in to the development mode console, I can see a lot of 
> rebinding is going on. Would that be a reason why it's running so slow or 
> is it normal for a gwt to be doing so many rebindings?
>
> Thanks in advance for your advice,
>
> Killian
>
> Console output extract:
>
> Rebinding com.google.gwt.ajaxloader.client.AjaxKeyConstants
>
> Rebinding com.google.gwt.event.shared.SimpleEventBus
>
> Rebinding com.google.gwt.user.client.ui.UIObject.DebugIdImpl
>
> Rebinding com.extjs.gxt.ui.client.image.XImages
>
> Rebinding com.google.gwt.user.client.ui.impl.ClippedImageImpl
>
> Rebinding com.extjs.gxt.ui.client.messages.XMessages
>
> Rebinding com.google.gwt.user.client.impl.DOMImpl
>
> Rebinding com.google.gwt.dom.client.DOMImpl
>
> Rebinding com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl
>
> Rebinding com.google.gwt.user.client.impl.WindowImpl
>
> Rebinding biz.linguabox.client.services.UserWordService
>
> Rebinding biz.linguabox.client.services.TagService
>
> Rebinding com.google.gwt.user.client.ui.impl.TextBoxImpl
>
> Rebinding com.google.gwt.user.client.ui.impl.FocusImpl
>
> Rebinding com.google.gwt.i18n.client.impl.LocaleInfoImpl
>
> Rebinding com.google.gwt.i18n.client.impl.CldrImpl
>

-- 
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/-/qdyuPjUsojkJ.
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 Speed Advice

2012-02-26 Thread Killian
Hi Lads,

Just wanted to get an advice with respect to my gwt app running pretty 
slow. I'm not very good with respect to display issue so apologies in 
advance if this question sounds obvious.
In order to speed up the app I've followed instructions in the GWT website 
and used extensively code breaking. Although it did make some improvements 
it's still pretty slow.

When looking in to the development mode console, I can see a lot of 
rebinding is going on. Would that be a reason why it's running so slow or 
is it normal for a gwt to be doing so many rebindings?

Thanks in advance for your advice,

Killian

Console output extract:

Rebinding com.google.gwt.ajaxloader.client.AjaxKeyConstants

Rebinding com.google.gwt.event.shared.SimpleEventBus

Rebinding com.google.gwt.user.client.ui.UIObject.DebugIdImpl

Rebinding com.extjs.gxt.ui.client.image.XImages

Rebinding com.google.gwt.user.client.ui.impl.ClippedImageImpl

Rebinding com.extjs.gxt.ui.client.messages.XMessages

Rebinding com.google.gwt.user.client.impl.DOMImpl

Rebinding com.google.gwt.dom.client.DOMImpl

Rebinding com.extjs.gxt.ui.client.core.impl.ComputedStyleImpl

Rebinding com.google.gwt.user.client.impl.WindowImpl

Rebinding biz.linguabox.client.services.UserWordService

Rebinding biz.linguabox.client.services.TagService

Rebinding com.google.gwt.user.client.ui.impl.TextBoxImpl

Rebinding com.google.gwt.user.client.ui.impl.FocusImpl

Rebinding com.google.gwt.i18n.client.impl.LocaleInfoImpl

Rebinding com.google.gwt.i18n.client.impl.CldrImpl

-- 
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/-/8XKBy-B5uqgJ.
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: slow passing json back

2012-02-26 Thread Joseph Lust
bhomass,

Were you in Dev Mode? In Dev Mode, simple deserialization activities
can take far longer than you'd expect because it must keep running
back to the emulated javascript in the Eclipse JVM and back to the
browser. Usually these activities will run far faster in production
mode. For example, I had to deserialize about 20k objects that came
back in a 110KB RPC. In Dev Mode it took about 30s, in Prod Mode it
took 100ms.

As a solution, we use Spring4GWT's mock service option, so that in
Production Mode RPCs run to our actual Tomcat/Java backend code, but
in Dev Mode they hit a mock version of the same service. This way, we
return 1 month of mock data if running in Dev Mode and the whole 5
years (20K objects) from the actual DB if running in Prod Mode. This
way we still get our dev work done quickly and the app still runs
correctly in production.

I hope that helps.

Sincerely,
Joseph


On Feb 24, 10:11 pm, bhomass  wrote:
> I have been carefully studying my code to see what is taking so long
> to load a page. It turns out it took 4.5 secs to pass back 19k
> characters (in javascript) using the gwt rpc.
>
> Is this considered an enormous amount of javascript code? anything I
> can do to speed up the transmission?

-- 
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: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-26 Thread colin
Ok. I got it wrong to begin with.  The first parameter of setData is
format which is mime-type according to API, not a key.  I should have
pay more attention to API before use 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: GWT RPC not working behind Apache and Tomcat

2012-02-26 Thread Lukasz Plotnicki
Hi,

our GWT App is running in this particular setting without any problems. 
Apache forwards anything with **/OurApp* to tomcat via *AJP* protocol 
(apache tomcat AJP connector).

Are you also using AJP or mod_rewrite?

Cheers,
Lukasz

Am Samstag, 25. Februar 2012 18:25:24 UTC+1 schrieb mukarev:
>
> Hi folks, 
>
> I'try to serve two gwt webapps via one apache from one tomcat with JK 
> and I'm always running in the same error. Apache sends a 404 and tells 
> me that it's not able to find the servlet if I try to communcate via 
> RPC. 
>
> I have two virtual hosts pointing at the directories within tomcat 
> webapps. The webapps are running successfully as long as I don't try 
> to communicate via RPC. It seems that Apache isn't able to resolve the 
> requested service. 
>
> Need help, I'm sitting here around hopeless. 
>
> Thanks! 
>
> Markus


Am Samstag, 25. Februar 2012 18:25:24 UTC+1 schrieb mukarev:
>
> Hi folks, 
>
> I'try to serve two gwt webapps via one apache from one tomcat with JK 
> and I'm always running in the same error. Apache sends a 404 and tells 
> me that it's not able to find the servlet if I try to communcate via 
> RPC. 
>
> I have two virtual hosts pointing at the directories within tomcat 
> webapps. The webapps are running successfully as long as I don't try 
> to communicate via RPC. It seems that Apache isn't able to resolve the 
> requested service. 
>
> Need help, I'm sitting here around hopeless. 
>
> Thanks! 
>
> Markus

-- 
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/-/eCkROdNRkFsJ.
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: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-26 Thread colin
Sorry it must be setData("text", {your data}).

On Feb 26, 9:29 am, colin  wrote:
> It turns out you can only pass data (string) throughsetData("id",
> {your string data}).  Any other key values will not work.

-- 
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: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-26 Thread colin
It turns out you can only pass data (string) through setData("id",
{your string data}).  Any other key values will not work.

-- 
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: Cannot run debug mode in client code

2012-02-26 Thread Alan Chaney

On 2/25/2012 10:08 PM, tong123123 wrote:

Really strange, I try to simulate the problem in home pc (I am not in
office), my debug configuraiton arguments is
-startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI "$
{gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -
codeServerPort 9997 -war C:\workspace\workspace1\DesignerFirstTrial
\war com.mycompany.project.GWTDesignerFirstTrial

try
-startupUrl http://127.0.0.1:7001/DesignerFirstTrial/

but when I run, in eclipse development mode tab, the url shown is
http://127.0.0.1:/127.0.0.1:7001/DesignerFirstTrial/?gwt.codesvr=127.0.0.1:9997

HTH

Alan

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



video recorder widget

2012-02-26 Thread yashujn
Hi All,


I want to create video recorder widget in my gwt application , i hv
webex video recorder but i dnt Know how to use this recorder in my
application...


i mean which database is best to use and how to create this
application like is thier any api is availble to create video recorder
application(by this user can able to record their windows activityand
upload it)...

I am using tomcar server 

plz guide me how to start .???

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