Re: Invalid version number "1.5" passed to external.gwtOnLoad(), expected "1.6"
Thomas, thank you for the reply. Now, that you said, I checked it out and I'm using SDK 5 in all places. And, once I'm using the same eclipse lauch configuration that I were using before changind the command line arguments (added - noserver and changed the -startupUrl), it couldn't be the problem. It's looks like some initialilzation problem, once I haven't calling through hosted.html. If you take a look at this html, you will see that the correct initialization is there (external.gwtOnLoad(window, modName, "1.6")). On 7 maio, 12:15, Thomas Broyer wrote: > On 7 mai, 15:26, jsantaelena wrote: > > > > > Hi All, > > > I'm trying to execute the hosted mode with -noserver. > > > What I did: > > > Compile my GWT Module to target/work/webapp > > Run jetty:run-exploded where the exploded path is target/work/webapp > > Started HostedMode -noserver -port 8080 > > -startupUrlhttp://localhost:8080/myapp/myapp/main.htmlcom.myapp.App > > > And I'm getting: > > > Invalid version number "1.5" passed to external.gwtOnLoad(), expected > > "1.6"; your hosted mode bootstrap file may be out of date; if you are > > using -noserver try recompiling and redeploying your app > > > What wrong did I? > > It looks like you compiled you app with a 1.5 SDK (HostedMode expected > to receive 1.6 but was passed 1.5 by the selection script that is > deployed at your server, hence the error message); the deployed app > and the hosted mode must use the same SDK version. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Invalid version number "1.5" passed to external.gwtOnLoad(), expected "1.6"
Hi All, I'm trying to execute the hosted mode with -noserver. What I did: Compile my GWT Module to target/work/webapp Run jetty:run-exploded where the exploded path is target/work/webapp Started HostedMode -noserver -port 8080 -startupUrl http://localhost:8080/myapp/myapp/main.html com.myapp.App And I'm getting: Invalid version number "1.5" passed to external.gwtOnLoad(), expected "1.6"; your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app What wrong did I? 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: Masked Input
Hi all.. I saw GWTTiger, but this doesn't work with complex masks, then I found jQuery Mask and Money plugins. These two have a fine-grained mask sintax. http://digitalbush.com/projects/masked-input-plugin/ http://inovaideia.com.br/maskInputMoney/ See what I did: public abstract class Presenter extends Composite { private String name; public Presenter(String name) { this.name = name; initWidget(getWidget()); } public String getName() { return name; } public void maskCurrency() { DeferredCommand.addCommand(new Command() { public void execute() { jQueryMaskCurrency(getWidget().getElement().getId(), SiteManager.getNumberConstants().monetarySeparator(), SiteManager.getNumberConstants().monetaryGroupingSeparator()); } }); } private native void jQueryMaskCurrency(String id, String decimal, String thousands)/*-{ $wnd.jQuery(function($) { $wnd.jQuery("#" + id).maskMoney ({"decimal":decimal,"thousands":thousands,showSymbol:false}); }); }-*/; public void mask(final String mask) { DeferredCommand.addCommand(new Command() { public void execute() { jQueryMask(getWidget().getElement().getId(), mask); } }); } private native void jQueryMask(String id, String mask)/*-{ $wnd.jQuery(function($) { $wnd.jQuery("#" + id).mask(mask); }); }-*/; protected abstract Widget getWidget(); public abstract void setEnable(boolean enabled); public abstract String getValue(); public abstract void setValue(String value); } On 30 nov, 17:22, "yunhui song" <[EMAIL PROTECTED]> wrote: > If you use gwt-ext, you can use Ext.mask or Ext.unmask. I have a open source > project which use that. > http://code.google.com/p/ppl-kit > > you can get the working code there. > > Sammi > > On Sun, Nov 30, 2008 at 2:29 AM, Riyaz Mansoor <[EMAIL PROTECTED]>wrote: > > > > > I'm interested in this as well. > > > On Nov 29, 12:15 am, jsantaelena <[EMAIL PROTECTED]> wrote: > > > Hi > > > > Someone knows libe withmaskedwidgets? > > > > 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 -~--~~~~--~~--~--~---
Masked Input
Hi Someone knows libe with masked widgets? 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 -~--~~~~--~~--~--~---
Is it a Tree Issue?
Hi all.. When a presse Alt (todo do a Alt+tab) with my table selected, the selection changes to the first item. To solv this problem, I've tried create the tree like this: tree = new Tree(images) { protected boolean isKeyboardNavigationEnabled(TreeItem currentItem) { return false; } }; But it doen't resolve. Any ideas? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Currency Code
Hi all. What are the availables currency codes? I didn't find it in java docs. Tks. --~--~-~--~~~---~--~~ 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: Firefox rendering wrong
I'm not setting large border (1px or 2px) and i'm not using margins or padding. Why not happens with GWT Showcase? Another intersting thing is, after each refresh, FF renders my applicatios more massed. I'm using this DOCTYPE: And my CSS just sets fonts, colors, backgrounds... On 15 nov, 08:43, gregor <[EMAIL PROTECTED]> wrote: > Hi, > > Are you using any borders/margins/padding with your panels? If you are > this is might be the cause of your problem > > Google "IE broken box model". You will find info about the difference > between how IE and FF (and other browsers) handle borders etc . > Basically the issue is this: say you have a panel that is set to 100px > X 100px, and you add a 5px border to it. IE renders this 100 x 100 > total (so the actual box is now 90 x 90), whereas FF renders it as 110 > x 110 total (so the actual box remains 100 x 100). Another way of > looking at it is that FF works "from inside out" whereas IE works > "from outside in". Actually the FF approach follows W3C standards > whereas IE does not (hence "IE broken box model"). > > In some situations GWT deals with this automatically for you, in > others it doesn't. You will find a lot of different approaches to > dealing with this on the net using javascript/CSS techniques because > this problem has been around a long time. With GWT there are a range > of more Java oriented techniques available revolving around how you go > about nesting and separating primary display containers and their > contents. > > If you create a short EntryPoint test class that demonstrates your > particular issue and post it here I'm sure you will get a range of > solution options suggested. > > regards > gregor > > On Nov 15, 2:32 am, reechard <[EMAIL PROTECTED]> wrote: > > > yes -- I am experiencing this. Wondering if I need to use some kind of > > browser-specific CSS style to fix it... > > > On Nov 14, 5:29 pm, jsantaelena <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > My GWT application render very well in IE, but in FF the panels > > > (VerticalPanes, HorizontalPanels and FlexTables) overlaps, all of > > > them. > > > > Have somebody expereinced this? > > > > 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 -~--~~~~--~~--~--~---
Firefox rendering wrong
Hi all, My GWT application render very well in IE, but in FF the panels (VerticalPanes, HorizontalPanels and FlexTables) overlaps, all of them. Have somebody expereinced this? 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 -~--~~~~--~~--~--~---
NumberConstants and CurrencyData
Hi all! How can I create theses configurations that matches with my country rules? I'm trying to find a way to orverhide de NumberConstants with mine and include my currency definitions in CurrencyList. What is the right way to do this? 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 -~--~~~~--~~--~--~---