Conditional script tag in a GWT module declaration

2011-10-16 Thread Lukas Laag
Hi all,

I would like to create a GWT module which includes a third-party
javascript library (a javascript xpath library) to patch a weakness for
one of the targeted browsers (IE, which does not support xpaths).
However I do not want to impact negatively the other browsers, which
already have native xpath support: it would be a bad idea to force them
to download the library if they are not going to use it.

Does anybody know if there is a way to use a 

Re: GWT Developer Plugin for Firefox 7

2011-09-29 Thread Lukas Laag
Hi,

If you are eager to have the plugin now, it appears it is not too hard
to rebuild it. Here is the procedure I followed:

1/ Check out the source and tools from the svn repository
http://google-web-toolkit.googlecode.com/svn/trunk
Also checkout 
http://google-web-toolkit.googlecode.com/svn/plugin-sdks/gecko-sdks/gecko-7.0.0
(see http://code.google.com/webtoolkit/makinggwtbetter.html#checkingout
for details)

2/ Edit several files, by either adding an extra section for ff70 copy-
pasted-adapted from what existed for ff60 (trunk/plugins/xpcom/
Makefile, trunk/plugins/xpcom/prebuilt/extension/chrome.manifest), or
by replacing 6.0 by 7.0 (trunk/plugins/xpcom/install-template.rdf)

3/ Create the directory trunk/plugins/xpcom/prebuilt/ff70/include

4/ Go to trunk/plugins/xpcom and type: make ARCH=x86 BROWSER=ff70
This will build a plugin in the directory trunk/plugins/xpcom/
prebuilt/gwt-dev-plugin.xpi
5/ In FF7.0, go to File > Open File... and open the .xpi resulting
from the build

I cannot guarantee the resulting plugin is flawless as I blindly
changed stuff without having a real understanding of FF plugin
development or the GWT plugin, but this has produced something which
works for me (FF7.0, linux 32 bits)

Lukas

On Sep 29, 6:11 pm, Thomas Broyer  wrote:
> I don't think JetPack is the solution. js-ctypes look like a much better
> one:http://adblockplus.org/blog/binary-xpcom-components-are-dead-js-ctype...

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



Re: GWT Developer Plugin for Firefox 6

2011-08-30 Thread Lukas Laag
I tried it with FF6 on linux 32 bits (mandriva 2010.2), it works fine
there. Many thanks
Lukas

On 30 août, 20:42, Alan Leung  wrote:
> FWIW, I just checked in xpi file.
>
> If you feel adventurous, you can fetch it from the SVN and install it.
> Please let me know if you have any issues.
>
> I plan to put it on the auto download page later this week.
>
> I apologize for the delay.
>
> -Alan

-- 
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: Drop file from the OS into a GWT application

2011-06-29 Thread Lukas Laag
I do not believe IE9 supports the W3C File API, so IE (event IE9) is
not supported at the moment

Lukas

On Jun 29, 7:19 pm, Alain Ekambi  wrote:
> It looks like IE is not supported ?
>
> 2011/6/29 Lukas Laag 
>
>
>
>
>
>
>
>
>
> > Hi,
>
> > You can look at this project, it implements the feature you need:
> >http://www.vectomatic.org/lib-gwt-file
> >http://code.google.com/p/lib-gwt-file/
>
> > Lukas
>
> > On Jun 29, 6:28 pm, "J.Ganesan"  wrote:
> > > It was updated in May, 2010. I guess the code is alright.
>
> > > J.Ganesanwww.DataStoreGwt.com
>
> > > On Jun 29, 9:18 pm, Alain Ekambi  wrote:
>
> > > >  http://code.google.com/p/gwt-fileapi/. seems to be dead.
>
> > > > 2011/6/29 J.Ganesan 
>
> > > > > Have a look athttp://code.google.com/p/gwt-fileapi/.
>
> > > > > J.Ganesan
> > > > >www.DataStoreGwt.com
>
> > > > > On Jun 26, 11:11 pm, John Maitland 
> > wrote:
> > > > > > Have a look at this session from Google I/O 2011 on HTML 5:
>
> >http://www.google.com/events/io/2011/sessions/html5-showcase-for-web-...
>
> > > > > > I'm not sure if this has native supported in GWT, but if not look
> > at
> > > > > > JSNI.
>
> > > > > > John
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > Groups
> > > > > "Google Web Toolkit" group.
> > > > > To post to this group, send email to
> > google-web-toolkit@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > > --
>
> > > > GWT API for  non Java based platformshttp://
> > code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
>
> GWT API for  non Java based 
> platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-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: Drop file from the OS into a GWT application

2011-06-29 Thread Lukas Laag
Hi,

You can look at this project, it implements the feature you need:
http://www.vectomatic.org/lib-gwt-file
http://code.google.com/p/lib-gwt-file/

Lukas

On Jun 29, 6:28 pm, "J.Ganesan"  wrote:
> It was updated in May, 2010. I guess the code is alright.
>
> J.Ganesanwww.DataStoreGwt.com
>
> On Jun 29, 9:18 pm, Alain Ekambi  wrote:
>
>
>
>
>
>
>
> >  http://code.google.com/p/gwt-fileapi/. seems to be dead.
>
> > 2011/6/29 J.Ganesan 
>
> > > Have a look athttp://code.google.com/p/gwt-fileapi/.
>
> > > J.Ganesan
> > >www.DataStoreGwt.com
>
> > > On Jun 26, 11:11 pm, John Maitland  wrote:
> > > > Have a look at this session from Google I/O 2011 on HTML 5:
>
> > > >http://www.google.com/events/io/2011/sessions/html5-showcase-for-web-...
>
> > > > I'm not sure if this has native supported in GWT, but if not look at
> > > > JSNI.
>
> > > > John
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
>
> > GWT API for  non Java based 
> > platformshttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/

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

2011-04-01 Thread Lukas Laag
Hi Alain,

Yes, if you know the format of PDF or Excel, you can process such
files. The API offers a byte-level API (more or less equivalent to
what you have with a java.io.InputStream). Mozilla has a demo where
they show how they are able to process EXIF metadata in jpeg pictures

Lukas

On Mar 31, 12:43 pm, nino ekambi  wrote:
> Hi there,
> nice job.
>
> can this process PDF and Excel file ?
> Regards,
>
> Alain
>
> 2011/3/31 Lukas Laag 
>
>
>
>
>
>
>
>
>
> > Hello,
> > I have developed a new library to address the problem of loading files
> > which are on the local filesystem of the end-user into GWT
> > applications. Actually the library is just a simple GWT wrapper for
> > the W3C file API and some parts of the HTML5 drag and drop API. If you
> > are developing an application where you want your users to open files
> > on their local filesystem without having to upload them to a server
> > first, this might be of interest to you.
>
> > The lib is published under LGPLv3.
>
> > More details can be obtained here:
> >http://www.vectomatic.org/google-web-toolkit/a-file-api-for-gwt
> > The lib itself is available here:
> >http://code.google.com/p/lib-gwt-file/
> > A demo is also available here:
> >http://www.vectomatic.org/gwt/lib-gwt-file-test/lib-gwt-file-test.html
>
> > Regards,
>
> > Lukas
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
>
> GWT API for the Flash 
> Platformhttp://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/

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



GWT library to wrap the W3C file API

2011-03-31 Thread Lukas Laag
Hello,
I have developed a new library to address the problem of loading files
which are on the local filesystem of the end-user into GWT
applications. Actually the library is just a simple GWT wrapper for
the W3C file API and some parts of the HTML5 drag and drop API. If you
are developing an application where you want your users to open files
on their local filesystem without having to upload them to a server
first, this might be of interest to you.

The lib is published under LGPLv3.

More details can be obtained here:
http://www.vectomatic.org/google-web-toolkit/a-file-api-for-gwt
The lib itself is available here:
http://code.google.com/p/lib-gwt-file/
A demo is also available here:
http://www.vectomatic.org/gwt/lib-gwt-file-test/lib-gwt-file-test.html

Regards,

Lukas

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



Performance improvements of GWT2.1 for long-based computations

2010-11-11 Thread Lukas Laag
I have just finished porting my chess game (http://www.vectomatic.org/
gwt/lib-gwt-svg-chess/lib-gwt-svg-chess.html) to GWT 2.1 and I would
like to report some performance measurements which highlight how much
the situation has improved for long-based computations with the
release of GWT2.1.

The application makes heavy use of java longs, notably in the attack
tables of its Carballo chess engine (the table contains 100 000+
longs). At the time the original code was written (one year ago), the
time to initialize the attack tables turned out to be so long (around
two and a half minutes) that I had to pre-compute them, causing a big
one-time penalty in the application download size (4MB download,
somewhat mitigated by the use of HTTP compression). Since then, GWT
has introduced a revamped emulation of java longs, and browsers
javascript engines are now much faster. I have been able to get rid of
the pre-computed tables and compute them on the fly. The execution
time for this part of the code is now (on my linux box):

| Browser| Ellapsed time to compute attack table
| FF3.6| 23s
| Opera 10.63  | 14s
| Chrome 7.x   | 0.5s
| FF4b7| 3s

This certainly beats downloading 4MB of attack tables !

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



lib-gwt-svg 0.5 for GWT 2.1 is available

2010-10-30 Thread Lukas Laag
I am releasing today version 0.5 of lib-gwt-svg for GWT 2.1. The new
version contains many new features.

* The library is now based on the GWT 2.1 final release.
* An SVG validator has been integrated. It is enabled by default and
checks at build-time all the SVG passed as SVGResource,
ExternalSVGResource and inlined in UiBinder templates. The SVG
validator is based on the experimental XML schema provided at W3C with
custom fixes and improvements. It is possible to disable validation
with the proper annotation or UiBinder attribute.
* The API has been migrated to include the latest update from the SVG
specification (SVG 1.1 second edition, W3C Working Draft 22 June
2010). See the release notes for details of the API changes.
* Documentation captured from the SVG specification has been
translated to javadoc and injected everywhere in the API. All the non-
W3C APIs have been documented. Many links pointing to the W3C spec
have been added also.
* Exceptions declared in the specification have been mapped to java
exceptions and the corresponding throws clauses have been added to the
specification. The article on lib-gwt-svg design has been updated to
reflect the design decisions behind these changes.
* Many new helper methods have been introduced (xpath utilities, DOM-
level 2 related methods, graphical methods).

All the details and the library itself can be obtained from the usual
source: http://www.vectomatic.org/lib-gwt-svg or 
http://code.google.com/p/vectomatic/

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



Re: Creating custom 'elements' for UiBinder, like in DockLayoutPanel

2010-06-18 Thread Lukas Laag
Hi Graham,

You should look at this thread which contains interesting information
on how to create custom element parsers:
https://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/4d79f729030527c5/181973c17d16cbc0?lnk=gst&q=custom+element+parser#181973c17d16cbc0

My understanding of the key points is:
a/ You officially cannot create your own element parser (there is no
publicly supported API for that)
b/ However, because GWT is open source, you can easily patch one or
two classes, put them at the head of your classpath and create your
own element parsers (though with no guarantee that they will not be
broken by future GWT evolutions).
c/ rjrjr mentions a possible public API for this in a later release,
possibly 2.1. However, if you listen to this webcast (http://
code.google.com/events/io/2010/sessions/gwt-ui-overhaul.html) from IO
2010, the possibility for a public API seems more remote (somebody
asks the question at the end of the session)

I have used this myself extensively to map SVG tags in UiBinder. If
you are interested, you can look here (http://www.vectomatic.org/lib-
gwt-svg/uibinder-integration-with-lib-gwt-svg) for an article about
this work and here (http://www.vectomatic.org/mvn-sites/lib-gwt-svg/
xref/org/vectomatic/dev/svg/impl/gen/SVGButtonBaseParser.html) for
source code.

Lukas

On Jun 18, 2:45 pm, Chris Boertien  wrote:
> I'm not sure as to any exact procedure fro this, but this might give
> you some idea of whats happening under the hood...
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...
>
> On Fri, Jun 18, 2010 at 6:29 AM, Will  wrote:
> > I want to create the same UiBinder support for custom elements as
> > well.  Can anyone point us towards an example in the GWT source so
> > that we can see how  is implemented and get an idea on how
> > we can create similar elements?  If I don't hear back I plan to create
> > a different widget for each custom element and have an onAttach( )
> > method that will throw an exception if the widget is placed outside of
> > the correct context.  I think that will behave similar to 
> > but I imagine GWT uses something more robust.
>
> > On Apr 19, 1:58 pm, Graham J  wrote:
> >> DockLayoutPanel has the , , etc. which are referred
> >> to as 'elements' on theUiBinderhelp page. (http://code.google.com/
> >> webtoolkit/doc/latest/DevGuideUiBinder.html#Panels)
>
> >> Any idea how one would go about adding this functionality to my own
> >> widgets? Theirs appear to be parametrized and everything.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups 
> >> "Google Web Toolkit" group.
> >> To post to this group, send email to google-web-tool...@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> google-web-toolkit+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: How To Simulate KeyPress

2010-05-04 Thread Lukas Laag
It is possible to generate events programmatically in JavaScript. This
page gives a good overview of the topic, including key events (look
for 'Manually firing events'):

http://www.howtocreate.co.uk/tutorials/javascript/domevents.

I do not know if generating a tab event like this in a JSNI method
would solve your focus problem. If you give it a try, can you please
let us know how this fares ?

Lukas

On May 4, 4:12 pm, Daniel Simons  wrote:
> I am creating a mobile web app with GWT and have discovered that the
> TextBox.setFocus(true) method does not work in mobile Safari.  I also tried
> using JSNI to directly call element.focus(), which also did not work.
>  Looking at other potential work arounds, the textbox in my application that
> I would like to focus on happens to be the input immediately following the
> input for which the event is being triggered.  Therefore, if I could somehow
> simulate the pressing of the "TAB" key inside that event, I could achieve a
> similar result to "setFocus(true)".  Could anyone explain how I could go
> about simulating the TAB Key press?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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



Re: GWT and "Image Editor"

2010-04-03 Thread Lukas Laag
If I were you I would definitely consider SVG for this project. You
can easily create your templates with an SVG editor (like 
http://www.inkscape.org/).
You can manipulate the SVG from GWT with an open-source libary I am
developing (http://www.vectomatic.org/lib-gwt-svg). SVG is XML so you
have your persistency format. Plus SVG should be easy to print or
convert to other print formats since it is XML (see for instance
http://www.fileformat.info/convert/image/svg2pdf.htm).
The only drawback of this approach is that SVG does not work in IE yet
(planned for IE9 though).

On Apr 1, 7:57 pm, Artem  wrote:
> Hi!
>
> In my project I need specific GWT widget. Basically main request for
> it - to allow place some text on top of Image and then safe a result.
>
> It should work for company that produce business cards. User can go to
> a web site, select any card template (basically just background Image)
> and then be able to place some text on any place on top of Image and
> somehow result should be saved to allow manager later to check it and
> send to printing...
>
> Does anybody could give me some advise on that? Any ideas how this
> could be done in GWT? Maybe some nice framework that will make my job
> easy?
>
> Thanks

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



SVG in UiBinder templates

2010-03-28 Thread Lukas Laag
Hi,
I have just completed a development to let one add SVG to UiBinder
templates. You can instatiate an SVGImage widget, and specify the SVG
either with an SVGResource from a client bundle, or directly inline.
If you use the latter, you can bind variables to any element in the
SVG document, add event handlers declaratively, localize SVG, use
obfuscated styles, and all the cool things UiBinder can do.

I have an online demo for this (go to
http://www.vectomatic.org/gwt/lib-gwt-svg-samples/lib-gwt-svg-samples.html,
then look at the widgets tab), along with an article which discusses
this in more depth (http://www.vectomatic.org/lib-gwt-svg/uibinder-
integration-with-lib-gwt-svg)

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



Re: XHTML does not work?

2010-02-21 Thread Lukas Laag
Mark,

My understanding is that GWT only supports HTML documents, not XHTML
or SVG documents. This restriction is related to the way GWT
initializes (there is a bootstrap process based on iframes, something
XHTML and SVG do not support). It is a rather old issue and people
(notably Archie Cobb) have tried to suggest improvements in this area
but they have not been integrated into GWT. Here are a few URLs from
past threads, worth reading:

http://code.google.com/p/google-web-toolkit/issues/detail?id=710&can=1&q=SVG
http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/1ccbfd663663e540/68b3b2a9b722d3c9?q=GWT+SVG#68b3b2a9b722d3c9
http://www.vectomatic.org/libgwtsvg/on-the-topic-of-gwt-intialization

I think one of the most valuable improvements the GWT team could do
for their next version would be to refactor this bootstrap process to
make it portable to other javascript containers (SVG, XHTML, HTML5
WebWorkers, ...). This would increase the domains to which GWT can be
applied.

If you want to do SVG with GWT, it is possible today though. But you
will need to instantiate your SVG graphical elements dynamically using
javascript DOM calls (to Document.createElementNS() or
DOMParser.parseFromString()) and add these to your DOM tree. You
cannot simply embed the SVG tags in HTML, as they will not be
recognized by the HTML parser.

By the way I am developing an SVG GWT library which does just that, in
case you are interested: http://www.vectomatic.org/libgwtsvg


?
On Feb 21, 1:09 am, Paul S  wrote:
> That is pretty curious that the svg would load just because you
> have .xhtml as the file extension instead of .html, I have never used
> svg so this may very well be true and I'm showing my ignorance. About
> the validator, it's not the Holy Grail, code validation is very handy
> and a good discipline to keep, but sometimes you just can't make your
> code validate simply because you are using a modern spec that is
> unsupported or some browser specific feature.
>
> I seehttp://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtmldoes
> have .xhtml on the end. Hmm. Well, stick with your .xhtml extension,
> and live with the fact that GWT's plugin will not offer you the
> convenient link? What you could do is just manually type the
> "production mode" link into your browser and then bookmark that... oh,
> having said that, perhaps the production mode browser plugin will not
> accept non-html extensions?
>
> Is the SVG something that GWT interacts with?
>
> On Feb 21, 2:56 am, markww  wrote:
>
> > Hmm ok I see what you're saying. I'm trying to include an 
> > element in my document.
>
> > If I use the xhtml doc type template you linked to, I get it validated
> > 100% in that validator you mentioned. Now I try adding a simple svg
> > element and it failes.
>
> > When I add my  stuff to it, the validation fails. But I'm adding
> > it as specified from the mozilla page on 
> > svg:http://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtml
>
> > when I leave this document as .html, no svg elements are rendered.
> > When switching to .xhtml, then the browsers render it.
>
> > I know this out of scope of GWT, just throwing it out there!
>
> > Thanks for your help!
>
> > On Feb 20, 3:35 pm, Paul S  wrote:
>
> > > Oh yeah you're right. GWT development mode just simply scans the war
> > > folder for anything ending in .html and then offers those options to
> > > you "for your convenience". So 2 things to say here,
> > > 1. you are not limited to these URLs, you can type anything in your
> > > browser
> > > 2. GWT plugin just isn't seeing your .xhtml file, doesn't mean it's
> > > not there.
> > > However, to make everyone happy I'd recommend you change your .xhtml
> > > back to .html and then fix up the doctype to be XHTML. Honestly,
> > > that's all that counts, not the file extension. In fact try this:
> > > 1. run your app
> > > 2. right click and view source
> > > 3. copy your (x)html source code
> > > 4. visithttp://validator.w3.organdclickthe Validate by Direct
> > > Input tab
> > > 5. paste your source code into there and click validate.
> > > If you have provided valid xhtml code it will detect that and tell
> > > you.
>
> > > Paul S
>
> > > On Feb 21, 2:29 am, markww  wrote:
>
> > > > Hi Paul,
>
> > > > Yes I set the path in web.xml, so it doesn't have any problem with
> > > > that, it looks like when I try to run my project as a web app, I get
> > > > the usual startup sequence, but no URL is provided for me when launch
> > > > is complete.
>
> > > > When I run a project using a .html file, I see this appear in the
> > > > console:
>
> > > >   "For your convenience, here are some URLs that you may wish to view
> > > > in development mode. Simply copy/paste a URL below into any suported
> > > > browser."
>
> > > > and normally the url is shown right there, but when using xhtml, no
> > > > url is shown, that area is just empty.
>
> > > > If I run a normal project, I can copy the url, then change it to 

Re: Help Needed : GWT Developer Plugin is not working with Mozilla Firefox

2010-02-18 Thread Lukas Laag
You might want to read this:
https://groups.google.com/group/google-web-toolkit/browse_thread/thread/edfe66f6a39527d1
I think it is the same issue

On Feb 18, 5:22 pm, Tapas Adhikary  wrote:
> Any update on this ? One more info , My project was created using GWT 1.5
> application creator and recently upgraded to the GWT 2.0.2 jars. Please
> help.
>
> Thanks,
> -Tapas
>
> On Wed, Feb 17, 2010 at 6:28 PM, Tapas Adhikary  wrote:
> > Greetings,
>
> > I am using GWT 2.0.2 for my application. I have created my project
> > using webAppCreator. I am not using the Eclipse plug-in for GWT. I am
> > able to launch my application successfully in development mode from an
> > external browser but not able to debug the GWT code in development
> > mode. Not only that , If I do some changes in the GWT code and refresh
> > the browser , the changes are not reflecting. If compile the changed
> > code explicitly and re-launched the app , I am able to see the
> > changes.
>
> > I have installed the  GWT Developer plug-in from
> >http://gwt.google.com/missing-plugin/MissingPlugin.html
> > but still it is not working in the way it is expected.
>
> > Am I missing anything anywhere? As my project code base is big , it is
> > difficult to compile the whole code for a small code change.
>
> > Just for additional information , I am using the dev plug-in for
> > Mozilla firefox on OpenSuse 11.2 OS.
>
> > Thanks in advance ,
> > -Tapas Adhikary.
>
>

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



Re: Creating text effects in GWT

2010-02-18 Thread Lukas Laag
Works even better with the correct URL ;-)
http://www.vectomatic.org/libgwtsvg


On Feb 18, 11:20 pm, Lukas Laag  wrote:
> Have you considered using SVG ? In terms of possible effects, there is
> virtually no limit to what is possible to achieve. If you look at the
> SVG spec, you will get a good idea of the available 
> features:http://www.w3.org/TR/SVG11/text.htmlhttp://www.w3.org/TR/SVG11/filters.html#AnExample
>
> I am developing a GWT library for SVG (http://localhost/vectomatic/
> libgwtsvg) which provides a complete GWT front-end to the browser's
> SVG engine. Though the lib is still very young, I think an app such as
> the one you describe could be developed with it.
>
> On Feb 18, 6:26 am, Zach Murphy  wrote:
>
> > Hi all,
>
> > I am creating an app where a user enters text into a textbox and I
> > display the text elsewhere.  Currently I am creating a new HTML when I
> > display the text.  While this gives me some limited effect options
> > (bold, italics, color, etc.), I need more.
>
> > I want the user to be able to be able to choose different effect
> > styles and change the displayed text.  For instance they might change
> > the shape of the text, curve it, bulge it, make it diagonal, etc.  But
> > also keep the old effects, like bold and different fonts.
>
> > Are there any GWT or javascript tools that might help accomplish
> > this?  I haven't been able to find any and I'd prefer not to have to
> > write all the graphic mathematics by myself.  My other thought is to
> > make the text an image and manipulate the image.  Any help or guidance
> > would be greatly appreciated.
>
> > Thanks,
> > Zach
>
>

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



Re: Creating text effects in GWT

2010-02-18 Thread Lukas Laag
Have you considered using SVG ? In terms of possible effects, there is
virtually no limit to what is possible to achieve. If you look at the
SVG spec, you will get a good idea of the available features:
http://www.w3.org/TR/SVG11/text.html
http://www.w3.org/TR/SVG11/filters.html#AnExample

I am developing a GWT library for SVG (http://localhost/vectomatic/
libgwtsvg) which provides a complete GWT front-end to the browser's
SVG engine. Though the lib is still very young, I think an app such as
the one you describe could be developed with it.

On Feb 18, 6:26 am, Zach Murphy  wrote:
> Hi all,
>
> I am creating an app where a user enters text into a textbox and I
> display the text elsewhere.  Currently I am creating a new HTML when I
> display the text.  While this gives me some limited effect options
> (bold, italics, color, etc.), I need more.
>
> I want the user to be able to be able to choose different effect
> styles and change the displayed text.  For instance they might change
> the shape of the text, curve it, bulge it, make it diagonal, etc.  But
> also keep the old effects, like bold and different fonts.
>
> Are there any GWT or javascript tools that might help accomplish
> this?  I haven't been able to find any and I'd prefer not to have to
> write all the graphic mathematics by myself.  My other thought is to
> make the text an image and manipulate the image.  Any help or guidance
> would be greatly appreciated.
>
> Thanks,
> Zach

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



Re: GWT 2.0 plugin for Firefox 3.6

2010-02-18 Thread Lukas Laag
Actually, you do not want to use the version of the SDK files which
come with your distribution. The Makefile is designed to build the
code using the gecko-1.9.2 which is available from the GWT svn
repository (see: http://google-web-toolkit.googlecode.com/svn/plugin-sdks/).
Sorry I forgot to mention that.

So in the same directory where your checked out the GWT trunk, you
should also do:

svn co 
http://google-web-toolkit.googlecode.com/svn/plugin-sdks/gecko-sdks/gecko-1.9.2
plugin-sdks/gecko-sdks/gecko-1.9.2


On Feb 18, 9:20 pm, Thad  wrote:
> I've got Firefox installed at /opt/firefox, so in trunk/plugins/
> xpcomand/Makefile I set DEFAULT_FIREFOX_LIBS to /opt/firefox.
>
> On my system (SuSE Linux 11.2), the XPCOM files are in /usr/include/
> xulrunner-1.9.1.7/unstable
> I must be brain-dead today, but I'm not seeing where to set that in
> the Makefile.
>
> On Feb 17, 3:40 am, Lukas Laag  wrote:
>
> > The version in the trunk works fine with FF3.6.
> > I had no problem building it.
> > + Check out the source and tools from the svn repository as described
> > in:http://code.google.com/webtoolkit/makinggwtbetter.html#checkingout
> > + Go to trunk/plugins/xpcomand type: make ARCH=x86 BROWSER=ff36
> > This will build a plugin in the directory trunk/plugins/xpcom/prebuilt/
> > gwt-dev-plugin.xpi
> > + In FF3.6, go to File > Open File... and open the .xpi resulting from
> > the build
>
> > Beware though no to accept updates to v. 1.0.7511 since as you noticed
> > this version does not work with FF36
>
> > On Feb 16, 8:05 pm, Thad  wrote:
>
> > > When will this be available?  I have v. 1.0.7511.  This works with
> > > Firefox 3.5.7 but will not work with 3.6.
>
>

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



Re: GWT 2.0 plugin for Firefox 3.6

2010-02-17 Thread Lukas Laag
The version in the trunk works fine with FF3.6.
I had no problem building it.
+ Check out the source and tools from the svn repository as described
in: http://code.google.com/webtoolkit/makinggwtbetter.html#checkingout
+ Go to trunk/plugins/xpcom and type: make ARCH=x86 BROWSER=ff36
This will build a plugin in the directory trunk/plugins/xpcom/prebuilt/
gwt-dev-plugin.xpi
+ In FF3.6, go to File > Open File... and open the .xpi resulting from
the build

Beware though no to accept updates to v. 1.0.7511 since as you noticed
this version does not work with FF36


On Feb 16, 8:05 pm, Thad  wrote:
> When will this be available?  I have v. 1.0.7511.  This works with
> Firefox 3.5.7 but will not work with 3.6.

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



library for SVG support in GWT

2010-02-11 Thread Lukas Laag
Hi,

I am working on an open-source library to provide SVG support to GWT.
I plan to use it to develop a 2D vector graphics editor. I also use it
for a chess UI.

If you have feedback or similar projects where we could help each
other, please do not hesitate to contact me.
The library is available here:

http://www.vectomatic.org/libgwtsvg or http://code.google.com/p/vectomatic/

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