Questions tagged [mgwt]

mgwt is an mobile extension to GWT which allows to write mobile apps with GWT

mgwt is a library for developing mobile apps and mobile websites with GWT from one code base. mgwt provides native looking widgets for many platforms, animations and many other things that are needed for writing mobile apps. gwt-phonegap enables GWT apps to use Phonegap. With Phonegap HTML5 apps can access the same device features that native apps can use from Javascript, such as the file system or contacts. With mgwt and gwt-phonegap you can deploy your GWT apps into any app store or let your users use them as a website. Both projects are available under apache 2.0 license from maven central.

144 questions
1
vote
1 answer

MTextBox setFocus() not showing the focus on textfield on view load, MGWT

I built an app with gwt,mgwt and gwtphonegap. One of my view having few text fields, I have a requirement that I need to set the default focus on my first field when I visited that view. For this , firstInputField = new MTextBox(); …
1
vote
1 answer

increase width of com.googlecode.mgwt.ui.client.widget.HeaderButton in mgwt 1.1.2

HeaderButton.setWidth("80px"); seems to have no effect. HeaderButton.addStyleName("myStyle"); with ".myStyle {width:80px;}" in css neither. But the css is active which is proven by the fact that the following has an effect, but no nice…
1
vote
2 answers

MGWT TapEvent from GWT AbstractCell?

I have a simple Cell class: public class MyCell implements AbstractCell { ... @Override public void render(com.google.gwt.cell.client.Cell.Context context, MyDto value, SafeHtmlBuilder sb) { } } How can I listen to an…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

MGWT and GWT- RPC

I don't understand how to implement mgwt client with gwt rpc service. I have gone through these blogs…
Sandip
  • 88
  • 7
1
vote
2 answers

Using mgwt for desktop and mobile applications

I have an application written in GWT. I want to be able to provide a subset of the same application for use when the site is opened in mobile browsers, and have been looking at mgwt as a way of achieving this. The way I am expecting it to work is…
user3127996
  • 163
  • 1
  • 1
  • 7
1
vote
1 answer

smartGWT vs Mgwt (mgwt + smartgwt)

I finished 1 Project in Pure GWT and 1. in SmartGwt. However I want to support a Mobile version of both Projects now. I found : mgwt -> which has a medium Community, documentation is well made and under heavy development. SmartGwt - Mobile ->…
user3110458
  • 374
  • 5
  • 17
1
vote
1 answer

CellList keep selected Cells selected?

I use the MGWT CellList which works perfect. I have the following problem. How can I keep selected cells selected such that the remain selected after the user releases the cell? Here is my implementation: CellList myCellList = new…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

Touch equivalent Events for MouseOverEvent and MouseOutEvent not working on Mobile?

I use mgwt and I tried to implement MouseOverEvent and MouseOutEvent for a TouchPanel as the following example shows. It turns out the these events are not working on mobile devices like the iPhone. On Desktop: Both events work when you have mouse…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
2 answers

"javax.servlet.ServletException: unkown device" in MGWT when generating Html5Manifest File

I use mgwt and GWTP. On this page there is written how to generate a Html5Manifest file. When running my app in dev mode I get the following error: [WARN] /testmobile.manifest javax.servlet.ServletException: unkown device at…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

MGWT app showing keypad issue in ios7

I developed an app using MGWT.It is working fine in ios6. I upgraded to ios7.here I'm facing few problem I have 10 MTextBox widgets, I want to show all in my view.for this i add them to a WidgetList and I added my widgetList to a scroll panel and…
1
vote
2 answers

Scrolling occurs only after touch end is completed in GWT ScrollPanel

I am using GWT 2.4. There is a delay in scrolling, when viewing the web application in ipad(ios 7). The scroll event fires only after the touch end event is completed, thereby making it look unresponsive at times. The scroll also freezes when I try…
samuel
  • 53
  • 6
1
vote
1 answer

GWTMobile v/s MGWT

I need to build a mobile app which should run on both iOs and android.I'm not interested to make my app as native app rather a hybrid one(my app may/maynot includes native code of iOs & android in few areas).Please help me on these queries. which…
1
vote
1 answer

Detecting GWT permutation on server based on user agent

I'm currently working on adding HTML5 offline support to my web application, and am mostly following the same approach of mgwt: Generate manifest files per permutation at compulation time Using a servlet to serve the manifest file, based on the…
Laurens Rietveld
  • 958
  • 1
  • 11
  • 21
1
vote
1 answer

Another GWT module may need to be recompiled

I'll start with the other threads I've read: GWT module may need to be (re)compiled REDUX Some subtlety of GWT compilation - "gwt module may need to be (re)compiled." Google App Engine - recompile GWT module GWT Maven : Module 'xxx' may need to be…
Graham
  • 5,488
  • 13
  • 57
  • 92
1
vote
1 answer

how to increase the default size of HeaderButton in MGWT

I want to increase the default size of HeaderButton Widget in MGWt.I tried this: headerBackButton.setHeight(String.valueOf(50)+"px"); headerBackButton.setWidth(String.valueOf(50)+"px"); headerBackButton.getElement().getStyle().setWidth(50,…