GWT3: code splitting

2015-11-21 Thread Mars
when GWT 3 is more targeted to js libs/GUIs, then does it mean, that we will lose all benefits, like code-splitting, different permutations for languages/browsers, etc.? i.e. as I understand it, even a Polymer component must include all the bloated css/js-quirks for different browsers, right?

how to go to non-gwt page from gwt app

2012-03-30 Thread mars
i have gwt app that if the user fail the authentication, it kick the user out to login page, which is a non-gwt page, what the function that i can use to do the redirection on the client side? here is my code: userService.getCurrentUser(new AsyncCallbackUser() { public void

how to link with page in gwt without update history stack?

2012-03-13 Thread mars
hi, my gwt page has link within itself, like normal html page a href=#bB/a point to a name=b/a h3B/h3 within the same page, but i don't want to update the history stack by appending '#b' to the end of url. how can i do that? I used anchor instead of hyperlink. thanks. -- You

how to find the path to image resources

2012-01-11 Thread mars
hi, i have a maven gwt project, no exception all the images are stored under 'src/main/webapp/img', then in the package : 'com.mycom.myapp.client' i have Resources.java which defines all images/text/css resources for the whole project as below: public interface Resources extends ClientBundle {

g:frame doesn't work with external link

2012-01-02 Thread mars
i have gwt app, and one of the 'page'(or display) has a iframe whose url point to google web page, however when deploy the app, google page doesn't show up. here is the code g:HTMLPanel styleName={style.ctntBox} div id=contactForm g:Frame url=http://www.google.com/;/g:Frame

widget's parent does not implement HasWidgets

2011-12-26 Thread mars
hi, i m having trouble with my GWT web app. i use the gwt-presenter module and try to follow it, but it failed at entryPoint file at the line RootPanel.get().add(appPresenter.getDisplay().asWidget()); throw the message as: java.lang.IllegalStateException: This widget's parent does

define the size of doclayout panel

2011-02-23 Thread mars
hi, how can i define the size of doc layout panel in uibinder and its's children's size in different direction? i have code as this: g:DockLayoutPanel ui:field=_containerDockPanel unit=EM height=900 width=700 g:center

is there anyway i can define the spacing in docklayoutpanel

2011-02-23 Thread mars
found that all children widget squeezed together on the docklayoutpanel yet there is not such a method as setSpacing() as the one in dockPanel, how can i set spacing between east/west/center/north/ south? -- You received this message because you are subscribed to the Google Groups Google Web

How to add https channel in GWT

2011-02-21 Thread Mars Hsu
Hi all, I want to add https channel in GWT when use gwt-maven-plugin, but I found it is hard to success in GWT Development Mode. here is my pom.xml, I only view some key part plugin groupIdorg.codehaus.mojo/groupId

Re: How to add https channel in GWT

2011-02-21 Thread Mars Hsu
Thanks Broyer, I use the first way, and success. On Feb 22, 2:36 am, Thomas Broyer t.bro...@gmail.com wrote: You'll have to run Jetty using jetty:run and then launch GWT's DevMode with gwt:run in -noserver mode (add noServertrue/noServer to the configuration, or pass -Dgwt.noserver=true on the

how to remove the focus effect on disclosure panel

2011-02-17 Thread mars
hi, i noticed that whenever i click the disclosure panel's header, it got focused, namely you can see the black dotted border around the header, is there any way i can get rid of that? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

how to remove the vertical bar in the listbox

2011-02-16 Thread mars
i have a list box in my application, but i don't want to show the vertical scroll bar on the right side, is there any way to remove it? here is my code: g:ListBox visibleItemCount='3' width=15em g:itemLast 7 Days/g:item g:itemLast Week/g:item g:itemLast Month/g:item

share Maven2+GWT2.1+Spring3+JPA2+Mysql5 project prototype

2011-01-11 Thread Mars Hsu
Hi all, I am a new in GWT, and set up a maven project for gwt+spring+jpa. The project can start in tow mode, Jetty mode: mvn jutty:run, a normal jave ee mode GWT mode: mvn gwt:run, this mode for gwt debug Those days, I keep on working with spring mvn with gwt-rcp, but no any progress. It seems

Re: gwt-maven-plugin / google plugin for eclipse / working for anyone?!?!

2010-12-27 Thread Mars Hsu
Hi Pete, how do you use gwt-maven-plugin2.2.1 to integrate with spring project? I met same problem with you. Would you like to give me a easy example? On Dec 13, 7:06 am, PeteUK newbar...@gmail.com wrote: Chuck, Would you mind revealing what you ended up doing? I've been having problems in

how to extends class with UiBinder

2010-10-25 Thread mars
hi, I need to create a class, myBox, to extends HTMLPanel so that i can add content to it. here is my code: ui.xml: ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui g:HTMLPanel styleName=FormsBox div class=FormsTopnbsp;/div

how to create PushButton using UiBinder

2010-10-05 Thread mars
hi, I tried to create a PushButton(with an image) in UiBinder but could not get it work, here is my code g:PushButton ui:field=myPushButton image=myImage.gif/ anyone know how? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

how to dynamically update image on the app

2009-02-25 Thread mars
hi, i have images on my application, which set their url to the following http://xxx.xxx.xx/graph.php?width=320height=145 this url return an image created by server, it changes dynamically, so in my code, i have: image = new Image(url); (url is the above) add(image); but once the image is

can gwt work with javax.swing.* ?

2009-01-10 Thread mars
hi, all i m developing an gwt(actually gwt-ext) application, and need to use an external package which is mainly written with java awt and javax swing. when i try to add that swing component to gwt panel, it won't pass through my question is 'does gwt work with swing'? my code is as below: