Re: Problem compiling GWT code with Java9

2018-01-02 Thread Dave Bradlee
FYI. Google released a GWT update in October 
(http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_2) that 
supposed includes fixes to allow it to work with Java9. We'll be trying 
that soon.

On Thursday, September 21, 2017 at 12:21:19 AM UTC-7, Thomas Broyer wrote:
>
> Fwiw, I confirm that HEAD-SNAPSHOT works with Java 9: 
> https://travis-ci.org/tbroyer/gwt-maven-plugin/jobs/277854932
>
> On Wednesday, September 20, 2017 at 10:06:51 AM UTC+2, Thomas Broyer wrote:
>>
>> There have been some changes [1,2] to make it (at least partially) work 
>> with a Java 9 VM; you can try HEAD-SNAPSHOT (from 
>> https://oss.sonatype.org/content/repositories/google-snapshots/) until 
>> we release 2.8.2 with the changes.
>>
>> [1] 
>> https://github.com/gwtproject/gwt/commit/87f27659af55d7d549521405ef10889e8dfe3f3a
>> [2] 
>> https://github.com/gwtproject/gwt/commit/5b7560c4bb6376e997981387e4f2feee1816e1dc
>>
>> On Wednesday, September 20, 2017 at 9:49:20 AM UTC+2, Pratik Parikh wrote:
>>>
>>> does anyone have an update on this sissu?  I am running into the same 
>>> problem, so an update would help.
>>>
>>> On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:

 Hi.

 I am currently very busy this week, but can try to schedule a push to 
 maven central this weekend (I have other people waiting on it to use 
 various other tools I dabble in as well).

 Please remind me if I don't post links back here by next Monday.

 Worst case scenario, I can just upload jars to github and push a gist 
 of the pom I used, with some instructions on how to set the system 
 properties to make it work.

 I used the IDE to handle vm args, as standard maven plugins are less 
 amenable to hacking / debugging (though I'm sure it must be possible, I 
 did 
 not have enough free time to get that far on it).

 I'll probably update to latest java 9 spec, since the module system has 
 undergone another iteration since I tried these hacks.

 Please keep in mind, however, that my fork has diverged from mainline 
 for quite a while, and does not undergo the same rigorous testing that you 
 might expect.
 In particular, if you start using any of the other features I've added 
 (reflection, arbitrary magic method injection), it can break incremental 
 recompilations.
 It's a known issue I'm avoiding looking at, since most of the 2.X stack 
 is going to go away, and I have to migrate all my magic into 
 apt-generators 
 to run as a pre-gwtc stage.

 While I might be able to help you get something that works as a proof 
 of concept, I would urge you to hold off on using it in production, as I 
 am 
 not (yet) ready to offer fulltime support.
 A couple colleagues and I are playing with the idea of offering 
 fulltime support and maintenance of 2.X around mid-September (barring a 
 funding miracle for our current money-source).

 So, please take this caveats to heart; I can probably get you up and 
 compiling, but this should all be viewed as experimental and 
 not-production 
 ready for a while yet.

>>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: jsitenterop: elemental status

2017-03-18 Thread Dave Puchyr
That is great news!  Thanks for the quick reply.

On Saturday, March 18, 2017 at 11:06:49 AM UTC+1, Thomas Broyer wrote:
>
>
>
> On Saturday, March 18, 2017 at 9:15:55 AM UTC+1, Dave Puchyr wrote:
>>
>> I think that you make excellent points and have a very relevant question. 
>>  I'm a big fan of GWT, but I have to ask the GWT powers that be: Is 
>> elemental2 like the vaporware that singularity turned out to be?
>>
>
> I don't have details (ETA, etc.) but I can assure you Elemental 2 is not 
> vaporware.
> There are legal issues on Google side before opensourcing things, and work 
> to make things "consumable" by us outside Google (they have their own build 
> tool and source organization so things need to be extracted and transformed 
> before they can be loaded to GitHub); but it's coming (I had discussions 
> with Googlers on how best to do it)
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: jsitenterop: elemental status

2017-03-18 Thread Dave Puchyr
I think that you make excellent points and have a very relevant question. 
 I'm a big fan of GWT, but I have to ask the GWT powers that be: Is 
elemental2 like the vaporware that singularity turned out to be?

Dave

On Monday, March 6, 2017 at 3:14:27 PM UTC+1, Vassilis Virvilis wrote:
>
> Hi,
>
> As someone who has spent some time writing bindings for jquery, d3, 
> datatables etc I believe that is not possible to create meaningful bindings 
> automatically. Furthermore I don't believe that javascript browser bindings 
> change so fast that need to be automated.
>
> I may be wrong of course.
>
> However all further work is hindered by the fact that elemental has not 
> been officially released.
>
> So what is the current status of elemental2?
>
> Thanks
>
> -- 
> Vassilis Virvilis
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Problem compiling GWT code with Java9

2017-02-15 Thread Dave Bradlee

Anyway, has anyone else tried to compile GWT code with Java9? Or any ideas 
how we might make the compiler happy?

Thanks!

-- Dave


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-31 Thread Dave Puchyr
It's a financial charting library that "aligns" the bars based on the 
opening time of the exchange.  By "aligns" I mean changes the timestamp.

On Saturday, December 31, 2016 at 3:52:02 PM UTC+1, Ignacio Baca 
Moreno-Torres wrote:
>
> Hehe I'm curious too. What obscure library was modifying your json, and 
> how?
>
> El sáb., 31 dic. 2016 13:37, Vassilis Virvilis <vas...@gmail.com 
> > escribió:
>
>> So why it did it in the one case but not in the other? Were you calling 
>> the third party js explicitly in the one case?
>>
>> On Sat, Dec 31, 2016 at 1:04 PM, Dave Puchyr <da...@avaritia.com 
>> > wrote:
>>
>>> After stepping through the compiled js I found that a third party 
>>> (obfuscated) js library manipulated the timestamps on me.  JsInterop is 
>>> fine. :)  Sorry for the noise.
>>>
>>>
>>> On Saturday, December 31, 2016 at 11:20:43 AM UTC+1, Dave Puchyr wrote:
>>>>
>>>> Even when I reduce the json input to
>>>>
>>>>
>>>> {"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"time":1451952000},{"time":1452038400},{"time":1452124800}],"callback":4,"metadata":{"noData":false},"t":1483179318,"t0":1452075258,"ticker":"STK:USD:PBA@NYSE"}
>>>>
>>>> the time properties are still 160740 in the JsInterop parsed 
>>>> object. Thanks for the suggestion, though.
>>>>
>>>> On Saturday, December 31, 2016 at 8:40:58 AM UTC+1, Paul Robinson wrote:
>>>>>
>>>>> Have you tried modifying/simplifying the JSON to see what your odd 
>>>>> behaviour is sensitive to?
>>>>>
>>>>> Paul 
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "GWT Users" 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-we...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Vassilis Virvilis
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" 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-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-31 Thread Dave Puchyr
The 3rd party code was being called implicitly when I fired the message on 
the event bus.

On Saturday, December 31, 2016 at 1:37:29 PM UTC+1, Vassilis Virvilis wrote:
>
> So why it did it in the one case but not in the other? Were you calling 
> the third party js explicitly in the one case?
>
> On Sat, Dec 31, 2016 at 1:04 PM, Dave Puchyr <da...@avaritia.com 
> > wrote:
>
>> After stepping through the compiled js I found that a third party 
>> (obfuscated) js library manipulated the timestamps on me.  JsInterop is 
>> fine. :)  Sorry for the noise.
>>
>>
>> On Saturday, December 31, 2016 at 11:20:43 AM UTC+1, Dave Puchyr wrote:
>>>
>>> Even when I reduce the json input to
>>>
>>>
>>> {"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"time":1451952000},{"time":1452038400},{"time":1452124800}],"callback":4,"metadata":{"noData":false},"t":1483179318,"t0":1452075258,"ticker":"STK:USD:PBA@NYSE"}
>>>
>>> the time properties are still 160740 in the JsInterop parsed 
>>> object. Thanks for the suggestion, though.
>>>
>>> On Saturday, December 31, 2016 at 8:40:58 AM UTC+1, Paul Robinson wrote:
>>>>
>>>> Have you tried modifying/simplifying the JSON to see what your odd 
>>>> behaviour is sensitive to?
>>>>
>>>> Paul 
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" 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-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Vassilis Virvilis
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-31 Thread Dave Puchyr
After stepping through the compiled js I found that a third party 
(obfuscated) js library manipulated the timestamps on me.  JsInterop is 
fine. :)  Sorry for the noise.

On Saturday, December 31, 2016 at 11:20:43 AM UTC+1, Dave Puchyr wrote:
>
> Even when I reduce the json input to
>
>
> {"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"time":1451952000},{"time":1452038400},{"time":1452124800}],"callback":4,"metadata":{"noData":false},"t":1483179318,"t0":1452075258,"ticker":"STK:USD:PBA@NYSE"}
>
> the time properties are still 160740 in the JsInterop parsed object. 
> Thanks for the suggestion, though.
>
> On Saturday, December 31, 2016 at 8:40:58 AM UTC+1, Paul Robinson wrote:
>>
>> Have you tried modifying/simplifying the JSON to see what your odd 
>> behaviour is sensitive to?
>>
>> Paul 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-31 Thread Dave Puchyr
Even when I reduce the json input to

{"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"time":1451952000},{"time":1452038400},{"time":1452124800}],"callback":4,"metadata":{"noData":false},"t":1483179318,"t0":1452075258,"ticker":"STK:USD:PBA@NYSE"}

the time properties are still 160740 in the JsInterop parsed object. 
Thanks for the suggestion, though.

On Saturday, December 31, 2016 at 8:40:58 AM UTC+1, Paul Robinson wrote:
>
> Have you tried modifying/simplifying the JSON to see what your odd 
> behaviour is sensitive to?
>
> Paul 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-30 Thread Dave Puchyr
Thanks

On Friday, December 30, 2016 at 12:12:56 AM UTC+1, Dave Puchyr wrote:
>
> Parsing the following JSON input and sending the resulting object to the 
> console yields the expected results for a JSNI JSON.parse() but yields 
> incorrect timestamps using a JsInterop JSON.parse() (with correct results 
> for all other properties).  I'm completely at a loss as to why.  Any 
> suggestions?
>
> Input:
>
>
> {"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"close":21.76,"high":21.84,"low":21.38,"open":21.41,"time":145152,"volume":3067},{"close":21.56,"high":21.63,"low":21.14,"open":21.37,"time":1451865600,"volume":2565},{"close":21.49,"high":21.57,"low":21.26,"open":21.5,"time":1451952000,"volume":2303}],"callback":4,"metadata":{"noData":false},"t":1482867635,"t0":1451763575,"ticker":"STK:USD:PBA@NYSE"}
>
> JSNI JSON parser:
>
> native static Object parse( String json ) /*-{ return $wnd.JSON.parse( 
> json ); }-*/;
>
> JsInterop JSON parser:
>
> @JsType( isNative = true, namespace = GLOBAL, name = "JSON" )
> abstract public class JSON {
>native static public  T parse( String json );
> }
>
>
> @JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "Object" )
> public class Message {
>public int callback; // HARD-CODED in conjunction with 
> Service::CALLBACK
> }
>
>
> // json from WebSocket
> Window.console.info( parse( json ) );
> Message message = JSON.parse( json );
> Window.console.debug( message );
>
>
> console.info:
>
>1. Object
>  1. Contract:"STK:USD:PBA@NYSE"
>  2. action:"onHistoricalData"
>  3. bar:"D"
>  4. bars:Array[3]
> 1. 0:Object
>1. close:21.76
>2. high:21.84
>3. low:21.38
>4. open:21.41
>5. time:145152
>6. volume:3067
>7. __proto__:Object
> 2. 1:Object
>1. close:21.56
>2. high:21.63
>3. low:21.14
>4. open:21.37
>5. time:1451865600
>6. volume:2565
>7. __proto__:Object
> 3. 2:Object
>1. close:21.49
>2. high:21.57
>3. low:21.26
>4. open:21.5
>5. time:1451952000
>6. volume:2303
>7. __proto__:Object
> 4. length:3
> 5. __proto__:Array[0]
>  5. callback:4
>  6. metadata:Object
> 1. noData:false
> 2. __proto__:Object
>  7. t:1482867635
>  8. t0:1451763575
>  9. ticker:"STK:USD:PBA@NYSE"
>  10. __proto__:Object
>   
>
> console.debug:
>
>1. 
>   1. Object
>  1. Contract:"STK:USD:PBA@NYSE"
>  2. action:"onHistoricalData"
>  3. bar:"D"
>  4. bars:Array[3]
> 1. 0:Object
>1. close:21.76
>2. high:21.84
>3. low:21.38
>4. open:21.41
>5. time:160740
>6. volume:3067
>7. __proto__:Object
> 2. 1:Object
>1. close:21.56
>2. high:21.63
>3. low:21.14
>4. open:21.37
>5. time:160740
>6. volume:2565
>7. __proto__:Object
> 3. 2:Object
>1. close:21.49
>2. high:21.57
>3. low:21.26
>4. open:21.5
>5. time:160740
>6. volume:2303
>7. __proto__:Object
> 4. length:3
> 5. __proto__:Array[0]
>  5. callback:4
>  6. metadata:Object
> 1. noData:false
> 2. __proto__:Object
>  7. t:1482867635
>  8. t0:1451763575
>  9. ticker:"STK:USD:PBA@NYSE"
>  10. __proto__:Object
>   
>
> I tested the code in Chrome, Edge, and Safari and each yielded the same 
> results.  Any suggestion as to where things are going awry will be greatly 
> appreciated.
>
> Dave
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-30 Thread Dave Puchyr
Thanks a lot for taking a look.  Indeed, like you, when I created a simple 
test case I couldn't reproduce the error.  However, I can assure you that 
the problem is not with the server since I'm parsing the same json string 
on the client side with both JSNI and JsInterop and getting the incorrect 
result from JsInterop.  Can I do anything more than setting the GWT compile 
output style to DETAILED to investigate further?

On Friday, December 30, 2016 at 4:58:27 PM UTC+1, Jens wrote:
>
> Just tried it and both JSNI and JsInterop work as expected. Given that in 
> your broken example all timestamps are the same, I guess your server or 
> some other code has a bug and it only accidentally occurred while you were 
> testing JsInterop.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-29 Thread Dave Puchyr
Parsing the following JSON input and sending the resulting object to the 
console yields the expected results for a JSNI JSON.parse() but yields 
incorrect timestamps using a JsInterop JSON.parse() (with correct results 
for all other properties).  I'm completely at a loss as to why.  Any 
suggestions?

Input:

{"Contract":"STK:USD:PBA@NYSE","action":"onHistoricalData","bar":"D","bars":[{"close":21.76,"high":21.84,"low":21.38,"open":21.41,"time":145152,"volume":3067},{"close":21.56,"high":21.63,"low":21.14,"open":21.37,"time":1451865600,"volume":2565},{"close":21.49,"high":21.57,"low":21.26,"open":21.5,"time":1451952000,"volume":2303}],"callback":4,"metadata":{"noData":false},"t":1482867635,"t0":1451763575,"ticker":"STK:USD:PBA@NYSE"}

JSNI JSON parser:

native static Object parse( String json ) /*-{ return $wnd.JSON.parse( json 
); }-*/;

JsInterop JSON parser:

@JsType( isNative = true, namespace = GLOBAL, name = "JSON" )
abstract public class JSON {
   native static public  T parse( String json );
}


@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "Object" )
public class Message {
   public int callback; // HARD-CODED in conjunction with Service::CALLBACK
}


// json from WebSocket
Window.console.info( parse( json ) );
Message message = JSON.parse( json );
Window.console.debug( message );


console.info:

   1. Object
 1. Contract:"STK:USD:PBA@NYSE"
 2. action:"onHistoricalData"
 3. bar:"D"
 4. bars:Array[3]
1. 0:Object
   1. close:21.76
   2. high:21.84
   3. low:21.38
   4. open:21.41
   5. time:145152
   6. volume:3067
   7. __proto__:Object
2. 1:Object
   1. close:21.56
   2. high:21.63
   3. low:21.14
   4. open:21.37
   5. time:1451865600
   6. volume:2565
   7. __proto__:Object
3. 2:Object
   1. close:21.49
   2. high:21.57
   3. low:21.26
   4. open:21.5
   5. time:1451952000
   6. volume:2303
   7. __proto__:Object
4. length:3
5. __proto__:Array[0]
 5. callback:4
 6. metadata:Object
1. noData:false
2. __proto__:Object
 7. t:1482867635
 8. t0:1451763575
 9. ticker:"STK:USD:PBA@NYSE"
 10. __proto__:Object
  

console.debug:

   1. 
  1. Object
 1. Contract:"STK:USD:PBA@NYSE"
 2. action:"onHistoricalData"
 3. bar:"D"
 4. bars:Array[3]
1. 0:Object
   1. close:21.76
   2. high:21.84
   3. low:21.38
   4. open:21.41
   5. time:160740
   6. volume:3067
   7. __proto__:Object
2. 1:Object
   1. close:21.56
   2. high:21.63
   3. low:21.14
   4. open:21.37
   5. time:160740
   6. volume:2565
   7. __proto__:Object
3. 2:Object
   1. close:21.49
   2. high:21.57
   3. low:21.26
   4. open:21.5
   5. time:160740
   6. volume:2303
   7. __proto__:Object
4. length:3
5. __proto__:Array[0]
 5. callback:4
 6. metadata:Object
1. noData:false
2. __proto__:Object
 7. t:1482867635
 8. t0:1451763575
 9. ticker:"STK:USD:PBA@NYSE"
 10. __proto__:Object
  

I tested the code in Chrome, Edge, and Safari and each yielded the same 
results.  Any suggestion as to where things are going awry will be greatly 
appreciated.

Dave

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 compile warnings

2016-12-08 Thread Dave Kichler
The GWT 8 gwt-user jar (com.google.gwt:gwt-user:2.8.0) has a dependency on 
jsinterop 1.0.1.  The problem is Ivy fails to properly download that 
transitive dependency (grabs only the sources).  By adding an explicit 
dependency on jsinterop, and telling Ivy explicitly to download both 
binaries and sources and everything is good to go.  The explicit dependency 
looks like this:


  
  


Hope that helps sort you out.

On Thursday, 8 December 2016 09:18:44 UTC-8, Stik wrote:
>
> Hi Dave, how did you resolve this?  I'm not deeply familiar with Ivy, so 
> feeling a bit out of my depth.  Adding an explicit dependency on jsinterop 
> to my ivy.xml file seems to have no effect at my end, so long as gwt-user 
> is in there too it overrides my classifier :\  If i take gwt-user out then 
> it starts downloading the non-source jar too. 
>
> On Monday, November 28, 2016 at 1:23:23 AM UTC, Dave Kichler wrote:
>>
>> Eventually figured out that the GWT jars downloaded from Google have the 
>> jsinterop annotations bundled within the gwt-user.jar, which are the ones 
>> referenced by Eclipse and the ones I checked for them.  The GWT jars 
>> provided by Maven central, and which my Ant/Ivy build were referencing, do 
>> not have the jsinterop package bundled in, and instead reference it as a 
>> transitive dependency that Ivy was failing to resolve properly (resolving 
>> only sources rather than compiled jar).  An explicit dependency giving Ivy 
>> the proper classifiers on jsinterop sorted things out.  Trying the same 
>> with Maven or Gradle resolves everything just fine without the explicit 
>> reference.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 compile warnings

2016-11-27 Thread Dave Kichler
Eventually figured out that the GWT jars downloaded from Google have the 
jsinterop annotations bundled within the gwt-user.jar, which are the ones 
referenced by Eclipse and the ones I checked for them.  The GWT jars 
provided by Maven central, and which my Ant/Ivy build were referencing, do 
not have the jsinterop package bundled in, and instead reference it as a 
transitive dependency that Ivy was failing to resolve properly (resolving 
only sources rather than compiled jar).  An explicit dependency giving Ivy 
the proper classifiers on jsinterop sorted things out.  Trying the same 
with Maven or Gradle resolves everything just fine without the explicit 
reference.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 compile warnings

2016-11-25 Thread Dave Kichler
Scoured my classpath for any conflicting dependencies and found none.  Also 
cleared out my gwt-unitCache but no to avail - the warnings still remain.  

On Wednesday, 23 November 2016 13:13:23 UTC-8, Jens wrote:
>
> Double check your classpath. Especially if you use gradle/maven make sure 
> you really have only a single GWT version on classpath. Also try deleting 
> your gwt-unitCache. 
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.0 compile warnings

2016-11-23 Thread Dave Kichler
I recently upgraded my GWT app to depend on 2.8.0 and had my compile phase 
immediately flooded with GWT compile warnings.  Under previous versions, 
there were no warnings at all.  I've done some Googling but haven't found a 
solution to this particular issue.  Some other similar issues surrounding 
other third party annotations have suggested solutions of ensuring the 
compile annotations are on the GWT compile classpath.  In this case, the 
compiled annotations are present in the gwt-user and gwt-servlet jars, both 
of which I have included on the compile classpath.  The warnings look like: 

Compiling module books.app.BooksApp
 [java]Resolving books.app.common.BaseBooksApp
 [java]   Found type 'books.app.common.BaseBooksApp'
 [java]  Found type 'java.lang.Object'
 [java] Resolving method getClass
 [java]Found type 'java.lang.Class'
 [java]   Resolving method createForClass
 [java]  Found type 'java.lang.String'
 [java] Resolving method getFromCharCodeFunction
 [java][WARN] Ignoring unresolvable 
annotation type jsinterop.annotations.JsProperty
 [java] Resolving method $isInstance
 [java][WARN] Ignoring unresolvable 
annotation type jsinterop.annotations.JsMethod
 [java]  Resolving method isWelcomePageApplicable
 [java] Found type 'java.lang.Long'
 [java]Found type 'java.lang.Number'
 [java]   Resolving method $isInstance
 [java]  [WARN] Ignoring unresolvable annotation 
type jsinterop.annotations.JsMethod
 [java] Found type 'java.lang.Boolean'
 [java]Resolving method $isInstance
 [java]   [WARN] Ignoring unresolvable annotation type 
jsinterop.annotations.JsMethod

Has anyone experienced similar warnings, and more importantly, is there any 
known solution to preventing them?

Any insight would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Will Google release Javascript compression tool?

2015-08-20 Thread Dave Brown
I got tired of the lack of tools to compress and obfuscate, so I have tried 
to tackle the issue.

www.whak.ca is a bunch of obfuscators I made.

www.scriptcompress.com will minify and use real compression (LZMA, ZIP, 
gzip, bzip, etc) that extracts VIA web browser client side 
inline/offline/online

On Thursday, May 18, 2006 at 10:22:39 PM UTC-4, markm wrote:

 There doesn't seem to be a good javascript compressor/obfuscator
 available that doesn't break code. Google must have an in-house tool
 they've used on Maps etc.

 Do they have any plans to provide this to the general public?

 Having said that, I'm of two minds as to whether this is a good idea. I
 think we've all benefited at some point from the unobfuscated code of
 others and reverse engineering is such a bore. 

 Thanks.

 Mark Maunder.



-- 
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/d/optout.


Re: CellTable Memory Leak in IE8

2015-08-13 Thread Dave Chapman
Hi Harvard,

Thanks for the update, I did think it was lucky my quick hack worked, but
glad I could help (in a small way!).

Cheers,
Dave

On 13 August 2015 at 04:29, Harvard Pan harvard...@gmail.com wrote:

 Turns out that my test program no longer leaked because the rows in the
 test program's CellTable were no longer being replaced. After I changed the
 test program to output different data for each iteration, it became clear
 that the rows in the table just never changed. I tracked down the problem
 to setting the innerHTML for each row before the call to
 tableElement.replaceChild(newSection, section). Once I moved the setting of
 innerHTML to null to after this call, the table updates properly, but the
 leak still remains.

 Upon further testing, the memory leak seems to be largely from the
 replaceChild call. I guess if the entire TableSection is replaced in the
 DOM, IE8 doesn't properly clean this up, even if you set the innerHTML to
 null for the individual rows. I changed the implementation of
 replaceTableSection so that it ends up calling replaceAllRowsImplLegacy
 (which replaces one row at a time) and this yielded the correct result of
 updating the table while also not leaking memory.

 Here's the final code that I ended up with in ImplTrident:
 // GWT Issue #9164 - https://github.com/gwtproject/gwt/issues/9164
 // Discussion thread:
 https://groups.google.com/forum/#!topic/google-web-toolkit/lNOKG2dgAzs
 private native final void setRowInnerHtmlToNull(TableRowElement row)
 /*-{
   row.innerHTML = null;
 }-*/;

 /**
  * This method is used for legacy AbstractCellTable that's not a
  * {@link TableSectionChangeHandler}.
  */
 protected void replaceAllRowsImplLegacy(AbstractCellTable? table,
 TableSectionElement section,
 SafeHtml html) {
   // Remove all children.
   Element child = section.getFirstChildElement();
   while (child != null) {
 Element next = child.getNextSiblingElement();
 section.removeChild(child);
 // GWT Issue #9164 - https://github.com/gwtproject/gwt/issues/9164
 // Discussion thread:
 https://groups.google.com/forum/#!topic/google-web-toolkit/lNOKG2dgAzs
 if (TableRowElement.is(child)) {
 setRowInnerHtmlToNull(TableRowElement.as(child));
 }
 child = next;
   }

   // Add new child elements.
   TableSectionElement newSection = convertToSectionElement(table,
 section.getTagName(), html);
   child = newSection.getFirstChildElement();
   while (child != null) {
 Element next = child.getNextSiblingElement();
 section.appendChild(child);
 child = next;
   }
 }

 /**
  * Render html into a table section. This is achieved by first setting
 the html in a DIV
  * element, and then swap the table section with the corresponding
 element in the DIV. This
  * method is used in IE since the normal optimizations are not
 feasible.
  *
  * @param table the {@link AbstractCellTable}
  * @param section the {@link TableSectionElement} to replace
  * @param html the html of a table section element containing the rows
  */
 private void replaceTableSection(AbstractCellTable? table,
 TableSectionElement section,
 SafeHtml html) {
   String sectionName = section.getTagName().toLowerCase();
   replaceAllRowsImplLegacy(table, section, html);
   if (tbody.equals(sectionName)) {
 ((TableSectionChangeHandler) table).onTableBodyChange(section);
   } else if (thead.equals(sectionName)) {
 ((TableSectionChangeHandler) table).onTableHeadChange(section);
   } else if (tfoot.equals(sectionName)) {
 ((TableSectionChangeHandler) table).onTableFootChange(section);
   }
 }

 Again, many thanks for all your help. We couldn't have solved this
 otherwise.

 Harvard


 On Wed, Aug 5, 2015 at 9:07 AM, DaveC david.andrew.chap...@gmail.com
 wrote:

 No worries, glad it worked! ;)

 I've not personally committed any code to the core gwt project but you
 can find out more here
 http://www.gwtproject.org/makinggwtbetter.html#contributingcode

 Bear in mind that GWT 3.0 is going to be a very different animal (for
 instance, from what I understand there will be no widgets or gwt-rpc...),
 so perhaps there isn't such a need to get these things fixed... I might be
 wrong though.

 Cheers,
 Dave


 On Wednesday, 5 August 2015 13:24:27 UTC+1, Harvard Pan wrote:

 Dave,

 Thank you SO much for this. I tested this using my test project and it
 seems to have solved the memory leak completely! I've attached my version
 of the file (modified from 2.5.1-rc1 branch) with your changes.

 What's the best way to get this fix to the GWT code base so that future
 versions of GWT will have this fix as well? I'd previously logged Issue
 #9164 (https://github.com/gwtproject/gwt/issues/9164) on the gwtproject
 page.

 Thanks again!
 Harvard

 On Tuesday, August 4

GWT-RPC: hacked attempt on request payload.

2015-07-22 Thread Dave Y
Hi,

My test team try to hack on the system, they found out that GWT-RPC call 
returned a sensitive information  (class name as highlighted in blue as 
below) in response format //EX message. I'm amazed that I can't find any 
postings on this issue.

HTTP Request (Request payload):
*7|0|5|http://localhost:8080/Test_Web/|14B8AB60CF9C73722670313BAE18D294|abc|abc|abc|1|2|3|4|1|5|0|*


 HTTP Response:


 *//EX[2,1,[com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533,This
  
application is out of date, please click the refresh button on your 
browser. ( Blocked attempt to access*
*interface 'abc', which is not implemented by 
'com.testProject.client.customerClassService'; this is either 
misconfiguration or a hack attempt)],0,7]*



Specially the part that says either misconfiguration or a hack attempt. 
In my case is hack attempt as HTTP Response, because the exception states 
that *'abc' *is not implemented by 
* 'com.testProject.client.customerClassService'*.

Any ideas to hide the sensitive information (class name as highlighted in 
blue) in the error message as above ? I try with all browsers available it 
is not from the browser. 

Urgent. Any help will be appreciated.
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/d/optout.


Re: GWT 2.7.0 is here

2015-01-22 Thread Dave Dumaresq
Why isn't this available from the Eclipse update site (luna 
https://dl.google.com/eclipse/plugin/4.4)? For that matter I can't find 
2.6.1 there either.

Dave

On Thursday, 20 November 2014 02:59:06 UTC-8, Daniel Kurka wrote:

 Today we are excited to announce the GWT 2.7.0 release.  Thanks to 
 everyone who contributed to this release, especially our non-Google open 
 source contributors.

 One major feature of this release is a new super fast compilation path in 
 Super Dev mode that replaces the old dev mode.
 For a run-down of all changes since GWT 2.6.1, read the release notes 
 http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0.

 The release is available for download here 
 http://www.gwtproject.org/download.html or on maven central.

 If you find any issues with this release, please file a bug in our issue 
 tracker.

 Daniel,
 on behalf of the GWT team at Google



-- 
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/d/optout.


Is there way to compile GWT in production mode?

2013-11-19 Thread vikram dave
Hi,

I am trying to compile my GWT code in production mode using Maven. I set 
production mode true (as seen below) in my pom, but I still see Dev mode 
code in my JS files. I don't want any dev mode code in my production JS 
file. Is there a way to do this using Maven? Can I set some flag/ property 
in my pom or *.gwt.xml file? 

!-- Compile Using GWT --

plugin

groupIdorg.codehaus.mojo/groupId

artifactIdgwt-maven-plugin/artifactId

version2.5.1/version

executions

execution

goals

goalcompile/goal

/goals

configuration

productionModetrue/productionMode

classifierwar/classifier

warSourceDirectorysrc/main/webapp/
warSourceDirectory

webappDirectorywar/webappDirectory

module${Module Name}/module

extraJvmArgs${gwt.extraJvmArgs}/extraJvmArgs

/configuration

/execution

/executions

/plugin


I see that Ant lets you compile in production mode  by using following in 
build.xml file. Is there a way I can do this in maven? Or using Ant plugin 
in Maven? (If yes please share an example or point me to a good doc)

  target name=gwtc depends=javac description=GWT compile to 
JavaScript (production mode)

java failonerror=true fork=true 
classname=com.google.gwt.dev.Compiler

  classpath

pathelement location=src/

path refid=project.class.path/

pathelement location=../../validation-api-1.0.0.GA.jar /

pathelement location=../../validation-api-1.0.0.GA-sources.jar /

  /classpath

  !-- add jvmarg -Xss16M or similar if you see a StackOverflowError --

  jvmarg value=-Xmx256M/

  arg line=-war/

  arg value=war/

  !-- Additional arguments like -style PRETTY or -logLevel DEBUG --

  arg line=${gwt.args}/

  arg value=com.google.gwt.sample.hello.Hello/

/java

  /target



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


Is there a way to compile GWT code in production mode using maven.

2013-11-19 Thread vikram dave
Hi,

I am trying to compile the GWT code in Production mode so that I don't have 
any Dev mode code in my generated JavaScript file. I have a Production App 
that I build using Maven and am not able to compile the code in Production 
mode. I set production mode to be true for my gwt-maven-plugin in pom file, 
as follows. But, I still get hosted mode code generated. What can I do, to 
compile in Production mode using maven? Is there a flag/property I can set 
in my pom file or *.gwt.xml file or somewhere else?

!-- Compile Using GWT --

plugin

groupIdorg.codehaus.mojo/groupId

artifactIdgwt-maven-plugin/artifactId

version2.5.1/version

executions

execution

goals

goalcompile/goal

/goals

configuration

productionModetrue/productionMode

classifierwar/classifier

warSourceDirectorysrc/main/webapp/
warSourceDirectory

webappDirectorywar/webappDirectory

module${Module.name}/module

extraJvmArgs${gwt.extraJvmArgs}/extraJvmArgs

/configuration

/execution

/executions

/plugin


I see that in GWT example using Ant, you can compile in production. 
Following gets called in its build.xml file. Can I do similarly in maven? 
Is there an example to use Ant with Maven without changing the existing 
maven structure? 

  target name=gwtc depends=javac description=GWT compile to 
JavaScript (production mode)

java failonerror=true fork=true 
classname=com.google.gwt.dev.Compiler

  classpath

pathelement location=src/

path refid=project.class.path/

pathelement location=../../validation-api-1.0.0.GA.jar /

pathelement location=../../validation-api-1.0.0.GA-sources.jar /

  /classpath

  !-- add jvmarg -Xss16M or similar if you see a StackOverflowError --

  jvmarg value=-Xmx256M/

  arg line=-war/

  arg value=war/

  !-- Additional arguments like -style PRETTY or -logLevel DEBUG --

  arg line=${gwt.args}/

  arg value=com.google.gwt.sample.hello.Hello/

/java

  /target

-- 
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: EJB Statefull GWT Integration

2013-08-15 Thread Dave Laycock
Sure. You can use 
getThreadLocalRequest()http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/server/rpc/AbstractRemoteServiceServlet.html#getThreadLocalRequest%28%29in
 your RPC methods to get access to user's current HttpSession. You can 
keep a reference to the bean in the session.

This is an unusual pattern for GWT. Typically, the server is stateless.

On Tuesday, 13 August 2013 05:33:18 UTC-6, df wrote:

 Can I use statefull session bean with gwt rpc?



-- 
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: Drag and Drop to a RichTextArea / IFrame?

2013-06-04 Thread Dave
paranoiabla@... paranoiabla@... writes:

 
 
 I have the same problem. I can't drop into an iframe :( On Monday, August 
6, 2012 10:36:58 PM UTC+3, GWT Kid wrote:
 is there a solution for this ? How do we do drag and drop in 
richTextAreaOn Wed, Oct 26, 2011 at 9:55 AM, Derek derek...-
re5jqeeqqe8avxtiumw...@public.gmane.org wrote:I'm trying out some of the 
fun drag-and-drop stuff in GWT. My current
 attempt is to drag a file into a richtextarea, but nothing seems to be
 working correctly. It works fine if I use a FlowPanel or some other
 GWT widget, but not a RichTextArea despite it have an addDropHandler
 method.
 Anyone have any experience with this?
 My code in onModuleLoad:
 DropHandler drop = new DropHandler() {
          at Override
         public void onDrop(DropEvent event) {
                 event.preventDefault();
                 String data = event.getData(text);
                 GWT.log(text is +data+ and there are
 +numFiles(event.getDataTransfer())+ files);
         }
 };
 RichTextArea rt = new RichTextArea();
 rt.addDropHandler(drop); // never called even after drag-and-dropping
 a file on the rt
 RootPanel.get().add(rt);
 --
 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-we... at 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.
 
 
 
 
 
 
 


Did you find a solution?  I'm having the same problem.  I've tried it using 
JSNI too, it seems to get a few events then stops.  How did you solve this?

-Dave


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Anyone tried to compile an old GWT 1.x app, under 2.5? Don't bother...it's broken.

2013-02-22 Thread Dave
Ok, I finally figured it out. (sigh).

After putting the gwt-maps.jar somewhere (I put it into the gwt tree), then
add a line to build.xml like:
pathelement location=${gwt.sdk}/gwt-maps.jar/

Then, in your module's (project's) xml file, add an 'inherits' line like:
inherits name='com.google.gwt.maps.GoogleMaps'/

Then, ant should be able to get a functional compile.

[My 4-year-old project also does some xml-parsing, so in that case, you'd
also need an inherits line to get the XML-support module::]
  inherits name='com.google.gwt.xml.XML'/

Hope this helps someone else.

Cheers... 


 On Thursday, February 14, 2013 9:07:21 PM UTC-5, Dave wrote:

 Ok. I tried this.

 Use the new WebAppCreator, and create a work area for some 'SimpleMaps' 
 example.

 Run ant, and the generic generated code will compile.

 But, as soon as you take the example code from SimpleMaps and try to 
 compile that, the
 compile will fail.

 There's some mumbling about various tweaks, such
 as putting gwt-maps.jar into the GWT tree, or adding an 'inherits' as 
 shown at:
 http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted
 but none of that works.  (I tried with 1.1.1 and 1.0.4, etc)

 I'm just talking about getting a clean compile.  I can't.
 Not under Win-7.
 Not under Linux.

 Someone didn't do their homework (aka basic testing).

 So, what's my workaround, until this gets sorted???




-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Anyone tried to compile an old GWT 1.x app, under 2.5? Don't bother...it's broken.

2013-02-18 Thread Dave
Does this have something to do with the fact that these APIs are shown now 
as
'deprecated'?

Can ANYONE get their SimpleMaps example code to compile, under GWT 2.5?



On Thursday, February 14, 2013 9:07:21 PM UTC-5, Dave wrote:

 Ok. I tried this.

 Use the new WebAppCreator, and create a work area for some 'SimpleMaps' 
 example.

 Run ant, and the generic generated code will compile.

 But, as soon as you take the example code from SimpleMaps and try to 
 compile that, the
 compile will fail.

 There's some mumbling about various tweaks, such
 as putting gwt-maps.jar into the GWT tree, or adding an 'inherits' as 
 shown at:
 http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted
 but none of that works.  (I tried with 1.1.1 and 1.0.4, etc)

 I'm just talking about getting a clean compile.  I can't.
 Not under Win-7.
 Not under Linux.

 Someone didn't do their homework (aka basic testing).

 So, what's my workaround, until this gets sorted???




-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Anyone tried to compile an old GWT 1.x app, under 2.5? Don't bother...it's broken.

2013-02-14 Thread Dave
Ok. I tried this.

Use the new WebAppCreator, and create a work area for some 'SimpleMaps' 
example.

Run ant, and the generic generated code will compile.

But, as soon as you take the example code from SimpleMaps and try to 
compile that, the
compile will fail.

There's some mumbling about various tweaks, such
as putting gwt-maps.jar into the GWT tree, or adding an 'inherits' as shown 
at:
http://code.google.com/p/gwt-google-apis/wiki/MapsGettingStarted
but none of that works.  (I tried with 1.1.1 and 1.0.4, etc)

I'm just talking about getting a clean compile.  I can't.
Not under Win-7.
Not under Linux.

Someone didn't do their homework (aka basic testing).

So, what's my workaround, until this gets sorted???


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Future of GWT survey

2012-09-19 Thread Dave Laycock
I wish I could change my responses. I forgot about the single biggest 
improvement I would like to see on the long term roadmap: support for Java 
8 language features

On Wednesday, 19 September 2012 07:23:24 UTC-6, Joonas Lehtinen wrote:

 What is your opinion on the future of GWT?
 How should GWT develop?
 What technologies should it better support?
 ...

 We all would like to get answers to these questions, right? To do so, we 
 created survey with help of Ray Cromwell, Artur Signell, Mike Brock, David 
 Chandler, Daniel Kurka and Bhaskar Janakiraman.

 If you want to help finding the best direction for GWT, please fill the 
 survey at: http://bit.ly/GWT2012
 (it will take just 10 minutes)

 When the results are collected, the will share the information with you.

 - Joonas @ Vaadin


-- 
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/-/Zag4BS1n2O0J.
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: Clearing cache of fileupload widget.

2012-09-07 Thread Dave Williams
You can clear the selected files by setting the 'value' property to an 
empty string. (For a TYPE=FILE input control, you can only set the 
'value' property to an empty string - trying to set it to anything else 
will be treated as an error and will be ignored by the web browser. For 
more info see: 
http://www.w3.org/TR/2011/WD-html5-20110525/common-input-element-attributes.html#dom-input-value
 beneath 
the subheading 'filename'). 

Unfortunately, there is presently no method in the GWT FileUpload class to 
enable this to be done easily. However, the second line of code below will 
achieve the desired effect.

FileUpload myFileUploadControl=new FileUpload();
.
DOM.setElementProperty(myFileUploadControl.getElement(),value,);


On Thursday, 22 December 2011 00:59:36 UTC-5, Rahul Sharma wrote:

 Hi, 
 Can anyone help me out in clearing the contents of the fileupload 
 widget. 
 I mean for textbox we write textBox.setText() to clear the content 
 of it, is there anyway to clear the FIleupload also. 

 Thanks in Advance 
 rahul

-- 
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/-/IWTsS5WXjTIJ.
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: Window.open() opens as a popup

2012-06-26 Thread Vishal Dave

Hi,

Directly call of Window.open() works perfectly to avoid popup blocker, but 
I need to fetch URL with RPC call
 onClick of the same button and open a new window, if I set global variable 
to set URL and pass in Window.open() then it takes double click to open 
newWindow, how can I achieve all with a single click of button?

thanks,
Vishal Dave

On Tuesday, April 24, 2012 10:33:51 PM UTC+5:30, Jens wrote:

 You have to make sure that you directly call Window.open() in the 
 ClickHandler. Don't to it in a Timer, deferred command or similar inside 
 the ClickHandler. The Browser must recognize that Window.open() is directly 
 called because of a user action. It does not matter if its a Button or an 
 Anchor.
 Also don't do Window.open() somewhere deep in a sub function called inside 
 the ClickHandler.

 Something like the following will work:

 Button b = new Button(Test);
 b.addClickHandler(new ClickHandler() {
   void onClick(ClickEvent e) {
 Window.open(http://www.google.de;, _blank, );
   }
 });

 If you wrap Window.open() for example in a Timer it won't work anymore.

 -- J.


-- 
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/-/9OeX-E7HA6YJ.
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 Caching of files

2012-02-07 Thread Dave
Thomas, what do you mean by touch your no cache.js file?  I have
this Chrome caching issue not only when rolling back, but also when
deploying new version.  Is there a way to do this via ant or during
the GWT compile?  My ant compile looks like this.

target name=GWTCompiler depends=compile description=Run GWT
compiler
java fork=true classname=com.google.gwt.dev.Compiler
failonerror=true
jvmarg line=-Xmx512m/
classpath
pathelement location=${lib}/gwt-user.jar/
pathelement location=${lib}/gxt-2.2.5-gwt22.jar/
pathelement location=${external_lib}/gwt-2.4.0/gwt-
dev.jar/
path location=${src}/
path location=${gwt_home}fileset dir=$
{gwt_home} includes=*.jar//path
/classpath
arg value=-logLevel/
arg value=WARN/
arg value=-localWorkers/
arg value=4/
arg value=-war/
arg value=${gwt_compile_outputdir}/
arg value=-style/
arg value=Detailed/
arg
value=com.artisan.clientReporting.ClientReportingMatrix/
/java
/target

On Feb 6, 2:41 pm, Thomas Broyer t.bro...@gmail.com wrote:
 Your browser asks for the no cache.is with an If-Modified-Since header, so 
 once you get a fresher file you cannot get back an older one. You should 
 touch your no cache.js file so it has a later modification date.

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



Having trouble calling a function in a separate Javascript file in GWT

2012-01-11 Thread Dave
I'm trying to create an example app to demonstrate that GWT can use
existing Javascript functions, but so far I've been unable to get it
to work correctly.  I've named my project JS_Integration_Example and I
created it from the default Web Application Starter Project that is
provided when you create a new GWT project in eclipse.  I'd really
appreciate anyone who could point out what my problem is.  I've done
some Googling on this subject but so far haven't found any specific
examples showing exactly where to put the js file and what to add to
the gwt.xml file.

I've create a file named general.js that contains the following js
function

function helloWorld(){
return Hello World;
}


I call the function from JS_Integration_Example.java by using the
following JSNI method

/** Java Script Via JSNI */
public native String helloWorld2()/*-{
return $wnd.helloWorld();
 }-*/;


I placed general.js in a folder named scripts that is in the src
package and I added the following line to the
JS_Integration_Example.gwt.xml

module rename-to='js_integration_example'

  script src=scripts/general.js/script

 ...

When I try to run it I get the following warning  errors :
[WARN] 404 - GET /js_integration_example/scripts/general.js
(127.0.0.1) 1427 bytes
   Request headers
  Accept: */*
  Accept-Language: en-us
  User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM
8; .NET4.0C; .NET4.0E)
  Accept-Encoding: gzip, deflate
  Host: 127.0.0.1:
  Connection: Keep-Alive
  Referer: 
http://127.0.0.1:/JS_Integration_Example.html?gwt.codesvr=127.0.0.1:9997
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1427

09:45:26.536 [ERROR] [js_integration_example] Uncaught exception
escaped
com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full set in UmbrellaException#getCauses
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
129)
...

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



compiler.emulatedStack.recordLineNumbers

2011-11-17 Thread Dave
I'm attempting to record line numbers in my GWT client code.  I see
that the property compiler.emulatedStack.recordLineNumbers can be used
to accommodate this.  Thus in my gwt.xml class I have the following

...
set-property name=compiler.stackMode value=emulated /
set-property name=compiler.emulatedStack.recordLineNumbers
value=true /
...

When compiling I get the error

[ERROR] The specified property
'compiler.emulatedStack.recordLineNumbers' is not of the correct type;
found 'ConfigurationProperty' expecting 'BindingProperty'

regards,
Dave

-- 
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 Spring Interjection

2011-11-13 Thread Dave Potts


hi,

What is the best way of intergrating  a Gwt project with the spring
Framework?

I have seen several different attempts at doing this

gwt-spring-starter-app
orcades-gwt-spring
spring4gwt
gwtrpc-spring

The gwt application is going to be making simple Gwt Servlet requests and
will be expecting several strings or a jpg worth of data back.

Does anybody have suggestions as to which is the better choice or can
suggest another way of doing this type of thing?

Thanks in advance.

DAve.

-- 


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



DockPanels TabLayoutPanel and missing elements

2011-08-04 Thread Dave Potts
Hi
I trying to construct a dialog with a base of a dockpanel with a
tablayoutpnael in the 'south' area.  An attempt to add an element to any
off the tab panel results in a display that only shows the tab header.

Looking a html/dom tree/display with firebug does not show anything
useful, is this type off thing a known problem.

I construct my tablayout panel and add several panels constructed from
FLOWPanels, I add elements to the FLOWPanels,  I expected something to be
shown or something to hidden in the firebug window.

my code reads as follows

public final  class MkMainDisplay extends TabLayoutPanel {


public MkMainDisplay(MkLayers theLayers) {
super(1.5, Unit.EM);
this.theLayers=theLayers;
BaseTabPanel tabPan,routePan,portPan;
tabPan=new InfoPanel(Info);
addPan(tabPan);
BLAH BLAH

private void addPan(BaseTabPanel pan){
add(pan,pan.getName());
BLAH BLAH

in the class InfoPanel

public class InfoPanel extends BaseTabPanel
public InfoPanel(String name) {
super(name);
add(new HTML(Hello world I am panel));
}
 BLAH BLAH
In the class BaseTabPanel

public class BaseTabPanel extends FlowPanel {

private String name;
public BaseTabPanel(String name) {
super();
this.name=name;
}
BLAH BLAH

Am I doing something wrong or have I forgotten to do something important?

Dave









-- 
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 Designer isDesignTime Not Working?

2011-07-25 Thread Dave Kor
Thanks for the reply! I guess I'll make do for now with a temporary fix. The
documentation should really be updated, I wasted half a day trying to figure
out what I was wrong with my code. .

On Mon, Jul 25, 2011 at 11:16 PM, Eric Clayberg clayb...@google.com wrote:

 Unfortunately, that option no longer works in GWT 2.2 and above, so we are
 replacing it with an implementation of 
 Beans.isDesignTime()http://gwt-code-reviews.appspot.com/1443802/in GWT
 2.4 http://code.google.com/eclipse/beta/docs/download.html.

 The two options would be to use GWT 
 2.4http://code.google.com/eclipse/beta/docs/download.html
  and Beans.isDesignTime() http://gwt-code-reviews.appspot.com/1443802/ or
 a null check to prevent the NPE.

 --
 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/-/IDSJ-rNbSBgJ.
 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.




-- 
Regards,
Dave Kor

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



UML (Ecore) integration Android

2011-06-21 Thread Dave K
I've made an Ecore diagram and some generated code. I want to use the
generated model in an Android project but I can't get it to work. I've
added the UML project to the build path and can call classes form it.
After compiling no error is given but when I use it in the emulator or
phone it crashes immediatly.

I hope someone can tell me what to do?

Thanks, Dave Kosterink

-- 
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 remote logging

2011-05-25 Thread Dave
Adding a mapping to my web.xml made it work.  Thanks a bunch!

On May 25, 1:53 am, Alexandre Ardhuin alexandre.ardh...@gmail.com
wrote:
 Have you add an URL mapping in your web.xml ?

     servlet
         servlet-nameremoteLogging/servlet-name

 servlet-classcom.google.gwt.logging.server.RemoteLoggingServiceImpl/serv 
 let-class
     /servlet
     servlet-mapping
         servlet-nameremoteLogging/servlet-name
         url-pattern/YOUR_MODULE/remote_logging/url-pattern
     /servlet-mapping

 Alexandre

 2011/5/24 Dave meye...@gmail.com







  I'm trying to Log a message to a server log.  I found these
  instructions:

 http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Rem...

  In my GWT XML I have
  inherits name=com.google.gwt.logging.Logging/
  set-property name=gwt.logging.simpleRemoteHandler value=ENABLED /

  my code is:
  SimpleRemoteLogHandler remoteLog = new SimpleRemoteLogHandler();
  remoteLog.publish(new LogRecord(Level.INFO, test GWT log));

  I'm sure that I'm missing a simple setup step.

  I get the error message.
  WireActivityLogger SEVERE: Remote logging failed:
  com.google.gwt.user.client.rpc.StatusCodeException: 0
    at

  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv 
  ed(RequestCallbackAdapter.java:
  192)
    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.GeneratedMethodAccessor36.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:
  157)
    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:
  126)
    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)

  Thanks for your assistance,

  Dave

  --
  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 remote logging

2011-05-24 Thread Dave
I'm trying to Log a message to a server log.  I found these
instructions:
http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html#Remote_Logging

In my GWT XML I have
inherits name=com.google.gwt.logging.Logging/
set-property name=gwt.logging.simpleRemoteHandler value=ENABLED /


my code is:
SimpleRemoteLogHandler remoteLog = new SimpleRemoteLogHandler();
remoteLog.publish(new LogRecord(Level.INFO, test GWT log));

I'm sure that I'm missing a simple setup step.

I get the error message.
WireActivityLogger SEVERE: Remote logging failed:
com.google.gwt.user.client.rpc.StatusCodeException: 0
   at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
192)
   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.GeneratedMethodAccessor36.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:
157)
   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:
126)
   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)


Thanks for your assistance,

Dave

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



Problems with showing Designer after update GWT

2011-05-05 Thread Dave K
Hello,

I've some problems with the Designer after updating GWT. I didn't
change anything in my code so I think that the is the update. Do you
know how to solve this for me?

I've made a report but I can't attach 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.



memory leak in sample project

2011-02-28 Thread Dave
Hi all.

I've created the GreetingService sample gwt 2.0.3 application using
Eclipse 3.5.1. I run the app in Development Mode so I can run it in
the Drip-0.3.exe memory leak detector. When I open and close the
sample pop up repeatedly I can see the Current Memory Usage in Drip go
up. Does this indicate a memory leak or DOM reclamation issue ?

Thanks,

David

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



Handling focus on child Tabs in Firefox and IE8

2011-02-04 Thread Dave
I have a GWT application with links that open other tabs in the
browser using the GWT Window open method. I need the ability to set
focus on these tabs when the User selects the links again from the
main app. I currently have in place a jsni method which gets a handle
to the child window and invokes the focus method on it. When I have
Tabs turned off in IE8 and Firefox the child window gets focus. When I
enable tabs the focus does not work.

The focus does work in Chrome. While I'd like to just tell my Users to
use Chrome I don't have that luxury. Any suggestions ?

Thanks,

David

-- 
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: Announcing GPE/GWT 2.2M1

2011-01-27 Thread Dave Laycock
Will the final release have feature parity with GWT Designer? It looks like 
Ext GWT and Smart GWT are not supported in this plugin.

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



Dynamically generated user navigation

2010-12-09 Thread Dave
Hi all.

I need to dynamically create a navigation view with multiple selection
points based on an xml configuration file. Then, for each navigation
selected, show an associated GWT Panel.
I was hoping I could accomplish this with the GWT.create method or
GIN. It does not appear possible. Is my flaw the xml file ? Has anyone
already solved this ?

Thanks,

David

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



enable tabbing of TH tags

2010-11-04 Thread Dave
Hi all.



I need to be able to tab through some TH tags I’ve added to my
customized FlexTable.

I first create the element.

Element th = DOM.createTH();

th.setId(DOM.createUniqueId());

The following line then successfully adds scope=”col” to the th
element.

DOM.setElementProperty((com.google.gwt.user.client.Element) th,
scope, col);

I then tried to add tabindex=0 to the th element.I verified this
enables the tabbing via the w3c th tutorial even though I don’t see it
as a supported attribute.

DOM.setElementProperty((com.google.gwt.user.client.Element) th,
tabindex, 0);

This did not add the tabindex. I used Firebug  to verify.

Any ideas ?

Thanks,
Dave

-- 
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: App does not display in IE 7

2010-08-23 Thread Dave Combs
One thing you might want to check.  I was building a login page in GWT
and decided to put a background panel that covered the entire screen,
with a FormPanel inside that (absolute positioned) and other stuff
inside
the FormPanel. On Firefox this showed up somewhat off-screen.  On IE7,
it showed a completely blank screen. I found that GWT was generating
a
RootLayoutPanel div with 'overflow:hidden'.  When I added a style
to
the RootLayoutPanel and set overflow:scroll instead, both IE7 and
Firefox
correctly showed the FormPanel and its contents in the middle of the
screen.

Check the div for the root layout panel, and see what you have
there.

Cheers,
Dave

On Aug 23, 2:08 am, Lukasz l.plotni...@googlemail.com wrote:
 I have the same problem - so I would be very interested if you have
 found a solution or cause of it. My assumption is, that the ie7
 rendering problems are related to my own CSS - are you also using
 custom CSS styles for the standard components?

 Kind regards,
 Lukasz

 On Aug 20, 7:21 pm, Greg Dougherty dougherty.greg...@mayo.edu wrote: I 
 have a web app that displays just fine in the Mozilla browsers, but
  does not display at all in IE 7 (totally blank screen).  I'm deploying
  this through Tomcat (see previous message about Development Mode not
  working with JDK 1.5), so I can't usefully follow it in the debugger
  (the issues are on the client side, since my app does not yet do
  anything useful with the server).  Any suggestions on what might be
  going wrong?

  TIA,

  Greg

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



setting checkbox position

2010-08-17 Thread Dave Combs
I notice that GWT's Checkbox is implemented as a span + widget, so
that it can keep the label and the widget together.  Adding a style
adds it to the span.  How can I style a Checkbox widget via CSS so
that it has absolute positioning in it's parent container?  I'm
creating a UI that sets most items to absolute positions--it doesn't
want thing to float or move around when the page resizes.  As of now,
the checkboxes don't even show up in their containing div.

Thanks!
Dave

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



Suggestion for real time logging widget

2010-07-30 Thread Dave
I'm writing a UI application that will include a widget that will
provide a real-time view of a log.  The widget will make requests back
to a server app for log messages and then display them to the user.

I've played with a couple of different widgets but can't quit find the
one that will do what I want.  I need something that will allow me to
add text lines to and have it scroll nicely so the user can see
messages.  I also need to be able to delete lines from it as the
number hits a max.

In addition to this, would like some lines to be hyperlinked so that
the user can click on it and see more information about the specific
logging message.

Any recommendations on what widget(s) would be best to use?  I'm
planning to use UiBinder to build the app.

Thanks
Dave.

-- 
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: An implementation of Selection/Cursor for RichTextArea

2010-04-20 Thread Dave LeBlanc
I'd like to chime in and add my support for this feature.  Having good
support for cross-browser selections is something we're strongly desiring
right now, and the GWT-Rocket implementation is old and non-functional.

Hopefully the GWT folks can find a good place to integrate and test this, as
I'd really like to see it in the core distribution.

Thanks,

 -Dave

On Wed, Apr 14, 2010 at 5:05 PM, Manuel Carrasco Moñino
man...@apache.orgwrote:

 I remember that GWT guys said that they wont accept new stuff for
 incubator, but only fixes to existing code, because they are planning
 to include most useful widgets from incubator to official gwt trunk.
 So I think incubator is not an option to test this feature.

 Nevertheless I'll take a look to your code and give feedback probably next
 week.

 Cheers
 -Manolo


 On Wed, Apr 14, 2010 at 4:13 PM, kozura koz...@gmail.com wrote:
  Yeah, I've put in other patches, but for complete new functionality it
  might be better to go through the incubator first; I can just ask on
  contributors.  But either way, deciding whether others want this
  functionality to take the time doing up all the test cases and
  switching to GWT style conventions..
 
  Thanks
  jk
 

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Dave LeBlanc david.lebl...@gmail.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-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.



Advice request for GWT newbie

2010-03-30 Thread Dave

I'm a newbie with GWT and before I go about trying to implement a
solution using the technology I thought I would first ask advice.

I have an application that handles well data transmitted to it over
socket connections, transforms the data, and forwards it to other
components for further processing.  The application runs in a Jboss
container and I need to hang a UI on it to allow remote
administration.

I will need to create a few different screens but the one I would like
to start with is a screen that allows a user to view the traffic logs
in real-time.

What GWT components would I use to do this?

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



Explanation needed for many to many example

2010-03-21 Thread Dave
This is the code below for many to many that I found on App engine. I
am puzzled about the last line code. I do not know where getKey() gets
it values from in the line  food.getFoodFans().add(getKey()); Could
some please explain. Thanks.

Person.java

import java.util.Set;
import com.google.appengine.api.datastore.Key;

// ...
@Persistent
private SetKey favoriteFoods;

Food.java

import java.util.Set;
import com.google.appengine.api.datastore.Key;

// ...
@Persistent
private SetKey foodFans;

Album.java
// ...
public void addFavoriteFood(Food food) {
favoriteFoods.add(food.getKey());
food.getFoodFans().add(getKey());
}



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



multiselect ListBox getting selected items

2010-03-16 Thread Dave
I'm attempting to get multiple selected items from a ListBox

My setup code is:

final ListBox listBox = new ListBox(true);
listBox.addItem(Item 1, 1);
listBox.addItem(Item 2, 2);
listBox.addItem(Item 3, 3);

In the onClick event of a button on my panel I want to get the
selected items.  I have seen suggestions to iterate over all the
items, calling the isItemSelected() method for each item to determine
whether it’s selected.  However I do not see any methods available on
ListBox to get the list of items.  Obviously I could add a listener to
the listBox to capture when someone selects or unselects an item but
there must be an easier way to get all of the selected items in a
multiselect ListBox

Regards,
Dave

-- 
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: Link External (xerces jars ) to GWT application in Eclipse

2010-01-24 Thread Dave
Should it be org.w3c ?

On Jan 20, 10:25 pm, nikki shruti.pounda...@gmail.com wrote:
 I am new to GWT and am building an application using some external
 jars such as xerces ,inspite of adding the jar files in the lib folder
 I get the error

 the import org.3wc cannot be resolved

 can someone please tell me if there is another way to include the jar
 files in a GWT application

 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-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: How to configure my web.xml

2010-01-10 Thread Dave
 When I made the the following changes and I navigate to
http://localhost:/my_App.html?gwt.codesvr=127.0.1.1:9997#page1. I
am getting HTTP ERROR: 404 NOT_FOUND RequestURI=/my_app/service1.

Changes:

web.xml.
servlet
servlet-nameservice1/servlet-name
servlet-classcom.server.ServiceImpl1/servlet-class
  /servlet
  servlet
servlet-nameservice2/servlet-name
servlet-classcom.server.ServiceImpl2/servlet-class
  /servlet

  servlet-mapping
servlet-nameservice1/servlet-name
url-pattern/my_app/service1/url-pattern
  /servlet-mapping

  servlet-mapping
servlet-nameservice2/servlet-name
url-pattern/my_app/service2/url-pattern
  /servlet-mapping

My client side service interface is as follows
@RemoteServiceRelativePath(service1)
public interface MyService extends RemoteService
{
//some function prototype
   //some function prototype
}

I am following instruction found at:
http://code.google.com/webtoolkit/doc/1.6/tutorial/appengine.html#test.
What am I doing wrong?
-- 
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: How to configure my web.xml

2010-01-10 Thread Dave
I fixed the error. I was unaware that I had to compile the application
before. I can't recall any literature which tells you to compile
before running. I felt that by running it as a web app, then the
requisite compilation would have been done automatically.

On Jan 10, 1:28 pm, Dave ladjo...@gmail.com wrote:
  When I made the the following changes and I navigate 
 tohttp://localhost:/my_App.html?gwt.codesvr=127.0.1.1:9997#page1. I
 am getting HTTP ERROR: 404 NOT_FOUND RequestURI=/my_app/service1.

 Changes:

 web.xml.
 servlet
     servlet-nameservice1/servlet-name
     servlet-classcom.server.ServiceImpl1/servlet-class
   /servlet
   servlet
     servlet-nameservice2/servlet-name
     servlet-classcom.server.ServiceImpl2/servlet-class
   /servlet

   servlet-mapping
     servlet-nameservice1/servlet-name
     url-pattern/my_app/service1/url-pattern
   /servlet-mapping

   servlet-mapping
     servlet-nameservice2/servlet-name
     url-pattern/my_app/service2/url-pattern
   /servlet-mapping

 My client side service interface is as follows
 @RemoteServiceRelativePath(service1)
 public interface MyService extends RemoteService
 {
     //some function prototype
    //some function prototype

 }

 I am following instruction found 
 at:http://code.google.com/webtoolkit/doc/1.6/tutorial/appengine.html#test.
 What am I doing wrong?
-- 
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.




How to configure my web.xml

2010-01-09 Thread Dave
I have had some success in setting up a single service which is called
through GWT-RPC. Now I have set up 2 services and I get this error:
This application is out of date, please click the refresh button on
your browser. ( Blocked attempt to access interface
'com.server.ServiceImpl1', which is not implemented by
com.server.ServiceImpl2'; this is either misconfiguration or a hack
attempt ).

I think the problem is in web.xml.
The URI's are implemented as follows: 
http://localhost:/my_App.html?gwt.codesvr=127.0.1.1:9997#page1
calls com.server.ServiceImpl1 and 
http://localhost:/my_App.html?gwt.codesvr=127.0.1.1:9997#page2
calls com.server.ServiceImpl2. These are some additional info of my
web.xml.

servlet
servlet-nameservice1/servlet-name
servlet-classcom.server.ServiceImpl1/servlet-class
  /servlet
  servlet
servlet-nameservice2/servlet-name
servlet-classcom.server.ServiceImpl2/servlet-class
  /servlet

  servlet-mapping
servlet-nameservice1/servlet-name
url-pattern/page1/url-pattern
  /servlet-mapping

  servlet-mapping
servlet-nameservice2/servlet-name
url-pattern/page2/url-pattern
  /servlet-mapping

Could someone tell me what the problem is?
-- 
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: Validating user input

2010-01-08 Thread Dave
Thanks. I'll take a look.

On Jan 8, 6:50 am, Lukasz l.plotni...@googlemail.com wrote:
 Hi,

 In my current project I'm using the gwt validation library (http://
 sourceforge.net/projects/gwt-vl/) which supports both client- and
 server-side validation and integrates itself nicly with e.g. hibernate-
 validation ...

 Maybe it's something you're looking for.

 Kind regards,
 Lukasz

 On 7 Jan., 20:13, Dave ladjo...@gmail.com wrote:

  Hi,
      Could someone point me to some resources that shows how to
  validate user input. Specifically, to remove harmful javascript
  injection attacks etc. I would like to see the validation code done at
  both server and client. I have searched already and I come across
  issues related to XSS and forged request etc.
-- 
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.




Validating user input

2010-01-07 Thread Dave
Hi,
Could someone point me to some resources that shows how to
validate user input. Specifically, to remove harmful javascript
injection attacks etc. I would like to see the validation code done at
both server and client. I have searched already and I come across
issues related to XSS and forged request etc.
-- 
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: How to use web.xml to authenticate a access to a single page

2010-01-02 Thread Dave
I've made some minor progress. I have had some success with
deployment. Where the web address is http://somewebsite.appspot.com/#page.
That is, I am able to restrict user access on .../#page. I have used
the following web.xml.

web-app
  ...

  security-constraint
web-resource-collection
url-pattern/somewebsite/page//url-pattern
/web-resource-collection
auth-constraint
role-name*/role-name
/auth-constraint
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint
/web-app

However, I can't get it to work locally. The local address that is
used is http://localhost:/Somewebsite.html?gwt.codesvr=127.0.1.1:9997#page.
What should my web.xml url pattern be set to? Thanks

Dave

--

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: How to use web.xml to authenticate a access to a single page

2010-01-02 Thread Dave
Thanks. It worked.

On Jan 2, 1:33 pm, philippe vonck...@yahoo.fr wrote:
 Try with /* url-pattern

 On 1 jan, 22:40, Dave ladjo...@gmail.com wrote:

  (Newbie) I have a web page that I want to authenticate users before
  they are allowed to access the page. I set the authentication
  parameters in the web.xml but it's not working. I use a hyperlink to
  get this page. The address of this page in the browser 
  ishttp://somewebsite.appspot.com/#page. Fragments of my web.xml is
  below. What am i doing wrong?

  web-app
    ...

    security-constraint
          web-resource-collection
              url-pattern/*/page/url-pattern
          /web-resource-collection
          auth-constraint
              role-name*/role-name
          /auth-constraint
          user-data-constraint
              transport-guaranteeCONFIDENTIAL/transport-guarantee
          /user-data-constraint
      /security-constraint
  /web-app

--

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.




How to use web.xml to authenticate a access to a single page

2010-01-01 Thread Dave
(Newbie) I have a web page that I want to authenticate users before
they are allowed to access the page. I set the authentication
parameters in the web.xml but it's not working. I use a hyperlink to
get this page. The address of this page in the browser is
http://somewebsite.appspot.com/#page. Fragments of my web.xml is
below. What am i doing wrong?

web-app
  ...

  security-constraint
web-resource-collection
url-pattern/*/page/url-pattern
/web-resource-collection
auth-constraint
role-name*/role-name
/auth-constraint
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint
/web-app

--

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.




Authenticate a web page

2009-12-31 Thread Dave
I have a web page that I want to authenticate a user before they are
allowed to access the page. I set the authentication parameters in the
web.xml but it's not working. I use a hyperlink to get this page. The
address of this page is http://somewebsite.appspot.com/#page and my
web.xml is below. What am i doing wrong?

web-app
  !-- Servlets --
  servlet
servlet-nameloginService/servlet-name
servlet-classedu.somewebsite.server.LoginServiceImpl/servlet-
class
  /servlet

  servlet-mapping
servlet-nameloginService/servlet-name
url-pattern/somewebsite/login/url-pattern
  /servlet-mapping

  !-- Default page to serve --
  welcome-file-list
welcome-fileSomewebsite.html/welcome-file
  /welcome-file-list

  security-constraint
web-resource-collection
url-pattern/somewebsite/page/url-pattern
/web-resource-collection
auth-constraint
role-nameadmin/role-name
/auth-constraint
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint
/web-app

--

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: New layouts not playing nicely with Maps

2009-12-31 Thread Dave
I solved the problem by using info gained from this site
http://googlegeodevelopers.blogspot.com/2009/01/google-maps-api-library-for-gwt.html.
This is a great help. On this page, to the left of the Google Maplet:
Click on Source Code. Then click on the Full Source hyperlink.
Then Click on CLA Designer. There are various files will be found
here. The important file to view is MapsBlogDec08.java.

Jones

--

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: New layouts not playing nicely with Maps

2009-12-30 Thread Dave
Eric,
I have the same problem as stated in 1st post above. I have read other
post and this problem seem to be persisted for sometime now as shown
is this earlier post
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/657ed9bb2e2e9011/794322db35f85adc?lnk=gstq=Guillem#794322db35f85adc.
Rather than using timer hacks, I would have felt that this issue would
have been resolved by now. Anyway, I have tried several of the
techniques suggested in both post and to no avail. In the code below I
have placed 3 maps on a StackPanel. The map that is loaded on the 1st
sub-menu in the  stack panel is rendered properly but the other 2 sub-
menus in the stack panel has a 'grey area' for most of the map and the
map is not properly centered. The maps show up properly when I use a
Vertical Panel instead of a StackPanel. I don't want to use a Vertical
Panel I have placed the code below in an Ext-GWT widget. Could give me
some insights as to how fix this? I have already tried the
checkResizeAndCenter() function.

private void location()
{
//Function for About Us - Locations

StackPanel spLocationMap = new StackPanel();
VerticalPanel vpLocationMap = new VerticalPanel();
Label lblHeading = new Label(Map of Campus Locations);

lblHeading.addStyleName(locationHeading);
vpLocationMap.add(lblHeading);
vpLocationMap.setSize(100%, 100%);
spLocationMap.setSize(100%, 100%);

spLocationMap.add(getMap(LatLng.newInstance(18.400754, 
-77.364009),
Campus 1), Campus 1);
spLocationMap.add(getMap(LatLng.newInstance(18.456352, 
-77.396647),
Campus 2), Campus 2);
spLocationMap.add(getMap(LatLng.newInstance(18.433755, 
-77.206820),
Campus 3), Campus 3);

spLocationMap.addStyleName(spLocationHeader);

vpLocationMap.add(spLocationMap);
vpLocationMap.addStyleName(verticalPanelLocation);

center.removeAll();
center.add(vpLocationMap);
center.layout();
}

private MapWidget getMap(final LatLng point, final String campus)
{
Marker marker = new Marker(point);
final MapWidget map = new MapWidget(point, 15);
map.setSize(700, 488);
map.setScrollWheelZoomEnabled(true);
map.setDoubleClickZoom(true);
map.addOverlay(marker);
map.addControl(new SmallMapControl());
map.addControl(new MapTypeControl());
map.getInfoWindow().open(map.getCenter(), new InfoWindowContent
(campus));
marker.addMarkerClickHandler(new MarkerClickHandler()
{
@Override
public void onClick(MarkerClickEvent event)
{
InfoWindow info = map.getInfoWindow();
info.open(point, new InfoWindowContent(campus));
}
});
return map;
}

Jones

--

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.




Adding a list of items to a widget using UiBinder

2009-12-12 Thread Dave Finch
Hi,

I am using the UiBinder mechanism in GWT 2.0 and have created a
standard text field that includes a label, required icon etc. which
all works great.
The field also includes a list of validation rules which i currently
add from the java code in my form class  but i would like to include
them in my form.ui.xml file as follows:

ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
xmlns:a='urn:import:com.acuedo.gwt.common.client.core.widgets'
xmlns:v='urn:import:com.acuedo.gwt.common.client.core.validation'
xmlns:gwt='urn:import:com.google.gwt.user.client.ui'
gwt:SimplePanel stylePrimaryName=margin5
gwt:DecoratorPanel
gwt:FlowPanel stylePrimaryName=margin5
a:TextField ui:field=title label=Title
required=true 
v:RegexRule pattern=[ a-zA-Z0-9]*
errorMessage=Your title can only contain letters, numbers and
spaces. /
/a:TextField
gwt:Button ui:field=saveButton text=Submit /
/gwt:FlowPanel
/gwt:DecoratorPanel
/gwt:SimplePanel
/ui:UiBinder

but this doesn't compile. I get the following error:
12:48:35.060 [ERROR] [admin] In
com.google.gwt.uibinder.rebind.xmlelemen...@185ee14, found unexpected
child v:RegexRule errorMessage='Your site#39;s title can only
contain letters, numbers and spaces.' pattern='[ a-zA-Z0-9]*'

Does anyone know if it is possible to do this and if so how?

(My RegexRule class does not extend widget because it doesn't have any
visual aspect.)

Thanks,
Dave

--

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: Adding a list of items to a widget using UiBinder

2009-12-12 Thread Dave Finch
I have found the answer to my own question. The parser used for
UIObjects is UIObjectParser which does not allow any child elements.
Currently in the SDK there is no way to register a custom parser
(although there is a TODO in the code to add such a mechanism). So
with the SDK as it is the only way to add child elements is to make my
rule extend Widget and my TextField implement HasWidgets.

Given that there seems to be intent to allow custom parsers I took the
decision to customize the UIObjectParser and basically add the
contents of the parse method from the HasWidgetsParser to the end of
the UIObjectParser parse method.

There does seem to be a bug in the UiBinderWriter#isWidgetElement
method simply checks whether the namespace of the element starts with
urn:import which obviously only checks the element maps to an object
although a class cast exception will result later if it is not a
Widget.

On Dec 12, 1:36 pm, Dave Finch finch.d...@googlemail.com wrote:
 Hi,

 I am using the UiBinder mechanism in GWT 2.0 and have created a
 standard text field that includes a label, required icon etc. which
 all works great.
 The field also includes a list of validation rules which i currently
 add from the java code in my form class  but i would like to include
 them in my form.ui.xml file as follows:

 ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
     xmlns:a='urn:import:com.acuedo.gwt.common.client.core.widgets'
     xmlns:v='urn:import:com.acuedo.gwt.common.client.core.validation'
     xmlns:gwt='urn:import:com.google.gwt.user.client.ui'
     gwt:SimplePanel stylePrimaryName=margin5
         gwt:DecoratorPanel
             gwt:FlowPanel stylePrimaryName=margin5
                 a:TextField ui:field=title label=Title
                     required=true 
                     v:RegexRule pattern=[ a-zA-Z0-9]*
 errorMessage=Your title can only contain letters, numbers and
 spaces. /
                 /a:TextField
                 gwt:Button ui:field=saveButton text=Submit /
             /gwt:FlowPanel
         /gwt:DecoratorPanel
     /gwt:SimplePanel
 /ui:UiBinder

 but this doesn't compile. I get the following error:
 12:48:35.060 [ERROR] [admin] In
 com.google.gwt.uibinder.rebind.xmlelemen...@185ee14, found unexpected
 child v:RegexRule errorMessage='Your site#39;s title can only
 contain letters, numbers and spaces.' pattern='[ a-zA-Z0-9]*'

 Does anyone know if it is possible to do this and if so how?

 (My RegexRule class does not extend widget because it doesn't have any
 visual aspect.)

 Thanks,
 Dave

--

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.




ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code.

2009-11-28 Thread Dave
I have the following code on my server

public ArrayListAMI getAMIs()
{
ArrayListAMI amis = new ArrayListAMI();
int n;

AMI ami = new AMI();
GetResources amiResourceXML = new GetResources();

try
{
Document amiDom = 
XMLParser.parse(amiResourceXML.getAmi());
Element root = amiDom.getDocumentElement();
XMLParser.removeWhitespace(root);

...

}
catch
{ ..}
return some value to client
}

Why do I receive this error below?

SEVERE: [1259395014149000] javax.servlet.ServletContext log: Exception
while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.util.ArrayList
com.clemson.client.AmazonService.getAMIs()' threw an unexpected
exception: java.lang.ExceptionInInitializerError
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:166)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:121)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
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:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:342)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
Caused by: java.lang.ExceptionInInitializerError
at com.google.gwt.xml.client.XMLParser.clinit(XMLParser.java:28)
at com.clemson.server.AmazonServiceImpl.getAMIs
(AmazonServiceImpl.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.appengine.tools.development.agent.runtime.Runtime.invoke
(Runtime.java:100)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:527)
... 27 more
Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create
() is only usable in client code!  It cannot be called, for example,
from server code.  If you are running a unit test, check that your
test case extends GWTTestCase and that GWT.create() is not called from
within an initializer or constructor.
at com.google.gwt.core.client.GWT.create(GWT.java:85)
at com.google.gwt.xml.client.impl.XMLParserImpl.clinit
(XMLParserImpl.java:29)
... 35 more
 Thanks

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this 

Re: MouseOverHandler not called for text of Checkbox

2009-11-20 Thread dave
Thanks to both of you for the info.  I suspected it was an issue with
the CheckBox itself, but wanted to make sure that I wasn't missing
something obvious.

My fix (for now) has just been to manually add my own Label (instead
of using the CheckBox label) and handling mouse over the Label events,
as the CheckBox itself isn't essential.

If I do switch back, your suggestion of a Composite is exactly what
I'll do.
Thanks!

On Nov 20, 3:18 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Nov 20, 2:01 am, dave dpdear...@gmail.com wrote:

  First and only time I'll bump this, but I've yet to find a solution.

  Adding a MouseOverHandler to the GWT CheckBox widget only fires when
  mousing over the checkbox itself from the top, left, or bottom.  It
  does not fire when mousing over the text label or  when moving from
  the text over the actual checkbox.

  How can I add a MouseOverHandler that will fire when over the label of
  a CheckBox?

 If you ask me, this is a bug in CheckBox (it uses many hacks to get
 events sunk on the checkbox rather than span that encloses both the
 checkbox and label, which leads to this behavior and which I'm really
 not sure is needed –cannot it take advantage of events bubbling to the
 span?–)

 In the mean time, you'd have to copy/fix CheckBox (or in other words
 create your own).

--

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




Re: MouseOverHandler not called for text of Checkbox

2009-11-19 Thread dave
First and only time I'll bump this, but I've yet to find a solution.

Adding a MouseOverHandler to the GWT CheckBox widget only fires when
mousing over the checkbox itself from the top, left, or bottom.  It
does not fire when mousing over the text label or  when moving from
the text over the actual checkbox.

How can I add a MouseOverHandler that will fire when over the label of
a CheckBox?


On Nov 5, 9:34 am, dave dpdear...@gmail.com wrote:
 I've got a GWTCheckbox(created with text label) to which I add a
 MouseOverHandler and MouseOutHandler with the goal of doing some
 action on hover (and closing when leaving).

 The problem is that the OverHandler is only called when hovering over
 the actualcheckboxsquare from the top, left, or right.  It does not
 fire when hovering over the text (or entering the actualcheckboxfrom
 the left, when already over the text label).

 The MouseOutHandler handles the text label correctly, as it is not
 called when moving the mouse from over the textbox to over the text.
 It is only fired (correctly) when leaving the text.

 What am I missing?  There's nothing fancy to my example: just aCheckboxin a 
 FlowPanel that adds the mouse handlers.

 Thanks for any tips!
 dave

--

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




Re: GWT, MVP a beginner's question

2009-10-04 Thread Dave Pinn

What is your alternative, Miroslav?
--~--~-~--~~~---~--~~
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, MVP a beginner's question

2009-10-03 Thread Dave Pinn

You would typically have one presenter and one view for each discrete
part of the page. The idea is to componentise the parts of the page so
that they can be re-used in a variety of contexts; for example: you
might have a page navigation sub-panel that gets used on several
pages.

To re-use your panel do something like this:

  public MyContainingPresenter(MyContainingPresenter.Display
display, MyReusablePanel subPanel) {
...
display.setSubPanel(subPanel.getDisplay().asWidget()).
...
  }
--~--~-~--~~~---~--~~
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: 3rd party widget pluggable interface

2009-09-29 Thread Dave

Hi,

I had a similar requirement.  Essentially I was trying to create a web
app, that had a number of default forms where users would enter data,
but I wanted the ability to add new forms on the fly (typically from a
third-party source).

The simplest approach I found was to define my forms with XML.  When
the app loads, it gets the XML from the server side and builds the
list of forms.
When a user actually loads a form, a parser goes through the XML and
constructs the appropriate widgets.

e.g.

form
  grid col=2 row=1
Label Name=test name rowPos=0 colPos=0Default Value/Label
TextBox Name=mybox rowPos=0 colPos=1Default Value/TextBox
  /grid
/form

The is obviously a simple version, but the above would construct a new
form and add a 1x2 grid to it hopefully looking something like:

__
| |
| test name __   |
||__|  |
|_|


To add a new file on the fly a third-party just needs to submit the
forms xml to the server side DB.  When a client refreshes their
browser the latest list of forms will be brought over.



On Sep 29, 4:45 am, Matt mattgood...@internode.on.net wrote:
 Hi,

 I was wondering if it's possible at all, or if anyone has suggestions
 on best practices for plugging additional widgets into a GWT app after
 compile?

 We have a fat client app that has a pretty large set of functionality
 that we're porting to GWT, but occasionally clients needs some
 specific additional functionality, currently we support the ability to
 do this by a COM interface in our C++ app.

 I'm looking to replicate a similar ability in a GWT app, from what I
 can tell there is no way to do this other than providing a javascript
 interface that gets wrapped by a handler frame that has a JSNI
 interface. Is this really the only way to handle this case?
--~--~-~--~~~---~--~~
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: SmartGWT Extensions

2009-09-24 Thread tall dave

might try the smartclient forums - http://forums.smartclient.com.
they have one specific to SmartGWT, believe the authors are pretty
active on it.

there's a sticky thread - GWT-RPC DataSource implementation with
sample code.  using that i was able to build a GWT-RPC datasource
successfully.


On Sep 24, 1:35 pm, Thomas Holmes thomas.j.hol...@gmail.com wrote:
 I did use one example of a GWT-RPC datasource for SmartGWT, and I got
 very, very close.
 I can get the data from my spring beans, and I copied data to my DTO
 objects.
 But, the SmartGWT ListGrid shows 23 rows, and the right column names,
 but no data is listed there.

 So, I was re-reading the thread again, and I was looking at the
 smartgwt-extensions ... but there is a bug in it, and I don't know how
 I can tell the author that it is broken.

 In SimpleGwtRPCDSServiceAsync the remove method:
 public abstract void remove (SimpleGwtRPCDSRecord record,
 AsyncCallbackObject asyncCallback);
 Breaks the code SimpleGwtRPCDSService
 Changing the line to:
 public abstract void remove (SimpleGwtRPCDSRecord record,
 AsyncCallbackVoid asyncCallback);

 This then breaks SimpleGwtRPCDS when we call:
 service.remove (testRec, new AsyncCallbackObject () {});

 Anyone run into this before and how to fix 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: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-09-03 Thread Dave

Thanks for the replies, guys.
Thanks for validating what I was seeing, Rajeev. (and sorry for
jumping to @ss_umptions)

Best,
Dave

On Aug 31, 2:50 pm, Rajeev Dayal rda...@google.com wrote:
 Hi Dave,

 As with Isaac and Ian, I did not receive your response either.

 I'm glad that you figured the problem out. Isaac is correct in his
 assessment; I've confirmed that it is indeed a problem to give an element in
 your HTML page an id which matches the name of your module. I've opened the
 following bug:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=4003

 Rajeev

 On Mon, Aug 31, 2009 at 2:26 PM, Isaac Truett itru...@gmail.com wrote:

  No worries.

  I looked up your message directly in Groups, and I see that you
  identified your problem as being a div with an ID that's the same as
  your module name. I don't believe this is a documented gotcha, but I
  do recall seeing another instance of it on the forum recently. What I
  don't recall seeing is an explanation of why this should be a problem.
  My guess is that something in the bootstrapping wants to use the
  module name as an ID and having another element in the HTML with that
  ID causes the conflict. But again, that's only a guess.

  On Mon, Aug 31, 2009 at 2:03 PM, Davedfdumar...@gmail.com wrote:

   Yeah, it's good to be reminded never to make assumptions - thanks,
   Isaac.

   Dave

   On Aug 31, 10:40 am, Isaac Truett itru...@gmail.com wrote:
   Dave,

   I can't speak for Rajeev, but your reply to him never reached my
   inbox. I understand your frustration. Do please try to be nice.

   Thanks,
   Isaac

   On Mon, Aug 31, 2009 at 1:27 PM, Davedfdumar...@gmail.com wrote:

Why say something like 'post back here and we'll dig deeper' if you
don't intend to follow the thread and make good on your promise?

Dave

On Aug 25, 9:20 am, Rajeev Dayal rda...@google.com wrote:
Hey Dave,
A couple things to try:

-Blow away the mmclient subdirectory located under your war directory
-Clear your FF3 cache

Try that out and see if that helps. If not, post back here and we'll
  dig
deeper.

Rajeev

On Mon, Aug 24, 2009 at 2:36 PM, Dave dfdumar...@gmail.com wrote:

 Hi all,

 I'm getting several problems after upgrading to 1.7.
 In hosted mode:
 - all the http status codes are 304 (Not Modified)
 - I only see a blank page
 - when I Compile/Browse, FF3 tells me GWT Module needs to be (re)
 compiled, (I've tried refreshing first - same thing)
 - if I change the module name to something bogus in my host html
  file,
 and refresh, things seem to work.
 For example, when I change from div id=mmcclient/div to div
 id=x_mmcclient/div, I still get 304s, but I also get
  [ERROR] Unable to load module entry point ...
   com.google.gwt.core.client.JavaScriptException: (Error): Invalid
 argument.
     number: -2147024809
   description: Invalid argument.
  [ERROR] Failure to load module 'mmcclient'
 with the line number of my entry point class where I call
  RootPanel.get(mmcclient).add(containerLayout);

 But then the module is loaded and my app is fine. No blank page!

 - finally, one of my css resource directories (sc) must be copied
  into
 the public root, otherwise it will not be found.

 Some further info,
 the war directory structure looks like this (my module name is
 mmcclient),
 - war
  - conf
  - images
  - mmcclient
  - sc
  - WEB-INF
  - MMCClient.css
  - MMCClient.html

 The module is loaded from the host html as:
    script type=text/javascript language=javascript
 src=mmcclient/mmcclient.nocache.js/script
 Even when I get a blank page, I believe this file is being found.
 (Firebug shows its JS functions).

 I'm working with the Eclipse (3.4.2) GWT plugin, if that's
  important.

 Thanks for any advice!
 -Dave
--~--~-~--~~~---~--~~
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: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-09-02 Thread Dave

Thanks ddsnelle, but I'm fairly certain that I've got the app deployed
correctly.

Regards,
Dave.

On Sep 2, 8:05 am, ddsnelle ddsne...@gmail.com wrote:
 Dave, make sure you have published your application to the server
 correctly.

 Copy the contents of this folder:  .\workspace\GWT Test Project
 1\war
 To your webapps folder:  \webapps\gwt_test_project_1

 webapps/gwt_test_project should look like this:
   gwt_test_project
   WEB-INF
   GWT_Test_Project_1.css
   GWT_Test_Project_1.html

 Good luck!

 On Aug 25, 4:20 pm, Dave dfdumar...@gmail.com wrote:

  Thanks Rajeev.
  I understand where the 304s are coming from (basically, cache
  indications). I can clear these while running in hosted mode, (on
  windows) by running delete files in Internet Tools.
  So the main problem is the blank page. What I've discovered is that
  using the module name ('mmcclient') as a dom identifier in the index
  file, seems to cause the server to stop processing the entry point
  code, and thus give me essentially a blank page.
  Maybe this is a no-no, that I missed in the docs/readme. However, in
  case it's a new issue I'll describe what I'm doing:

  What I did is create a sample gwt project, which runs fine and lets me
  enter my user name. Next I added

  div id=mmcclient/div after the h1 header line,   h1Web
  Application Starter Project/h1

  so now the index file looks like:

  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  html
    head
      meta http-equiv=content-type content=text/html;
  charset=UTF-8
      link type=text/css rel=stylesheet
  href=Bcc_mmcclient_gwt_test1.css
      titleWeb Application Starter Project/title
      script type=text/javascript language=javascript
  src=mmcclient/mmcclient.nocache.js/script
    /head
    body
      h1Web Application Starter Project/h1
          div id=mmcclient/div

      table align=center
        tr
          td colspan=2 style=font-weight:bold;Please enter your
  name:/td
        /tr
        tr
          td id=nameFieldContainer/td
          td id=sendButtonContainer/td
        /tr
      /table
    /body
  /html

  I also inserted a trace statement in the entry point method:
  System.out.println(in entry point); so now the MMCClient class looks
  like:

  public class MMCClient implements EntryPoint {
          private static final String SERVER_ERROR = An error occurred while 
  
                          + attempting to contact the server. Please check 
  your network 
                          + connection and try again.;

          private final GreetingServiceAsync greetingService = GWT
                          .create(GreetingService.class);

          public void onModuleLoad() {
                  System.out.println(in entry point);

                  final Button sendButton = new Button(Send);
                  final TextBox nameField = new TextBox();
                  nameField.setText(GWT User);
  ...

  }

  After clean and build, and gwt compile, when I run the gwt launcher, I
  only see
    Web Application Starter Project
         Please enter your name:

  There is no input field or send button and the host browser status
  line says 'Done'

  Now, if I change the div id to xmmcclient, as div id=xmmcclient/
  div, and run it again, everything works.

  So my conclusion is not to use the module name as a DOM ID...

  Am I onto something? - sorry if this is already documented somewhere
  obvious -

  Thanks,
  Dave

  On Aug 25, 9:20 am, Rajeev Dayal rda...@google.com wrote: Hey Dave,
   A couple things to try:

   -Blow away the mmclient subdirectory located under your war directory
   -Clear your FF3 cache

   Try that out and see if that helps. If not, post back here and we'll dig
   deeper.

   Rajeev

   On Mon, Aug 24, 2009 at 2:36 PM, Dave dfdumar...@gmail.com wrote:

Hi all,

I'm getting several problems after upgrading to 1.7.
In hosted mode:
- all the http status codes are 304 (Not Modified)
- I only see a blank page
- when I Compile/Browse, FF3 tells me GWT Module needs to be (re)
compiled, (I've tried refreshing first - same thing)
- if I change the module name to something bogus in my host html file,
and refresh, things seem to work.
For example, when I change from div id=mmcclient/div to div
id=x_mmcclient/div, I still get 304s, but I also get
 [ERROR] Unable to load module entry point ...
  com.google.gwt.core.client.JavaScriptException: (Error): Invalid
argument.
    number: -2147024809
  description: Invalid argument.
 [ERROR] Failure to load module 'mmcclient'
with the line number of my entry point class where I call
 RootPanel.get(mmcclient).add(containerLayout);

But then the module is loaded and my app is fine. No blank page!

- finally, one of my css resource directories (sc) must be copied into
the public root, otherwise it will not be found.

Some further info,
the war directory structure looks like this (my

Re: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-08-31 Thread Dave

Yeah, it's good to be reminded never to make assumptions - thanks,
Isaac.


Dave

On Aug 31, 10:40 am, Isaac Truett itru...@gmail.com wrote:
 Dave,

 I can't speak for Rajeev, but your reply to him never reached my
 inbox. I understand your frustration. Do please try to be nice.

 Thanks,
 Isaac

 On Mon, Aug 31, 2009 at 1:27 PM, Davedfdumar...@gmail.com wrote:

  Why say something like 'post back here and we'll dig deeper' if you
  don't intend to follow the thread and make good on your promise?

  Dave

  On Aug 25, 9:20 am, Rajeev Dayal rda...@google.com wrote:
  Hey Dave,
  A couple things to try:

  -Blow away the mmclient subdirectory located under your war directory
  -Clear your FF3 cache

  Try that out and see if that helps. If not, post back here and we'll dig
  deeper.

  Rajeev

  On Mon, Aug 24, 2009 at 2:36 PM, Dave dfdumar...@gmail.com wrote:

   Hi all,

   I'm getting several problems after upgrading to 1.7.
   In hosted mode:
   - all the http status codes are 304 (Not Modified)
   - I only see a blank page
   - when I Compile/Browse, FF3 tells me GWT Module needs to be (re)
   compiled, (I've tried refreshing first - same thing)
   - if I change the module name to something bogus in my host html file,
   and refresh, things seem to work.
   For example, when I change from div id=mmcclient/div to div
   id=x_mmcclient/div, I still get 304s, but I also get
    [ERROR] Unable to load module entry point ...
     com.google.gwt.core.client.JavaScriptException: (Error): Invalid
   argument.
       number: -2147024809
     description: Invalid argument.
    [ERROR] Failure to load module 'mmcclient'
   with the line number of my entry point class where I call
    RootPanel.get(mmcclient).add(containerLayout);

   But then the module is loaded and my app is fine. No blank page!

   - finally, one of my css resource directories (sc) must be copied into
   the public root, otherwise it will not be found.

   Some further info,
   the war directory structure looks like this (my module name is
   mmcclient),
   - war
    - conf
    - images
    - mmcclient
    - sc
    - WEB-INF
    - MMCClient.css
    - MMCClient.html

   The module is loaded from the host html as:
      script type=text/javascript language=javascript
   src=mmcclient/mmcclient.nocache.js/script
   Even when I get a blank page, I believe this file is being found.
   (Firebug shows its JS functions).

   I'm working with the Eclipse (3.4.2) GWT plugin, if that's important.

   Thanks for any advice!
   -Dave
--~--~-~--~~~---~--~~
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: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-08-31 Thread Dave

Why say something like 'post back here and we'll dig deeper' if you
don't intend to follow the thread and make good on your promise?

Dave

On Aug 25, 9:20 am, Rajeev Dayal rda...@google.com wrote:
 Hey Dave,
 A couple things to try:

 -Blow away the mmclient subdirectory located under your war directory
 -Clear your FF3 cache

 Try that out and see if that helps. If not, post back here and we'll dig
 deeper.

 Rajeev

 On Mon, Aug 24, 2009 at 2:36 PM, Dave dfdumar...@gmail.com wrote:

  Hi all,

  I'm getting several problems after upgrading to 1.7.
  In hosted mode:
  - all the http status codes are 304 (Not Modified)
  - I only see a blank page
  - when I Compile/Browse, FF3 tells me GWT Module needs to be (re)
  compiled, (I've tried refreshing first - same thing)
  - if I change the module name to something bogus in my host html file,
  and refresh, things seem to work.
  For example, when I change from div id=mmcclient/div to div
  id=x_mmcclient/div, I still get 304s, but I also get
   [ERROR] Unable to load module entry point ...
    com.google.gwt.core.client.JavaScriptException: (Error): Invalid
  argument.
      number: -2147024809
    description: Invalid argument.
   [ERROR] Failure to load module 'mmcclient'
  with the line number of my entry point class where I call
   RootPanel.get(mmcclient).add(containerLayout);

  But then the module is loaded and my app is fine. No blank page!

  - finally, one of my css resource directories (sc) must be copied into
  the public root, otherwise it will not be found.

  Some further info,
  the war directory structure looks like this (my module name is
  mmcclient),
  - war
   - conf
   - images
   - mmcclient
   - sc
   - WEB-INF
   - MMCClient.css
   - MMCClient.html

  The module is loaded from the host html as:
     script type=text/javascript language=javascript
  src=mmcclient/mmcclient.nocache.js/script
  Even when I get a blank page, I believe this file is being found.
  (Firebug shows its JS functions).

  I'm working with the Eclipse (3.4.2) GWT plugin, if that's important.

  Thanks for any advice!
  -Dave
--~--~-~--~~~---~--~~
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: ext-GWT vs GWT-ext

2009-08-31 Thread Dave

GWTExt is not dead, they're still making maintenance releases, but the
lead developer (Sanjiv Jivan) has moved on to SmartGWT. ExtGWT --which
contains the JS underlying GWTExt - upto 2.0.2-- did a dirty move a
year or so ago when they changed their licensing model; as a result
there was a falling out between the two projects.

IMO, SmartGWT is the widget library of choice. It's based on a mature
Java enterprise client/server technology (SmartClient); seven years of
RIA experience; great support, and the project is lead by Sanjiv
Jivan. Here's a good discussion of its merits (article goes beyond
Groovy): 
http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails

Regards,
Dave

On Aug 30, 4:54 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On 30 août, 11:59, muhannad nasser muhannadna...@gmail.com wrote:

  i wanna choose one of these libraries to start my project... i am searching
  for a good comparison between those two or any other library that may do the
  job...

 GWT-Ext was a *wrapper* around the pure-JS Ext-JS lib, just like
 SmartGWT is a wrapper around SmartClient (AFAICT); this means that
 your page will load the whole set of widgets, classes, methods, etc.
 even those that won't ever be used.

 Ext-GWT (or GXT) on the other hand is a *port* of Ext-JS over to GWT,
 which means that only the code you actually use will end in the
 javascript loaded by the browser.

 That being said, I haven't ever used any of those libs, so I can't
 really tell which one to choose...
--~--~-~--~~~---~--~~
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 and Spring

2009-08-25 Thread Dave

Very nice, thank you!

On Aug 24, 11:43 am, Alec ale...@bellsouth.net wrote:
 On my website,http://minetats.com, I have another example on how one
 could use GWT and Spring together - a menu-driven web application. I
 use commands on both client and server sides. On the server, I use
 ServiceLocatorFactoryBean as well as Spring Security (with a GWT-
 driven login page). Please take a look if interested.
--~--~-~--~~~---~--~~
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: Creating a plugin framework with GWT

2009-08-24 Thread Dave

Cheers Nathan,

That's a useful response.  I didn't feel happy trying to send the UI
classes across RPC, for the reasons you stated.  I'm still looking at
ways, where I will let developers 'produce' plugins that consist of a
back and frontend. So the frontend widget/java script can easily be
loaded, although I like your HTML suggestion.

On Aug 22, 9:06 pm, Nathan Wells nwwe...@gmail.com wrote:
 Dave,

 the first thing need to know is that you're attempting to break some
 core rules. Widgets can only be created on the client-side. There are
 numerous reasons for this, but essentially it boils down to this: RPC
 calls should be about the model... data transfer, not UI component
 transfer. That's not to say that what you're talking about is
 impossible, it's just not going to be as pretty as you would like it
 to be. You can make it so that your TreeItem contains an HTML
 widget. Then you would probably provide some hook on the server-side
 for someone to specify what that html is.

 Again, this breaks the rules, though

 On Aug 21, 4:56 am, Dave davej2...@gmail.com wrote:

  Hi,

  I am trying to figure out how to create a pluginframeworkwith GWT,
  let me explain

  I have created an application that has a menu on the left side and a
  form on the right site of the screen.  The menu is a tree and the form
  is a vertical panel (think of the example mail application).

  I have created a new class called CustomTreeItem that extends
  TreeItem.
  My custom class contains a member variable which is a vertical panel.
  When a user click on a instance of CustomTreeItem in the menu the
  vertical panel is displayed on the right site of the screen.

  I would like to extend this by allowing developers to produce custom
  forms. i.e allow developers to add in there own CustomTreeItems,
  without having to recompile with my code.
  My inital plan was to have a directory in the classpath, so at runtime
  a class loader on the server side would look for any classes that were
  derived from my CustomTreeItem in that folder and load them.
  The client would make an RPC request for the tree items, so it could
  build up the Tree.  I quickly discovered that VerticalPanel couldn't
  be serialized (I assume because this is translated to javascript), so
  this wouldn't work.

  Is it possible for developers to create a vertical panel, and then
  translate it to js (storing it somewhere on the server)
  Then within my application if I know the name of the js/verticalpanel
  instance, load in and construct the panel?

  Any info/ideas/suggestions would be appreciated

  Cheers
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



blank page and other weirdness after upgrade, 1.5 to 1.7

2009-08-24 Thread Dave

Hi all,

I'm getting several problems after upgrading to 1.7.
In hosted mode:
- all the http status codes are 304 (Not Modified)
- I only see a blank page
- when I Compile/Browse, FF3 tells me GWT Module needs to be (re)
compiled, (I've tried refreshing first - same thing)
- if I change the module name to something bogus in my host html file,
and refresh, things seem to work.
For example, when I change from div id=mmcclient/div to div
id=x_mmcclient/div, I still get 304s, but I also get
  [ERROR] Unable to load module entry point ...
   com.google.gwt.core.client.JavaScriptException: (Error): Invalid
argument.
 number: -2147024809
   description: Invalid argument.
  [ERROR] Failure to load module 'mmcclient'
with the line number of my entry point class where I call
  RootPanel.get(mmcclient).add(containerLayout);

But then the module is loaded and my app is fine. No blank page!

- finally, one of my css resource directories (sc) must be copied into
the public root, otherwise it will not be found.

Some further info,
the war directory structure looks like this (my module name is
mmcclient),
- war
  - conf
  - images
  - mmcclient
  - sc
  - WEB-INF
  - MMCClient.css
  - MMCClient.html

The module is loaded from the host html as:
script type=text/javascript language=javascript
src=mmcclient/mmcclient.nocache.js/script
Even when I get a blank page, I believe this file is being found.
(Firebug shows its JS functions).

I'm working with the Eclipse (3.4.2) GWT plugin, if that's important.

Thanks for any advice!
-Dave



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



Creating a plugin framework with GWT

2009-08-21 Thread Dave

Hi,

I am trying to figure out how to create a plugin framework with GWT,
let me explain

I have created an application that has a menu on the left side and a
form on the right site of the screen.  The menu is a tree and the form
is a vertical panel (think of the example mail application).

I have created a new class called CustomTreeItem that extends
TreeItem.
My custom class contains a member variable which is a vertical panel.
When a user click on a instance of CustomTreeItem in the menu the
vertical panel is displayed on the right site of the screen.

I would like to extend this by allowing developers to produce custom
forms. i.e allow developers to add in there own CustomTreeItems,
without having to recompile with my code.
My inital plan was to have a directory in the classpath, so at runtime
a class loader on the server side would look for any classes that were
derived from my CustomTreeItem in that folder and load them.
The client would make an RPC request for the tree items, so it could
build up the Tree.  I quickly discovered that VerticalPanel couldn't
be serialized (I assume because this is translated to javascript), so
this wouldn't work.

Is it possible for developers to create a vertical panel, and then
translate it to js (storing it somewhere on the server)
Then within my application if I know the name of the js/verticalpanel
instance, load in and construct the panel?

Any info/ideas/suggestions would be appreciated

Cheers

--~--~-~--~~~---~--~~
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: Modelling framework

2009-08-05 Thread tall dave

is it still possible to download the non-Pro/EE version of SmartGWT?
the page at:

http://www.smartclient.com/smartgwt/download.jsp

isn't working.


On Aug 4, 9:16 pm, ckendrick charles.kendr...@gmail.com wrote:
 We do give you the ability get in and override any part of the
 generated SQL as a Velocity template.  Simple example:

    http://www.smartclient.com/smartgwtee/showcase/#large_valuemap_sql

 Tour de force (dynamic reporting with filter, sort and data paging, no
 server code required):

    http://www.smartclient.com/smartgwtee/showcase/#sql_dynamic_reporting

 I think that would cover you for lot of use cases.  If there's
 something more we should be doing here I'd love to know.

 Note that we also have upcoming support for XML DB (Berkeley OSS and
 Oracle flavors).  It's just another type of DataSource, which
 generates XQuery instead of SQL.


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



need a GWT developer

2009-07-15 Thread Dave

I am new to this board, so hopefully this is allowed.

I have an open contract consulting position onsite in greater Tampa/
Sarasota/Bradenton area for a GWT Developer.  It is a long-term
position and would love to find someone from this discussion group who
really wants to work with GWT (not as a pilot or poc but really using
it inside and out) with an entire team focused on this.  Anyone
interested please contact david.bern...@4t-us.com or 404.323.3765.

Other skills beyond working experience with GWT listed below

Required skills (4-10+ years):

 Working development experience with the following Tech
stack:  J2ee, Eclipse, JBoss, Oracle back-end

 Solid understanding of object oriented design principles
including UML

   Three or more years of java development experience
including multithreaded, JDBC, servlets, JSP, RMI,JMS, EJB

   Experience with java performance profiling

   Strong Oracle/PL/SQL background

   Experience developing Oracle functions and procedures

   Experience in web design, HTML and Java Script

   Knowledge of XML

   Ability to extend existing object models when appropriate
and create new models when necessary

   Detailed experience with documentation of and adherence to
technical standards for a software development environment


--~--~-~--~~~---~--~~
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: The @skip javadoc tag

2009-06-22 Thread Dave Ford

That makes since. I was hoping they added a tag for us to use to tell
the gwt compiler to omit that method from the JavaScript.

I think I will post a new topic asking about that.

On Jun 21, 12:25 pm, gscholt gsch...@gmail.com wrote:
 On Jun 21, 6:43 pm, Dave Ford df...@smart-soft.com wrote:

  What does the @skipjavadoc comment tag do?

  I was browsing thru the svn source and saw the @skipjavadoc tag. For
  example:

 http://google-web-toolkit.googlecode.com/svn/trunk/user/super/com/goo...

  I was thinking that it might be a way to say, don't translate this
  method into javascript. If so, can we use it in our code?

 It is related to the _documentation_, since it is a javadoc tag, not a
 method annotation.
 Since the methods with that javadoc tag are all methods on a JRE
 emulation class that do not appear on the normal JRE class, I suspect
 the @skipkeeps the menthod from being listed 
 onhttp://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

 Gert
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



@DontCompileToJavaScript method annotation

2009-06-22 Thread Dave Ford

Are there any plans for gwt to provide a method annotation that
instructs the GWT compiler to *not* include that particular method in
the generated JavaScript. Here is my justification for this feature.

One of the appeals of GWT (for me) is that I have been able to achieve
a decent amount of client/server code reuse. Specifically, i have a
number of classes that I can use on both the server (in a jvm) and in
the browser (in my gwt app). This is a huge benefit of GWT over, say,
Flex or native JavaScript frameworks.

I can't be the only one who appreciates this benefit. Here is an
entire product to address this same concern (only inverted):
http://www.aptana.com/jaxer

The problem is, creating java classes that run in the server and in
client (gwt app) can lead to jumping thru lots of whoops and some
major code refactoring. There are many times where it would be just so
easy (if such a thing existed) to add an annotation to a method (or a
class).
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



The @skip javadoc tag

2009-06-21 Thread Dave Ford

What does the @skip javadoc comment tag do?

I was browsing thru the svn source and saw the @skip javadoc tag. For
example:

http://google-web-toolkit.googlecode.com/svn/trunk/user/super/com/google/gwt/emul/java/lang/Number.java

I was thinking that it might be a way to say, don't translate this
method into javascript. If so, can we use it in our 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
-~--~~~~--~~--~--~---



Re: GWT 1.6 and mysql; hosted mode server restart issue

2009-06-21 Thread Dave Ford

I have a similar problem, but no fix yet. It really cancels out the
benefit of the new (in 1.6) super fast restart server button in
hosted mode,  because i *still* have to restart the entire shell ever
time i change server side code. Although, i am not getting any mysql
errors.

All i know is that, the restart server button does not seem to pick
up my changes to server-side code and i have restart the shell every
time.

On May 13, 3:49 pm, ec ecoll...@gmail.com wrote:
 I started a new project using gwt 1.6.4 in eclipse and added the mysql
 connector. I copied the mysql connector jar into the war/WEB_INF/lib
 directory. When I first run hosted mode the application works fine.
 However if I make code changes and then use theRestartServer button
 from Hosted Mode the server can no longer find the mysql connector and
 gives a java.sql.SQLException: No suitable driver found for
 jdbc:mysql://localhost/

 Anyone experienced this and found a fix?

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



Migrate 1.4 to 1.6

2009-04-24 Thread Dave

How feasible is it to migrate from 1.4 to 1.6 without an intermediate
migration to 1.5 on a large app?
--~--~-~--~~~---~--~~
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 1.6.4 - Intellij 8.1 - Hosted mode via application start.

2009-04-21 Thread Dave M

I am using intellij 8.1 with no problem using GWT.  Just open up the
documents and follow the instructions.  It has changed slightly from
the directions in the flash demo on their web site.  When I clicked
... New...there was no option for GWT if you follow the instructions
from the flash demo but if you follow the instructions in the
documentation, it works with the 1.6.4 plugin.

Dave

Again,  follow the instructions in the manual

On Tue, Apr 21, 2009 at 4:15 PM, Jason jtvinc...@gmail.com wrote:

 Hi all.

 I'm using Intelli-j 8.1 to build my GWT 1.6.4 application.  I realize
 that Intell-j's GWT plugin isn't suited for 1.6.4 just yet.  Avoiding
 the plugin I'm attemping to run in Hosted mode by running the app as a
 normal Java application.

 Main class: com.google.gwt.dev.HostedMode
 VM params: -Xmx500M
 program params: -startupUrl /enroll/default.html
 com.vincent.gwtapps.webApplicationForm.WebEnroll
 working dir: C:\work\jv_websales\WebApplicationForm\current_branch\out
 \exploded\

 When I deploy the application with my own ant scripts the application
 loads fine under it's own tomcat instance.

 The only difference I see between my ant war and the exploded intelli-
 j war directory is that the hex js files aren't there, for example
 (644251F628D38C39522797805967F32D.cache.html).  The directory only has
 the 2 files, clear.cache.gif, hosted.html, and webenroll.nocache.js.
 Does hosted mode need those files, or are they generated by the GWT
 hosted mode browser?  If they need it, I suppose I could run an ant
 task to generate them, prior to running the application.

 This is the stacktrace I get when loading the application:

 [ERROR] Failure to load module 'webenroll'
 java.lang.NoSuchMethodError:
 org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding.closestReferenceMatch
 ()Lorg/eclipse/jdt/internal/compiler/lookup/ReferenceBinding;
        at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.findClass
 (JsniChecker.java:231)
        at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.checkRefs
 (JsniChecker.java:142)
        at com.google.gwt.dev.javac.JsniChecker$CheckingVisitor.endVisit
 (JsniChecker.java:65)
        at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse
 (MethodDeclaration.java:247)
        at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse
 (TypeDeclaration.java:1222)
        at
 org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse
 (CompilationUnitDeclaration.java:518)
        at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:350)
        at com.google.gwt.dev.javac.JsniChecker.check(JsniChecker.java:340)
        at
 com.google.gwt.dev.javac.CompilationUnitInvalidator.validateCompilationUnits
 (CompilationUnitInvalidator.java:159)
        at com.google.gwt.dev.javac.CompilationState.compile
 (CompilationState.java:198)
        at com.google.gwt.dev.javac.CompilationState.refresh
 (CompilationState.java:178)
        at com.google.gwt.dev.javac.CompilationState.init
 (CompilationState.java:93)
        at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
 (ModuleDef.java:264)
        at com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:325)
        at com.google.gwt.dev.SwtHostedModeBase
 $SwtBrowserWidgetHostImpl.createModuleSpaceHost(SwtHostedModeBase.java:
 66)
        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad
 (BrowserWidgetIE6.java:73)
        at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke
 (BrowserWidgetIE6.java:161)


 Thanks for any help.
 Jason

 


--~--~-~--~~~---~--~~
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: 1.6 Compile problem on Mac OSX

2009-04-20 Thread Dave Finch

Thanks everyone for the replies.

I'll work around it for now, I always have a windows VM if need be.

Dave


--~--~-~--~~~---~--~~
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: stateful service

2009-04-19 Thread Dave M

Thanks for the reply.  I will definitely look at this for
authentication.  Although this doesn't appear to be the full answer to
my question.  Maybe I just don't understand some fundamental piece.  I
am very familiar with java programming but haven't done too much of
the web stuff.  I am used to rmi iiop, and swing/awt thin clients.
The service will be run on the web server.  Whenever I log in for the
first time using this authentication method, I kick off a thread.  I
want to be able to log out and reconnect the next day and gain control
and monitor that same thread (Timertask) that I started the previous
day.  I am guessing since I kicked the thread off in the Impl (service
running on the web server) class, this thread is running inside of the
web server (tomcat).  Do I have to set up a service on the machine
that my Impl class can connect to using rmi or something.  I didn't
want to do this as it adds an extra layer to the connection so I was
hoping to have just the Impl class with a timertask that I can just
control from the web and it maintains state and continues to run.
When I log out, will the thread be garbage collected or can I log back
into the same object running the thread and control/monitor the same
thread?

Thanks again for any reply.

On Sun, Apr 19, 2009 at 6:32 AM, Vitali Lovich vlov...@gmail.com wrote:
 Depends on who initiates the service.  If it's the other machine (not the
 web server), then in general no, unless you run a custom web server on it
 that will convert resource requests (images or JS scripts only) into
 commands (the authentication information will have to be encoded in the
 names in addition to the commands if you have to have authenticated service)
 .  This is quite complicated.

 If the web server can control the service, then a simple authenticated RPC
 call will suffice.  Don't bother with cookies if you are using RPC.
 http://code.google.com/p/google-web-toolkit/wiki/RpcAuth

 On Sat, Apr 18, 2009 at 11:16 PM, joshmo captainj...@gmail.com wrote:

 What I want to do is log in to an application.  Once logged in, the
 user clicks a button to start a service.  Then the user will remain
 logged in and monitor the service.  The service is used for
 transferring files a different computer to the computer the web server
 is running on.  The web page will update every minute with status of
 server and bandwidth used.  User can log out and log in the next day
 to the same service and continue to monitor the service.

 Is this possible? I have been reading about setting a cookie with a
 session id but I don't know if this is going to work or not.  Does
 anyone know if you can maintain session state with a service and that
 service continues to run in a daemon thread even if the user logs out?

 Thanks for any response.




 


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



1.6 Compile problem on Mac OSX

2009-04-15 Thread Dave Finch

Hi,

I am using the new eclipse (3.4) plugin with GWT 1.6.4 on Mac OSX
10.5.

Everything works great when my project is using Java 5 but when I
switch to Java 6 and try to GWT compile I get the following error:

Invalid memory access of location  rip=01160767

This is a problem for me because I want to use a server side library
that depends on Java 6.

I have had a search through the issue log and the groups but haven't
found anyone with a similar problem - am I doing something wrong?

Does anyone know whether this is a known issue or a possible work
around?

Thanks in advance,
Dave
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Listbox and ability to have no item selected

2009-02-27 Thread Dave E

I am trying to create a single-select listbox where the visibleItem
count is greater than 1 (not a dropdown), but no items are selected by
default.  Regardless of what I try, IE and the development browser
seem to display the first element in the list as highlighted/selected.
(It does seem to work the way I'd like in firefox.)  I've tried
programatically setting the selectedIndex to -1 after my list is
created, but that doesn't seem to help.  Anyone have any ideas for how
I might accomplish this?  Seems like it should be a simple task, but
I'm embarassed to say I've spent way too much time on it already.

Thanks,
-Dave

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



How to create listbox with nothing selected by default?

2009-02-27 Thread Dave E

I'm trying to create a listbox with a visibleItemCount of more than
one (I want a list, not a dropdown), with none of the items in the
list selected by default.  I've tried everything I can think of, and
I'm still seeing the first item selected by default in both IE and the
native development browser (it happens to work the way I want in
firefox though).  I found another post suggesting setting the selected
index to -1, then programatically unsetting the previously selected
item setItemSelected(index, false), but that doesn't work for me
either.  Anyone have any ideas how I might accomplish this?  Seems
like it should be easy, but I'm embarassed to admit I've already spent
hours trying to get it working.

Thanks,
-Dave

--~--~-~--~~~---~--~~
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: Running GWT code before third-party script tags

2009-02-19 Thread Dave Schweisguth

Hi Eric! Thanks for your suggestions. I think you're on to something
-- that is, because an error turns up in map code, it seems like
something is happening concurrently that shouldn't -- but I'm still
trying to work out what's going on.

My understanding of the page-building process is that the browser
loads HTML until it hits an in-line script, stops everything until the
script has executed, and then resumes loading the regular HTML. This
is what happens with our various third-party scripts now. By the time
GWT loads, all of the third-party scripts should already have run (and
that's certainly what it looks like on the page and in Firebug).

Now, the change I'm trying to make is to move one of those script tags
to GWT. I'm not trying to call any functions defined by those scripts
myself, just to add them to the page and let them write HTML (or, in
at least one case, another script tag, which then writes HTML). I'd
expect all of that to happen in the single Javascript thread.

As for the map, we are using the gwt-google-apis maps library. We
don't try to defer map creation, because we don't want to defer the
map; we want it first.

So when I tried moving one of the scripts to onModuleLoad, the script
was probably trying to execute at the same time as map code (haven't
looked into the guts of the map, but there must be XHRs in there and
those can be concurrent) but it's not clear to me

a) why the script had the result it did, of replacing the whole page
with the contents of executing the script
b) why it would bother the map (since they should have been working in
different divs)

Hope that might ring another bell for you.

Now I'm starting to wonder whether I should wait for the map to finish
initializing, and how I might go about that. Not sure if the part of
the map API we're using now has any such notion. Possibly your loader
is the answer after all, since it can tell me when the map is done.
I'll be happy to hear any other thoughts in the meantime, though --
I'm still unclear as to why my first solution didn't just work.

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



Re: Running GWT code before third-party script tags

2009-02-19 Thread Dave Schweisguth

Eric, thanks for clarifying that scripts added in GWT run
asynchronously. Still don't see why adding the script would fail to
work or why one of the symptoms of the failure would be an error in
the map. I think the next experiment will simply be to remove the map
and see if everything else works without it -- and, if so, to be more
controlling about map initialization. Cheers!
--~--~-~--~~~---~--~~
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: Hosted Mode crashes when embedding applet

2009-02-18 Thread DAve

Thanks!

Is there a bug filed with Sun or Google that I can track?

El Mentecato Mayor wrote:
 Yes, this is a known problem. Hosted mode doesn't support applets (not
 running a real html/javascript page), so you'll have to test your
 applet integration on web-mode only.

 I do something like this:

 if (GWT.isScript()) {   // running on web mode
 applet = new AppletPanel();
 }
 else {  // running on hosted mode
applet = // new Dummy panel such as SimplePanel();
 }

 so that you can test evrything else in hosted mode, and only go to web
 mode when you really need to test something on the applet or its
 interactions with your other widgets.


 On Feb 16, 8:54 am, DAve smith.davi...@gmail.com wrote:
  I'm writing a GWT app that embeds a Java applet (for legacy reasons).
  Whenever I try to run it in Hosted Mode, the host browser crashes, so
  I have to compile it and load it in a real browser, slowing down my
  development process and preventing me from using the step-through
  debugger.
 
  Is this a known problem? Is there a workaround?
 
  Thanks,
  Dave
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Running GWT code before third-party script tags

2009-02-18 Thread Dave Schweisguth

I'm working with a consumer web app which uses GWT extensively and
also integrates several third-party services (ads, user tracking,
etc.) via script tags. (For context, we generate as much of our HTML
as possible, including those script tags, on the server side, and add
behavior with GWT. This keeps us search-engine friendly and reduces
the time to when the user begins to see interesting content.)
Unfortunately, all those third-party scripts run before GWT does,
since all of the scripts are in the page and run during page load,
while GWT runs on DOMContentLoaded. The result is that some prominent
page elements aren't drawn, and behavior isn't available, until all of
the third-party stuff is finished, which takes much too long (a couple
of seconds).

We'd rather have a happy user using the page right away and let the
ads and user tracking and such complete afterwards, so we'd like all
of the third-party stuff to run after GWT does. It seems as though the
right way would be to write the third-party script tags into the DOM
in our GWT code, after we've done all of the real application stuff
that we want to do first. My first crack at this was (warning, from
memory):

ScriptElement script = ScriptElement.as(DOM.createElement(script));
script.setSrc(http:///third-party-service.com?...;);
script.setType(text/javascript);
Element container = DOM.getElementById(anId);
container.appendChild(script);

The above is at the end of my onModuleLoad. I also tried
DeferredCommand.add(new Command() {  // the same code }). Either way
the result is the same:

- in the hosted mode browser and IE 7, nothing happens (and there is
no error in the hosted mode browser)
- in Firefox 3,
  - the page loads until GWT gets around to running the above code
  - the script tag issues a request to the correct URL
  - the whole page is replaced by the content at that URL
  - Firebug reports an error in Google Maps code, which is running
from our app, not from the third-party tag
  - the browser hangs!

Can anyone either explain what's going on and suggest how to fix it,
or suggest another way to accomplish the goal?

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



Hosted Mode crashes when embedding applet

2009-02-16 Thread DAve

I'm writing a GWT app that embeds a Java applet (for legacy reasons).
Whenever I try to run it in Hosted Mode, the host browser crashes, so
I have to compile it and load it in a real browser, slowing down my
development process and preventing me from using the step-through
debugger.

Is this a known problem? Is there a workaround?

Thanks,
Dave
--~--~-~--~~~---~--~~
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 appears to attempts todownload cache.html from another site instead of mine

2009-01-24 Thread Dave

Sometimes my GWT application attempts to down load the
5F7D421B9C803E0DEA3EA769A7136D70.cache.html from the wrong site!

I am using gwt 1.5.3 with jboss and Firefox 3.0

When I build my application and attempt to connect to it 30% time it
works, fine no problems, but most of the time I just appear to get the
contents of my index.htrml.

Doing some tracing in the jboss access log results in the followingn
when it does'nt work.
127.0.0.1 GET - - [24/Jan/2009:09:24:40 +] GET /Rwmed/index.html
HTTP/1.1 304 -
127.0.0.1 GET - - [24/Jan/2009:09:24:40 +] GET /Rwmed/css/
Rwmed.css HTTP/1.1 304 -
127.0.0.1 GET - - [24/Jan/2009:09:24:40 +] GET /Rwmed/ol/
OpenLayers.js HTTP/1.1 304 -
127.0.0.1 GET - - [24/Jan/2009:09:24:44 +] GET /Rwmed/gwt/
uk.co.pinan.rwmed.gwt.Rwmed.nocache.js HTTP/1.1 304 -

It got as far as loading my .nocache.js file

Turning on Firebug net mode indicates the following

67ms
GET Rwmed.css
http://localhost:8080/Rwmed/css/Rwmed.css

304 Not Modified

localhost:8080

4 KB


9ms
GET OpenLayers.js
http://localhost:8080/Rwmed/ol/OpenLayers.js

304 Not Modified

localhost:8080

560 KB


50ms
GET maps?
file=apiv=2key=ABQIIev_SqJt0zUcV6knXHj5uhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQfTGn742ZoxWrB4RXw6gmVpomoEA
http://maps.google.com/maps?file=apiv=2key=ABQIIev_SqJt0zUcV6knXHj5uhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQfTGn742ZoxWrB4RXw6gmVpomoEA

200 OK

maps.google.com

4 KB


115ms
GET main.js
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/main.js

304 Not Modified

maps.google.com

69 KB


66ms
GET transparent.png
http://maps.google.com/intl/en_ALL/mapfiles/transparent.png

304 Not Modified

maps.google.com

95 B


36ms
GET uk.co.pinan.rwmed.gwt.Rwmed.nocache.js
http://localhost:8080/Rwmed/gwt/uk.co.pinan.rwmed.gwt.Rwmed.nocache.js

304 Not Modified

localhost:8080

13 KB


3ms
GET mod_jslinker.js
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/mod_jslinker.js

304 Not Modified

maps.google.com

2 KB


65ms
GET util.js
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/js/gwt-openlayers/util.js

404 Not Found

maps.google.com

2 KB


80ms
GET 5F7D421B9C803E0DEA3EA769A7136D70.cache.html
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/5F7D421B9C803E0DEA3EA769A7136D70.cache.html

404 Not Found

maps.google.com

2 KB


153ms
GET various.css
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/various-css/various.css

404 Not Found

maps.google.com

2 KB


37ms
GET sliderwithspinner.css
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/slider/sliderwithspinner.css

404 Not Found

maps.google.com

2 KB


56ms
GET HorizontalSlider.css
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/slider/HorizontalSlider.css

404 Not Found

maps.google.com

2 KB


96ms
GET VerticalSlider.css
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/slider/VerticalSlider.css

404 Not Found

maps.google.com

2 KB


109ms
GET App.css
http://maps.google.com/intl/en_ALL/mapfiles/141e/maps2.api/App.css

404 Not Found

maps.google.com

2 KB


For reasons best known to itself my application decide that my
application files live on maps.google.com.  I can make a manual
request for these files from my own server and they down load fine.

When my application works correctly it possible to it down loading all
the files from my lcoal server.

What appears to be happening is that the GWT generated file /Rwmed/
gwt/uk.co.pinan.rwmed.gwt.Rwmed.nocache.js appears to be radnomly
choosing where to get its files from?

Any suggestions?

This problem is not broswer or web server specfic  it goes wrong in
the same way using Tomcat and IE


D.

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



  1   2   >