Re: Custom cell in CellTable with TextCell and SelectionCell

2013-08-09 Thread Andrea Boscolo
A quick view reveals you haven't consumed the desired events in the cell's 
constructor. Something like:

public CustomStatusCell() {
  super("click", "keydown"); // And so on.
  // ...
}


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




PropertyAcess : Define condition values for label in PropertyAcess

2013-08-09 Thread Chulbul Pandey


I have a model called Field which has id and label.

I have defined PropertyAcess as below and it works. I would like to change 
it in such a way that I can show label based on condition ie if 
field.getLabel() is null, use field.getId() as label else use 
field.getLabel() as label. How can I acheieve that

interface FieldProperties extends PropertyAccess {
  ModelKeyProvider id();

  LabelProvider label();

  @Path("label")
  ValueProvider labelProp(); 
}

Thanks

-- 
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 and Client-side rules engine

2013-08-09 Thread asif . tmcp
Hi,

The architecture and requirement is as follows

1>. The application has an extensive domain model and significant amount of 
business logic
2>. At runtime, the user populates data in the domain model.
3>. "The rules engine" evaluates the data and takes various actions 
including
  a>. Change subsequent data entry forms and data entry process 
flows
  b>. Pops up ui errors.

Since, I don't want to undergo the cost of server roundtrip for each 
evaluation, I am looking for a good architecture or pre-built client side 
rules engine.

In the threads, I came across 
1>. Jess
2>. MVEL
3>. Tohu 
4>. Metawidget

A brief browse, and I have a feeling that MVEL would be the way to go. Tohu 
is kind of ruled out for the same reason that I steered clear of 
Drools/jBPM.

Any expert ideas? Anybody else has attempted anything similar - would love 
to get their view.

Regards

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




Generics, JSNI and Integer problem

2013-08-09 Thread stole
I have declared the following class:

public class JsniTest {
private Map map;

public JsniTest(Map map) {
this.map = map;
}

public String get(T rowKey) {
return map.get(rowKey);
}
}
 
and the following "main" class:

public class TheApp implements EntryPoint {

  public void onModuleLoad() {
final Map map = new HashMap();
map.put(0, "test");
final JsniTest test = new JsniTest(map);
final String result = testJsni(test, 0);
l.info("testJsni:" + result);
  }

  public native String testJsni(JsniTest x, int key) /*-{
  return x...@com.test.client.JsniTest::get(Ljava/lang/Object;)(key);
  }-*/;
}

When I run this code on Gwt 2.5.1 in debug mode I get the following 
exception:
SEVERE: invoke arguments: JS value of type number, expected java.lang.Object
java.lang.IllegalArgumentException: invoke arguments: JS value of type 
number, expected java.lang.Object
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178)
at 
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65)
at 
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at 
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)

Is it possible to invoke the get method of JsniTest and receive the proper 
result? What are my options? The JsniTest class is just a replacement for 
the real class I need to use, over which I have no control as it is a third 
party library class. I could possibly wrap it with a wrapper class that 
would work for any T. I have full control over TheApp class and the 
testJsni method. Thanks for your help.

-- 
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: TypeError: $doc.body.attachEvent is not a function

2013-08-09 Thread SaiP
Any idea on how to fix this type of issue? obviously, i'm trying to re 
install the GWT plugin into my RAD. Or may be the Ant did not do well. 

On Thursday, August 8, 2013 11:07:47 AM UTC-5, Jens wrote:
>
> 'attachEvent' is Internet Explorer specific and is used in 
> com.google.gwt.user.client.impl.DomImplTrident.java. 
>
> If Firefox executes it then GWT thinks your FireFox browser is Internet 
> Explorer (check the user agent string of your FireFox browser) or you use a 
> GWT library that has messed up deferred binding rules found in 
> com.google.gwt.user.DOM.gwt.xml.
>
> -- 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: gwt navigation with 3rd party app in iframe

2013-08-09 Thread Lance Frohman
Thank you.

On Thursday, August 8, 2013 1:05:12 PM UTC-7, Jens wrote:
>
> You need to cache the activity that displays the 3rd party app so it does 
> not get recreated in your ActivityMapper each time you navigate inside the 
> 3rd party app. So your URLs should look like
>
> /#ThirdPartyAppPlace:app=page1
> /#ThirdPartyAppPlace:app=page2¶m=x
> /#ThirdPartyAppPlace:app=page3
>
> and for each URL the same activity instance should be returned. You could 
> either code this caching into your AppActivityMapper directly or use GWT's 
> CachingActivityMapper together with GWT's FilteredActivityMapper to keep 
> your AppActivityMapper clean. If you choose to use GWT's ActivityMappers 
> you must implement hashcode/equals for your place because 
> CachingActivityMapper uses currentPlace.equals(newPlace) to determine if 
> the cached activity can be returned.
>
> At the end you will have something like new FilteredActivityMapper(filter, 
> new CachingActivityMapper(new AppActivityMapper()); where "filter" 
> transforms all your ThirdPartyAppPlaces to an empty ThirdPartyAppPlace so 
> that CachingActivityMapper always sees equal places. Whenever the 
> CachingActivityMapper sees different places, it will ask your 
> AppActivityMapper for the new activity.
>
> -- 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: (RequestFactory) ValueBoxEditor.class : peer.setValue asking for a cast to String ?

2013-08-09 Thread aurelie . virgile
All project (hbm.xml domain and so on ) was modified for short to an 
integer.
 
Everything is going fine now except value is not inserted into Postgre 
database.
Dunno if this is due to the persist method or the fact that i try to insert 
an integer into a short field in postgre.
Will investigate on it. 

Le vendredi 9 août 2013 08:36:44 UTC+2, aurelie...@gmail.com a écrit :

> Thanks for replying. Indeed i tried to use an integerBox.
> Value appears now but i had to modify a couple of things. 
>  
>
> 1. in proxy, 
>  
>
>> Integer getConfirm();
>
> Still have this
>
> void setConfirm(Short confirm);
>
>   
>  
> 2. in domain class, confirm is still a short but to match the proxy, i had 
> to modify the following
>
> public Integer getConfirm() {
>
>   return (int)confirm;
>
>  }
>
>  
> still have the following setter
>  
>
>  
>>  public void setConfirm(Short s) {
>>   this.confirm = s;
>>  } 
>>
>  
>  
> Everything appears to be ok except when onSave is called. 
>
>  @UiHandler("save")
>   void onSave(ClickEvent event) {
> RequestContext context = editorDriver.flush();
> if (editorDriver.hasErrors()) {
>   dialog.setText("Errors detected locally");
>   return;
> }
> context.fire(new Receiver() {
>   @Override
>   public void onConstraintViolation(Set> 
> errors) {
> dialog.setText("Errors detected on the server");
> editorDriver.setConstraintViolations(errors);
>   }
>   @Override
>   public void onSuccess(Void response) {
> dialog.hide();
>   }
> });
>   }
>
>  
> iiuc driver is trying to match all fields but one is faulty, integer is a 
> not a short .
>  
> com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
>
> SEVERE: Unexpected error
>> java.lang.IllegalArgumentException: argument type mismatch
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>  at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:606)
>>  at 
>> com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.setProperty(ReflectiveServiceLayer.java:234)
>>  at 
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.setProperty(ServiceLayerDecorator.java:193)
>>  at 
>> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.setProperty(ServiceLayerDecorator.java:193)
>>  at 
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor$1.visitValueProperty(SimpleRequestProcessor.java:549)
>>  at 
>> com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(ProxyAutoBean.java:289)
>>  at 
>> com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.traverse(AbstractAutoBean.java:166)
>>  at 
>> com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.accept(AbstractAutoBean.java:101)
>>  at 
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processOperationMessages(SimpleRequestProcessor.java:524)
>>  at 
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:218)
>>  at 
>> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:135)
>>  at 
>> com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>>  at 
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>>  at 
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>  at 
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>  at 
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
>>  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>  at 
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>  at 
>> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
>>  at 
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>  at org.mortbay.jetty.Server.handle(Server.java:324)
>>  at 
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>>  at 
>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>>  at 
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>  at 
>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
>>
> How can i get rid of that ?
>  

GWT CssResource not propagating width:calc(x) property

2013-08-09 Thread Wayne Rasmuss
I have the following css entry that I'm accessing via a CSS resource

.form-input-line-cell {
position: absolute;
left: 8px;
top:3px;
bottom: 3px;
font-size: 32px;
text-indent: 8px;
border: solid #d3d3d3 1px;
border-radius: 3px;
color: black;
width: -webkit-calc(100% -16px);
width: calc(100% - 16px);
}

When I view a field using it in the dev tools in firefox, the width 
properties with calc are not present. I've verified that other changes I 
make are propagating as expected, so the build is working and I'm looking 
in the right place. Any ideas?

I 

-- 
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: GWT CssResource not propagating width:calc(x) property

2013-08-09 Thread Deanna Bonds
Try wrapping the calc() in a literal("calc(100% - 16px)" ) ;

the literal() works for anything the cssresource parser doesn't know about 
yet.

On Friday, August 9, 2013 1:13:33 PM UTC-4, Wayne Rasmuss wrote:
>
> I have the following css entry that I'm accessing via a CSS resource
>
> .form-input-line-cell {
> position: absolute;
> left: 8px;
> top:3px;
> bottom: 3px;
> font-size: 32px;
> text-indent: 8px;
> border: solid #d3d3d3 1px;
> border-radius: 3px;
> color: black;
> width: -webkit-calc(100% -16px);
> width: calc(100% - 16px);
> }
>
> When I view a field using it in the dev tools in firefox, the width 
> properties with calc are not present. I've verified that other changes I 
> make are propagating as expected, so the build is working and I'm looking 
> in the right place. Any ideas?
>
> I 
>

-- 
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: detect sop violation from gwt rpc client

2013-08-09 Thread deckrider
Thanks!

I see that my onResponseReceived() is called after sop violation.

However, I cannot see any response headers at all (I can see them when there is 
no sop violation).

Is it possible that Firebug can see them but GWT-RPC cannot?

-- 
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: Math Expression Evaluator for GWT.

2013-08-09 Thread salk31
Not just use JavaScript to evaluate an expression? If that is what you 
mean? e.g. what is "2 + 2"?

On Thursday, August 8, 2013 7:53:20 AM UTC+1, Mayank Singh wrote:
>
> Hi,
>  
> Can anybody let me know is there any Math expression evaluator available 
> for GWT. Because I have tried Java Evaluators but they throwing exceptions 
> as GWT will not covert all required java files to JavaScript. So, please 
> help me out with this problem. Help will be Appreciated.
>  
> Thanks & Regards
> Mayank Singh
>

-- 
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: GWT and Client-side rules engine

2013-08-09 Thread salk31
I've only heard of MVEL (an expression language) and metawidget (meta data 
driven UI). Do you really mean a rule engine like Drools? If so I can't 
imagine there is anything like that off the shelf. It is still quite exotic 
(if not that new) for the client side.

If you just want something like MVEL then why not just JavaScript 
scripting? Write the framework in GWT but script/rules in JavaScript?

On Friday, August 9, 2013 2:38:21 PM UTC+1, asif...@gmail.com wrote:
>
> Hi,
>
> The architecture and requirement is as follows
>
> 1>. The application has an extensive domain model and significant amount 
> of business logic
> 2>. At runtime, the user populates data in the domain model.
> 3>. "The rules engine" evaluates the data and takes various actions 
> including
>   a>. Change subsequent data entry forms and data entry process 
> flows
>   b>. Pops up ui errors.
>
> Since, I don't want to undergo the cost of server roundtrip for each 
> evaluation, I am looking for a good architecture or pre-built client side 
> rules engine.
>
> In the threads, I came across 
> 1>. Jess
> 2>. MVEL
> 3>. Tohu 
> 4>. Metawidget
>
> A brief browse, and I have a feeling that MVEL would be the way to go. 
> Tohu is kind of ruled out for the same reason that I steered clear of 
> Drools/jBPM.
>
> Any expert ideas? Anybody else has attempted anything similar - would love 
> to get their view.
>
> Regards
>

-- 
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: detect sop violation from gwt rpc client

2013-08-09 Thread Jens
Well I guess thats something you better ask the FireFox/Firebug guys.
>
> But I am somewhat not surprised that you can't see any headers. If you hit 
SOP you never talked to a server (excluding CORS for the moment) and thus 
you can't have response headers unless the browser generates them on its 
own.

Why do you actually need to detect SOP while submitting a server request? 
Normally everyone asks how to avoid violating SOP so I am just curious 
about what you are trying to do. 


-- 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: GWT and Client-side rules engine

2013-08-09 Thread asif . tmcp
I kind of wanted to have the rules stored as a business logic - albeit 
running on the client side. - So the rules themselves are editable by a 
super-group of users via an editor or atleast in form of xml. This 
requirement is something similar to drools.

The normal users enter data in some form of table - and the rules 
automatically run in the background to ensure data validity. The 
validations are not just data validation but also business logic validation 
- this requirement is a bit different from drools where the check runs only 
when the engine is fired/started. In my requirement the checks run 
continuously in the background - and popping errors whenever the entered 
data violates some business constraint. - this requirement is similar to 
having functions in M$ excel

Not sure if i am being too ambitious with the requirements - but any 
pointers is useful.



On Friday, August 9, 2013 3:49:17 PM UTC-4, salk31 wrote:
>
> I've only heard of MVEL (an expression language) and metawidget (meta data 
> driven UI). Do you really mean a rule engine like Drools? If so I can't 
> imagine there is anything like that off the shelf. It is still quite exotic 
> (if not that new) for the client side.
>
> If you just want something like MVEL then why not just JavaScript 
> scripting? Write the framework in GWT but script/rules in JavaScript?
>
> On Friday, August 9, 2013 2:38:21 PM UTC+1, asif...@gmail.com wrote:
>>
>> Hi,
>>
>> The architecture and requirement is as follows
>>
>> 1>. The application has an extensive domain model and significant amount 
>> of business logic
>> 2>. At runtime, the user populates data in the domain model.
>> 3>. "The rules engine" evaluates the data and takes various actions 
>> including
>>   a>. Change subsequent data entry forms and data entry process 
>> flows
>>   b>. Pops up ui errors.
>>
>> Since, I don't want to undergo the cost of server roundtrip for each 
>> evaluation, I am looking for a good architecture or pre-built client side 
>> rules engine.
>>
>> In the threads, I came across 
>> 1>. Jess
>> 2>. MVEL
>> 3>. Tohu 
>> 4>. Metawidget
>>
>> A brief browse, and I have a feeling that MVEL would be the way to go. 
>> Tohu is kind of ruled out for the same reason that I steered clear of 
>> Drools/jBPM.
>>
>> Any expert ideas? Anybody else has attempted anything similar - would 
>> love to get their view.
>>
>> Regards
>>
>

-- 
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: How to create SideBar in GWT

2013-08-09 Thread asif . tmcp

1>. JSNI - 
http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
2>. GWTQuery - http://code.google.com/p/gwtquery/
3>. Direct DOM manipulation - 
http://www.gwtproject.org/doc/latest/DevGuideUiDom.html ( this has 
interspread jsni calls)


On Friday, August 9, 2013 2:54:57 AM UTC-4, df wrote:
>
> Yes, I though about this. Thanks. Which Component in GWT I Should use?  
>
> W dniu czwartek, 8 sierpnia 2013 19:38:02 UTC+2 użytkownik df napisał:
>>
>> Hello
>> How I Can create a sidebar which shows after moving and hides after 
>> leaving?
>> Thanks
>>
>

-- 
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: detect sop violation from gwt rpc client

2013-08-09 Thread deckrider
Corporate gods impose CA Siteminder web agent for single sign on. We are 
required to treat it as a black box outside of our control.

When the user's session times out it causes Apache to do a 302 redirect which 
causes the sop violation when using GWT-RPC.

I would like to detect this so as to do a Window.Location.reload() which will 
cause the browser to load the login page since the browser will follow the 302 
redirect.

I don't want to take this action if it is not this specific problem because if 
the network or server was down, my client will reconnect and not loose its 
state.

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




com.google.gwt.dev.Compiler Wont Start when compiling large GWT project

2013-08-09 Thread melody
I have a fairly large GWT project with compile output Javascript of 3.5MB 
when it does compile. The project is not modularized and does not use 
RunAsync. As of Thursday 8/9/2013 my project was compiling just fine in all 
the development environments (as well as on build servers) for all my 
developers. But starting Friday (8/9/13) none of these environment will 
compile. The java sources compile just fine but the build just stops just 
as it tries to run the com.google.gwt.dev.Compiler. 

Some facts:
1. GWT Versions (I have projects that are on 2.3 and 2.5 and all wont 
compile any more)
2. There are no significant size changes from the day before when the 
projects compile fine without any problems
3. Compiles are not working for even for single browser (USER-AGENT) and 
single locale
4. Smaller GWT projects -- including new projects created just to test 
compiling; work just fine and compile OK
5. I have tried on both 64bit and 32bit platforms with RAM in excess of 
12GB on dev boxes
6. All dev environments and build servers are windows based 

Any ideas on what has changed and what I can do to make 
com.google.gwt.dev.Compiler fire again for these projects. 

I am most disturbed by the almost synchronized-like in which all dev 
environments stopped working on the same day with not as much as a change 
in a single line of code in some of the projects. 

Thanks in advance for your help. 





-- 
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: com.google.gwt.dev.Compiler Wont Start when compiling large GWT project

2013-08-09 Thread melody
Just to add one more fact. The projects run fine in dev mode. 

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