Re: Google Webmasters: A proposal for making AJAX crawlable

2009-10-13 Thread ThomasWrobel

I'm not sure what to make of this, seeing as I was half way into
making my site work without javascript for
web crawlers.


On Oct 8, 12:27 pm, Thomas Broyer  wrote:
> On 7 oct, 21:11, Peter Ondruska  wrote:
>
> > This is interesting as this topic has been discussed many times in the
> > past:
>
> >http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-makin...
>
> ...and work is underway to make it work out-of-the-box in 
> GWT:http://code.google.com/p/google-web-toolkit/source/browse/branches/cr...
>
> You'd have to use the IndexableHyperlink widget instead of Hyperlink
> to have the "!" prepended automatically for you (opt-in for
> crawlability on a link-by-link basis); a servlet is included to handle
> requests from crawlers with the added _escaped_fragment_=query-string
> parameter.
--~--~-~--~~~---~--~~
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: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-13 Thread ThomasWrobel

Ok, for anyone still looking at this thread, I found the solution.
Its quite simple;

 Image.addMouseDownHandler(new MouseDownHandler(){
public void onMouseDown(MouseDownEvent event) {
event.preventDefault();
}
 });

This will stop Firefox trying to drag the image itself, thus letting
the application act like googlemaps, and scroll correctly on its own.

Thanks everyone :)

On Oct 11, 9:43 am, ThomasWrobel  wrote:
> Ok, one last thing, I -think- I found the solution, but someone will
> have to help me in how to adapt it for gwt;
>
> http://develobert.blogspot.com/2008/10/disable-firefox-image-drag.html
>
> On Oct 10, 1:20 pm, ThomasWrobel  wrote:
>
>
>
> > oh, and I made a more simple sample file here;
>
> >http://www.lostagain.nl/Panelstreamer%20Demo/panelstreamer.html#File=...
>
> > This just has 1 layer, and 2 objects on it...making it a bit easier to
> > test in firebug.
> > Note if you delete the element "helper", you will then get stuck on
> > the other image object. So it seems any image object is draggable by
> > firefox.
>
> > On Oct 8, 10:10 am, ThomasWrobel  wrote:
>
> > > Yes, the sample might be a bit too complex to pin down.
>
> > > Currently the one online consists of;
>
> > > 1xAbsolute panel tied to the ID ("InfiniteCanvas") on the html page.
> > > This absolute panel I have made extend FocusPanel and implemented to
> > > have MouseListener and MouseWheelListener and gave it the code to
> > > handel the dragging.
> > > This absolute panel also can contain multiple other absolute panels (1
> > > for each layer of the file)
> > > Each of those panels contain various contents, but normal image files
> > > with pngs loaded. (other possibilities include frames of text,html or
> > > canvas objects).
>
> > > So thats DraggableAbsolutePanel <<  Absolute Panel (s) << Image
> > > widgets.
>
> > > The background of space is just set as a texture on the first layers
> > > element (background-image:url(images/BACKGROUND.jpg);).
>
> > > The square in the middle is just the center of the html's table, which
> > > contains the draggable abs panel. The rest of the widgets in the
> > > tables over cell's are just text, buttons, and a custom dropdown box.
> > > None overlay the center, so I suspect the surrounding elements arnt
> > > effecting it.
>
> > > The event handlers as specified above are just on the center draggable
> > > absolute panel, I havnt specified anything else myself.
> > > I'm using onMouse Up/Leave/Enter/Down and MouseWheel.
>
> > > My overall goal is just to have a google-mappish interface to a
> > > collection of abstractly arranged (and sized) widgets. Those widgets
> > > and layers being arranged by a standard format XML-like file. In this
> > > example I'm showing it of as a type of comic. The specific idea is
> > > described in Scott McClouds Reinventing Comics, although I think it
> > > will be useful beyond just comics.
> > > The interface currently seems to work nicely in Opera and even
> > > (tolerably) well in IE.  Chrome doesn't seem to load anything at the
> > > moment, but I think thats a separate issue.
>
> > > I suspect what Thomas Broyer suggested might still be the problem, as
> > > looking in FF when the image is dragged (rather then the background),
> > > you can actually see the image being dragged completely outside the
> > > frame. Like you'd see from dragging any image in FF. This clearly isnt
> > > from my code. I have set draggable to false (see above) but FF seems
> > > to be ignoring this. (or it wasnt the right setting to use).
>
> > > Thanks.
> > > -Thomas Wrobel
>
> > > On Oct 8, 12:41 am, Chris Ramsdale  wrote:
>
> > > > Thomas W,
>
> > > > While I am able to reproduce the "stuck" behavior that you describe 
> > > > above, I
> > > > would like to put together a smaller code sample to further pinpoint 
> > > > what is
> > > > going on under the hood. From a high level it appears that at the heart 
> > > > of
> > > > the issue is a FocusPanel that contains one or more AbsolutePanels. That
> > > > said, I have a couple of more specific questions:
>
> > > > 1. In regards to the last link that you posted 
> > > > (http://www.lostagain.nl//PanelstreamerDemo/panelstreamer.html), could 
> > > > you
> > > > be more

Re: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-11 Thread ThomasWrobel

Ok, one last thing, I -think- I found the solution, but someone will
have to help me in how to adapt it for gwt;

http://develobert.blogspot.com/2008/10/disable-firefox-image-drag.html





On Oct 10, 1:20 pm, ThomasWrobel  wrote:
> oh, and I made a more simple sample file here;
>
> http://www.lostagain.nl/Panelstreamer%20Demo/panelstreamer.html#File=...
>
> This just has 1 layer, and 2 objects on it...making it a bit easier to
> test in firebug.
> Note if you delete the element "helper", you will then get stuck on
> the other image object. So it seems any image object is draggable by
> firefox.
>
> On Oct 8, 10:10 am, ThomasWrobel  wrote:
>
>
>
> > Yes, the sample might be a bit too complex to pin down.
>
> > Currently the one online consists of;
>
> > 1xAbsolute panel tied to the ID ("InfiniteCanvas") on the html page.
> > This absolute panel I have made extend FocusPanel and implemented to
> > have MouseListener and MouseWheelListener and gave it the code to
> > handel the dragging.
> > This absolute panel also can contain multiple other absolute panels (1
> > for each layer of the file)
> > Each of those panels contain various contents, but normal image files
> > with pngs loaded. (other possibilities include frames of text,html or
> > canvas objects).
>
> > So thats DraggableAbsolutePanel <<  Absolute Panel (s) << Image
> > widgets.
>
> > The background of space is just set as a texture on the first layers
> > element (background-image:url(images/BACKGROUND.jpg);).
>
> > The square in the middle is just the center of the html's table, which
> > contains the draggable abs panel. The rest of the widgets in the
> > tables over cell's are just text, buttons, and a custom dropdown box.
> > None overlay the center, so I suspect the surrounding elements arnt
> > effecting it.
>
> > The event handlers as specified above are just on the center draggable
> > absolute panel, I havnt specified anything else myself.
> > I'm using onMouse Up/Leave/Enter/Down and MouseWheel.
>
> > My overall goal is just to have a google-mappish interface to a
> > collection of abstractly arranged (and sized) widgets. Those widgets
> > and layers being arranged by a standard format XML-like file. In this
> > example I'm showing it of as a type of comic. The specific idea is
> > described in Scott McClouds Reinventing Comics, although I think it
> > will be useful beyond just comics.
> > The interface currently seems to work nicely in Opera and even
> > (tolerably) well in IE.  Chrome doesn't seem to load anything at the
> > moment, but I think thats a separate issue.
>
> > I suspect what Thomas Broyer suggested might still be the problem, as
> > looking in FF when the image is dragged (rather then the background),
> > you can actually see the image being dragged completely outside the
> > frame. Like you'd see from dragging any image in FF. This clearly isnt
> > from my code. I have set draggable to false (see above) but FF seems
> > to be ignoring this. (or it wasnt the right setting to use).
>
> > Thanks.
> > -Thomas Wrobel
>
> > On Oct 8, 12:41 am, Chris Ramsdale  wrote:
>
> > > Thomas W,
>
> > > While I am able to reproduce the "stuck" behavior that you describe 
> > > above, I
> > > would like to put together a smaller code sample to further pinpoint what 
> > > is
> > > going on under the hood. From a high level it appears that at the heart of
> > > the issue is a FocusPanel that contains one or more AbsolutePanels. That
> > > said, I have a couple of more specific questions:
>
> > > 1. In regards to the last link that you posted 
> > > (http://www.lostagain.nl//PanelstreamerDemo/panelstreamer.html), could you
> > > be more clear on which widgets make up the UI?
> > > 2. What are you using to wrap the background/"space" image?
> > > 3. Is the square in the middle of the page the a FocusPanel or some other
> > > widget?
> > > 4. What CSS or event handlers do you have hooked up to these widgets?
>
> > > Also, what overall goal are you trying to achieve? Maybe there is a
> > > different way to approach the problem.
>
> > > Thanks,
> > > Chris
>
> > > On Tue, Oct 6, 2009 at 3:00 PM, ThomasWrobel  wrote:
>
> > > > Scratch that, I tried using
> > > > "-moz-user-select:none;" and it stops being selected in Firefox (looks
> > > > neater), but it still gets stuck to the mouse
>
> > >

Re: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-10 Thread ThomasWrobel

oh, and I made a more simple sample file here;

http://www.lostagain.nl/Panelstreamer%20Demo/panelstreamer.html#File=psftest/Layers.psc&X=432&Y=375

This just has 1 layer, and 2 objects on it...making it a bit easier to
test in firebug.
Note if you delete the element "helper", you will then get stuck on
the other image object. So it seems any image object is draggable by
firefox.

On Oct 8, 10:10 am, ThomasWrobel  wrote:
> Yes, the sample might be a bit too complex to pin down.
>
> Currently the one online consists of;
>
> 1xAbsolute panel tied to the ID ("InfiniteCanvas") on the html page.
> This absolute panel I have made extend FocusPanel and implemented to
> have MouseListener and MouseWheelListener and gave it the code to
> handel the dragging.
> This absolute panel also can contain multiple other absolute panels (1
> for each layer of the file)
> Each of those panels contain various contents, but normal image files
> with pngs loaded. (other possibilities include frames of text,html or
> canvas objects).
>
> So thats DraggableAbsolutePanel <<  Absolute Panel (s) << Image
> widgets.
>
> The background of space is just set as a texture on the first layers
> element (background-image:url(images/BACKGROUND.jpg);).
>
> The square in the middle is just the center of the html's table, which
> contains the draggable abs panel. The rest of the widgets in the
> tables over cell's are just text, buttons, and a custom dropdown box.
> None overlay the center, so I suspect the surrounding elements arnt
> effecting it.
>
> The event handlers as specified above are just on the center draggable
> absolute panel, I havnt specified anything else myself.
> I'm using onMouse Up/Leave/Enter/Down and MouseWheel.
>
> My overall goal is just to have a google-mappish interface to a
> collection of abstractly arranged (and sized) widgets. Those widgets
> and layers being arranged by a standard format XML-like file. In this
> example I'm showing it of as a type of comic. The specific idea is
> described in Scott McClouds Reinventing Comics, although I think it
> will be useful beyond just comics.
> The interface currently seems to work nicely in Opera and even
> (tolerably) well in IE.  Chrome doesn't seem to load anything at the
> moment, but I think thats a separate issue.
>
> I suspect what Thomas Broyer suggested might still be the problem, as
> looking in FF when the image is dragged (rather then the background),
> you can actually see the image being dragged completely outside the
> frame. Like you'd see from dragging any image in FF. This clearly isnt
> from my code. I have set draggable to false (see above) but FF seems
> to be ignoring this. (or it wasnt the right setting to use).
>
> Thanks.
> -Thomas Wrobel
>
> On Oct 8, 12:41 am, Chris Ramsdale  wrote:
>
>
>
> > Thomas W,
>
> > While I am able to reproduce the "stuck" behavior that you describe above, I
> > would like to put together a smaller code sample to further pinpoint what is
> > going on under the hood. From a high level it appears that at the heart of
> > the issue is a FocusPanel that contains one or more AbsolutePanels. That
> > said, I have a couple of more specific questions:
>
> > 1. In regards to the last link that you posted 
> > (http://www.lostagain.nl//PanelstreamerDemo/panelstreamer.html), could you
> > be more clear on which widgets make up the UI?
> > 2. What are you using to wrap the background/"space" image?
> > 3. Is the square in the middle of the page the a FocusPanel or some other
> > widget?
> > 4. What CSS or event handlers do you have hooked up to these widgets?
>
> > Also, what overall goal are you trying to achieve? Maybe there is a
> > different way to approach the problem.
>
> > Thanks,
> > Chris
>
> > On Tue, Oct 6, 2009 at 3:00 PM, ThomasWrobel  wrote:
>
> > > Scratch that, I tried using
> > > "-moz-user-select:none;" and it stops being selected in Firefox (looks
> > > neater), but it still gets stuck to the mouse
>
> > > I just think that "mouse up" isnt being fired on the underlaying abs
> > > panel when the user releases the mouse after a drag.
>
> > > On Oct 6, 8:51 pm, ThomasWrobel  wrote:
> > > > Good idea but no effect.
> > > > At least, I think its got no effect, still getting the stuck mouse
> > > > problem.
>
> > > > The code I added was;
>
> > > > contents.getElement().setAttribute("draggable", "false");
> > > > contents.getElement().getStyle().setProperty("webki

Re: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-08 Thread ThomasWrobel

Yes, the sample might be a bit too complex to pin down.

Currently the one online consists of;

1xAbsolute panel tied to the ID ("InfiniteCanvas") on the html page.
This absolute panel I have made extend FocusPanel and implemented to
have MouseListener and MouseWheelListener and gave it the code to
handel the dragging.
This absolute panel also can contain multiple other absolute panels (1
for each layer of the file)
Each of those panels contain various contents, but normal image files
with pngs loaded. (other possibilities include frames of text,html or
canvas objects).

So thats DraggableAbsolutePanel <<  Absolute Panel (s) << Image
widgets.

The background of space is just set as a texture on the first layers
element (background-image:url(images/BACKGROUND.jpg);).

The square in the middle is just the center of the html's table, which
contains the draggable abs panel. The rest of the widgets in the
tables over cell's are just text, buttons, and a custom dropdown box.
None overlay the center, so I suspect the surrounding elements arnt
effecting it.

The event handlers as specified above are just on the center draggable
absolute panel, I havnt specified anything else myself.
I'm using onMouse Up/Leave/Enter/Down and MouseWheel.

My overall goal is just to have a google-mappish interface to a
collection of abstractly arranged (and sized) widgets. Those widgets
and layers being arranged by a standard format XML-like file. In this
example I'm showing it of as a type of comic. The specific idea is
described in Scott McClouds Reinventing Comics, although I think it
will be useful beyond just comics.
The interface currently seems to work nicely in Opera and even
(tolerably) well in IE.  Chrome doesn't seem to load anything at the
moment, but I think thats a separate issue.

I suspect what Thomas Broyer suggested might still be the problem, as
looking in FF when the image is dragged (rather then the background),
you can actually see the image being dragged completely outside the
frame. Like you'd see from dragging any image in FF. This clearly isnt
from my code. I have set draggable to false (see above) but FF seems
to be ignoring this. (or it wasnt the right setting to use).

Thanks.
-Thomas Wrobel



On Oct 8, 12:41 am, Chris Ramsdale  wrote:
> Thomas W,
>
> While I am able to reproduce the "stuck" behavior that you describe above, I
> would like to put together a smaller code sample to further pinpoint what is
> going on under the hood. From a high level it appears that at the heart of
> the issue is a FocusPanel that contains one or more AbsolutePanels. That
> said, I have a couple of more specific questions:
>
> 1. In regards to the last link that you posted 
> (http://www.lostagain.nl//PanelstreamerDemo/panelstreamer.html), could you
> be more clear on which widgets make up the UI?
> 2. What are you using to wrap the background/"space" image?
> 3. Is the square in the middle of the page the a FocusPanel or some other
> widget?
> 4. What CSS or event handlers do you have hooked up to these widgets?
>
> Also, what overall goal are you trying to achieve? Maybe there is a
> different way to approach the problem.
>
> Thanks,
> Chris
>
>
>
> On Tue, Oct 6, 2009 at 3:00 PM, ThomasWrobel  wrote:
>
> > Scratch that, I tried using
> > "-moz-user-select:none;" and it stops being selected in Firefox (looks
> > neater), but it still gets stuck to the mouse
>
> > I just think that "mouse up" isnt being fired on the underlaying abs
> > panel when the user releases the mouse after a drag.
>
> > On Oct 6, 8:51 pm, ThomasWrobel  wrote:
> > > Good idea but no effect.
> > > At least, I think its got no effect, still getting the stuck mouse
> > > problem.
>
> > > The code I added was;
>
> > > contents.getElement().setAttribute("draggable", "false");
> > > contents.getElement().getStyle().setProperty("webkitUserDrag",
> > > "none");
> > > contents.getElement().setPropertyBoolean("draggable", false);
>
> > > (I tried "none" rather then false, but I think its supposed to be
> > > false, I also tried just the last and just the first line)
>
> > > Heres the result;
> >http://www.lostagain.nl//Panelstreamer%20Demo/panelstreamer.html#File...
> > > (try moving it about like you would googlemaps)
>
> > > I think the problem is its being selected all the time. In Opera it
> > > works fine, and I note nothing is selected.
>
> > > On Oct 6, 6:30 pm, Thomas Broyer  wrote:
>
> > > > On 6 oct, 14:34, ThomasWrobel  wrote:
>
> > > > > reg "Basically is it possible for an image 

Re: Announcing GWT 2.0 Milestone 1

2009-10-07 Thread ThomasWrobel

Their should be a "unprecated" term :P

On Oct 7, 1:07 pm, Paul Robinson  wrote:
> because it's only a milestone and not a full release.
>
>
>
> Parvez Shah wrote:
> > why is the link showing it as deprecated.
>
> >    GWT 2.0 Milestone 1 (for all platforms)
> > 
> >   Deprecated
> > 
>
> > On Wed, Oct 7, 2009 at 10:21 AM, Power Bottom  > > wrote:
>
> >     I just created an app with the M1 release and noticed that if you send
> >     a Persistent Object up to the server save it, detach it and send it
> >     back down, you don't get an error (This was admittedly a simple
> >     object). Is this a new change in 2.0? If so, awesome and thanks. My
> >     only question is why haven't I heard this was coming into 2.0
> >     earlier?
>
> >     Thanks,
> >     Jeff
>
> >     On Oct 6, 8:25 pm, Dominik Steiner
> >      >     >
> >     wrote:
> >     > Thanks Chris for the link,
>
> >     > as described in the link just copying gwt-dev.jar and renaming
> >     it to  
> >     > gwt-dev-mac.jar tricks the eclipse plugin and let's you easily
> >     start  
> >     > the OOPHM mode.
>
> >     > Dominik
>
> >     > > Domink,
>
> >     > > The post below may provide you with some information regarding
> >     this  
> >     > > issue:
>
> >     
> > >http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
>
> >     > > - Chris
>
> >     > > On Tue, Oct 6, 2009 at 8:32 PM, Dominik Steiner
> >      >     
> >     > > > wrote:
>
> >     > > Congratulations! That was way faster than I expected, thanks for
> >     > > getting this release out that early.
>
> >     > > One remark: seems like the eclipse plugin is not accepting the
> >     current
> >     > > release with the message after selecting the gwt-dev-ms1
> >     folder that
> >     > > gwt-dev-mac.jar (in my case) is missing. So I guess that a new
> >     eclipse
> >     > > plugin version will have to handle that accordingly.
>
> >     > > Domink
>
> >     > > On 6 Okt., 12:49, Rakesh  >     > wrote:
> >     > > > great release ... especially the declarative ui, download on
> >     demand
> >     > > > and multiple browsers piece!!! good going gwt team... you rock!!
--~--~-~--~~~---~--~~
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: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-06 Thread ThomasWrobel

Scratch that, I tried using
"-moz-user-select:none;" and it stops being selected in Firefox (looks
neater), but it still gets stuck to the mouse

I just think that "mouse up" isnt being fired on the underlaying abs
panel when the user releases the mouse after a drag.

On Oct 6, 8:51 pm, ThomasWrobel  wrote:
> Good idea but no effect.
> At least, I think its got no effect, still getting the stuck mouse
> problem.
>
> The code I added was;
>
> contents.getElement().setAttribute("draggable", "false");
> contents.getElement().getStyle().setProperty("webkitUserDrag",
> "none");
> contents.getElement().setPropertyBoolean("draggable", false);
>
> (I tried "none" rather then false, but I think its supposed to be
> false, I also tried just the last and just the first line)
>
> Heres the 
> result;http://www.lostagain.nl//Panelstreamer%20Demo/panelstreamer.html#File...
> (try moving it about like you would googlemaps)
>
> I think the problem is its being selected all the time. In Opera it
> works fine, and I note nothing is selected.
>
> On Oct 6, 6:30 pm, Thomas Broyer  wrote:
>
>
>
> > On 6 oct, 14:34, ThomasWrobel  wrote:
>
> > > reg "Basically is it possible for an image widget to be "transparent"
> > > as
> > > regards to click events, passing them to the panel under it?"
>
> > > Sorry to bump this, but I haven't been able to find a solution myself
> > > apart from very crude work-arounds.
> > > It seems like something fundamental I should know how to do too...if
> > > it exists.
> > > So a confirmation/denial from someone would be nice :)
>
> > AFAICT, when you start dragging the image it... starts dragging the
> > image... AFAICT, you should be able to bypass this behavior setting
> > the 'draggable' attribute (from the upcoming HTML5) to "false", and
> > for WebKit (or at least, Safari) which exhibit a similar behavior, set
> > the CSS style property -webkit-user-drag to none
--~--~-~--~~~---~--~~
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: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-06 Thread ThomasWrobel

Good idea but no effect.
At least, I think its got no effect, still getting the stuck mouse
problem.

The code I added was;

contents.getElement().setAttribute("draggable", "false");
contents.getElement().getStyle().setProperty("webkitUserDrag",
"none");
contents.getElement().setPropertyBoolean("draggable", false);

(I tried "none" rather then false, but I think its supposed to be
false, I also tried just the last and just the first line)

Heres the result;
http://www.lostagain.nl//Panelstreamer%20Demo/panelstreamer.html#File=./psf/Layers.psc&X=4240&Y=2168
(try moving it about like you would googlemaps)

I think the problem is its being selected all the time. In Opera it
works fine, and I note nothing is selected.

On Oct 6, 6:30 pm, Thomas Broyer  wrote:
> On 6 oct, 14:34, ThomasWrobel  wrote:
>
> > reg "Basically is it possible for an image widget to be "transparent"
> > as
> > regards to click events, passing them to the panel under it?"
>
> > Sorry to bump this, but I haven't been able to find a solution myself
> > apart from very crude work-arounds.
> > It seems like something fundamental I should know how to do too...if
> > it exists.
> > So a confirmation/denial from someone would be nice :)
>
> AFAICT, when you start dragging the image it... starts dragging the
> image... AFAICT, you should be able to bypass this behavior setting
> the 'draggable' attribute (from the upcoming HTML5) to "false", and
> for WebKit (or at least, Safari) which exhibit a similar behavior, set
> the CSS style property -webkit-user-drag to none
--~--~-~--~~~---~--~~
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: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-10-06 Thread ThomasWrobel

reg "Basically is it possible for an image widget to be "transparent"
as
regards to click events, passing them to the panel under it?"

Sorry to bump this, but I haven't been able to find a solution myself
apart from very crude work-arounds.
It seems like something fundamental I should know how to do too...if
it exists.
So a confirmation/denial from someone would be nice :)

On Aug 30, 12:04 pm, ThomasWrobel  wrote:
> Actualy, Ive just noticed this only effects Firefox...opera works
> fine.
>
> Is this a bug in Focus panel when using firefox? (the example online
> is a focus panel containing a Absolute Panel, which, in turn, contains
> other Absolute panels).
>
> On Aug 30, 2:28 am, darkflame  wrote:
>
>
>
> > Basically is it possible for an image widget to be "transparent" as
> > regards to click events, passing them to the panel under it?
>
> > I'm working on a panel-streaming 
> > engine;http://www.darkflame.co.uk/panalstreamer/panelstreamer.html
> > Just click on the first option in the dropdown on the top right.
> > (Anyone thats read Reinventing comics should recognize this idea ;) )
>
> > You will notice you can click and drag it around fairly easily when
> > clicking on the "space", but if you click on the image panels the
> > mouse will get 'stuck'.
> > Any method to make the images on the absolute be completely ignored
> > click-wise?
--~--~-~--~~~---~--~~
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: Why enfore camelcase stylenames

2009-10-06 Thread ThomasWrobel

This used to confuse me greatly, so I'm very glade theres a specific
error message now.

On Oct 6, 8:00 am, Ian Bambury  wrote:
> It's always been the case that you needed to use camelCase, it hasn't always
> been the case that GWT would report the use of hyphens as an error.
> Ian
>
> http://examples.roughian.com
>
> 2009/10/5 Joe Cole 
>
>
>
>
>
> > Has this always been the case? I've just started encountering these
> > errors after upgrading to 1.7.
>
> > On Oct 6, 4:43 am, Paul Robinson  wrote:
> > > It's a javascript thing. All CSS names in javascript have to be
> > > camelcase. So it's "border-left" in html, but "borderLeft" in any
> > > javascript DOM code.
>
> > > Joe Cole wrote:
> > > > Can someone explain why this code from com.google.gwt.dom.client.Style
> > > > is enforcing camelcase:
>
> > > >   private void assertCamelCase(String name) {
> > > >     assert !name.contains("-") : "The style name '" + name
> > > >         + "' should be in camelCase format";
> > > >   }
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 2.0 Milestone 1

2009-10-06 Thread ThomasWrobel

Fantastic.
Lots of great stuff there.
Particularly look forward to being able to use Firebug in
hos...development mode.

ClientBundle's sound cool, and should help speed up some stuff.
Although what I most want is the ability to dynamicaly load a bundle.
(so, for example, a client can change the whole theme of the a at
runtime by loading a single file)

Also, are Listeners still being used then? Or is it all Handlers now?
Because some widget libs haven't caught up yet. (Sliderbar on the
Incubator, for instance).

Cheers,
Thomas Wrobel

On Oct 6, 1:43 am, Amit Manjhi  wrote:
> Hi everyone,
>
> We are excited to release the first milestone build for GWT 2.0 today.
> This milestone provides early access (read: known to still be
> unfinished and buggy) to the various bits of core functionality that
> will be coming in GWT 2.0. Please download the bits from:
>
> http://code.google.com/p/google-web-toolkit/downloads/list?can=1&q=2
>
> Things that are changing with GWT 2.0 that might otherwise be
> confusing without explanation
> * Terminology changes: We're going to start using the term
> "development mode" rather than the old term "hosted mode." The term
> "hosted mode" was sometimes confusing to people, so we'll be using the
> more descriptive term from now on. For similar reasons, we'll be using
> the term "production mode" rather than "web mode" when referring to
> compiled script.
>
> * Changes to the distribution: Note that there's only one download,
> and it's no longer platform-specific. You download the same zip file
> for every development platform. This is made possible by the new
> plugin approach used to implement development mode (see below). The
> distribution file does not include the browser plugins themselves;
> those are downloaded separately the first time you use development
> mode in a browser that doesn't have the plugin installed.
>
> Functionality that will be coming in GWT 2.0
> * In-Browser Development Mode: Prior to 2.0, GWT hosted mode provided
> a special-purpose "hosted browser" to debug your GWT code. In 2.0, the
> web page being debugged is viewed within a regular-old browser.
> Development mode is supported through the use of a native-code plugin
> for each browser. In other words, you can use development mode
> directly from Safari, Firefox, IE, and Chrome.
>
> * Code Splitting: Developer-guided code splitting allows you to chunk
> your GWT code into multiple fragments for faster startup. Imagine
> having to download a whole movie before being able to watch it. Well,
> that's what you have to do with most Ajax apps these days -- download
> the whole thing before using it. With code splitting, you can arrange
> to load just the minimum script needed to get the application running
> and the user interacting, while the rest of the app is downloaded as
> needed.
>
> * Declarative User Interface: GWT's UiBinder now allows you to create
> user interfaces mostly declaratively. Previously, widgets had to be
> created and assembled programmatically, requiring lots of code. Now,
> you can use XML to declare your UI, making the code more readable,
> easier to maintain, and faster to develop. The Mail sample has been
> updated to use the new declarative UI.
>
> * Bundling of resources (ClientBundle): GWT has shipped with
> ImageBundles since GWT v1.4, giving developers automatic spriting of
> images. ClientBundle generalizes this technique, bringing the power of
> combining and optimizing resources into one download to things like
> text files, CSS, and XML. This means fewer network round trips, which
> in turn can decrease application latency -- especially on mobile
> applications.
>
> * Using HtmlUnit for running GWT tests: GWT 2.0 no longer uses SWT or
> the old mozilla code (on linux) to run GWT tests. Instead, it uses
> HtmlUnit as the built-in browser. HtmlUnit is 100% Java. This means
> there is a single GWT distribution for linux, mac, and windows, and
> debugging GWT Tests in development mode can be done entirely in a Java
> debugger.
>
> Known issues
> *  If you are planning to run the webAppCreator, i18nCreator, or the
> junitCreator scripts on Mac or Linux, please set their executable bits
> by doing a 'chmod +x *Creator'
> * Our HtmlUnit integration is still not complete. Additionally,
> HtmlUnit does not do layout. So tests can fail either because they
> exercise layout or they hit bugs due to incomplete integration. If you
> want such tests to be ignored on HtmlUnit, please annotate the test
> methods with @DoNotRunWith({Platform.Htmlunit})
> * The Google Eclipse Plugin will only allow you to add GWT release
> directories that include a file with a name like gwt-dev-windows.jar.
> You can fool it by sym linking or copying gwt-dev.jar to the
> appropriate name.
>
> Breaking changes
> * The way arguments are passed to the GWT testing infrastructure has
> been revamped. There is now a consistent syntax to support arbitrary
> "runstyles", including user-written with no chan

Re: GWT Graphics Library

2009-10-03 Thread ThomasWrobel

pretty nice stuff!

On Oct 2, 1:42 pm, Joonas  wrote:
> Noticed that there is a really nice new Apache-licensed vector
> graphics library available for GWT called GWT Graphics by Henri
> Kerola:
>
> http://vaadin.com/web/hene/wiki/-/wiki/Main/GWT+Graphics
>
> The library supports
> - Internet Explorer 6 and newer
> - Firefox 3.0 and newer
> - Safari 3.2 and newer
> - Opera 9.6 and newer
>
> The drawing is implemented with SVG most browsers and in VML in IE. It
> supports most drawing primitives, connecting events to drawing
> primitives as well as modifying drawing primitives on the fly. API and
> implementation is done in pure GWT and it doesn't need any external
> libraries.
>
> Library is well documented:
> -http://hene.virtuallypreinstalled.com/gwt-graphics/javadoc/
> -http://vaadin.com/web/hene/wiki/-/wiki/Main/GWT%20Graphics%20Manual
>
> The demos are fairly basic, but show the potential and generic nature
> of the library:
> -http://hene.virtuallypreinstalled.com/gwt-graphics-test/
> -http://hene.virtuallypreinstalled.com/rocket/
> -http://hene.virtuallypreinstalled.com/Charts
--~--~-~--~~~---~--~~
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: If anyone has a google wave invite - cough - please?

2009-10-02 Thread ThomasWrobel



""No problem, I won't send you any more questions labeled *google
wave*.""

Brillent thanks :)

(allthough I'll probably want to enable that topic again laterI
love aardvark)

On Oct 1, 7:47 pm, Prashant  wrote:
> go to "More options" ---> Select "Mute"
>
> 2009/10/1 ThomasWrobel 
>
>
>
>
>
> > Its everywhere at the moment.
> > I keep getting spammed on my gmail chat from people posting "Does
> > anyone have any spare wave invites?" as a question using Aardvark.
> > Its getting a little annoying.
>
> > On Oct 1, 7:04 pm, Ian Bambury  wrote:
> > > If you litter their forum with irrelevant, self-serving begging letters,
> > > certainly not.
> > > Ian
>
> > >http://examples.roughian.com
>
> > > 2009/10/1 David 
>
> > > > shouldn't GWT developers get a little bit more love from Google ? :-)
>
> > > > David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: If anyone has a google wave invite - cough - please?

2009-10-01 Thread ThomasWrobel

Its everywhere at the moment.
I keep getting spammed on my gmail chat from people posting "Does
anyone have any spare wave invites?" as a question using Aardvark.
Its getting a little annoying.

On Oct 1, 7:04 pm, Ian Bambury  wrote:
> If you litter their forum with irrelevant, self-serving begging letters,
> certainly not.
> Ian
>
> http://examples.roughian.com
>
> 2009/10/1 David 
>
>
>
>
>
> > shouldn't GWT developers get a little bit more love from Google ? :-)
>
> > David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Fetching a page ver a 302 redirect?

2009-09-30 Thread ThomasWrobel

Actualy, forget that.
It seems the redirection wasnt causing the error, but rather it was
coming from the wrong domain.
Annoying that it merely comes out with a null, making it hard to
diagnose, rather then a error.


On Sep 30, 3:40 pm, darkflame  wrote:
> I wish to use RequestBuilder to retrieve a html page as normal,
> however  this request will be going ver a php script that redirects
> it.
>
> This seems to mess it up, as the onResponseReceived seems to be
> triggered on the redirect itself, and not at the "end" of the
> redirection. (Firebug shows a "302 Moved Temporarily" followed by a
> Get for the correct url, but by then it seems to have already fired)
>
> How can fetch the resulting page? (That is, the one the user would see
> if they went to the url normally)
> .
--~--~-~--~~~---~--~~
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: Google Wave Invite

2009-09-30 Thread ThomasWrobel

Its not about exclusivity, its simply the fact it isnt ready for the
public yet.
If they launched now, most of the public would be put off by bugs,
lack of functionality, lack of widgets, sever-load issues etc.

They need a limited number of people for both google, and developers
working on wave-related projects, to get feedback on what needs
to be fixed.

On Sep 30, 4:14 pm, Super Rudd  wrote:
> I'm not sure what Google are trying to do with the limited accounts,
> except trying to create exclusivity, the problem is that most people
> that have an invite wont know anyone else that has an invite therefore
> making the whole thing a little pointless, you only need to look at
> the groups passing round details of ppl with access so they can test
> things out, Google are runnning the risk of people getting bored of
> their new baby.
>
> Overall a bit dissappointing, I applied for an invite when Wave was
> first announced but still dont have an invite, though I'm not sure if
> I'd use it if I did get one as I dont know anyone with an account!
--~--~-~--~~~---~--~~
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: Remove history token

2009-09-30 Thread ThomasWrobel

Unfortunately, I dont think theres anything you can do.
Ive seen this problem on countless websites, the double-back-click
seems something we are stuck with.

On Sep 30, 1:17 pm, hriess  wrote:
> Is it possible to remove the current history token (History.gettoken
> ()) from the history stack?
> If I click on a hyperlink, a new history token is created, but the
> loading of an application state in the onValueChange method does not
> remove this token. As a result I have two identical tookens on the
> history stack. After clicking on a hyperlink the browsers back button
> always loads the same page. Only a doubleclick on the back button let
> me escape from this cycle.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Is it possible to have history with the normal GET url format

2009-09-30 Thread ThomasWrobel

I ran into this issue recently, its particularly annoying if you want
to have your site work javascript free (for search engine bots), as
well as allowing the user to just save links as they would normaly.
(or cutting and pasteing the url etc).

Frankly, there is no good solution.
Best I found you can do is have a button on your site that generates a
url which users can use to exchange with eachother. (like google maps
does).
Just taking the url with the # would work fine for users with
javascript, but not without.

What helps a little bit though, is you can use a little big of
javascript to automaticaly turn a  "?" into a "#". So you can
effectively have two versions of the site with nearly the same urls/
parameters, and those with javascript will see the  history token
method, and those without see the normal query.

The two mighty Ians helped me out on this thread here;
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/84ff65a3b75fca26

---

On Sep 28, 9:07 pm, Célio  wrote:
> Alternatively, you can do something like what gmail does, for example:
>
>  http://mail.google.com/a/foo.net/#search/bananas/12231c45beef16c4
>
> No matter what choice you make, in the end you will always have to
> parse your tokens.
>
> On 27 set, 14:10, Sripathi Krishnan 
> wrote:
>
>
>
> > You can still have 'query parameters' in the history token.
>
> >http://mywebsite.com?param1=value1¶m2=value2#?param3=value3¶m...
>
> >    - The above url is an example. param1 and param2 are the only ones that
> >    will be available to you on server side via request.getParameter.
> >    - GWT provides you a convenient way to read param1 and param1, but as
> >    Thomas mentioned - you can't modify them in javascript without reloading 
> > the
> >    page.
> >    - Anything after the # will not be accessible on the server side, but is
> >    accessible on the client side.
> >    - GWT will give you the entire string "?param3=value3¶m4=value4" to
> >    your HistoryListener - and thereafter it is a simple matter ofparsing out
> >    the string manually.
>
> > So, you can still achieve what you want by using a token that has ? and &,
> > and doing the parsing yourself. It is a bit convoluted, but is perhaps the
> > only way right now.
>
> > --Sri
>
> > 2009/9/27 Thomas Broyer 
>
> > > On 27 sep, 02:36, Jaap  wrote:
> > > > The way I understand it you can history in your gwt app by using a
> > > > history token which is displayed as follows in the URL
>
> > > >http://www.example.com/#token
>
> > > > I actually need a combination of tokens and prefer to use the normal
> > > > syntax you have with GET urls. So I'd like to have history which looks
> > > > like
>
> > > >http://www.example.com/?locale=es&query=test
>
> > > > Is this possible with GWT
>
> > > No, because it's just not possible at all with anything JavaScript.
>
> > > FYI, HTML5 defines a pushState() that'll allow such a thing, but to my
> > > knowledge no-one has implemented it already (but work is underway in
> > > at least Firefox and WebKit)
--~--~-~--~~~---~--~~
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: Remote controlling an iframe

2009-09-30 Thread ThomasWrobel

Id like to know this too.
I'm not sure if its even possible for the parent frame to know the url
of the child frame if it changes.
My experiments always resulted in getting the initial url it was set
too, and not the new one since the user clicked.


On Sep 29, 5:07 pm, David Given  wrote:
> David Given wrote:
> > I want to embed a mini web browser into my app (for help text). I've
> > seen this done before on other sites. I want to load the help pages into
> > an iframe, and then use GWT widgetry to listen for onload events,
> > determine the page title, go forwards and back, and remotely set the URL.
>
> > I've looked into writing my own, but managing all the interactions
> > between onload events, Javascript security issues, and so on looks
> > horrendously complex involving lots of hairy JSNI. So, before I go
> > ahead, has anybody already done this and is the code available?
>
> > All my files are going to come from the same domain, so hopefully
> > security *shouldn't* be a problem...
>
> Does anyone know about this?
>
> --
> ┌─── dg@cowlark.com ─http://www.cowlark.com─
> │
> │ "They laughed at Newton. They laughed at Einstein. Of course, they
> │ also laughed at Bozo the Clown." --- Carl Sagan
--~--~-~--~~~---~--~~
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 react on every new typed in character of a textbox

2009-09-30 Thread ThomasWrobel

I'm a bit confused why you dont just search for the whole text from
the filterText every time a key is pressed.
Surely thats what your effectively doing anyway by getting the current
text and adding the new characters?

Because the problem at the moment, if I'm understanding correctly, is
simply the filterText isnt being erased/reset when you want it to be.

Remember you can also use onKeyUp to get the state after the key is
pressed and released.

On Sep 30, 3:50 am, ojay  wrote:
> Hi,
>
> I have a textbox and a list of values in a listbox. Regarding of the
> input of the typed in value of the textbox the list will be filtered.
> I've managed this so far, but it's not working as expected. For
> example you typed in AAA then every value in the list which does not
> contain AAA will be removed. But when you mark all the AAA and type
> instead a B then my function will search for the string AAAB instead
> of only B. This happens because I am building this string on the
> keypresshandler, but if i do not build it like this I do not get
> actual textfield value and the new typed in character...
>
> Does anybody understand my problem and have a suggestion ?
>
> thanks
>
> public void onKeyPress(KeyPressEvent event) {
>
>                         filterFormList(filterText.getText().trim() + 
> event.getCharCode())
>
>         }
>
> public void filterFormList(String matchThis){
>
>                 ArrayList toDeleteList = new ArrayList();
>
>                 for (int i = 0; i < formList.getItemCount(); i++){
>                         System.out.println("checking if " + matchThis
>                                         + " is found in " + 
> formList.getItemText(i));
>
>                         formList.getItemText(i).contains(matchThis);
>
>                         if (formList.getItemText(i).contains(matchThis)){
>                                 System.out.println("found it---adding index " 
> + i + " to delete
> list");
>                                 toDeleteList.add(new Integer(i));
>                         }
>                         else{
>                                 System.out.println("no match");
>                         }
>                 }
>
>                 for (Integer integer: toDeleteList){
>                         System.out.println("removing item " + 
> formList.getItemText
> (integer.intValue()));
>                         formList.removeItem(integer.intValue());
>                 }
>
>         }
--~--~-~--~~~---~--~~
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 show history for text fields?

2009-09-30 Thread ThomasWrobel

I think it varies per-browser.
Using opera here, I get no such list on the search field on this
group.

However I -have- had it before with my own text fields made using GWT.
In fact, as I was using a suggestion box, this caused problems as I
was
getting both the browsers suggestions and my own. So its certainly not
that gwt fields cant do it, and I didnt do anything special to enable
it either.
Since the last version of GWT and Opera that problems gone...not sure
who's change fixed it. Maybe browsers no longer see gwt fields as
ordinary text fields somehow?

It would be usefull to know a global way of enabling/disableing such
browser-based lists, but I'm not sure a standard for that exists :-/

[/hopes other people give feedback]


On Sep 30, 12:34 pm, Vikas  wrote:
> Most of the all web applications shows history/private data for text
> fields.
> For example, When we start typing something in 'Search this group'
> fields of this forum it shows popup list with string previously
> entered.
>
> I think this is the default behavior for html based text fields.
> How to do this for GWT text fileds (TextBox)?
>
> Thanks in advance,
> Vikas
--~--~-~--~~~---~--~~
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 get mouse x/y outside of a click event?

2009-09-10 Thread ThomasWrobel

I guess thats how I'll do it :-/
Sure I saw a Dom call once or something though.

On Sep 10, 6:17 pm, Thomas Broyer  wrote:
> On 10 sep, 17:22, darkflame  wrote:
>
> > Id like to know the current mouse x/y, relative to an element, at an
> > arbitrary point in my code.
> > (in this specific case during a scroll wheel event, but I might want
> > it elsewhere later)
>
> > How would I do this?
> > I'm sure theres a simple function I'm missing, but it just escapes
> > me :-/
>
> No, there's no mean to "ask the mouse" where "she" is; your only
> option (afaict) is to listen to mousemove events and store the
> coordinates in "global" variables that you can then read from another
> "event loop iteration".
--~--~-~--~~~---~--~~
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: CSS Theme File - Disabled

2009-09-10 Thread ThomasWrobel

You can always just comment them out;

 

On Sep 10, 4:19 am, josivan  wrote:
> tks... :)
> other framework have enabled this feature :)
>
> j.
>
> On 7 set, 06:21, Thomas Broyer  wrote:
>
>
>
> > On 7 sep, 02:40, josivan  wrote:
>
> > > Hi, my application has currently many files for CSS oftheme.
> > > My doubt! Is possible disabledtheme(css) file generation?
> > > I need only my css file, where I'm setting css rules (gwt-*)
> > > inclusive.
>
> > Just remove any  line
> > from your gwt.xml file(s)
--~--~-~--~~~---~--~~
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: URL and GET method

2009-09-10 Thread ThomasWrobel

Window.Location.getParameter("FOO");

If I remember correctly.

On Sep 10, 5:02 pm, Pion  wrote:
> How do I retrieve the value of FOO parameter using GWT of the
> following: "http://localhost:8080/get?FOO=BAR"; ?
>
> Thanks in advance for your help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Hosted mode Caching problem

2009-09-08 Thread ThomasWrobel

Sorry, I didnt read your problem correctly.
Thats really bizarre.
Are you using the war structure? or the old one?
Have you tried deleteing the files before it compiles?

On Sep 8, 6:21 pm, Rahul  wrote:
> Hi,
> Thanks for the reply
> I believe( i havent tired it yet) with this i would be able to have no
> caching when i deploy my application on the web server(Apache tomcat)
>
> What about when i am developing my application and testing in the
> google webtoolkit hosted mode?
>
> On Sep 6, 12:01 pm, ThomasWrobel  wrote:
>
>
>
> > Have you tried using a .htaccess file on the sever to force no-
> > cacheing?
>
> > 
> > Header set Cache-Control: "private, pre-check=0, post-check=0, max-
> > age=0"
> > Header set Expires: 0
> > Header set Pragma: no-cache
> > 
>
> > (If you save this to a  *.htaccess file this will set everything in
> > the directory not to be cached)
> > Assumeing your sever is apache.
>
> > On Sep 4, 5:02 pm, Rahul  wrote:
>
> > > Hi,
> > > I am reading an file A.xml each time and modifying it and saving it on
> > > my server. Now how can  the browser or the hosted mode that the file
> > > has been changed, because whenever it sees that the name of the file
> > > is same i.e. A.xml it never gets from the server, it just shows the
> > > content in it local cache which are the old values.
>
> > > I believe its a cache problem, as the browser never gets A.xml the
> > > next time because when seen in the other window of hosted mode, i see
> > > that the first time there is a 200 - GET operation which is that the
> > > file is send from server to client but the second or the third time,
> > > not such GET operation is done
>
> > > I hope i was clear with my problem statement, if not please ask so i
> > > can more elaborate.
--~--~-~--~~~---~--~~
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 RELOAD IMAGE BUNDLE

2009-09-08 Thread ThomasWrobel

Your right...this does seem a problem with gwt on Firefox 3.5

A huge amount of duplicate loading going on, not just with that bundle
but also
http://gwt.google.com/samples/Showcase/showcase/clear.cache.gif
and
http://gwt.google.com/samples/Showcase/showcase/10A6FD6A526DA51ED7300D58E497C99C.cache.png


On Sep 8, 3:28 pm, drenda  wrote:
> Hi Thomas,
> the problem is visible also in the sample application of 
> gwt:http://gwt.google.com/samples/Showcase/Showcase.html. If your clear
> your browser's
> cache and then reload the page it's load about 9MB of images in 179
> requests. Infact
> you can notice that the image 
> bundlehttp://gwt.google.com/samples/Showcase/showcase/71072870DD13CCD2FCDAA...
> is load more and more time.
>
> Any ideas?
>
> Thanks
>
> Best regards
>
> On 8 Set, 14:16, ThomasWrobel  wrote:
>
>
>
> > I think you will have to upload it somewhere or post code for people
> > to help on this issue.
>
> > On Sep 8, 11:10 am, drenda  wrote:
>
> > > Any idea?
>
> > > Thanks
>
> > > On 7 Set, 21:24, drenda  wrote:
>
> > > > Hi,I forgot to say that I've this problem only with Firefox 3.5.2.
> > > > With other browser you can't see the reloading of the images, instead
> > > > with Firefox you can cleary see the reloading of all images!!
> > > > Maybe a bug?
>
> > > > Thanks
>
> > > > On 7 Set, 19:22, bond  wrote:
>
> > > > > Hi,I've a big problem with image bundle. I make a small table with
> > > > > paging that display some text and some image. When I click "next
> > > > > button" the image bundle is reload more and more time in the browser
> > > > > (with firebug I see a 
> > > > > GEThttp://localhost:8084/Main/B944D2399463F2D5C1293B5263DF3E75.cache.html).
> > > > > I can't see the problem!!
>
> > > > > Thanks for your help!
>
> > > > > Best 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-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 fix the side-bar bug in this group.

2009-09-08 Thread ThomasWrobel

no problem, Id get annoyed too if I see someone posted
 just to get attention.
The problems been coming and going over the last few weeks.
Dosnt seem browser related, as that screen was from Chrome a few days
back.
The group is working ok for me now, again, although it had the glitch
this morning, hence the post.
Hopefully its gone for good, if not people can use my work-around.

On Sep 8, 2:38 pm, Ivan Chappel  wrote:
> my bad, after seeing the screenshot I see why you added it. I read the
> forums using FF and the posts display normally. Glad you came up with
> a workaround.
>
> On Sep 8, 8:31 am, ThomasWrobel  wrote:
>
>
>
> > I'm adding that to the benefit of those experiencing this 
> > problem;http://www.lostagain.nl/tempspace/grouperror1.jpg
> > It allows people to actually read the title, rather then having it cut
> > off.
>
> > On Sep 8, 2:02 pm, Ivan Chappel  wrote:
>
> > > Stop being a retard by adding _ to your subject.
> > > This is not craigslist.
>
> > > On Sep 8, 7:57 am, darkflame  wrote:
>
> > > > I cant be the only one frustrated by the side-bar of those group
> > > > constantly going wrong and making it near impossible to post/browse,
> > > > so Id thought Id do a simple css fix to remove it completely.
>
> > > > For those running Opera just download 
> > > > this;http://www.lostagain.nl/tempspace/style.css
> > > > And right click "Edit Site Preferences" >> Display >> Select the
> > > > custom css.
>
> > > > For those running Firefox youd need the stylish 
> > > > plugin;https://addons.mozilla.org/en-US/firefox/addon/2108
>
> > > > Hope this helps people :)
--~--~-~--~~~---~--~~
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 fix the side-bar bug in this group.

2009-09-08 Thread ThomasWrobel

I'm adding that to the benefit of those experiencing this problem;
http://www.lostagain.nl/tempspace/grouperror1.jpg
It allows people to actually read the title, rather then having it cut
off.

On Sep 8, 2:02 pm, Ivan Chappel  wrote:
> Stop being a retard by adding _ to your subject.
> This is not craigslist.
>
> On Sep 8, 7:57 am, darkflame  wrote:
>
>
>
> > I cant be the only one frustrated by the side-bar of those group
> > constantly going wrong and making it near impossible to post/browse,
> > so Id thought Id do a simple css fix to remove it completely.
>
> > For those running Opera just download 
> > this;http://www.lostagain.nl/tempspace/style.css
> > And right click "Edit Site Preferences" >> Display >> Select the
> > custom css.
>
> > For those running Firefox youd need the stylish 
> > plugin;https://addons.mozilla.org/en-US/firefox/addon/2108
>
> > Hope this helps people :)
--~--~-~--~~~---~--~~
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: DeckPanel with visible layers?

2009-09-08 Thread ThomasWrobel

Couldn't you do the progress bar, however you like, then just query
its (absolute) location after its on the page, putting a label at that
position?
(so effectively the widgets arnt tied together at all)

If you want the progress bar to resized verticaly to match the text
size you could then size it after the label is positioned.

A bit of a fudgy solution, but it would give you a progress bar with
text ontop surely?

On Sep 8, 10:57 am, David Given  wrote:
> Ian Bambury wrote:
>
> [...]
>
> > It might be helpful (well it would for me anyway) if you were to
> > describe the effect you were trying to get.
>
> Simple enough, really: I want a progress bar with text over the top.
>
> > To some extent I think I understand, but I don't understand the reason
> > for the problem for absolute positioning.
>
> Using an AbsolutePanel would require me to pick a pixel size for the
> panel. Unfortunately, space is limited. Given that HTML doesn't do
> queryable font metrics, I cannot manually size the panel to fit the text
> inside. The normal solution here is to just make the panel bigger than
> necessary, but I can't do that for space reasons. The progress bar needs
> to tightly wrap the text.
>
> [...]
>
> > But certainly this time the quick answer is 'out of luck' because the
> > deck panel doesn't do that.
>
> It's an odd omission --- HTML and CSS should be able to produce the
> effect I need using raw DOM. This kind of widget is usually one of the
> primitives in most other widget sets I've seen, so I thought I should
> check before writing my own.
>
> --
> ┌─── dg@cowlark.com ─http://www.cowlark.com─
> │
> │ "They laughed at Newton. They laughed at Einstein. Of course, they
> │ also laughed at Bozo the Clown." --- Carl Sagan
--~--~-~--~~~---~--~~
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 RELOAD IMAGE BUNDLE

2009-09-08 Thread ThomasWrobel

I think you will have to upload it somewhere or post code for people
to help on this issue.

On Sep 8, 11:10 am, drenda  wrote:
> Any idea?
>
> Thanks
>
> On 7 Set, 21:24, drenda  wrote:
>
>
>
> > Hi,I forgot to say that I've this problem only with Firefox 3.5.2.
> > With other browser you can't see the reloading of the images, instead
> > with Firefox you can cleary see the reloading of all images!!
> > Maybe a bug?
>
> > Thanks
>
> > On 7 Set, 19:22, bond  wrote:
>
> > > Hi,I've a big problem with image bundle. I make a small table with
> > > paging that display some text and some image. When I click "next
> > > button" the image bundle is reload more and more time in the browser
> > > (with firebug I see a 
> > > GEThttp://localhost:8084/Main/B944D2399463F2D5C1293B5263DF3E75.cache.html).
> > > I can't see the problem!!
>
> > > Thanks for your help!
>
> > > Best 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-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 get URL in GWT?

2009-09-08 Thread ThomasWrobel

I dont think theres a simple way, youd need to get the whole URL, look
between the second / and the 3rd /, then split the string around the
" : "

IP = UrlString.split(":")[0];
Port = UrlString.split(":")[1];


On Sep 8, 11:55 am, Vikas  wrote:
> For RPC communication, I need server IP address and port which is
> specified in URL.
> e.g. In 'http://10.4.6.131:8181/webClient.html'url 10.4.6.131 IP
> address and 8181 port.
>
> How to get this IP and port in GWT?
>
> Thanks in advance,
> Vikas
--~--~-~--~~~---~--~~
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: what are prerequisites for learning google window toolkit

2009-09-08 Thread ThomasWrobel

I got started with no javascript or java skills. Merely an
understanding of basic codeing (I previously knew Delphi, Basic,
Actionscript).
Moderate html/css skills.
Really gwt was easy enough for me to learn everything as I went,
especially when using Eclipse (which is a lovely IDE), and Firebug
(which helps no-end in tracking down problems).


On Sep 8, 9:18 am, hari  wrote:
> Hi friends,
> I am working as a Flex developer.
> Recently i listen about GWT (Google window toolkit).
> I think it is also RIA tech. like Flex.
> Please provide some information about GWT.
> what are prerequisites for learning google window toolkit.
> which softwares are we use for developing GWT application. like  for
> running flex applications we use flashplayer.like that which softwares
> we use for GWT.
>
> Thanks in advance.
>
> Regards,
> Harish.K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Hosted mode Caching problem

2009-09-06 Thread ThomasWrobel

Have you tried using a .htaccess file on the sever to force no-
cacheing?


Header set Cache-Control: "private, pre-check=0, post-check=0, max-
age=0"
Header set Expires: 0
Header set Pragma: no-cache


(If you save this to a  *.htaccess file this will set everything in
the directory not to be cached)
Assumeing your sever is apache.

On Sep 4, 5:02 pm, Rahul  wrote:
> Hi,
> I am reading an file A.xml each time and modifying it and saving it on
> my server. Now how can  the browser or the hosted mode that the file
> has been changed, because whenever it sees that the name of the file
> is same i.e. A.xml it never gets from the server, it just shows the
> content in it local cache which are the old values.
>
> I believe its a cache problem, as the browser never gets A.xml the
> next time because when seen in the other window of hosted mode, i see
> that the first time there is a 200 - GET operation which is that the
> file is send from server to client but the second or the third time,
> not such GET operation is done
>
> I hope i was clear with my problem statement, if not please ask so i
> can more elaborate.
--~--~-~--~~~---~--~~
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: ______________________Annoying glitch in groups making it hard to post/reply?(All browsers, tried a few machines)

2009-09-06 Thread ThomasWrobel

nope, its back again.
Seems to come and go.
Opera,Firefox,Chromeall the same.


On Sep 5, 8:01 pm, Ian Bambury  wrote:
> Let's hope so, it's been like that for months.
> Ian
>
> http://examples.roughian.com
>
> 2009/9/5 ThomasWrobel 
>
>
>
>
>
> > Problem seems to have gone now.
>
> > On Sep 5, 10:51 am, darkflame  wrote:
> > > Anyone else getting this?;
>
> > >http://www.darkflame.co.uk/temppics/grouperror1.jpg
>
> > > ?
> > > Is this error tied to the downturn in activity? Too many people cant
> > > post easily?
> > > At the moment I can only reply to stuff by switching to opera and
> > > using its small-screen layout, then hitting reply, then flicking back
> > > to normal layout. (as normally the reply link is hidden under that
> > > misplaced sidebar).
--~--~-~--~~~---~--~~
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 strip formating on paste? (rich text box)

2009-09-05 Thread ThomasWrobel

Thanks, thats 1/3rd of the problem solved then ;)
Guess I'll need to write a routine that strips all formating except
for bold,italic,underline, links etc.
Probably need to use a regex. grr. I always get muddled with them.

On Sep 5, 11:16 am, Dalla  wrote:
> RichTextArea extends FocusWidget, which has a number of handlers for
> keyboard events.
> This snippet will let you catch a paste, assuming that the users paste
> using CTRL+V
>
> RichTextArea area = new RichTextArea();
>                 area.addKeyDownHandler(new KeyDownHandler() {
>                         @Override
>                         public void onKeyDown(KeyDownEvent event) {
>                                 if (event.isControlKeyDown() && 
> event.getNativeKeyCode() == 86) {
>                                         System.out.println("Paste");
>                                 }
>                         }
>                 });
>
> Not sure how you would catch the paste event if it came from a right-
> click context menu
> or the browser menu though...
>
> On 4 Sep, 23:59, darkflame  wrote:
>
>
>
> > I'm using a rich text area, and Ive run into the problem that when
> > users cut and paste from some applications, a lot of junk formating is
> > pasted as well.
>
> > Is there any method to catch the paste, and strip this data out?
> > So, while users can use it for rich text editing, they can only paste
> > data in as plane text.
--~--~-~--~~~---~--~~
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: ______________________Annoying glitch in groups making it hard to post/reply?(All browsers, tried a few machines)

2009-09-05 Thread ThomasWrobel

Problem seems to have gone now.

On Sep 5, 10:51 am, darkflame  wrote:
> Anyone else getting this?;
>
> http://www.darkflame.co.uk/temppics/grouperror1.jpg
>
> ?
> Is this error tied to the downturn in activity? Too many people cant
> post easily?
> At the moment I can only reply to stuff by switching to opera and
> using its small-screen layout, then hitting reply, then flicking back
> to normal layout. (as normally the reply link is hidden under that
> misplaced sidebar).
--~--~-~--~~~---~--~~
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: Thank you google!

2009-09-04 Thread ThomasWrobel

Absolutely.
GWT has been absolute bliss to work with.
Getting rapid results, acting predictably, and even managing to (95%)
make IE behave itself.
Ive used it to make so many different things each one giving more
resources to build from.

Thank you google!

On Sep 3, 9:11 am, zinkronz network  wrote:
> i also want to thanks, good job google
>
> buzz
>
>
>
> On Thu, Sep 3, 2009 at 2:39 AM, Jim Douglas  wrote:
>
> > I second that.  We're making rapid progress porting a Swing front end
> > to GWT.  The Google/GWT engineers have done some really impressive
> > work here.
>
> > On Sep 2, 12:17 pm, charlie  wrote:
> > > Err, haven't :).
>
> > > On Wed, Sep 2, 2009 at 2:16 PM, charlie  wrote:
> > > > For making programming fun again.  I really have been this excited
> > about a
> > > > technology in a decade and wanted to express my appreciation for all
> > that
> > > > you guys are doing.
>
> > > > So thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Polygons using GWT

2009-09-04 Thread ThomasWrobel

You need to use the Canvas object for this;
http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas

On Sep 5, 1:14 am, jonty  wrote:
> Hi all,
>
> Can someone tell on how to draw polygon using GWT ?? It will be good
> if someone can post some sample code.
>
> Thanks,
> Bharat
--~--~-~--~~~---~--~~
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: Polygons using GWT

2009-09-04 Thread ThomasWrobel

You need to use the Canvas object for this;
http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas

On Sep 5, 1:14 am, jonty  wrote:
> Hi all,
>
> Can someone tell on how to draw polygon using GWT ?? It will be good
> if someone can post some sample code.
>
> Thanks,
> Bharat
--~--~-~--~~~---~--~~
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: Image layering using GWT

2009-09-04 Thread ThomasWrobel

I use the same method. Absolute Panel allows overlapping images (or,
any widgets you like).

Is it possible, however, to do the opersite, have an image on another
where the top image dosnt capture the clicks?
(that is, its "transparent" to clicks, and the lower image or the
absolute panel itself will capture them) ?

On Sep 5, 12:17 am, Thad  wrote:
> I do this in my application.  My background GWT Image is placed inside
> an AbsolutePanel.  Smaller image icons (which trigger a popup) are GWT
> Image objects placed on the AbsolutePanel at the (x,y) received in the
> mouse-up handler (part of the MouseUpEvent).
>
> On Sep 3, 1:49 pm, jonty  wrote:
>
>
>
> > Hi everyone,
>
> > I am using GWT1.7. I am facing some problems with image layering. I am
> > using Image api to add image to panel. Once I add the image I want to
> > add another image on top of that on mouseclick at the click location.
>
> > Please help me on how to solve this problem. Can this be done with GWT
> > 1.7? If yes how it can be done ? If not what is another alternative ?
>
> > Thanks
> > Bharat
--~--~-~--~~~---~--~~
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: Catching Hyperlinks before they are executed

2009-09-01 Thread ThomasWrobel

I'm not sure thats possible at all. You might have to make gwt link
objects that look like normal hrefs and replace all of the ones in the
page with these.
I had to do this myself for my project. (but for a different reason, I
needed bookmark links to work in frames...IE had some bugs that meant
I needed to use gwt links instead).


On Sep 1, 12:44 am, Chris Bailey  wrote:
> I'm working on a social type site which I will make different versions
> depending on the device (mobile, desktop, etc...) and I want all the
> links to be just standard href hyperlinks. I know it's possible but
> how would you in GWT check a hyperlink before it is executed??
>
> My Goal is to check to see if the link is realitive then if it is I
> can just run my own function that will not change the location of the
> user's page but instead get the data the link is pointing to and parse
> it. If it's not a realitive link I will assume the person is trying to
> get off the page and either (based on user settings) change the whole
> page to that link or open a new window of that link.
--~--~-~--~~~---~--~~
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: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?

2009-08-30 Thread ThomasWrobel

Actualy, Ive just noticed this only effects Firefox...opera works
fine.

Is this a bug in Focus panel when using firefox? (the example online
is a focus panel containing a Absolute Panel, which, in turn, contains
other Absolute panels).


On Aug 30, 2:28 am, darkflame  wrote:
> Basically is it possible for an image widget to be "transparent" as
> regards to click events, passing them to the panel under it?
>
> I'm working on a panel-streaming 
> engine;http://www.darkflame.co.uk/panalstreamer/panelstreamer.html
> Just click on the first option in the dropdown on the top right.
> (Anyone thats read Reinventing comics should recognize this idea ;) )
>
> You will notice you can click and drag it around fairly easily when
> clicking on the "space", but if you click on the image panels the
> mouse will get 'stuck'.
> Any method to make the images on the absolute be completely ignored
> click-wise?
--~--~-~--~~~---~--~~
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: Making a fancy GWT Chart

2009-08-30 Thread ThomasWrobel

I dont know much about sever-side rendering, but cant the sever render
the image to a url, possibly triggered by gwt calling a php function?

Also, have you looked into the possibility of GWTCanvas being used to
draw with gwt?
http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas

It can handle gradients..but not in IE.
(if its just liner gradients on rectangles though, you could also just
do it yourself by drawing lots of lines changing the color each time).


On Aug 30, 2:47 am, Nether  wrote:
> My goal is to make a chart which shows standard deviations as a
> gradient on the vertical axis.  I don't think it is easy to do this in
> the browser, so what I plan on doing is having the server render the
> chart to a BufferedImage and sending that to the client to display in
> an "Image" widget.
>
> The problem is that the Image widget only takes a URL, but how do I
> give it a bufferedimage?
>
> Also, is this the best solution for me to be using for making this
> gradient chart?
>
> Thanks for your time.
--~--~-~--~~~---~--~~
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: "semaphores" in gwt

2009-08-29 Thread ThomasWrobel

I think your options are;
a) Just nest one request inside the other.
or
b) Do both requests separately, but within both the OnResponse check a
flag to see if the other one has finished as well. If either flags
that both are done, then trigger the message/code you want to run
based on this.

I think b is better, but I'm sure someone else might have better more
detailed advice.

On Aug 30, 2:20 am, Jaap  wrote:
> Hi,
>
> When starting my webapp I do two RPC calls. I need the data of both of
> them in order to display something. If you work with threads with a
> native program you just use semaphores to achieve this. What's the
> way to do this in GWT?
>
> Thanks
>
> Jaap
--~--~-~--~~~---~--~~
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: File Manipulation / Processing in GWT

2009-08-29 Thread ThomasWrobel

Not sure how you mean.
You can use GWT to read a file, then mess about with it as a string,
then post the result to a PHP file that can write the file to your
sever.

On Aug 29, 8:31 am, alvinjayreyes  wrote:
> Anyone here has done some file manipulation through GWT?
--~--~-~--~~~---~--~~
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: History Token

2009-08-28 Thread ThomasWrobel

Guess a frame could be used to hide the token (so the whole site is in
the frame).
A bit crude, and I also would query the point.

On Aug 28, 5:49 pm, Thomas Broyer  wrote:
> On 28 août, 13:54, Simon Shaw  wrote:
>
> > I have developed a simple web application with 4 pages that uses
> > Hyperlinks and ValueChangeHandler to move from page to page and store
> > history.
> > Although I want to keep the history functionality in this application
> > I do not want to show the token in the address bar of the browser.
>
> That's simply not possible (well, in IE6 and IE7, it would be, but not
> on other browsers; at least with the current History implementation,
> which is what 99.9% of developers using GWT actually want)
>
> > Also, and I am pretty sure this is connected, I would like to prevent
> > users from entering the site from any location other than the default
> > landing page.
>
> Oh, this is easy: in your onModuleLoad, instead of firing the current
> history token, just do nothing with History (apart from registering
> your ValueChangeHandler) or explicitly "move" to the landing page
> (History.newItem("landing-page"))
>
> Er, could you explain why you don't want the "bookmarkable" part of
> the history feature? i'm having a hard time understanding your issue
> with it...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT cannot display Chinese Words or JAPANESE words correctly

2009-08-28 Thread ThomasWrobel

If your using eclipse, make sure to set the encodeing to utf-8.
Just go propertys on the project and set text text-file encoding to
utf-8 from the dropdown.

On Aug 28, 3:53 pm, jhulford  wrote:
> Also make sure your host page's encoding is UTF-8.
>
> On Aug 28, 2:21 am, David  wrote:
>
>
>
> > Hi,
>
> > That is not a GWT issue but rather a HTML issue.
> > Make sure that:
> > a) you use a font that supports i18n
> > b) make sure that you use a charset that supports i18n.
> >     Put something like this in your HTML-HEAD section.
> >                 
>
> > David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Create own widget

2009-08-28 Thread ThomasWrobel

Why not just use a horizontalpanel with two buttons next to eachother?

HorizontalPanel buttongroup = new HorizontalPanel();
buttongroup.add(buttonOne);
buttongroup.add(buttonTwo);

If you want to make this into its own class, youd do;

public class myButtonGroup extends HorizontalPanel {

Button buttonOne  = new Button("test 1");
Button buttonTwo  = new Button("test 2");

public myButtonGroup() {

this.add(buttonOne)
this.add(buttonTwo)

 }

}


Preferably in its own file.
Then you can use myButtonGroup whenever you want these two buttons.
eg.
myButtonGroup testgroup = new myButtonGroup()



On Aug 28, 10:42 am, LinuxChata  wrote:
> How to create own widget with two button??
>
> Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Spinner Widget in 3d

2009-08-28 Thread ThomasWrobel

Theres no inbuilt 3d rendering engine in javascript or gwt, so you'd
either have to find one and try to make it work with gwt, or you'd
have to code your own ver the canvas element. (which lets you draw
anything 2d, and thus with smart code you can make anything 3d).
Both probably very hard tasks.
Its certainly possible, however, as some of the chrome demos show;

http://www.chromeexperiments.com/



On Aug 27, 4:54 pm, Jupiter  wrote:
> I love the following link
>
> http://labs.pathf.com/spinner/
>
> I was wondering that is it possible to have 3d objects in the
> spinner.Can I make it possible with GWT?I know javascript supports
> 3d.So I guess it should be possible.Can anyone tell me whether its
> possible or not?If so please guide me how I can make a 3d spinner
> widget?
>
> Any help is appreciated
--~--~-~--~~~---~--~~
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: Load external html files inside a popup

2009-08-27 Thread ThomasWrobel

surely thats just a method of styleing the html pages to look like
that?
If you use an iFrame, gwt will treat the contained page exactly like a
normal website within it.

On Aug 27, 3:06 pm, zujee  wrote:
> Hi myapplicationQuestions,
> thanks for the quick reply..
> I wonder is there a way to show my help files like "compiled html
> creator" chm
>
> thanks
> Zujee
>
> On Aug 27, 5:11 pm, myapplicationquestions 
> wrote:
>
>
>
> > Hi Zujee,
>
> > Are the help files deployed on the webserver? meaning can u access
> > them usinghttp://help1.html?Ifyes u can give taht url in the
> > iframe.
>
> > Thanks
>
> > On Aug 27, 6:57 am, zujee  wrote:
>
> > > Hi experts,
> > > I have some help files for my application. when user clicks on help
> > > page, I want to show it  inside the Frame. Inside my help folder i
> > > have 1 toc (table of content) and when user clicks , i need to
> > > navigate to that page.
> > > Can some body help me how i can do it.
>
> > > thansk
> > > zuje- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel

Nope, my mistake, it does work.
For some reason I was importing the wrong selectionhandler class!
Correcting that it now works.

On Aug 25, 11:05 pm, Isaac Truett  wrote:
> > 'SelectionHandler didnt seem to work at all.
> > I dont think we are supposed to be able to use that with suggestbox;
>
> Care to elaborate on that at all? It works fine for me.
--~--~-~--~~~---~--~~
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: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel

'SelectionHandler didnt seem to work at all.
I dont think we are supposed to be able to use that with suggestbox;

"Note that there is no method to retrieve the "currently selected
suggestion" in a SuggestBox, because there are points in time where
the currently selected suggestion is not defined. For example, if the
user types in some text that does not match any of the SuggestBox's
suggestions, then the SuggestBox will not have a currently selected
suggestion. It is more useful to know when a suggestion has been
chosen from the SuggestBox's list of suggestions. A SuggestBox fires
SuggestionEvents whenever a suggestion is chosen, and handlers for
these events can be added using the addValueChangeHandler
(ValueChangeHandler) method."

On Aug 25, 10:39 pm, Isaac Truett  wrote:
> Could you use a SelectionHandler instead?
>
>
>
> On Tue, Aug 25, 2009 at 4:24 PM, darkflame wrote:
>
> > Ive run into this issue;
> >http://code.google.com/p/google-web-toolkit/issues/detail?id=1634
>
> > Anyone know any work-arounds?
> > The usefulness of the suggest box is kinda crippled without one. I can
> > only think of some timed-trigger myself, but thats rather crude :-/
> > I just want to be able to use the box in the same way as goods home-
> > page does it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SuggestBox problem...any work-around to get the selection text when one is chosen?

2009-08-25 Thread ThomasWrobel

I meant googles home page, of course. Clearly googles moto is having
its desired effect ;)

On Aug 25, 10:24 pm, darkflame  wrote:
> Ive run into this 
> issue;http://code.google.com/p/google-web-toolkit/issues/detail?id=1634
>
> Anyone know any work-arounds?
> The usefulness of the suggest box is kinda crippled without one. I can
> only think of some timed-trigger myself, but thats rather crude :-/
> I just want to be able to use the box in the same way as goods home-
> page does it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---