Re: Material Design with GWT(Polymer wrapper)

2015-02-26 Thread Blagoja Chavkoski
Tnx for the good words.
We see what singular will bring out when it becomes production candidate,
and then I can do something.

This one is pretty much tested, we use it in one of our inhouse projects
with almost no problems at all.

On Sun, Feb 22, 2015 at 2:02 PM, Alexander Zbiek 
strongarmist...@googlemail.com wrote:

 Great work ! Always thought somebody might have done that.

 Keep up your good work. Perhaps it could be combined with gwt singular?

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/zVGA9fs_XxY/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.


-- 
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: To smart GWT or not

2010-12-04 Thread Blagoja Chavkoski
Hi,

Just small overview

I have used Gwt, Gwt ext and Smart Gwt...all are pretty ok for the power
used to be developed, they are produced by very small number of programmers
and
we all know that, so we are not talking for JAVA core libs or C#  core libs
or something like that.. and they have bugs also:)
In other case they are very good, you dont have to re-envent the
things..just use it in most casses, in some cases when u need somthing
special or its present some bug, u can extend and provide the fiture by your
self..so thats why they are free :)



2010/12/4 Jaroslav Záruba jaroslav.zar...@gmail.com

 My experience with SmartGWT was bad and while I'm not saying SmartGWT
 is complete rubbish, obviously, I think it is right thing to do to
 share your experience when asked.
 I said couple of times my experience is 1 year old. Also there are
 many people who share this view of SmartGWT.

 I had to do some compromises with SmartGWT, some of them having origin
 in SmartGWT being a new platform for me (i.e. lack of knowledge), but
 there were some clearly caused by SmartGWT being buggy.

 You accused me of giving baseless opinions. That is just low.

 One issue that stuck in my mind was the last one: a new and valid
 record not appearing in a TreeGrid, in ListGrid everything worked as
 charm. Later, in one night build, it has been fixed. That was too late
 for me though.

 My apologize to all readers, this is my first and last response to
 Sanjiv here.

 On Dec 3, 4:54 pm, Sanjiv Jivan sanjiv.ji...@gmail.com wrote:
  Jaroslav,
  If you're happy with GWT that’s great but please do not make such vague
 and
  baseless claims about Smart GWT.

 The fact that you don't like critics does not make it baseless. (Same
 as when you FIX a bug after a report it probably wasn't INVALID.)

  3 of the 7 issues that you filed were invalid

 This is what you call an invalid bug:
 http://code.google.com/p/smartgwt/issues/detail?id=338
 In a nutshell: One particular column type (Integer) at one particular
 position (the first column) causes an error. Because you're not
 supposed to have numbers in the first column...?
 Something is wrong when you get asked why do you need number in the
 first column?

 Another one, this one you fixed later but marked it as invalid
 anyways:
 http://code.google.com/p/smartgwt/issues/detail?id=343

  http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl..
 .And
  when you were advised how to implement a warning dialog before record
  deletion on this issue that you filed  (
 http://code.google.com/p/smartgwt/issues/detail?id=325), you responded by
 you
  are sad. Nice way to show your appreciation when using a free product.

 Your 'WontFix' for a _month_ old report came literally _minutes_ after
 you accused me of abusing issue tracker in another forum. It is
 obvious that my response was related to your personal approach, rather
 than your so-called advice. (I had my own workaround by the time I
 made the report.)
 Abusing issue tracker in this case actually meant reporting an
 issue without discussing it in the forums, which was not suggested in
 the new issue report description. And therefore it happened to many
 people before me, which you admitted. (But that did not stop you from
 claiming I'm the only one doing that.)
 Later you fixed that, added the note in the description, and now
 you're counting it in those 3 invalid reports.
 I said 'thank you' nevertheless.

 I had only positive experience with other SmartGWT staff members,
 Isomorphic namely.

  Sanjiv

 Based on my own experience, SmartGWT is rather risky choice even
 though it might look nice at first.
 SmartGWT: 2.5*

 While GWT might be slower sometimes (when you need some super-special
 widgets) I believe in the end you will be better off that way. Even
 more it applies now with GWT 2.1.
 GWT: 4.5*

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



-- 
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: GWT-EXT Store is not working in server side

2010-11-22 Thread Blagoja Chavkoski
You cant use a JS classes on a server side..server side is just a normal
Java-servlet
all this classes must and can be used just in the translatable part of the
gwt application.

regards,
B

On Tue, Nov 23, 2010 at 12:18 AM, Shawn Brown big.coffee.lo...@gmail.comwrote:

  I am using GWT-EXT. I am having trouble initializing GWT-EXT Store in
  a RPC call in server side.

 I use all my Stores client side.

 I can't see the purpose of using it server side.  Of course I load the
 data into the store via RPC...

 Shawn

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



-- 
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 keep row selected after pagination grid refresh?

2010-11-20 Thread Blagoja Chavkoski
This question is for ext gwt forum, but i had implemented some code close to
this one, and I had the same problem!!
Its interesting that I notised the problem is on adding the html css style
for the selected row..its just not showing,
the related model row is correct and all related listeners are fired...but
the view row style is never set or set and cleared...
I investigated in the GridView class but till that point all was ok and
fired prop ..it looks like something is going on after that..
the relation between gwt(resp for the css styles adding in widget, and the
component class extension from ext) but no
time to spent more and just continue without it..:)

regards and hope u gonna solve it,
if u do..u can notify here also...

B

On Sun, Nov 21, 2010 at 12:07 AM, John LaBanca jlaba...@google.com wrote:

 It sounds like you are using gwt-ext.  Have you tried posting your question
 on their forum?

 Thanks,
 John LaBanca
 jlaba...@google.com


 On Sat, Nov 20, 2010 at 11:48 AM, Ahmed Shoeib 
 ahmedelsayed.sho...@gmail.com wrote:

 i also need to know how to refresh a row with specific Object

 On Nov 19, 10:35 am, Tomeo tke...@gmail.com wrote:
  Hi folks,
 
  I have a below a simple scenario:
 
  1. I have a grid populated with data
  2. I select any 1 row from grid - data with a specific Object
  Id [internal id]
  3. I press a refresh button from a paginationToolbar
  4. data are refreshed
  5. no row from grid is being selected.
 
  Question 1:
  How can I change a step 5, so after refresh a row with specific Object
  Id (from step 2) would be automaticaly selected?
 
  I tried to implement a LoadListener to loader, but it seems like I'm
  incorrectly selecting a row from my grid.
  Here is a bit of my code:
 
  1. A global variable of type Zakazka to store a Zakazka before
  refresh occures (the one which should be selected after refresh):
  Code:
 
  private Zakazka selectedZakazka;
 
  2. Here is my grid definition with loader's load listener
  Code:
 
RpcProxyPagingLoadResultZakazka proxy = new
  RpcProxyPagingLoadResultZakazka() {
  @Override
  public void load(Object loadConfig,
  AsyncCallbackPagingLoadResultZakazka callback) {
  Tracing.Log(ZakazkyAktivne.RpcProxy.load.before);
  service.getZakazky((PagingLoadConfig) loadConfig,
  callback);
  Tracing.Log(ZakazkyAktivne.RpcProxy.load.after);
  }
};
 
// loader
final PagingLoaderPagingLoadResultModelData loader = new
  BasePagingLoaderPagingLoadResultModelData(proxy);
loader.setRemoteSort(true);
 
ListStoreZakazka store = new ListStoreZakazka(loader);
pagingToolBar = new PagingToolBar(50);
pagingToolBar.bind(loader);
 
ListColumnConfig columns = new ArrayListColumnConfig();
columns.add(new ColumnConfig(object_id, Object Id, 80));
columns.add(new ColumnConfig(cislo_dokladu, Èíslo dokladu,
  100));
ColumnConfig created = new ColumnConfig(created, Dátum
  vytvorenia, 105);
created.setDateTimeFormat(DateTimeFormat.getFormat(dd.MM.
  HH:mm:ss));
columns.add(created);
columns.add(new ColumnConfig(objednavatel, Objednavatel,
  120));
columns.add(new ColumnConfig(stredisko, Stredisko, 150));
columns.add(new ColumnConfig(stav_zakazky_id, Id stavu
  zakazky, 60));
columns.add(new ColumnConfig(stav_zakazky_kod, Kód stavu
  zakazky, 100));
columns.add(new ColumnConfig(stav_zakazky, Stav zakazky,
  100));
columns.add(new ColumnConfig(stav_zakazky_zmenil_uziv_meno,
  Zakazku zmìnil, 100));
ColumnConfig updated = new ColumnConfig(stav_zakazky_zmena,
  Dátum zmìny, 105);
updated.setDateTimeFormat(DateTimeFormat.getFormat(dd.MM.
  HH:mm:ss));
columns.add(updated);
 
ColumnModel cm = new ColumnModel(columns);
 
gridZakazka = new GridZakazka(store, cm);
gridZakazka.setStateId(pagingGridExample);
gridZakazka.setStateful(true);
gridZakazka.addListener(Events.Attach, new
  ListenerGridEventZakazka() {
  public void handleEvent(GridEventZakazka be) {
PagingLoadConfig config = new BasePagingLoadConfig();
config.setOffset(0);
config.setLimit(50);
 
MapString, Object state = gridZakazka.getState();
if (state.containsKey(offset)) {
  int offset = (Integer)state.get(offset);
  int limit = (Integer)state.get(limit);
  config.setOffset(offset);
  config.setLimit(limit);
}
if (state.containsKey(sortField)) {
  config.setSortField((String)state.get(sortField));
 
  config.setSortDir(SortDir.valueOf((String)state.get(sortDir)));
}
loader.load(config);
  }
});
 
  gridZakazka.getSelectionModel().addListener(Events.SelectionChange,
  new ListenerSelectionChangedEventZakazka() {
   

Re: How to get the next day of week date?

2010-11-16 Thread Blagoja Chavkoski
Hi,

Just use now= new Date(), and then from this date do what ever u like to
do

one day after... new Date ( new Date().getTime() + 24 * 60 * 60 * 1000)
one day before... new Date ( new Date().getTime() - 24 * 60 * 60 * 1000)

one week after ...new Date ( new Date().getTime() + 7 * 24 * 60 * 60 * 1000)
one week before...new Date ( new Date().getTime() - 7 * 24 * 60 * 60 * 1000)

etc...

Regards,
B

On Tue, Nov 16, 2010 at 4:15 PM, anthony.more...@stambia.com 
anthony.more...@stambia.com wrote:

 Hello,
 I'm just starting with GWT and Dates (so sad I can't use Calendar),
 and I have no idea how to get the date of the next tuesday (or any day
 of the week) without using Calendar. I've been trying that to do that
 for a few hours now so any help would be appreciated.

 Regards

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



-- 
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 get the next day of week date?

2010-11-16 Thread Blagoja Chavkoski
This is true...but the mistake is just one hour, and the day when daylight
saving
time happens.

The Date class is not that correct:) , but the calendar class wich shouldv
been the repair is not correct also..once joshua bloch on a presentation
said...when u re-doing something, at list do it right:)

On Tue, Nov 16, 2010 at 4:38 PM, Lothar Kimmeringer j...@kimmeringer.dewrote:

 Am 16.11.2010 16:30, schrieb Blagoja Chavkoski:

  Just use now= new Date(), and then from this date do what ever u like
 to do
 
  one day after... new Date ( new Date().getTime() + 24 * 60 * 60 * 1000)
  one day before... new Date ( new Date().getTime() - 24 * 60 * 60 * 1000)
 
  one week after ...new Date ( new Date().getTime() + 7 * 24 * 60 * 60 *
 1000)
  one week before...new Date ( new Date().getTime() - 7 * 24 * 60 * 60 *
 1000)
 
  etc...


 ... and hope you're not residing at a place where daylight saving
 times do exist.

 @anthony: There was a similar discussion where I answered already.
 I don't remember the exact date but using the search option of the
 mail-archive should bring it up.


 Regards, Lothar

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



-- 
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: Why does Google not support Maps V3 on GWT?

2010-11-10 Thread Blagoja Chavkoski
Hi,

I have asked also the same question but no answer till now!!!

Its not that they not supported the api it self, the maps images look
different(not updated also)
at list this should be a easy to do...!!!

If you got some answer, please mail it here.

Thanks,
B

On Wed, Nov 10, 2010 at 9:49 PM, Chris Conroy con...@google.com wrote:

 This is a question better suited for the GALGWT mailing list
 gwt-google-a...@googlegroups.com

 On Wed, Nov 10, 2010 at 12:22 AM, Carl carl.cro...@gmail.com wrote:
  I have noticed that Google Maps V2 has been deprecated,
  And since this is the only supported version for GWT I am getting a
  bit worried...
 
  Does anybody know why it has not been supported, or why there is no
  road-map to support it?
 
  Thanks
  Carl
 
  --
  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.comgoogle-web-toolkit%2bunsubscr...@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-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.



-- 
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: Route animation in google maps with GWT

2010-11-01 Thread Blagoja Chavkoski
Hi,


From the code I cant really say whats the problem..looks ok...
should show the polylone at list if is added with a weight 0

but on the otehr hand i see a lot of short comings .. some of those...
1. the timer is to fast..
2 . the insert vertex mehtod is going to be killing slow if u have more than
300 points
..

Why do you need this software?!
Like I wrote before Im a owner of platform designed for tracking..
mainly used for vehicles, but cant be used for anything,
maybe I can offer you a partnership :)

regards,
B

On Fri, Oct 29, 2010 at 3:12 PM, Jan jan.widm...@gmx.ch wrote:

 Hi B,

 Thanks for your answers.

 I tried it like this:

 In the class shipAnimation in the method onSuccess(), which is called
 after successful rpc callback, i wrote the following code:

LatLng[] animationPoints = new LatLng[1];
animationPoints[0]=start;
Polyline animatedWay = new Polyline(animationPoints,
 getPolylineColor(), polylineWidth, 1);
map.addOverlay(animatedWay);
ShipAnimationTimer timer = new ShipAnimationTimer(animatedWay,
 gpsDataLatLng, map);
timer.schedule(30);

 The variable start is the first point of the polyline

 In the class ShipAnimationTimer, which extends the gwt timer, i wrote
 the following code:

  public void run() {
animatedWay.insertVertex(counter, gpsDataLatLng[counter]);
counter++;
if(counter==gpsDataLatLng.length){
  this.cancel();
}
  }

 So far so good, but when i try to run my app, nothing happens. That
 means, start and endmarker of the polyline are coming, but not the
 polyline..

 Do you see an error?

 Thanks for your help.

 Jan

 On 29 Okt., 14:00, Blagoja Chavkoski baze...@gmail.com wrote:
  I just want to say that for the statment (and no way that can be done) im
  wrong :) there is a GWT gear lib witch start multiple threads in a
 browser
  but this is totally diff then what is a real thread in a programming
  language :) but in any case it has the same mining..
 
  On Fri, Oct 29, 2010 at 1:56 PM, Blagoja Chavkoski baze...@gmail.com
 wrote:
 
   hi,
 
   This is the scenario u need to do..I implement this in a program used
 for a
   vehicle tracking...
 
   1. get all the data u need to animate(all LatlLon positions) and store
 them
   in a arraylist
 
   2. start one timer (gwt timer ) let me say witch will fire on every
 100ms
   (U have to test what will be the real time, dependes on the
   power of the browser, for IE i had the biggest and foer opera and
 chrome
   and safari the lowest, they have the best JS engins)
 
   3.when the timer fires the event(u take by some logic couple of the
 Lotlng
   (3-4) from the list, and till the next firing of the timer u make a
 paint of
   this positions)
 
   4. the timer pasts 100ms and fires again (by this time u have finished
 with
   the paitn of the first 3-4 Latlon) so you move again to point (3) when
 the
   timer fires again (4) you soposed to be finished with (3) and u move
 again
   to (3) and u do this move (3)-(4)-(3) while the list is not empty..when
 the
   list is empty u just terminate(stop) the timer...
 
   This is the scenario...u have to make a testing on the timing for sleep
 of
   the timer...(when new event is fired for the timer, u have to be
 finished
   with show of the latlon-s, what i want to say is that the combination
 of
   timer fire time and the number of the events u take is something u need
 to
   calculate by performanse(on what u do with the positions and how much
 time
   takes to handle this)
 
   Hope I help,
 
   Regards from Germany:)
   B
 
   p.s u cant use thread sleep and so on...because u dont have threds in
 the
   browser side..browser screepts(JS, FLEX, FLESH, SILVERLITE) are single
   thread so there is no logic(and no way that can be done) for GWT to
 emulate
   this libs.
 
   On Fri, Oct 29, 2010 at 1:08 PM, Jan jan.widm...@gmx.ch wrote:
 
   Hi Brian,
 
   Thanks for your answer. I tried some things with the array and timer
   and that staff. I tried with wait(), sleep() and also with a timer
   object. But everytime, there comes an error, that these things are not
   supported by gwt..
 
   The easiest way would be to have the normal callback, which gets the
   latlng array. Then in the onSuccess() Method changing the marker
   positions with a for loop and a delay. I tried that, but i couldn't
   find a possibility to make this delay
 
   Is it possible to do that like that, or do i have to make already the
   callback with the delay? Does that mean, that i have to make two
   callbacks, one which gets the array and the secon in a for loop?
 
   Thanks and best regards from switzerland.
 
   Jan
 
   On 11 Okt., 18:04, Brian hibr...@gmail.com wrote:
GWT is Javascript, at least what the user sees on the website.
 
One idea, is to get all the data from your server for a ship's route
as an array of lat/lng objects, then set up a Timer() object that
calls your callback  every 30ms or so, and you

Re: Route animation in google maps with GWT

2010-11-01 Thread Blagoja Chavkoski
Hi,

Thats the way to go...wosent that hard :)

Chears,
B

On Mon, Nov 1, 2010 at 1:34 PM, Jan jan.widm...@gmx.ch wrote:

 Hi B,

 Thanks for your answers. I found the error. For setting the schedule,
 i used the method timer.schedule()..The thing with that method is,
 that the timers run method is called only one time..so now i use the
 method timer.scheduleRepeating() and it works perfectly..in my
 example, i have 370 points, and the performance is acceptable...

 So i think, i will reach my goals. :-)

 Thank you, best regards. Jan

 On 1 Nov., 10:58, Blagoja Chavkoski baze...@gmail.com wrote:
  Hi,
 
  From the code I cant really say whats the problem..looks ok...
  should show the polylone at list if is added with a weight 0
 
  but on the otehr hand i see a lot of short comings .. some of those...
  1. the timer is to fast..
  2 . the insert vertex mehtod is going to be killing slow if u have more
 than
  300 points
  ..
 
  Why do you need this software?!
  Like I wrote before Im a owner of platform designed for tracking..
  mainly used for vehicles, but cant be used for anything,
  maybe I can offer you a partnership :)
 
  regards,
  B
 
  On Fri, Oct 29, 2010 at 3:12 PM, Jan jan.widm...@gmx.ch wrote:
   Hi B,
 
   Thanks for your answers.
 
   I tried it like this:
 
   In the class shipAnimation in the method onSuccess(), which is called
   after successful rpc callback, i wrote the following code:
 
  LatLng[] animationPoints = new LatLng[1];
  animationPoints[0]=start;
  Polyline animatedWay = new Polyline(animationPoints,
   getPolylineColor(), polylineWidth, 1);
  map.addOverlay(animatedWay);
  ShipAnimationTimer timer = new ShipAnimationTimer(animatedWay,
   gpsDataLatLng, map);
  timer.schedule(30);
 
   The variable start is the first point of the polyline
 
   In the class ShipAnimationTimer, which extends the gwt timer, i wrote
   the following code:
 
public void run() {
  animatedWay.insertVertex(counter, gpsDataLatLng[counter]);
  counter++;
  if(counter==gpsDataLatLng.length){
this.cancel();
  }
}
 
   So far so good, but when i try to run my app, nothing happens. That
   means, start and endmarker of the polyline are coming, but not the
   polyline..
 
   Do you see an error?
 
   Thanks for your help.
 
   Jan
 
   On 29 Okt., 14:00, Blagoja Chavkoski baze...@gmail.com wrote:
I just want to say that for the statment (and no way that can be
 done) im
wrong :) there is a GWT gear lib witch start multiple threads in a
   browser
but this is totally diff then what is a real thread in a programming
language :) but in any case it has the same mining..
 
On Fri, Oct 29, 2010 at 1:56 PM, Blagoja Chavkoski 
 baze...@gmail.com
   wrote:
 
 hi,
 
 This is the scenario u need to do..I implement this in a program
 used
   for a
 vehicle tracking...
 
 1. get all the data u need to animate(all LatlLon positions) and
 store
   them
 in a arraylist
 
 2. start one timer (gwt timer ) let me say witch will fire on every
   100ms
 (U have to test what will be the real time, dependes on the
 power of the browser, for IE i had the biggest and foer opera and
   chrome
 and safari the lowest, they have the best JS engins)
 
 3.when the timer fires the event(u take by some logic couple of the
   Lotlng
 (3-4) from the list, and till the next firing of the timer u make a
   paint of
 this positions)
 
 4. the timer pasts 100ms and fires again (by this time u have
 finished
   with
 the paitn of the first 3-4 Latlon) so you move again to point (3)
 when
   the
 timer fires again (4) you soposed to be finished with (3) and u
 move
   again
 to (3) and u do this move (3)-(4)-(3) while the list is not
 empty..when
   the
 list is empty u just terminate(stop) the timer...
 
 This is the scenario...u have to make a testing on the timing for
 sleep
   of
 the timer...(when new event is fired for the timer, u have to be
   finished
 with show of the latlon-s, what i want to say is that the
 combination
   of
 timer fire time and the number of the events u take is something u
 need
   to
 calculate by performanse(on what u do with the positions and how
 much
   time
 takes to handle this)
 
 Hope I help,
 
 Regards from Germany:)
 B
 
 p.s u cant use thread sleep and so on...because u dont have threds
 in
   the
 browser side..browser screepts(JS, FLEX, FLESH, SILVERLITE) are
 single
 thread so there is no logic(and no way that can be done) for GWT to
   emulate
 this libs.
 
 On Fri, Oct 29, 2010 at 1:08 PM, Jan jan.widm...@gmx.ch wrote:
 
 Hi Brian,
 
 Thanks for your answer. I tried some things with the array and
 timer
 and that staff. I tried with wait(), sleep() and also with a timer
 object. But everytime, there comes an error, that these things are
 not
 supported

Re: Route animation in google maps with GWT

2010-10-29 Thread Blagoja Chavkoski
hi,

This is the scenario u need to do..I implement this in a program used for a
vehicle tracking...

1. get all the data u need to animate(all LatlLon positions) and store them
in a arraylist

2. start one timer (gwt timer ) let me say witch will fire on every 100ms (U
have to test what will be the real time, dependes on the
power of the browser, for IE i had the biggest and foer opera and chrome and
safari the lowest, they have the best JS engins)

3.when the timer fires the event(u take by some logic couple of the Lotlng
(3-4) from the list, and till the next firing of the timer u make a paint of
this positions)

4. the timer pasts 100ms and fires again (by this time u have finished with
the paitn of the first 3-4 Latlon) so you move again to point (3) when the
timer fires again (4) you soposed to be finished with (3) and u move again
to (3) and u do this move (3)-(4)-(3) while the list is not empty..when the
list is empty u just terminate(stop) the timer...

This is the scenario...u have to make a testing on the timing for sleep of
the timer...(when new event is fired for the timer, u have to be finished
with show of the latlon-s, what i want to say is that the combination of
timer fire time and the number of the events u take is something u need to
calculate by performanse(on what u do with the positions and how much time
takes to handle this)


Hope I help,

Regards from Germany:)
B

p.s u cant use thread sleep and so on...because u dont have threds in the
browser side..browser screepts(JS, FLEX, FLESH, SILVERLITE) are single
thread so there is no logic(and no way that can be done) for GWT to emulate
this libs.


On Fri, Oct 29, 2010 at 1:08 PM, Jan jan.widm...@gmx.ch wrote:

 Hi Brian,

 Thanks for your answer. I tried some things with the array and timer
 and that staff. I tried with wait(), sleep() and also with a timer
 object. But everytime, there comes an error, that these things are not
 supported by gwt..

 The easiest way would be to have the normal callback, which gets the
 latlng array. Then in the onSuccess() Method changing the marker
 positions with a for loop and a delay. I tried that, but i couldn't
 find a possibility to make this delay

 Is it possible to do that like that, or do i have to make already the
 callback with the delay? Does that mean, that i have to make two
 callbacks, one which gets the array and the secon in a for loop?

 Thanks and best regards from switzerland.

 Jan

 On 11 Okt., 18:04, Brian hibr...@gmail.com wrote:
  GWT is Javascript, at least what the user sees on the website.
 
  One idea, is to get all the data from your server for a ship's route
  as an array of lat/lng objects, then set up a Timer() object that
  calls your callback  every 30ms or so, and you just set the map marker
  position to the next entry in the lat/lng pair.  For faster animation,
  jump further in your array, or decrease the 30ms to 15ms, etc.
 
  On Oct 9, 8:53 am, Jan jan.widm...@gmx.ch wrote:
 
   Hi all,
 
   For an actual project, we need to evaluate movements of motor-ships.
   The position datas are sent from a gps router on the ships and are
   saved in a database on our server. One of our goals is to show the
   driven way of one or more ships between a specified time as an
   animation. Our Application is written in Java with GWT. What we have
   already is, that the driven way get's drafted like a normal route in
   google maps. What we want is, to show for example all ship movements
   for one day in fast motion.
 
   My actual problem is, how to animate the driven way. Is it possible to
   do the animation in GWT, or do we need to use javascript?
 
   I hope, someone can give me some ideas.
 
   Thanks a lot.
 
   Jan
 
 

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



-- 
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: Route animation in google maps with GWT

2010-10-29 Thread Blagoja Chavkoski
I just want to say that for the statment (and no way that can be done) im
wrong :) there is a GWT gear lib witch start multiple threads in a browser
but this is totally diff then what is a real thread in a programming
language :) but in any case it has the same mining..

On Fri, Oct 29, 2010 at 1:56 PM, Blagoja Chavkoski baze...@gmail.comwrote:

 hi,

 This is the scenario u need to do..I implement this in a program used for a
 vehicle tracking...

 1. get all the data u need to animate(all LatlLon positions) and store them
 in a arraylist

 2. start one timer (gwt timer ) let me say witch will fire on every 100ms
 (U have to test what will be the real time, dependes on the
 power of the browser, for IE i had the biggest and foer opera and chrome
 and safari the lowest, they have the best JS engins)

 3.when the timer fires the event(u take by some logic couple of the Lotlng
 (3-4) from the list, and till the next firing of the timer u make a paint of
 this positions)

 4. the timer pasts 100ms and fires again (by this time u have finished with
 the paitn of the first 3-4 Latlon) so you move again to point (3) when the
 timer fires again (4) you soposed to be finished with (3) and u move again
 to (3) and u do this move (3)-(4)-(3) while the list is not empty..when the
 list is empty u just terminate(stop) the timer...

 This is the scenario...u have to make a testing on the timing for sleep of
 the timer...(when new event is fired for the timer, u have to be finished
 with show of the latlon-s, what i want to say is that the combination of
 timer fire time and the number of the events u take is something u need to
 calculate by performanse(on what u do with the positions and how much time
 takes to handle this)


 Hope I help,

 Regards from Germany:)
 B

 p.s u cant use thread sleep and so on...because u dont have threds in the
 browser side..browser screepts(JS, FLEX, FLESH, SILVERLITE) are single
 thread so there is no logic(and no way that can be done) for GWT to emulate
 this libs.



 On Fri, Oct 29, 2010 at 1:08 PM, Jan jan.widm...@gmx.ch wrote:

 Hi Brian,

 Thanks for your answer. I tried some things with the array and timer
 and that staff. I tried with wait(), sleep() and also with a timer
 object. But everytime, there comes an error, that these things are not
 supported by gwt..

 The easiest way would be to have the normal callback, which gets the
 latlng array. Then in the onSuccess() Method changing the marker
 positions with a for loop and a delay. I tried that, but i couldn't
 find a possibility to make this delay

 Is it possible to do that like that, or do i have to make already the
 callback with the delay? Does that mean, that i have to make two
 callbacks, one which gets the array and the secon in a for loop?

 Thanks and best regards from switzerland.

 Jan

 On 11 Okt., 18:04, Brian hibr...@gmail.com wrote:
  GWT is Javascript, at least what the user sees on the website.
 
  One idea, is to get all the data from your server for a ship's route
  as an array of lat/lng objects, then set up a Timer() object that
  calls your callback  every 30ms or so, and you just set the map marker
  position to the next entry in the lat/lng pair.  For faster animation,
  jump further in your array, or decrease the 30ms to 15ms, etc.
 
  On Oct 9, 8:53 am, Jan jan.widm...@gmx.ch wrote:
 
   Hi all,
 
   For an actual project, we need to evaluate movements of motor-ships.
   The position datas are sent from a gps router on the ships and are
   saved in a database on our server. One of our goals is to show the
   driven way of one or more ships between a specified time as an
   animation. Our Application is written in Java with GWT. What we have
   already is, that the driven way get's drafted like a normal route in
   google maps. What we want is, to show for example all ship movements
   for one day in fast motion.
 
   My actual problem is, how to animate the driven way. Is it possible to
   do the animation in GWT, or do we need to use javascript?
 
   I hope, someone can give me some ideas.
 
   Thanks a lot.
 
   Jan
 
 

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




-- 
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: Gwt maps

2010-10-26 Thread Blagoja Chavkoski
Hi Didier,


Tnx for the replay!

Yes I know this, but mine question was is there a way to create something
like this...
(this is what i dont understand) They give about what 3000 request per
day...but if you like to
do more in a same time some of them are discarded so exp. for 40 locations
calling one by one
ull get address for a half of it back...first 5 yes then next 5-6 not..and
so on..:) I know that the computation
is expencive but again I dont see the logic..:)

regards,
B


On Mon, Oct 25, 2010 at 5:27 AM, Didier DURAND durand.did...@gmail.comwrote:

 Hi Blaze,

 The quota for geocoding limits with Google Maps is described here:
 http://code.google.com/apis/maps/faq.html#geocoder_limit

 regards
 didier

 On Oct 25, 12:10 am, Blaze baze...@gmail.com wrote:
  Hi all,
 
  I have two questions related to gwt maps api:
 
  1. I use gwt maps api and the maps(the images) are looking not up to
  date with the one on the maps.google site
  I know that the gwt api is a v2 and the latest is v3 and it dosent
  have all the futures...but to have a diff maps(images) that i dont get
  it?! Because i think that by mine logic dosnt meter what is the api
  version at the end the maps are the same(the images)...
 
  2. I want to use a reverse geocoding and it works for a couple of
  calls but my need is to be able to make reverse geocode for maybe
  50-100locations(latlng) so is there a way to do this?! or I have to
  use a gis for this?!
 
  regards
  B

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



-- 
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: Ejb and gwt..?!

2010-10-12 Thread Blagoja Chavkoski
Hi all,

First tnx for the replay!

I tried Fernando's method and cant get it work, I also dont undertend how to
package if I doit this way
do i have to add gwt.war file in the ear file or...

Abouth the local way Jin is saying, I tried this also but not working again
(I tried this long time ago)
and I also put the war file in the ear, by logic thinking that running in
the same container have to find the ejb.jar
this was my structure I had:

App.ear holding:
ejb.jar
gwt.war
and all related libs

and in the application.xml i set the module for gwt.war also:
module
web
  web-urigwt.war/web-uri
  context-root/gwt/context-root
/web
 /module

But in that point of action...I was not able to make it work..
I was getting nullPointerExp on the local ejb (Not created :) )

So what is your thinking?

I thinking is that i have some problems with how I make the packaging (not
my best side also:) )

Regards,
B


On Tue, Oct 12, 2010 at 9:41 AM, Jin jintl...@gmail.com wrote:

 Hi Blaze,

 I haven't tried Fernando's method, but it sounds like a convenient way
 to integrate the client side with EJB's.

 The method I have successfully used is to simply call the EJB's from
 the GWT RPC servlets.
 That code snippet you wrote is the right idea.  The local interface is
 fine, since the GWT RPC servlet will be running in the same VM as the
 EJB.
 I'm using this method with Glassfish v3.

 I had to put the GWT code in the same project as the EJBs but that
 might be due to my lack of understanding of how to package EARs
 properly.

 Cheers,

 Jin


 On Oct 10, 9:47 am, Blaze baze...@gmail.com wrote:
  Hi all,
 
  I was wondering is there a possibility to use ejb locally in the gwt
  servlets,
  something like:
 
  @EJB
  private TestEjbLocal testEjb;
 
  public String greetServer(String input) throws
  IllegalArgumentException {
  testEjb.test();
  }
 
  Ofcourse the gwt.war file is deployed in a ejb server (Glassfish jboss
  etc..)
  and I assume that the gwt app war file have to be in the same .ear  as
  the ejb module
  (so to be locally applicable)
 
  I know that usage of context.lookup(jndi remote interface ) works, and
  u can even run it like this from a separate
  machines(JVM to JVM communication with remote interfaces, using corba
  or etc..)
 
  Any help or exp?!
 
  Tnx
  B

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



-- 
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: GWT and concurrency

2010-09-19 Thread Blagoja Chavkoski
Hi,

As Stefano wrote...ur loop will never end..:) and no other cycle can be
executed.
This is a concurrency topic and threading, try to create in java(or any
other language)
a thread with while(true) do something, and try to confine some other
thread(some other work) to be done on this thread...
ul see that this can never be done:)

As a example:

Make a java gui with a one button...and inside the EDT(swing thread) make a
endless loop...ull se that ul never be able to catch a
event fired from the button...(this is because the EDT thread will never go
to idle and never get a new task(in case of java a new runnable or calable)
out from the EDT- que.

This is the famous Producer-Consumer pattern.

so basically here is done the same(a program written in a programming
language dose it for u, and its called browser, so the browser engine is the
one responsible for this...and thats why I dont like web programming:)
i dont have the overview of what is happening, and usually strange things
happens:) )

regards


On Sun, Sep 19, 2010 at 2:00 PM, Stefano Ciccarelli 
stef...@indacosoftware.it wrote:

 There is no preemption. The events are polled when the thread is idle
 and in your example the thread is not idle because is stuck in your
 endless and freezing cycle.

 On Sunday, September 19, 2010, Johannes Lehmann
 johannes.lehma...@googlemail.com wrote:
  I appreciate that with JavaScript interpreters executing in one thread
  there will never be any *true* concurrency. However it seems perfectly
  possible for concurrency issues to arise with the way that
  asynchronous callbacks are used  A simple example is if I am
  continuously checking the value of a variable x, and then incrementing
  it:
  while(!stop) {
int i = x;
x = i+1;
  }
 
  Once the event occurs, the handler prints the variable and sets a flag
  that causes the incrementing to stop:
  print(x);
  stop = true;
 
  The intended behavior might be that the final value of the counter is
  printed. However if the event handler is invoked right after the
  assignment 'int i = x', the value will be incremented one more time
  after it is printed, which is a concurrency bug.
 
  In such cases the synchronized keyword could have been used to define
  pieces of code which must not be interrupted by other pieces of code
  in such way. In plain Java the synchronized keyword provides an easy
  way of dealing with such issues. The problem I described in my first
  post is very similar to this in nature and I am lost as to what to do.
 
  I hope this makes what I mean a bit clearer. Of course I am not
  excluding the possibility that I just misunderstood somthing about how
  the GWT/JavaScript eventing mechanism works.
 
  Thanks,
 
  Johannes
 
  On Sep 17, 5:40 pm, Thomas Broyer t.bro...@gmail.com wrote:
  On Sep 17, 4:13 pm, Johannes Lehmann
 
  johannes.lehma...@googlemail.com wrote:
   OK, that is basically what I assumed. This however seems to create
   concurrency issues, which the synchronized keyword was designed to
   address. Without any language support such as semaphores or mutexes
   and without any guarantees regarding preemption, how could I solve a
   problem such as the above?
 
  Excuse my ignorance about semaphores/mutexes/preemption details, but
  how can there be concurrency issues if things never execute
  concurrently? (and *your* code will never execute concurrently with
  *your* code)
 
  If you really want the gory details:
 http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapi...
 
  --
  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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 

 --
 *Stefano Ciccarelli*
 stef...@indacosoftware.it

 *Indaco srl*
 via Sabin, 22 - 40017 San Giovanni in Persiceto (BO) - Italy
 tel. +39.051.827762 - fax +39.051.6874570
 i...@indacosoftware.it
 www.indacosoftware.it

 *- This e-mail is confidential and may be read, copied and used only by the
 intended recipient. If you have received it in error, please contact the
 sender immediately by return e-mail. Please then delete the e-mail and do
 not disclose its contents to any other person.

 - Le informazioni contenute in questa comunicazione sono riservate e
 destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E'
 vietato ai soggetti diversi dai destinatari qualsiasi uso, copia,
 diffusione
 di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi
 del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi
 preghiamo di rispondere a questa e-mail e successivamente cancellarla dal
 Vostro sistema.*

 --
 You received this message because you are subscribed to 

Re: [ERROR] [gmn] Unable to find 'gmn.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

2010-09-18 Thread Blagoja Chavkoski
Hi,

Seems to me u have compile errors...not eclipse but GWT..
maybe u are using some libs that are not supported by GWT...
Check yr imports...


On Fri, Sep 17, 2010 at 7:36 PM, ziv zivli...@gmail.com wrote:

 hey everybody,

 I am new to gwt programing, and I could really use some help..
 I have been writing a GWT application with eclipse. I have a GMN.JAVA that
 has
 a class that I created. and I keep getting this error, what is the problem
 here?
 a little about my hierchy:
 GMN/src/com/gmn/ui/client/GMN.java
 GMN/src/com/gmn/ui/server/GMNworld.java

 my XML file: GMN/src/com/ui/GMN.gwt.xml

 ?xml version=1.0 encoding=UTF-8?
 module rename-to='GMN'
  !-- Inherit the core Web Toolkit stuff.--
  inherits name='com.google.gwt.user.User'/

  !-- Inherit the default GWT style sheet.  You can change   --
  !-- the theme of your GWT application by uncommenting  --
  !-- any one of the following lines.--
  inherits name='com.google.gwt.user.theme.standard.Standard'/
  !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/ --
  !-- inherits name='com.google.gwt.user.theme.dark.Dark'/ --

  !-- Other module inherits  --


  !-- Specify the app entry point class. --
  entry-point class='com.gmn.ui.client.GMN'/

  !-- Specify the paths for translatable code--
  source path='client'/
  source path='server'/
  source path='shared'/

 /module


 HELP!!

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-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.



-- 
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: RPC SerializationException when going from GWT 1.7 to GWT 2.0.4

2010-09-02 Thread Blagoja Chavkoski
Hi,

I would say...try with the normal implement Serializable but its important
to add for the classes Uniq serilizationUID
and i think will work...

regards

On Mon, Aug 30, 2010 at 11:35 PM, Ken Wielechowski 
ken.wielechow...@gmail.com wrote:

 In going from GWT 1.7 to GWT 2.0.4, I am getting the following
 exception:

 dispatching incoming RPC call
 com.google.gwt.user.client.rpc.SerializationException:
 java.lang.reflect.InvocationTargetException
 at

 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSerializer
 (ServerSerializationStreamWriter)
 Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
 'java.util.ArrayList' was not included in the set of types which can
 be serialized by this SerializationPolicy or its Class object could
 not be loaded. For security purposes, this type will not be
 serialized.: instance =

 [com.etransxpress.portal.client.utilitymanager.etranslabelvalueb...@3fe42e0a,
 

 The class
 'com.etransxpress.portal.client.utilitymanager.EtransLabelValueBean'
 is defined as follows:

 package com.etransxpress.portal.client.utilitymanager;

 import com.google.gwt.user.client.rpc.IsSerializable;
 @SuppressWarnings(unchecked)
 public class EtransLabelValueBean implements IsSerializable
 {
private String label;
private String value;

public EtransLabelValueBean()
{
}

public EtransLabelValueBean (String label, String value)
{
this.label = label;
this.value = value;
}

public String getLabel() {
return label;
}

public void setLabel(String label) {
this.label = label;
}

public String getValue() {
return value;
}

public void setObject(String value) {
this.value = value;
}
 }

 I am getting this exception where I am populating an ArrayList of
 these objects defined in my program as follows:

private static CollectionEtransLabelValueBean countryList; (which
 is an instance variable)

//Before RPC call is made to server, the following is done:
countryList = new ArrayListEtransLabelValueBean();
//The server side is returning an ArrayList of this data

 The application is deployed on a JBOSS 5.0.1 application server.

 Do you have any ideas on how I can correct this problem.
 Thank you very much.

 Ken Wielechowski

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



-- 
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: Firing native events in GWT?!

2010-08-03 Thread Blagoja Chavkoski
Hmm..this I didnt think about:).. it might work...
tnx..have to try it..:)

On Tue, Aug 3, 2010 at 11:58 AM, Rob Coops rco...@gmail.com wrote:

 Ah, ok fair enough apperantly (google search helps a lot :) you should be
 able to use:

 DomEvent.fireEvent(Document.get().createXXXEvent, handlerSource);



 On Tue, Aug 3, 2010 at 11:52 AM, Blagoja Chavkoski baze...@gmail.comwrote:

 Hi,
 first tnx for the rpl..

 yes thats ok...also would be ok to fire onNativeEvent in widget
 method...but I have more components(widgets) related to that event..and i
 dont like to keep instance of all of them and fire the event one by
 one...for each...
 In gwt 1.6 there ware metods in Document.firexxxnativeEvent...but after
 2.0 there not inside...and i dont no how can be done...

 On Tue, Aug 3, 2010 at 11:45 AM, Rob Coops rco...@gmail.com wrote:

 No idea if it is the right thing to do but you could just call the
 onKeyPressed method of the widget in quesion can't you?

 On Tue, Aug 3, 2010 at 11:40 AM, Blaze baze...@gmail.com wrote:

 Hi all,

 I have one question...how can we fire a native event in gwt...??
 by native event I think on let me say..keyboard key pressed...etc

 Tnx,

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


  --
 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.comgoogle-web-toolkit%2bunsubscr...@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-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.


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


-- 
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: gwt module may need to be (re)compiled

2010-07-29 Thread Blagoja Chavkoski
You have problems with compiling, probably not created all permutation...Ill
say u have added some I18N language topics
Compile first all project, then create the war..with all pages...let me say
if u have 2 languages..en and de than u need to compile(the compiler, not
you) 14 diff permutation...if 3 lang then about 21...and so on:)

Hope i help..!:)

On Thu, Jul 29, 2010 at 10:18 AM, Thomas Van Driessche 
thomas.van.driessch...@gmail.com wrote:

 Hi all,

 I have developed for a while now on a gwt 2.0.0 and maven project.
 But recently i did a maven clean install on the project to generate
 the war file in the target folder.

 Now when i tried to do a mvn gwt:run again it sais that the module may
 need to be (re)compiled...
 I can't get it fixed.

 I even checked out an older version of the project out of the
 repository in an new workspace, but still i get the error.
 And i am sure that that version was working when i checked in the
 changes...

 Any idea pls??

 I'm really stuck here

 kind regards,
 Thomas

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



-- 
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: gwt module may need to be (re)compiled

2010-07-29 Thread Blagoja Chavkoski
How much language sup. u have?!
I would say take out all inheritance for languages in the gwt.xml module,
and re-compile the app and try what will happen...

Also on withc browser you test..let me say..u can say to the compiler not to
create all the permutation, maybe for a try just
for firefox..(the compile time would be much fester also:) )

But try first the one before...


On Thu, Jul 29, 2010 at 11:52 AM, Thomas Van Driessche 
thomas.van.driessch...@gmail.com wrote:

 Hi,

 Thanks for the reply.
 But i think this is what i did?

 What steps/commands do you suggest then?

 kind regards

 On Jul 29, 11:39 am, Blagoja Chavkoski baze...@gmail.com wrote:
  You have problems with compiling, probably not created all
 permutation...Ill
  say u have added some I18N language topics
  Compile first all project, then create the war..with all pages...let me
 say
  if u have 2 languages..en and de than u need to compile(the compiler, not
  you) 14 diff permutation...if 3 lang then about 21...and so on:)
 
  Hope i help..!:)
 
  On Thu, Jul 29, 2010 at 10:18 AM, Thomas Van Driessche 
 
  thomas.van.driessch...@gmail.com wrote:
   Hi all,
 
   I have developed for a while now on a gwt 2.0.0 and maven project.
   But recently i did a maven clean install on the project to generate
   the war file in the target folder.
 
   Now when i tried to do a mvn gwt:run again it sais that the module may
   need to be (re)compiled...
   I can't get it fixed.
 
   I even checked out an older version of the project out of the
   repository in an new workspace, but still i get the error.
   And i am sure that that version was working when i checked in the
   changes...
 
   Any idea pls??
 
   I'm really stuck here
 
   kind regards,
   Thomas
 
   --
   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
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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-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.



-- 
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: GWT. commons.lang.StringUtils

2010-07-25 Thread Blagoja Chavkoski
Hi,

You cant use any java.jar file in gwt without having the source code
included in the jar and having
the gwt.xml file pointing to the source classes...why u need this?! because
gwt compiler needs to compile this classes
to js! gwt by default compiles all classes in client and all classes in
shared to js, and bacause u have a import for commons gwt try's to compile
this import also!!! but there is no source code and no gwt.xml file in the
jar

If you dont understand what im saying:) open one of the normal .jar lib
files used in gwt and youll see that inside u have all I wrote before!
(source classes and gwt.xml)

Important!!

If having a lib that inside uses other lib..than u need the same thing for
this imported lib:)...so basic dont use in client and shared any java lib
other then the
normal java lang libs(the compiler have the source for them by default)...to
see what im talking...try to add insted of ArrayList...
ConcurentArrayList...ull get the same problem..because the compiler dosent
recognize this libs also:))

regards blaze,
Hope i was of help...

On Sun, Jul 25, 2010 at 10:46 PM, Feldman, Nir (48Upper) nir.feld...@hp.com
 wrote:

 It is not really possible since StringUtils is based on java regular
 expression and the GWT regular expression emulator is based on a javascript.
 You will need to write it by your own

 -Original Message-
 From: google-web-toolkit@googlegroups.com [mailto:
 google-web-tool...@googlegroups.com] On Behalf Of Arar
 Sent: Friday, July 23, 2010 2:24 AM
 To: Google Web Toolkit
 Subject: GWT. commons.lang.StringUtils

 Hi,

 I am trying to search between two Strings using the
 StringUtils.substringBetween() in my project. I have imported
 org.apache.commons.lang.StringUtils;  in my Entry Point java file . I
 have included common-lang.jar in my lib directory and in my project
 path. I have also modifed my gwt.xml
  inherits name=com.googlecode.gwt.commons.long.Long/. I dont know
 if this is right or wrong.

 The Java Compilation goes through without any Errors . but if i do a
 GWT compile i get the following error

 [ERROR] Line 190: No source code is available for type
 org.apache.commons.lang.StringUtils; did you forget to inherit a
 required module?
 lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/util/emul/java/util/regex/
 Pattern.java'
 [WARN] Line 140: Referencing class
 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable
 to resolve class, expect subsequent failures
 [WARN] Line 149: Referencing class
 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable
 to resolve class, expect subsequent failures
 [WARN] Line 183: Referencing class
 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable
 to resolve class, expect subsequent failures


 I want to know if its possible to includes
 org.apache.commons.lang.StringUtils in GWT  and how can i do the
 inherits in my GWT.XML file or i am digging in the wrong way.

 Please HELP.
 Any help would be appreciated. Thank you very much.

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

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



-- 
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 Java Documentation Tool from Sencha

2010-07-20 Thread Blagoja Chavkoski
Because i like to have the bought libs used, GWT and GXT for my projects...
and to be open on what future to use I create one abstract class extending
one of the gxt widgets
...usually ContentPanel..because is the most rich one..and in this class I
add all the  gwt future I like to have.
Just implement some interfaces and so on... copying the code from the gwt
implementation will pass ok normally.
If somewhere I have problems implementing something with this class...i need
some more specific one...then i do the same
with that one..

Its yours very fest implementation..but you have to be at list advance in
programming


On Mon, Jul 19, 2010 at 2:43 PM, Peter Simun si...@seges.sk wrote:

 Are there any plans when will sencha use standard GWT APIs ?

 Like HasText, HasValue, HasWidgets interfaces?

 For example,
 TextArea does not implements any of interfaces above but the widgets
 itself should hasve such an implementations.

 Thanks,
 Peter

 On 19. Júl, 14:17 h., Brian Reilly brian.irei...@gmail.com wrote:
  It looks like some doc content isn't being displayed. I happened to go
  to com.extjs.gxt.ui.client.widget.Label and viewed the source and say
  a dl block. However it's not showing up in the app anywhere that I
  could see.
 
  -Brian
 
  On Jul 16, 3:17 am, Abraham Elias abraham.el...@gmail.com wrote:
 
   We're very excited to share the release of Sencha Docs built using GWT
   and Sencha.
 
  http://www.sencha.com/blog/2010/07/15/sencha-docs-gives-javadoc-a-fac.
 ..
 
   For the last 15 years, java developers have have used JavaDoc to
   create API documentation.  We're all familiar with JavaDoc's dated
   interface, but we're giving it a major face lift and hope you like the
   results.
 
   We'd love to know what the GWT community thinks and what other
   javadocs you'd like to see in this format.  (hint:  GWT docs coming
   soon!)
 
   Abe

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



-- 
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: Remove event handlers or not?

2010-07-19 Thread Blagoja Chavkoski
Hi,

I have some small question related to events..but other way around:
How can we fire a native(browser) event in gwt 2.xx ?!  On 1.6 there was a
method.Document.fireXXXEvent
but not in the newer relies.

tnx!

On Tue, Jul 20, 2010 at 12:23 AM, Thomas Broyer t.bro...@gmail.com wrote:



 On 19 juil, 23:15, jay jay.gin...@gmail.com wrote:
  Where do you see the automatic removal of handlers? There's nothing
  when a widget is unloaded, and I can't find anything that would do any
  cleanup.  Maybe there's some code somewhere to do cleanup as the app
  is shutting down?

 onDetach calls setEventListener(getElement(), null) which is enough to
 mitigate memory leaks:
 http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks
 And on window.onunload, all RootPanels and wrap()ed widgets are
 detached, so their onDetach method is called (which recursively detach
 their children).

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



-- 
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: Error while running my web app....

2010-07-19 Thread Blagoja Chavkoski
Compile the application...u made a big changes probably (I would say u
implement locale or something like that )
so the app dose not have all needed permutations for the pages.

Just compile, if using gwt plugin for eclipse the red icon..if using stand
alone with ant build then call compile target from the build file



On Mon, Jul 19, 2010 at 1:32 PM, rohit kumra rohit.kumra...@gmail.comwrote:

 GWT module abc may need to be (re)compiled.
 can anybody plz tel me the solution to this prob...?

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



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