Re: Netbeans plugin

2009-12-11 Thread MN
i would also like to see a netbeans plugin from google...

On 10 Dez., 16:31, John Ivens  wrote:
> I agree.  I am always forced to use Eclipse because everyone else uses it,
> and features such as the Google Eclipse Plugin come out well in advance of
> anything for NetBeans.
>
> On Thu, Dec 10, 2009 at 8:28 AM, nicanor.babula 
> wrote:
>
> > Hi all,
>
> > I don't want to start a flaming war on whether NetBeans is better than
> > Eclipse or not, because that is strictly a matter of taste. Said that,
> > I want to mention that for me (and surely for many other developers
> > like me) Eclipse kinda sucks, so it would be nice for the guys at
> > Google to set up an equivalent of the Google Eclipse Plugin for
> > NetBeans too. There is some sort of "beta" plugin for Netbeans
> > supporting GAE too, but as it doesn't have google behind the scenes,
> > it's not too reliable.
> > What do other Netbeans Developers think about this?
>
> > Cristian Babula.
>
> > --
>
> > 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.
>
>

--

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.




GWT 2.0 + Netbeans

2009-11-19 Thread MN
i see there is a eclipse plugin. and some write with the gwt 2.0
milestone you need the eclipse plugin to get it work

is there also a netbeans plugin from google planned?


is 2.0 working with the exisiting GWT4NB plugin?

--

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




Re: How i found the real name of a obfuscated function? How i find the code lines?

2009-03-18 Thread MN

i just googled around this SOYC feature in the trunc, but in a sample
output of soyc-vis i dont see this mappings:

http://code.google.com/p/google-web-toolkit/source/browse/changes/kprobst/soyc-vis/?r=4195

maybe there is more of information in the xml file (in sampleInput-
folder):

in the last part with js / storyref... but i miss there also the line
numbers of the function.


have someone used the soyc? is there a small howto how i can use it?

On 18 Mrz., 12:32, Thomas Broyer  wrote:
> On 18 mar, 10:24, MN  wrote:
>
>
>
> > i have a running system with obfuscated code and get sometimes error
> > messages from user. now i need to assign this to the real code.
>
> > unobfuscated (detailed) code to place on the production system is not
> > the solution.
>
> > is there any other solution?
>
> GWT 2.0 will have a "story of your compile" compiler option that,
> AFAIK, will tell you those kind of things. In the mean time, I'm
> afraid there's no easy solution (hmm, running in GWTShell -noserver
> and try to reproduce the error, maybe?)
--~--~-~--~~~---~--~~
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 i found the real name of a obfuscated function? How i find the code lines?

2009-03-18 Thread MN

i know this, but this is not possible.

i have a running system with obfuscated code and get sometimes error
messages from user. now i need to assign this to the real code.

unobfuscated (detailed) code to place on the production system is not
the solution.

is there any other solution?




On 17 Mrz., 21:28, "Marcelo Emanoel B. Diniz"
 wrote:
> You can disable obfuscation by putting -style PRETTY on the compiler
> command line
>
> On Mar 17, 3:06 pm, MN  wrote:
>
> > I have a error message from a user. but i have only some obfuscated
> > code for the stacktrace.
>
> > is there a change to get the realnames method names from this?
>
> > is there some index file to see the function in line 123 is the real
> > method name xyz or an indexfile with the obfuscated method name and
> > the real method name?
--~--~-~--~~~---~--~~
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: PDF version of the GWT Developer Guide -- any time soon?

2009-03-18 Thread MN

interesting idea, but i would point this issue to the google code or
to the google docs team, because gwt is only using this system.

On 18 Mrz., 07:10, Peter Ondruška  wrote:
> Nice, but not downloadable for offline access. Perhaps some Gears offline
> functionality (pretty easy) needs to be added...
>
> On Wed, Mar 18, 2009 at 1:55 AM, Brian  wrote:
>
> > Moribund?  I loved their games, especially Raid On Bungling Bay... :)
>
> > I don't know anything about a PDF version of the docs -- just pointing
> > out that the GWT Developer Docs are themselves a GWT app, which is
> > kind of nice to see.
>
> > On Mar 17, 7:32 pm, jcox  wrote:
> > > I'd love it if the GWT Developer Guide were also be available in PDF
> > > format.
> > > Here's why:
>
> > >   o  It's a fairly long book-like document
> > >   o  It changes fast enough to make 3rd party books perpetually
> > > obsolete
> > >   o  Being forced to read long paginated html docs is annoying
> > >   o  It causes less eye strain to read long documents when they're
> > > printed
>
> > > I don't see much need to render the javadocs as pdf, just the
> > > Developer Guide.
> > > I filed this bug recently (see below), but then got depressed when I
> > > noticed
> > > all the moribund discussion threads on the same topic (see below).
>
> > > Even if the current docs do have printer-friendly CSS, printing them
> > > one
> > > page at a time isn't a particularly attractive option.    At this
> > > point, I'd even
> > > settle for an ugly but readable "everything one page"  version
> > > I just don't like reading this much book-like content off a screen.
>
> > > Compounding matters is that if you *do* read the docs online, screen
> > > width issues tend to arise once the fonts are made slightly bigger.
>
> > > Are there plans to make an up-to-date PDF version?
> > > If that's too hard, what about an easily-printable-all-on-one-html-
> > > page version?
>
> > > If either of these seem like they might happen sometime soon,
> > > is there any idea when?    They'd be greatly appreciated !
>
> > >           Cheers,
> > >            -Jon
>
> > > --
> > > Related Links
> > > ---
>
> > > Issue tracker
> > > -
> > >    http://code.google.com/p/google-web-toolkit/issues/detail?id=3470
>
> > > Moribund discussion threads
> > > ---
>
> > >http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/d...
>
> > >http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/1...
>
> > >http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/5...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-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: need suggestion on scalable blinking implementation

2009-03-17 Thread MN

no. each of your BlinkingCorner  should have a updateGui() where it
calcualates its own state etc.

and then you have a timer which calls this updateGui each xxx seconds.
your special timer object holds an array/list/map of listeners and on
the tick it goes through each listener and call the updateGui().


On 17 Mrz., 14:51, denis56  wrote:
> thanks, I would not have come to that idea.
>
> would that, from the implementation point of view, mean that i will
> again have elements extending component with appropriate fields,
> something like
> - isChangable : boolean [if timeNow > timeStarted + timeToBlink]
> - timeStarted : long
> - timeToBlink : int [10 sec]
> - isVisible : boolean
> - leaveInVisibiliyState : boolean [to show/not to show the component
> after it has gone through timeToBlink]
>
> that the timer should access to determine if the visibility of the
> component should be changed?
>
> I know that js is single-threaded. Aren't though timers executed in a
> separate threads? Are there implications of having 2 or more timers
> running on a single page (since my application uses another timer to
> get new/updated table rows from the server)?
>
> thanks
>
> On 17 Mrz., 13:56, Ben Tilford  wrote:
>
> > You could do it with a single timer then have your blinking components
> > listen for a tick event that the timer would fire.
>
> > On Tue, Mar 17, 2009 at 8:52 AM, denis56  wrote:
>
> > > His,
>
> > > if anyone could share experience with achieving blinking behavior for
> > > several items on a page?
>
> > > in my case there is a table being shown whose rows should have
> > > multiple blinking elements (labels and images). Each of the blinking
> > > elements has -its own- timeout value defined to stop blinking.
>
> > > The way I have achieved it now, is by creating a composite (see sample
> > > code below) that takes an image/label and adds a timer to it.
>
> > > I am afraid that that is not a right approach as the table is
> > > constantly being updated to add/delete rows with new blinking
> > > components. That would lead to multiple timers being instantiated and
> > > started  with .scheduleRepeating(XXX); method again and again without
> > > page being reloaded (the page should stay open for a day and display
> > > changing information).
>
> > > Could anyone comment on my approach: is it memory-leak and performance
> > > degradation prone? What would be a feasible alternative? maybe using
> > > external library like prototype?
>
> > > Many thanks,
> > > denis
>
> > > public class BlinkingCorner extends Composite {
>
> > >    private boolean visible;
> > >    private int blinkingTime = 5000;
> > >    private long timeBlinkingStarted;
>
> > >    public BlinkingCorner(final Image img) {
> > >        timeBlinkingStarted = System.currentTimeMillis();
> > >        new Timer() {
> > >           �...@override
> > >            public void run() {
> > >                if (System.currentTimeMillis() <= timeBlinkingStarted
> > >                        + blinkingTime) {
> > >                    img.setVisible(visible);
> > >                    GWT.log("visible=" + visible, null);
> > >                    visible = !visible;
> > >                } else {
> > >                    GWT.log("cancel", null);
> > >                    img.setVisible(false);
> > >                    cancel();
> > >                }
> > >            }
> > >        }.scheduleRepeating(500);
>
> > >        initWidget(img);
> > >    }
>
> > > }
--~--~-~--~~~---~--~~
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: NumberFormat getCurrenyFormat()

2009-03-17 Thread MN

please provide your full code.

you print out formatted oder discountAmount?
why you parse again the formatted string back to discountAmount?

On 17 Mrz., 15:18, "fatjack1...@googlemail.com"
 wrote:
> Hi,
>
> I am having some problems correctly displaying currency. Here is the
> code I am using:
>
> //Format the discount to two decimal places
> NumberFormat fmt = NumberFormat.getCurrencyFormat();
> String formatted = fmt.format(discountAmount);
> discountAmount = NumberFormat.getCurrencyFormat().parse(formatted);
>
> The discount amount field is set to some currency value for example
> 2.5. Now, it works fine if the value is set to 2 or more decimal
> places, so it would format 2.5 to 2.58. However, if the value is
> intitial set to say 3, it formats the value to 3.0!
>
> Now, as I am using this to display the price of something, £3.0 is not
> really much use. Can someone see where I am going wrong in my code or
> if I need to add something??
>
> Cheers,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How i found the real name of a obfuscated function? How i find the code lines?

2009-03-17 Thread MN

I have a error message from a user. but i have only some obfuscated
code for the stacktrace.

is there a change to get the realnames method names from this?

is there some index file to see the function in line 123 is the real
method name xyz or an indexfile with the obfuscated method name and
the real method name?
--~--~-~--~~~---~--~~
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: GXT vs GWT-EXT ?

2008-09-26 Thread MN

i just using gwt-ext.

its good to know that a later switch to gxt (if required) is not too
difficult...

On 25 Sep., 06:24, wt <[EMAIL PROTECTED]> wrote:
> I just gave up on gwt-ext and switched to gxt. I was tweaking gwt-
> ext's showcase example, the one with form-grid binding, and I want to
> add an update button to update the changes made in the form back into
> the grid. I followed the api doc and searched through their forum, but
> it just didn't work; to make it worse, there is no way for me to debug
> this, because in gwt-ext, almost everything is just a Java class
> wrapping a JavaScript object! It's probably the most painful thing for
> the Java programmers that they can't debug a program. As for actually
> using the APIs, gwt-ext and gxt are pretty much the same, both follow
> ExtJS's API, so it doesn't take much time to switch from one to the
> other.
>
> License: although gwt-ext is open source, you still need to pay for
> the gwt-plus package, which is necessary if your client communicates
> with the server through GWT RPC and costs $199, not much a difference
> from a gxt single developer license.
>
> On Sep 2, 8:06 am, MN <[EMAIL PROTECTED]> wrote:
>
> > GXTand GWT-EXT looks very similar.gxtis in native gwt and gwt-ext
> > is a js wrapper for extjs.
>
> > but what is better?
>
> > can you please write your experiences and some main differences with
> > this 2 libraries? (more on the programming focus than on licence
> > issues)
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How can choose IDE

2008-09-26 Thread MN

i think it depends of your personal taste...

eclipse, netbeans all have gwt support ...

just try it out and use what you like more ...

On 25 Sep., 19:30, "rov.ciso" <[EMAIL PROTECTED]> wrote:
> Good day. I develop my project with GWT and JBoss application server.
> What IDE(Eclipse, NetBeans and etc.) can better choose? I want fully
> support GWT compiling and JBoss application in one project. 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to use GWT-EXT in Mozila

2008-09-26 Thread MN

> how to use List ?

1) point your browser to this: http://gwt-ext.com/forum/index.php
2) register there
3) post your problem there


there exists also a http://groups.google.com/group/gwt-ext group but
this is not so busy as the forum of gwt-ext.com

On 24 Sep., 14:15, "ram sunder" <[EMAIL PROTECTED]> wrote:
> HI
> Thank u for u r reply.
>
> I did'nt use GWT-EXt List?
>
> how to use List ?
>
> On Wed, Sep 24, 2008 at 5:12 PM, walden <[EMAIL PROTECTED]> wrote:
>
> > Did you try the GWT-EXT list?
>
> > On Sep 24, 2:51 am, rsund <[EMAIL PROTECTED]> wrote:
> > > Hi
>
> > >  I  Change Browser internet Explorer to Mozilla Firefox in My GWT -
> > > Ext Application.
>
> > > i used Form panel in  GWT-Ext in Internet Explorer.
> > > Now i change Browser Setting to Mozilla.
>
> > > i have Problem in
>
> > > 1) Alignmnet in UI is changed.(Particulary in Dockpanel)
> > > 2 )i used Multiple Column Layout in Previous Browser Now it will not
> > > appear on Multiple column.
>
> > > i need how to rectify this problem.
>
> > > i need Quick Reply.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT application and Google AppEngine

2008-09-26 Thread MN

i know this page uses gwt and GAE
http://greatgrocerylist.appspot.com/

maybe you can ask daniel:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/54e22eb1dc7cbbd1/


On 22 Sep., 15:12, Arthur Kalmenson <[EMAIL PROTECTED]> wrote:
> Hi Sri,
>
> It looks like the heap is running out of memory during complication.
> You need to increase the heap size with some JVM arguments.  "-
> XX:PermSize=64M" will set the heap size to 64MB and "-
> XX:MaxPermSize=256M" will set the maximum heap size to 256MB. Hope
> that helps.
>
> Regards,
> Arthur Kalmenson
>
> On Sep 20, 1:27 am, sri <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > I tried to execute Pgr-example provided in the link. But it doesn't
> > execute properly using "ant".
>
> > This is the error I got while trying to compile.
>
> > C:\ant\PGR>ant -buildfile build.xml run
> > Buildfile: build.xml
>
> > clean:
>
> > build:
>
> > gwt-compile:
> >      [java] Exception in thread "main" java.lang.OutOfMemoryError:
> > Java heap spa
> > ce
> >      [java]     at java.util.Arrays.copyOf(Arrays.java:2760)
> >      [java]     at java.util.Arrays.copyOf(Arrays.java:2734)
> >      [java]     at java.util.ArrayList.ensureCapacity(ArrayList.java:
> > 167)
> >      [java]     at java.util.ArrayList.add(ArrayList.java:351)
> >      [java]     at java.util.regex.Pattern.split(Pattern.java:1003)
> >      [java]     at java.util.regex.Pattern.split(Pattern.java:1059)
> >      [java]     at
> > com.google.gwt.dev.javac.TypeOracleMediator.parseMetaDataTags
> > (TypeOracleMediator.java:172)
> >      [java]     at
> > com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod(Typ
> > eOracleMediator.java:1031)
> >      [java]     at
> > com.google.gwt.dev.javac.TypeOracleMediator.resolveMethods(Ty
> > peOracleMediator.java:1044)
> >      [java]     at
> > com.google.gwt.dev.javac.TypeOracleMediator.resolveTypeDeclar
> > ation(TypeOracleMediator.java:1434)
> >      [java]     at
> > com.google.gwt.dev.javac.TypeOracleMediator.refresh(TypeOracl
> > eMediator.java:382)
> >      [java]     at
> > com.google.gwt.dev.javac.CompilationState.compile(Compilation
> > State.java:102)
> >      [java]     at
> > com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
> >      [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
> > 564)
> >      [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
> > 554)
> >      [java]     at
> > com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
>
> > BUILD FAILED
> > C:\ant\PGR\build.xml:16: The following error occurred while executing
> > this line:
>
> > C:\ant\PGR\build.xml:40: Java returned: 1
>
> > Total time: 1 minute 18 seconds
>
> > On Sep 19, 11:30 pm, "Jeremiah Elliott" <[EMAIL PROTECTED]> wrote:
>
> > > have you taken a look at this?http://code.google.com/p/python-gwt-rpc/
>
> > > On Fri, Sep 19, 2008 at 5:34 AM, ajay jetti <[EMAIL PROTECTED]>wrote:
>
> > > > Hi Sri
> > > > Even im facing the same problem
> > > > Please sombody post- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: SEO for web toolkit

2008-09-26 Thread MN

no optimization is possible, because all things are in a javascript.
so goolge search dont find any text.


only possible solution:

place all your text you use in divs at the hosting-html page. and
later load the values from this divs instead from server: its faster
than requesting from server.




On 22 Sep., 00:11, flockton <[EMAIL PROTECTED]> wrote:
> I would like to know, how I can optimize my site programmed with 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: new Double("1.0").toString() => "1.0" in GWTShell / in others => "1"

2008-09-16 Thread MN

i know where it comes from, but i dont like the result of different
values.

i think it is a problem, if your development environment shows
different values than in production. so you can not test or debug some
situations etc.

i can use NumberFormat, but this is a workaround. and i think only for
testing to blow up the production code is also not a good solution.
better way is to make the GWTShell act the same like later the
production.

On 16 Sep., 14:11, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> MN schrieb:
>
> > the same problems i have with large double values:
> > new Double(600702589).toString()
> > => GWTShell: "6.00702589E8"
> > => all other browsers: "600702589"
>
> is that a problem? The GWTShell is used for development and
> the differents results from the fact that the GWTShell is
> actually executing Java-code where the browsers work with
> the created Javascript.
>
> What happens if you use NumberFormat?
>
> Reagrds, Lothar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: new Double("1.0").toString() => "1.0" in GWTShell / in others => "1"

2008-09-16 Thread MN

the same problems i have with large double values:
new Double(600702589).toString()
=> GWTShell: "6.00702589E8"
=> all other browsers: "600702589"

i filed this as issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=2887

On 15 Sep., 15:27, MN <[EMAIL PROTECTED]> wrote:
> great! thanks :-)
>
> On 15 Sep., 15:17, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
>
> > MN schrieb:
>
> > > new Double("1.0").toString() => "1.0" <---
> > > new Double("1.1").toString() => "1.1"
>
> > > in all other browsers i get this:
>
> > > new Double("1.0").toString() => "1"
> > > new Double("1.1").toString() => "1.1"
>
> > > how i can convert the double value to string that i get in GWTShell
> > > also the "1" value instead of "1.0"?
>
> > NumberFormat nf = NumberFormat.getDecimalFormat();
> > nf.format(1.0);
>
> > Regards, Lothar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: new Double("1.0").toString() => "1.0" in GWTShell / in others => "1"

2008-09-15 Thread MN

great! thanks :-)

On 15 Sep., 15:17, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> MN schrieb:
>
> > new Double("1.0").toString() => "1.0" <---
> > new Double("1.1").toString() => "1.1"
>
> > in all other browsers i get this:
>
> > new Double("1.0").toString() => "1"
> > new Double("1.1").toString() => "1.1"
>
> > how i can convert the double value to string that i get in GWTShell
> > also the "1" value instead of "1.0"?
>
> NumberFormat nf = NumberFormat.getDecimalFormat();
> nf.format(1.0);
>
> Regards, Lothar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



new Double("1.0").toString() => "1.0" in GWTShell / in others => "1"

2008-09-15 Thread MN

i have a problem:

in GWTShell i get this

new Double("1.0").toString() => "1.0" <---
new Double("1.1").toString() => "1.1"


in all other browsers i get this:

new Double("1.0").toString() => "1"
new Double("1.1").toString() => "1.1"


how i can convert the double value to string that i get in GWTShell
also the "1" value instead of "1.0"?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-03 Thread MN

did you have a special layout for the google chrome browser and IE6?
(i not see in chrome a "desktop". only the "start-menu" as a static
navigation and each frame as a part of the right content with no
windows style)

how did you solve this different layouts?

On 2 Sep., 17:13, Andrej <[EMAIL PROTECTED]> wrote:
> Hi Alejandro,
>
> We are using package com.google.gwt.json.client to encode/decode data
> exchange Java object.
>
> Business objects use few basic data exchange objects like RecordSet,
> Form, Action, Grid, etc
> internally. These serializable objects are implemented on both client
> and server side.
>
> We cannot use GWT RPC, because on server side is PHP. Anyway this
> solution is platform independent,
> so it is possible to create custom client or server.
>
> On Sep 2, 4:22 pm, "Alejandro D. Garin" <[EMAIL PROTECTED]> wrote:
>
> > Hi Andrej
>
> > How do you serialize Java objects to and from JSON ?
> > GWTApps in the Database Editor example uses a very nice technique to do that
> > but It works with gwt 1.4.
>
> > Thanks.
>
> > On Tue, Sep 2, 2008 at 7:38 AM, Andrej <[EMAIL PROTECTED]> wrote:
>
> > > Hi Alex,
>
> > > > 1. What are your reasons for coding server side in PHP? Didn't you use
> > > > GWT's RPC methods? (I'm not very familiar with PHP, but as far as I
> > > > know, u need servlets to comunicate through RPC).
> > > We are using PHP because nearly all hosting companies supports PHP.
> > > Anyway our client and server side exchange JSON encoded data, so it is
> > > platform
> > > independent.
>
> > > Andrej
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Accessing Location of an iframe from another iframe and Cross Domain Security

2008-09-03 Thread MN

one possible workaround: send from your page samplexxx a heartbeat to
the top page (remember the time of the last heartbeat). then you can
check this value.
if this value is too long not updated, then the iframe have a
different content.

On 1 Sep., 22:29, Jayant <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to create an application where I have to watch the
> location and content of an iframe. I wrote a simple prototype where a
> top page contains 2 iframes. One is used for the real content and one
> just contains a script that watches the content iframe. Now as long as
> the pages in the iframe are coming from the same server, this works.
> However when the user navigates to a page from another server, the
> scheme fails. I cannot stop the user from going to any other page in
> that iframe. I only need to know where the iframe is pointing to. I
> have gone through a numerous references on the cross domain security
> and there does not seem to be an answer to this. I have two questions:
> 1. Is this impossible to resolve in pure javascript. May be there is
> some scheme used by portlets that could help and 2. Can use of flash /
> flex help get over this problem.
>
> Following is the code for the four files in the little prorotype.
>
> --main.html---
> 
> 
> Main Co-Browser Page
> 
> function getContentURL()
> {
> d = document;
> f = d.frames ? d.frames['content'] : d.getElementById('content');
> var  url = "";
> try
> {
> if (f.getCurrentLocation)
> {
> url = f.getCurrentLocation();
> }
> else if (f.contentWindow.getCurrentLocation)
> {
> url = f.contentWindow.getCurrentLocation();
> }
> }
> catch(e)
> {
> url = "";
> }
>   returnurl;}
>
> 
> 
> 
>   iframe>
>  
> 
> 
> ---
> -sample1.html--
> 
> 
> Sample1
> 
> function getCurrentLocation()
> {
>   returndocument.location;}
>
> 
> 
> 
> This is page sample 1
> Sample2
> http://www.google.com";>Google
> 
> 
> ---
> -sample2.html--
> 
> 
> Sample1
> 
> function getCurrentLocation()
> {
>   returndocument.location;}
>
> 
> 
> 
> This is page sample 2
> Sample1
> http://www.yahoo.com";>Yahoo
> 
> 
> ---
> -tracker.html--
> 
> 
> Tracker
> 
> function test()
> {
> var frameUrl = parent.getContentURL();
> if (frameUrl == "")
> {
>   alert("Content is out of scope");}
>
> else
> {
>   alert('frameUrl = '+frameUrl);}
>
> setTimeout("test()", 3000);}
>
> var timerID = setTimeout("test()", 3000);
> 
> 
> 
> 
> 
> ---
>
> Thanks,
> -Jayant.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-09-03 Thread MN

file this as a bug or enhancement in the bugtracker of GWT

On 2 Sep., 19:34, danael <[EMAIL PROTECTED]> wrote:
> I came across a sample of private member without observer which I
> cannot understand.
> I have a class which extends PopupPanel, I want to know if the panel
> has its autohide set to true or false. Well, autohide is a private
> member of PopupPanel and the class does not have an isAutohide()
> method to check its state. So, what do I do now? Do I go ahead and
> duplicate the autohide in my class? Can somebody tell me why is
> autohide private instead of protected or why isAutoHide() method does
> not exist?
> Same for modal and showing.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Code generator question: Generic types for fields

2008-09-02 Thread MN

i think it is better if you describe your next goal why you need this.
i think you run on a wrong way ...



On 21 Aug., 18:45, Mark  Renouf <[EMAIL PROTECTED]> wrote:
> Hi... I'm having some trouble getting the type parameters declared for
> a field with generic type.
>
> Example:
>
> public class Foo {
>   private List field;
>
> }
>
> I need a reference to the base type, and the parameter's type to
> generate some code.
>
> I can get the base type using field.getType().getErasedType(), which
> returns a JClassType for the interface java.util.List.
>
> But when I try to retrieve the generic type, I get nothing.
>
> field.getType().isGenericType() returns null.
>
> I was expecting to get a JGenericType, from which I can use get
> getTypeParameters()
>
> Any hints?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Image in the header of a DialogBox does not respond to events

2008-09-02 Thread MN

construct all your elements on the page with the gwt widgets and
panels, add the main panel to the root and the clicklisteners should
be working :-)

go away from coding html directly in gwt.

On 22 Aug., 13:06, LFCPD <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm desperate and need your help! In my application I have a DialogBox
> and in the header I want to set an image (an 'x') that when is clicked
> the DialogBox must be closed. I create the image, as you can seen in
> the code below, and transform the code into an string to set in the
> header. But when I click on the 'x', nothing happens. Any idea?
>
> final Image closeWindowImg = new Image();
> closeWindowImg.setSize("13pt", "13pt");
> closeWindowImg.addClickListener(new ClickListener() {
> public void onClick(final Widget sender) {
> System.out.println("img clicked!");
> Window.alert("img clicked!");
> hide();
> }});
>
> closeWindowImg.setStyleName("gwt-Image-close");
> closeWindowImg.setUrl(GWT.getModuleBaseURL() + "images/close.gif");
>
> String x = closeWindowImg.getElement().toString();
> String header = " \"b3f\">" +
> "" +
> "Reload 
> Network" +
> "" + x + "" +
> "";
> setHTML(header);
>
> Thanks a lot!
>
> Laia
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: inserting rootPanel into HTML object..

2008-09-02 Thread MN

http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/HTMLTable.html

On 2 Sep., 17:15, MN <[EMAIL PROTECTED]> wrote:
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...
>
> On 19 Aug., 08:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi guys,
>
> > Bit of advice if you have a moment. I have been tasked with
> > retrospectivley fitting gwt into html. Fun! I have a table that I am
> > declaring inside and HTML object...
>
> > For example
> > HTML table = new HTML("");
>
> > The table is already formatted and I would like, if possible, to keep
> > it as an HTML object. The problem is that I then want to insert a
> > checkbox gwt object into the first cell of each row...
>
> > Like
>
> > HTML table = new HTML(" > table>");
> > RootPanel.get("checkBox").add(new CheckBox());
>
> > The reason I want to do this is that I would like to use a
> > ClickListener implemented via GWT rather than writing my own JS. I
> > cant put the table in the ROOT panel because the number of rows are
> > dynamic, based on search results.
>
> > So I know this is not going to work because the RootPanel is final. So
> > how do I go about doing this? Preferably by keeping the existing HTML
> > intact?
>
> > Thanks and regards,
>
> > Werda
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: inserting rootPanel into HTML object..

2008-09-02 Thread MN

http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/FlexTable.html

On 19 Aug., 08:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi guys,
>
> Bit of advice if you have a moment. I have been tasked with
> retrospectivley fitting gwt into html. Fun! I have a table that I am
> declaring inside and HTML object...
>
> For example
> HTML table = new HTML("");
>
> The table is already formatted and I would like, if possible, to keep
> it as an HTML object. The problem is that I then want to insert a
> checkbox gwt object into the first cell of each row...
>
> Like
>
> HTML table = new HTML(" table>");
> RootPanel.get("checkBox").add(new CheckBox());
>
> The reason I want to do this is that I would like to use a
> ClickListener implemented via GWT rather than writing my own JS. I
> cant put the table in the ROOT panel because the number of rows are
> dynamic, based on search results.
>
> So I know this is not going to work because the RootPanel is final. So
> how do I go about doing this? Preferably by keeping the existing HTML
> intact?
>
> Thanks and regards,
>
> Werda
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT-Ext DateField Bug in end of March and April Months

2008-09-02 Thread MN

please post this bug in the gwt-ext forum!

On 2 Sep., 15:20, Halabe <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am using the GWT-Ext dateField widget and I found a bug in the
> months of March and April.
> This bug is that when I choose a date, for example 15 April 2008, I am
> getting 14 April 2008 in the field and when I repress the Calendar
> button, no date is selected.
>
> This is found in the end of March and April months of all years!
>
> Am I using an old version of GWTEXT?
> Does anyone know how to fix this??
>
> Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Instructions for building a widget from scratch (or nearly)

2008-09-02 Thread MN

first big instruction: RTFM

DevGuideCreatingCustomWidgets
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideCreatingCustomWidgets


go here and click on: "Read the Docs":
http://code.google.com/webtoolkit/


this short example can also useful for you
http://examples.roughian.com/index.htm#Widgets~Composite


On 2 Sep., 15:54, Pierre Mage <[EMAIL PROTECTED]> wrote:
> There is no need for such a tutorial since GWT source is available.
> You just have to study existing widget's code.
>
> Concerning the event mechanism, the following example shows how to
> deal with click events :
>
> public class MyWidget extends Widget implements SourecesClickEvents {
>
>   private ClickListenerCollection clickListeners;
>
>   public void addClickListener(ClickListener listener) {
> if (clickListeners == null) {
>   clickListeners = new ClickListenerCollection();
>   sinkEvents(Event.ONCLICK);
> }
> clickListeners.add(listener);
>   }
>
>   public void removeClickListener(ClickListener listener) {
> if (clickListeners != null) {
>   clickListeners.remove(listener);
> }
>   }
>
> }
>
> Pierre
>
> On Sep 2, 6:58 am, Clundahl <[EMAIL PROTECTED]> wrote:
>
> > In the tutorial there is adviced that one should make new widgets
> > primarely by composing those of the ones  that is allready provided in
> > the kit. I cant find any good advice on how to make one with only the
> > html element wrapper, more from scratch. Does anybody know of a
> > tutorial article about this? Especially I am interested in how to
> > correctly connect the event listening mechanisms to the rest of my gwt
> > application.
>
> > Regards
>
> > Clundahl
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Gwt Php Framework

2008-09-02 Thread MN

i think your framework could be in seperate 2 frameworks, because
there are have diffenet goals:

one for the GUI Widgets
one for the php server part

On 2 Sep., 12:38, Andrej <[EMAIL PROTECTED]> wrote:
> Hi Alex,
>
> > 1. What are your reasons for coding server side in PHP? Didn't you use
> > GWT's RPC methods? (I'm not very familiar with PHP, but as far as I
> > know, u need servlets to comunicate through RPC).
>
> We are using PHP because nearly all hosting companies supports PHP.
> Anyway our client and server side exchange JSON encoded data, so it is
> platform
> independent.
>
> Andrej
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Where can I use the TableRowElement?Which table has a method call:getRowElement,or something like that?

2008-09-02 Thread MN

i think you look for this:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/TableListener.html

On 2 Sep., 15:59, MN <[EMAIL PROTECTED]> wrote:
> i dont understand your question. "So where can I use it?"
>
> better explain for us: what you still have and with which detail you
> have a problem.
> maybe post some example code so we can try out it or give you a
> detailed suggestion depending on your example code.
>
> On 2 Sep., 11:20, Alex Luya <[EMAIL PROTECTED]> wrote:
>
> > Sometime,my operation is based on row,for an example, when I click a
> > row which represent a record of database and want to open a window to
> > show details of this record.So where can I use 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Where can I use the TableRowElement?Which table has a method call:getRowElement,or something like that?

2008-09-02 Thread MN

i dont understand your question. "So where can I use it?"

better explain for us: what you still have and with which detail you
have a problem.
maybe post some example code so we can try out it or give you a
detailed suggestion depending on your example code.

On 2 Sep., 11:20, Alex Luya <[EMAIL PROTECTED]> wrote:
> Sometime,my operation is based on row,for an example, when I click a
> row which represent a record of database and want to open a window to
> show details of this record.So where can I use 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Cannot UNZIP

2008-09-02 Thread MN

retry downloading the zip file.

On 2 Sep., 07:21, rene_Cobol <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Downloaded GWT 1.5 but cannot unzip. Im using Windows XP (Winzip
> v8.0). I even used Winrar but to no avail, it seems that the
> downloaded ZIP file does not appear to be a valid archive.
>
> 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Dock Panel - Showcase Example - Compile errors

2008-09-02 Thread MN

check your includes ...



On 2 Sep., 02:24, dan <[EMAIL PROTECTED]> wrote:
> In the Showcase of GWT Features - source code of the Dock Panel:
>
>  @Override
>   public Widget onInitialize() {
> 
>
> // Add text all around
> dock.add(new HTML(constants.cwDockPanelNorth1()),
> DockPanel.NORTH);
> dock.add(new HTML(constants.cwDockPanelSouth1()),
> DockPanel.SOUTH);
> dock.add(new HTML(constants.cwDockPanelEast()), DockPanel.EAST);
> dock.add(new HTML(constants.cwDockPanelWest()), DockPanel.WEST);
> dock.add(new HTML(constants.cwDockPanelNorth2()),
> DockPanel.NORTH);
> dock.add(new HTML(constants.cwDockPanelSouth2()),
> DockPanel.SOUTH);
> ...
>
> I found compile errors. "The constructor HTML (String,
> DockPanel.DockLayoutConstant) is undefinded.
>
> This is correct?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GXT vs GWT-EXT ?

2008-09-02 Thread MN

GXT and GWT-EXT looks very similar. gxt is in native gwt and gwt-ext
is a js wrapper for extjs.

but what is better?

can you please write your experiences and some main differences with
this 2 libraries? (more on the programming focus than on licence
issues)
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---