how to hide vertical scrollbar of a Frame?

2012-02-23 Thread bognekadje
Hi,
In my application, i have a Frame which can scroll automatically, So i
would hide vertical scrollbar to prevent user scroll.How can i do
this?

Thanks in advance for your help.

Eric.

-- 
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: Issue: Multiple Presenter Instances

2012-02-23 Thread Thomas Broyer
When you attach a new presenter to a view, it should *replace* the previous 
one, so you have to find a way to do this.

if you follow the part 2 article from the docs, the one with a Presenter 
interface in addition to the Display interface, then it's straightforward.
If you don't, but you're using Activities (and your activity is your 
presenter), then you'll have a clear onStop() hook signaling your presenter 
when to un-register its event handlers.
Otherwise, you'll have to come up with something similar.

I can't express how strongly I'd suggest you use Places and Activities for 
navigation (rather than History and tokens), and the part 2 approach for 
binding your presenter(s) to the view (call setPresenter on the view from 
your activity's start() method, and possibly call setPresenter(null) from 
onStop and onCancel)

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



flex table help

2012-02-23 Thread Nitheesh Chandran
Hello ,

I want to get the row and column index when the mouse over event
occurs.When the user put mouse over a cell i want the row and cell
number
so i used the following code..But i am not getting it. Can anyone tell
me the reason  ?

com.google.gwt.user.client.Element td = DOM.getParent(getElement());

com.google.gwt.user.client.Element tr = DOM.getParent(td);
com.google.gwt.user.client.Element body = DOM.getParent(tr);
int r = DOM.getChildIndex(body, tr);
int c = DOM.getChildIndex(tr, td);

-- 
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: flex table help

2012-02-23 Thread Paul Robinson

public class MyTable extends FlexTable
{
public MyTable()
{
sinkEvents(Event.ONMOUSEOVER | Event.ONMOUSEOUT | Event.ONCLICK);
}

public void onBrowserEvent(Event event)
{
Element td = super.getEventTargetCell(event);
Element tr = td == null ? null : DOM.getParent(td);
Element body = td == null ? null : DOM.getParent(tr);
int row = body == null ? -1 : DOM.getChildIndex(body, tr);
int column = tr == null ? -1 : DOM.getChildIndex(tr, td);
}
}


On 23/02/12 09:21, Nitheesh Chandran wrote:

Hello ,

I want to get the row and column index when the mouse over event
occurs.When the user put mouse over a cell i want the row and cell
number
so i used the following code..But i am not getting it. Can anyone tell
me the reason  ?

com.google.gwt.user.client.Element td = DOM.getParent(getElement());

com.google.gwt.user.client.Element tr = DOM.getParent(td);
com.google.gwt.user.client.Element body = DOM.getParent(tr);
int r = DOM.getChildIndex(body, tr);
int c = DOM.getChildIndex(tr, td);



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



Re: Cannot deserialized ArrayList object in GWT 2.3

2012-02-23 Thread POITTEVIN Raphael
BM bhushan.madan@... writes:

 
 It works on an empty project.
 
 So I compared my project with empty project. The difference is my
 project uses Maven.
 
 I realized gwt-servlet.jar was missing in my project. So when I copied
 the gwt-servlet.jar in the lib folder created inside WEB-INF it
 worked!
 
 But the funny thing is my RPC call with String object was working fine
 without gwt-servlet.jar
 
 Thanks everyone on contributing and helping me. I am still surprise
 how did gwt-servlet.jar gets deleted or may not be there in the first
 place. And how did simple RPC worked before with String objects and
 not working with ArrayList or HashSet objects.
 
 We learn new things every day! Thanks again all of you for taking your
 time to guide me here. I appreciate it!
 
 On Aug 10, 11:21 am, Alex Dobjanschi alex.dobjans...@...
 wrote:
  BM, can you create an empty project and copy those files (service, service
  async, server impl, etc)  run it?
 


Hi, 

I was experimenting the exact same problem as you, using a simple service that
was returning a simple and serializable object that contained a List of
serializables objects.

I still didn't understand well what was wrong in my code. But looking back in my
pom.xml, I found that my version of gwt-servlet was 2.2.0 whereas my version of
gwt was 2.4.0 . I simply changed the gwt-servlet version to 2.4.0 and now it
works fine (didn't had to copy any jar anywhere).

Cheers,

Raphael POITTEVIN



-- 
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: flex table help

2012-02-23 Thread Nitheesh Chandran
Thanks ,it works

On Feb 23, 2:54 pm, Paul Robinson ukcue...@gmail.com wrote:
 public class MyTable extends FlexTable
 {
      public MyTable()
      {
              sinkEvents(Event.ONMOUSEOVER | Event.ONMOUSEOUT | Event.ONCLICK);
      }

      public void onBrowserEvent(Event event)
      {
          Element td = super.getEventTargetCell(event);
          Element tr = td == null ? null : DOM.getParent(td);
          Element body = td == null ? null : DOM.getParent(tr);
          int row = body == null ? -1 : DOM.getChildIndex(body, tr);
          int column = tr == null ? -1 : DOM.getChildIndex(tr, td);
      }

 }

 On 23/02/12 09:21, Nitheesh Chandran wrote:







  Hello ,

  I want to get the row and column index when the mouse over event
  occurs.When the user put mouse over a cell i want the row and cell
  number
  so i used the following code..But i am not getting it. Can anyone tell
  me the reason  ?

  com.google.gwt.user.client.Element td = DOM.getParent(getElement());

             com.google.gwt.user.client.Element tr = DOM.getParent(td);
             com.google.gwt.user.client.Element body = DOM.getParent(tr);
             int r = DOM.getChildIndex(body, tr);
             int c = DOM.getChildIndex(tr, td);

-- 
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: Synchronise view loading and activity start in MVP

2012-02-23 Thread Thomas Lefort
Hi Thomas,

Thanks for you suggestion.

Not sure that would be enough. This is my use case:
- I have 3d applet in my view, it takes a while to load, as well with
user authorisation, etc... I am able to detect when the applet has
started running though
- the view is created once and managed by client factory
- my activity loads at start up some user data, some of it to be
displayed in the applet via my view interface
- I need to be able to wait for the applet to be ready to add the user
data, at least for the first time the view has been created

This is actually just as valid for the 2d map, which I load
asynchronously via the google api library. Even if I didn't I still
need to be able to habdle the case where the library hasn't loaded at
all, reached api limit or network issue, and prevent the activity from
trying to add map data.

My current idea is to add a whenViewReady(AsyncCallback) to my view in
the activity start. This method will call the callback if the view is
already ready (immediate) or when the view is ready (upon completion
of the load). If there are better suggestions (use of event bus or
else), I am happy to hear them.

Thanks for any help,

Thomas


On Feb 3, 1:06 pm, Thomas Broyer t.bro...@gmail.com wrote:
 Simply wait for all your code to be loaded (could be required scripts, or
 RPC/RequestFactory calls to the server) before pushing your view into the
 AcceptsOneWidget passed to the Activity#start() method.

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



Using non disposable activities extracting parameters from a place

2012-02-23 Thread l.denardo
Hello,
I'm facing a problem with activities and places.
My use case is quite simple.

I have more kind of places in my app (e.g. CalendarPlace and
ResourcePlace). Each place can contain the ID of a given object.
When I switch place I want to load the correct editor for the kind of
object (switching if place type has changed) AND init it with the
correct value.

I use two activities to accomplish this. CalendarActivity and
ResourceActivity.
My ActivityMapper selects the correct kind, extracts the object ID
from the current Place and sets it on the correct Activity, then
returns it.

I load the details of the object on each activity's start(...) method.

My problem is that the two activities are actually singletons (not-
disposable), since they have different dependencies injected through
GIN.
In this case the ActivityManager (line 114) does NOT fire a start(...)
on the activity after the place has changed.
My place switch works fine when activity kind changes, but not when
the activity is the same but objectId has changed.

i.e calendar13 -- resource 14 is fine, and resource14 is loaded
resource14 -- resource15 is not: start is not called so resource15 is
not loaded

I wonder what is the best way to have a correct state change when
place chages occur.
*Build a GIN provider or the like for activities and have a different
Activity object returned each time
*Do the new object loading immediately when the ActivityMapper calls
the setter instead of the start(...) method
*Any other way?

I noticed things can be mixed reading
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d827400bda6b996b/4367bbcc2d36aa5c?lnk=gstq=reuse+activity#4367bbcc2d36aa5c
but I wonder if there's a suggested way to work around this.

Thanks for your help
Lorenzo

-- 
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: how to hide vertical scrollbar of a Frame?

2012-02-23 Thread Ashwin Desikan
Set the overflow CSS property to hidden value. This should disable scrolling. 

~Ashwin

Sent from my iPhone

On Feb 23, 2012, at 1:45 PM, bognekadje bogneka...@gmail.com wrote:

 Hi,
 In my application, i have a Frame which can scroll automatically, So i
 would hide vertical scrollbar to prevent user scroll.How can i do
 this?
 
 Thanks in advance for your help.
 
 Eric.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 

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



Re: the reverse: creating properties file out of existing Constants/Messages interfaces

2012-02-23 Thread mma
Vlad - Thanks for posing the question.

Soon - Thanks for providing the answer.

This is a lot better than creating the properties files first and then 
generating the interfaces.

-- 
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/-/G57syBgwrQAJ.
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: Using non disposable activities extracting parameters from a place

2012-02-23 Thread Thomas Broyer


On Thursday, February 23, 2012 1:22:38 PM UTC+1, l.denardo wrote:

 My problem is that the two activities are actually singletons (not- 
 disposable), since they have different dependencies injected through 
 GIN. 


If this is the only reason, then it's not a good reason. It's too easy to 
not use singletons with GIN to not take advantage of it: replace your 
dependency on CalendarActivity to a dependency on 
ProviderCalendarActivity in your ActivityMapper (same for 
ResourceActivity) and you're done, and you'd have eliminated your issue at 
the same time.

I wonder what is the best way to have a correct state change when 
 place chages occur. 
 *Build a GIN provider or the like for activities and have a different 
 Activity object returned each time 


Definitely (unless you have a good reason to do otherwise)
 

 *Do the new object loading immediately when the ActivityMapper calls 
 the setter instead of the start(...) method 
 *Any other way?


Tracker whether the activity is started or not (as I said on some other 
similar thread in the past few weeks, this is something you should already 
be doing anyway IMO) to determine what to do when the setter is called: 
either wait for the activity to be started, or start loading the data right 
away if the activity is already live and running.

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



Re: how to hide vertical scrollbar of a Frame?

2012-02-23 Thread bognekadje
Hi Ashwin, thanks for reply,

i already test that, but it don't work. I also test
Frame.getelement().getStyle().setOverflow().
I don't understand why.

-- 
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 Developer Plugin for Firefox not installing completely

2012-02-23 Thread Scott Matthews

Alan Leung acleung@... writes:

 
 
 Hi Allyn:
 
 Thanks for the report. It seems to be that the new
forward compatibility feature in the install-template.rdf is not
backward compatible (the irony) in FF3.6 and that version only.
 
 I disabled the strict check that would fix it. Currently in
review: http://gwt-code-reviews.appspot.com/1642803/
 
 
 As far as I understand that part is not necessary. It might be if binary
extensions become forward compatible by default (not likely anyways). At that
point I might have to break 3.6 and you might have to use a special xpi for 3.6.
 
 I'll try to file a bug to Mozilla people, I am not sure how willing they are
to going back to fix a bug in 3.6.
 
 -Alan
 
 
 
 
 
 On Fri, Feb 10, 2012 at 12:01 AM, Alan Leung
acle...@google.com wrote:
 I am out of office at the moment and can't do much until Monday.
 You can download an older build from SVN to get around the problem:
 

http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi?r=10837
 
 
 -Alan
 On Thu, Feb 9, 2012 at 11:22 AM, Allyn
allyn.h...@gmail.com wrote:
 Up until yesterday I was using the GWT Developer Plugin for Firefox
 3.6 without issue. Then, suddenly, when I started up Firefox yesterday
 it did not recognize the plugin as being installed. In the add-on
 list, the plugin stated that I had to restart Firefox to complete the
 installation. I tried this, many times, to no avail. I even
 reinstalled Firefox and downloaded the plugin again. Still didn't
 work. I have no idea what would cause it to not only stop working
 suddenly and also not to work when I reinstall everything from
 scratch. I selected the option to remove all profile and plugin data
 when I tried the re-install.
 I'm not really sure what additional information to provide, so if
 you're reading this thinking I can't help there's too little
 information then please let me know what else I can provide.
 --
 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.
 
 
 
 
 
 
 
 
 
 
 
 
 

Hi, I've been looking for a solution to this issue as well (Preferably some sort
of rebuild or older version of the plugin).  I was wondering if there has been
any movement on this.  I've found the related defect on this that Allyn 
reported.

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




-- 
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: Using non disposable activities extracting parameters from a place

2012-02-23 Thread l.denardo
Thank you Thomas!

I ended up doing something similar to what you say, moving GIN
injected dependencies into my ActivityMapper and using them to build a
new Activity (I'll switch to a provider as soon as possible).
I actually ended up subclassing ActivityManager (and extending
Activity itself) to provide a different switching behavior, since I
had some needs for optimization.
Maybe I'll go back to the default as I clean up my own code using the
Places/Activity architecture (I'm on an hand-made MVP, with no place
tight behavior, by now).

Thanks very much for your collaboration (and of course for your blog
posts on the whole framework, I found them way clearer than the
official documentation on this matter).

Regards
Lorenzo

On Feb 23, 3:15 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On Thursday, February 23, 2012 1:22:38 PM UTC+1, l.denardo wrote:

  My problem is that the two activities are actually singletons (not-
  disposable), since they have different dependencies injected through
  GIN.

 If this is the only reason, then it's not a good reason. It's too easy to
 not use singletons with GIN to not take advantage of it: replace your
 dependency on CalendarActivity to a dependency on
 ProviderCalendarActivity in your ActivityMapper (same for
 ResourceActivity) and you're done, and you'd have eliminated your issue at
 the same time.

 I wonder what is the best way to have a correct state change when

  place chages occur.
  *Build a GIN provider or the like for activities and have a different
  Activity object returned each time

 Definitely (unless you have a good reason to do otherwise)

  *Do the new object loading immediately when the ActivityMapper calls
  the setter instead of the start(...) method
  *Any other way?

 Tracker whether the activity is started or not (as I said on some other
 similar thread in the past few weeks, this is something you should already
 be doing anyway IMO) to determine what to do when the setter is called:
 either wait for the activity to be started, or start loading the data right
 away if the activity is already live and running.

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



Introduce New GWT UI/Graph Framework - Trufun WebRCP

2012-02-23 Thread keven
http://code.google.com/p/trufun-webrcp/

Trufun WebRCP:the GWT framework with completely open source based on
html5 technology, is used to transplant eclipse RCP to GWT WEB.

On the basis of WebRCP, developer can develop GWT application with
eclipse SDK API. At present WebRCP has already been succeeded in
transplanting to GWT platform from eclipse user’s interface
SWT,JFace,UI, RCP, excellent Graphical editing framework Eclipse GEF,
model editing framework Eclipse EMF and Eclipse UML2 etc..
Developer ,with a few modification, can switch the applications
developed by eclipse SWT or eclipse RCP to GWT, then turns them into
WEB program.

Users can transplant applications developed by the eclipse platform to
the WEB on the basis of webrcp, also may develop the new WEB
applications based on the API of powerful eclipse platform. The
typical case is like new WEB vectorgraph application developed on the
base of GEF API and EMF/UML 2 API, such as flow chart,engineering
drawing,UML modeling,GIS .

All the main current browsers have already been provided with the
html5 as the support these days, so webrcp, on the basis of html5
technology, can run not only on PC, but also on the removable
equipment providing HTML5 browser as mobile phone and tablet PC .

Compared with the Eclipse RAP transplanting RCP to WEB, RCP can be
transplanted to WEB almost without the modification , this is the
advantage of Eclipse RAP.But the disadvantage is that it can't be
helped for client interaction without server like Word Processing and
Drawing etc..On the contrary, Trufun WebRCP needs a bit of
modification when switching RCP due to the restriction of GWT. But
it's more suitable for drawing and word processing and so on ,which
are the applications without server interaction,even with no server,
only a WEB page can do the drawing, storage and read for local
computer. These are characterized by local applications to develop
tablet PC and mobile phone by html5. In additon, another important
differece is WEBRCP is based on the HTML5 technology, therefore RAP is
unable to do it at present if adopting the character of HTML5 like
canvas and video so on.

As the typical application, the WEB drawing frame ,which is provided
with GEF based on webrcp, is compared with the existing WEB drawing
frame as follows:
Jgraph: Mxgraph is provided with Jgraph. On the one hand, mxgraph must
be developed with javascript ,which is too inconvenient on development
and debugging compared with java; On the other hand, its API has a big
difference from mature eclipse GEF. Moreover, Without EMF as the
support, the persistence of graphic data is also the big problem.
Flash/silverlight: First, Flash/silverlight requires users to download
relevant plugin. Second, Flash/silverlight doesn’t have API as
powerful and mature as GEF/EMF has.
Applet/javafx: One side, users are required to download relevant
software. Another side is the big problem of compatibility.

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



Html5shiv

2012-02-23 Thread msanztru
Hello,

I have ported a project to gwt. I use UiBinder and  html5 tags all
around the place: nav, section, header... things like that.
Things I have used before and that I have been able to render properly
in IE using html5shiv. However if I use html5shiv with gwt nothing is
rendered in IE. Is there any workaround for this or I'll have to
redesign the whole thing...

Thanks for any help you can provide!

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



Problem getting chunked data from gwt servlet.

2012-02-23 Thread Samvel karaxanyan
Hi, recently  I have a problem getting chunked data response from gwt
servlet. So I have a gwt application that uses RPC call to get the
data and now sometimes when getting data from server the data is
chunked and broken. The interesting thing is that on the same RPC call
that data can be broken only once per 10 requests.

The request headers looks something like this

Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language en,en-us;q=0.5
Cache-Control   no-cache
Connection  keep-alive
Content-Length  319
Content-Typetext/x-gwt-rpc; charset=utf-8
Cookie  JSESSIONID=1ml58x6sh3up6
Host192.168.0.101:
Pragma  no-cache
Referer http://192.168.0.101:/SCC.html?gwt.codesvr=192.168.0.101:9997
User-Agent  Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/
20100101 Firefox/10.0.2
X-GWT-Module-Base   http://192.168.0.101:/scc/
X-GWT-Permutation   HostedMode

The responce headers are :
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Server: Jetty(6.1.x)

And the data is something unreadable.

Can you at least tell me from where to start searching for a cause of
the problem.

Thanks in Advance

-- 
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: Multiple RequestFactory servlets for a single GWT application

2012-02-23 Thread Gilad Egozi
Hi Thomas

I'm not talking about two instances of the same RequestFactory class,
but rather on two different RFs with different services.
Does your explanation apply in that case too?

Thanks,
Gilad.

On Feb 18, 1:09 pm, Thomas Broyer t.bro...@gmail.com wrote:
 Because RF works with reflection and stores some state in static variables,
 you cannot expose only a subset of proxies/services on a given endpoint
 (servlet instance). You can however do some runtime checks using
 ServiceLayerDecorators, just take care of overriding only the methods that
 are really runtime (in other words, do not override any method that's
 overriding in the internal ServiceLayerCache class). On the non-secured
 endpoint, you could for instance report() or die() when someone tries to
 invoke() any method that's annotated with some @Secure annotation.

-- 
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: Multiple RequestFactory servlets for a single GWT application

2012-02-23 Thread Thomas Broyer


On Thursday, February 23, 2012 6:30:38 PM UTC+1, Gilad Egozi wrote:

 Hi Thomas 

 I'm not talking about two instances of the same RequestFactory class, 
 but rather on two different RFs with different services. 
 Does your explanation apply in that case too?


Absolutely. The static state is on the server-side. 

-- 
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/-/oBRzNMhx0GIJ.
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: Issue: Multiple Presenter Instances

2012-02-23 Thread Cassio
Thank you,

I think I'll go for that second way of handling this.

 I'll also take a look into Places and Activities. Is there a bigger 
example project around than Tutorial-hellomvp-2.1?

-- 
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/-/9LNlnUvbFa0J.
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: Compiler exception occured. Not able to compile GWT application

2012-02-23 Thread Ronnie and Sandy
Very helpful, Sudhakar. God Bless You!

-- 
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 Developer Plugin for Firefox not installing completely

2012-02-23 Thread Alan Leung
It should be fixed in the SVN.

-Alan

On Thu, Feb 23, 2012 at 8:04 AM, Scott Matthews scott...@broadinstitute.org
 wrote:


 Alan Leung acleung@... writes:

 
 
  Hi Allyn:
 
  Thanks for the report. It seems to be that the new
 forward compatibility feature in the install-template.rdf is not
 backward compatible (the irony) in FF3.6 and that version only.
 
  I disabled the strict check that would fix it. Currently in
 review: http://gwt-code-reviews.appspot.com/1642803/
 
 
  As far as I understand that part is not necessary. It might be if binary
 extensions become forward compatible by default (not likely anyways). At
 that
 point I might have to break 3.6 and you might have to use a special xpi
 for 3.6.
 
  I'll try to file a bug to Mozilla people, I am not sure how willing they
 are
 to going back to fix a bug in 3.6.
 
  -Alan
 
 
 
 
 
  On Fri, Feb 10, 2012 at 12:01 AM, Alan Leung
 acle...@google.com wrote:
  I am out of office at the moment and can't do much until Monday.
  You can download an older build from SVN to get around the problem:
 
 

 http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi?r=10837
 
 
  -Alan
  On Thu, Feb 9, 2012 at 11:22 AM, Allyn
 allyn.h...@gmail.com wrote:
  Up until yesterday I was using the GWT Developer Plugin for Firefox
  3.6 without issue. Then, suddenly, when I started up Firefox yesterday
  it did not recognize the plugin as being installed. In the add-on
  list, the plugin stated that I had to restart Firefox to complete the
  installation. I tried this, many times, to no avail. I even
  reinstalled Firefox and downloaded the plugin again. Still didn't
  work. I have no idea what would cause it to not only stop working
  suddenly and also not to work when I reinstall everything from
  scratch. I selected the option to remove all profile and plugin data
  when I tried the re-install.
  I'm not really sure what additional information to provide, so if
  you're reading this thinking I can't help there's too little
  information then please let me know what else I can provide.
  --
  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.
 
 
 
 
 
 
 
 
 
 
 
 
 

 Hi, I've been looking for a solution to this issue as well (Preferably
 some sort
 of rebuild or older version of the plugin).  I was wondering if there has
 been
 any movement on this.  I've found the related defect on this that Allyn
 reported.

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




 --
 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/AppEngine application for distributed role playing - dorp

2012-02-23 Thread ingo
Hello,

did you love to play role playing games with your friends but you just
went abroad so you cannot meet with them to play anymore? Worry no
more because you can go on playing with a little help from dorp:
distributed online role playing. dorp is a Google Web Toolkit
application running on Google App Engine. Together with a couple of
friends I created dorp just for fun and put it online at
http://distributedroleplaying.appspot.com/. We typically use Skype for
talking and dorp for sharing information about our characters as well
as images, e.g. maps, magical items, drawings.

For more information see 
http://usability-nightmare.blogspot.com/2012/02/distributed-online-role-playing-with.html.

Cheers,
Ingo

-- 
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 by hand (no xml configuration, no ant, no running gwt-dev.jar)

2012-02-23 Thread Harry
Jens, thanks for your reply.

For 1) I already have jetty and I've added the my servlet to Jetty's
context.

For 2+3) I'm sure I'll need gwt-dev and user in my class path. But I'd
like to do something that has a little more finesse than invoking the
main on their class. I'd really like to instantiate the classes I need
(or better yet, there is some factory I can instantiate in their jar).
But even if I call main, I'm pretty sure I need to have some XML
config file.

I just don't want to have an XML configuration, when I could tell GWT
about it programatically.

On Feb 22, 10:25 am, Jens jens.nehlme...@gmail.com wrote:
 1) Just use any sort of embedded web server like jetty and let it serve the
 war folder of your GWT project.

 2 + 3.) You will definitely need gwt-dev.jar  gwt-user.jar in your
 classpath and then you can use:
    - com.google.gwt.dev.DevMode to run GWT's DevMode
    - com.google.gwt.dev.Compiler to compile your Java files to JavaScript.
 Both classes have a main() method so you can directly execute them from
 command line as long as your classpath is correct and you provide the
 needed parameters.

 -- J.

-- 
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-contrib] Internet Explorer issue with CssResource

2012-02-23 Thread Vijay Poojary
Hi,

I am using CSSResource to set style on the HTML element and I am also
setting width on that element by doing setWidth(80px) to use
ellipsis.


The issue is on IE text is not getting wrapped to second line, which
should not as I have style loaded using CSSREsource as follows:

.gridHeaderColumnLabel {

white-space: nowrap;
overflow: hidden;
text-overflow:ellipsis;
font-family: Arial, Myriad Web, Arial, Trebuchet MS, Tahoma, Courier
New CE;
text-align: center;
font-size: 13px;
font-weight: bold;
color: #00;
text-decoration: none;
cursor: pointer;
cursor: hand;

/* This will prevent the bleeding of the label from cell */
display:table-cell;
}


Works perfectly fine on all the browsers, but IE rendering is causing
issue as i can see width is there and ellipsis also there in style
using Developer Tool.

If i specify width inside CSS class, then works fine, but my width is
dynamic for each column.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Internet Explorer issue with CssResource

2012-02-23 Thread Hilco Wijbenga
On 23 February 2012 06:39, Vijay Poojary vijay.pooj...@coaction.com wrote:
 Hi,

 I am using CSSResource to set style on the HTML element and I am also
 setting width on that element by doing setWidth(80px) to use
 ellipsis.

 The issue is on IE text is not getting wrapped to second line, which
 should not as I have style loaded using CSSREsource as follows:

 .gridHeaderColumnLabel {

        white-space: nowrap;
        overflow: hidden;
        text-overflow:ellipsis;
        font-family: Arial, Myriad Web, Arial, Trebuchet MS, Tahoma, Courier
 New CE;
        text-align: center;
        font-size: 13px;
        font-weight: bold;
        color: #00;
        text-decoration: none;
        cursor: pointer;
        cursor: hand;

        /* This will prevent the bleeding of the label from cell */
        display:table-cell;
 }


 Works perfectly fine on all the browsers, but IE rendering is causing
 issue as i can see width is there and ellipsis also there in style
 using Developer Tool.

 If i specify width inside CSS class, then works fine, but my width is
 dynamic for each column.

You have white-space:nowrap so would it not make sense that it
doesn't wrap? Having said that, apparently IE has problems with
white-space:no-wrap in certain scenarios. You might want to look into
that.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Remapping the tabindex ARIA attribute to tabIndex because browsers implement the latter, eve... (issue1651803)

2012-02-23 Thread jlabanca

Reviewers: atincheva,

Description:
Remapping the tabindex ARIA attribute to tabIndex because browsers
implement the latter, even though the ARIA spec specifies the former.


Please review this at http://gwt-code-reviews.appspot.com/1651803/

Affected files:
  M user/src/com/google/gwt/aria/client/ExtraAttribute.java
  M user/test/com/google/gwt/aria/client/RoleTest.java


Index: user/src/com/google/gwt/aria/client/ExtraAttribute.java
===
--- user/src/com/google/gwt/aria/client/ExtraAttribute.java (revision 10862)
+++ user/src/com/google/gwt/aria/client/ExtraAttribute.java (working copy)
@@ -23,7 +23,7 @@
  */
 public final class ExtraAttributeT extends AttributeT {
   public static final ExtraAttributeInteger TABINDEX =
-  new ExtraAttributeInteger(tabindex, );
+  new ExtraAttributeInteger(tabIndex, );


   public ExtraAttribute(String name) {
Index: user/test/com/google/gwt/aria/client/RoleTest.java
===
--- user/test/com/google/gwt/aria/client/RoleTest.java  (revision 10862)
+++ user/test/com/google/gwt/aria/client/RoleTest.java  (working copy)
@@ -17,6 +17,7 @@
 import com.google.gwt.aria.client.CommonAttributeTypes.IdReferenceList;
 import com.google.gwt.aria.client.PropertyTokenTypes.DropeffectToken;
 import com.google.gwt.aria.client.PropertyTokenTypes.DropeffectTokenList;
+import com.google.gwt.dom.client.AnchorElement;
 import com.google.gwt.dom.client.Document;
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.junit.client.GWTTestCase;
@@ -65,15 +66,22 @@
   }

   public void testSetGetRemoveExtraAttributes() {
+// Older versions of IE do not support tabIndex on divs, so use an  
anchor

+// element instead.
+AnchorElement anchor = Document.get().createAnchorElement();
+Document.get().getBody().appendChild(anchor);
+
 // Some versions of IE default to 0 instead of 
 assertTrue(.equals(regionRole.getTabindexExtraAttribute(div))
 || 0.equals(regionRole.getTabindexExtraAttribute(div)));
-regionRole.setTabindexExtraAttribute(div, 1);
-assertEquals(1, regionRole.getTabindexExtraAttribute(div));
-regionRole.removeTabindexExtraAttribute(div);
+regionRole.setTabindexExtraAttribute(anchor, 1);
+assertEquals(1, regionRole.getTabindexExtraAttribute(anchor));
+regionRole.removeTabindexExtraAttribute(anchor);
 // Some versions of IE default to 0 instead of 
 assertTrue(.equals(regionRole.getTabindexExtraAttribute(div))
 || 0.equals(regionRole.getTabindexExtraAttribute(div)));
+
+anchor.removeFromParent();
   }

   @Override


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Fix for delegate paths when using sub-widgets as editors of the exact same object, i.e. using @P... (issue1650803)

2012-02-23 Thread nchalko

LGTM

http://gwt-code-reviews.appspot.com/1650803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Internet Explorer issue with CssResource

2012-02-23 Thread Vijay Poojari
Thanks for the reply

Sorry, the issue is text getting wrapped on IE, which I do not want.



On Thu, Feb 23, 2012 at 11:36 PM, Hilco Wijbenga
hilco.wijbe...@gmail.comwrote:

 On 23 February 2012 06:39, Vijay Poojary vijay.pooj...@coaction.com
 wrote:
  Hi,
 
  I am using CSSResource to set style on the HTML element and I am also
  setting width on that element by doing setWidth(80px) to use
  ellipsis.
 
  The issue is on IE text is not getting wrapped to second line, which
  should not as I have style loaded using CSSREsource as follows:
 
  .gridHeaderColumnLabel {
 
 white-space: nowrap;
 overflow: hidden;
 text-overflow:ellipsis;
 font-family: Arial, Myriad Web, Arial, Trebuchet MS, Tahoma,
 Courier
  New CE;
 text-align: center;
 font-size: 13px;
 font-weight: bold;
 color: #00;
 text-decoration: none;
 cursor: pointer;
 cursor: hand;
 
 /* This will prevent the bleeding of the label from cell */
 display:table-cell;
  }
 
 
  Works perfectly fine on all the browsers, but IE rendering is causing
  issue as i can see width is there and ellipsis also there in style
  using Developer Tool.
 
  If i specify width inside CSS class, then works fine, but my width is
  dynamic for each column.

 You have white-space:nowrap so would it not make sense that it
 doesn't wrap? Having said that, apparently IE has problems with
 white-space:no-wrap in certain scenarios. You might want to look into
 that.

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for delegate paths when using sub-widgets as editors of the exact same object, i.e. using @P... (issue1650803)

2012-02-23 Thread t . broyer

I don't understand the rationale behind this change.


http://gwt-code-reviews.appspot.com/1650803/diff/1/user/test/com/google/gwt/editor/client/impl/DelegateMapTest.java
File user/test/com/google/gwt/editor/client/impl/DelegateMapTest.java
(right):

http://gwt-code-reviews.appspot.com/1650803/diff/1/user/test/com/google/gwt/editor/client/impl/DelegateMapTest.java#newcode52
user/test/com/google/gwt/editor/client/impl/DelegateMapTest.java:52:
@Path(.)
You're supposed to use @Path() to reference the current object, and it
already works very well.

http://gwt-code-reviews.appspot.com/1650803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Remapping the tabindex ARIA attribute to tabIndex because browsers implement the latter, eve... (issue1651803)

2012-02-23 Thread t . broyer

Just a note that ARIA uses the tabindex attribute defined in HTML 5, but
GWT uses DOM properties, which HTML 5 defines to be tabIndex (btw, HTML
is case-insensitive, but not JS)

You have my LGTM fwiw.

http://gwt-code-reviews.appspot.com/1651803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors