Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

GWTquery UI mobile #9

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments
Open

GWTquery UI mobile #9

GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

Hello
do you intend to provide a GWT query UI for mobile based upon 
http://jquerymobile.com/ too?
It could be used in combination with 
https://github.com/dennisjzh/GwtMobile-Persistence and 
https://github.com/dennisjzh/GwtMobile-PhoneGap...

regards
xavier


Original issue reported on code.google.com by [email protected] on 12 Jul 2011 at 10:22

@GoogleCodeExporter
Copy link
Author

Interesting. I have to admit that I don't have much time to put into this. 
Contributors are welcomed!

Original comment by [email protected] on 12 Jul 2011 at 1:09

@GoogleCodeExporter
Copy link
Author

Not many too :-(
I'm not sure, but it seems that the only extension to do would be to implement 
what there is in the page 
(http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/api/methods.html), ie 
the $.mobile attribute and associated methods...
and as you have experience in make a gwt query plugin...

Original comment by [email protected] on 12 Jul 2011 at 1:28

@GoogleCodeExporter
Copy link
Author

You're saying that the widget API is the same? If it's exactly the same then, 
yes I suppose it's a matter of implementing the $.mobile object. I have doubts 
though that jQuery Mobile has the same widget API as jQuery UI...

Original comment by [email protected] on 12 Jul 2011 at 2:22

@GoogleCodeExporter
Copy link
Author

I just made some tries like $(h1).live(...) , and some other calls on jquery 
mobile components without pb... I even merged with traditional gwt widgets.
I also just made a Mobile plugin class to implement one method explained in the 
link above without pb...
But you have the experience when you did the plugin with gwtquery ui, so maybe 
there are bottlenecks I don't see..
regards
Xavier

Original comment by [email protected] on 12 Jul 2011 at 2:27

@GoogleCodeExporter
Copy link
Author

(...)
I only added in the html source the following :

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
   <script type="text/javascript" language="javascript" src="essaigwtquery/essaigwtquery.nocache.js"></script>

Original comment by [email protected] on 12 Jul 2011 at 2:30

@GoogleCodeExporter
Copy link
Author

This project is just a wrapper around the javascript, so there's no magic: 
simply write a Java method for every javascript method... There are afew things 
to watch out for when dealing with dates, but it's usually just a matter of 
using Js* overlay classes instead of Java classes (JsDate instead of Date).

I can review your Mobile class and eventually add it to the project. Use the 
"Request Code Review" link...

Original comment by [email protected] on 12 Jul 2011 at 2:38

@GoogleCodeExporter
Copy link
Author

ok, when we'll have completed the code, we'll send you..
regards

Original comment by [email protected] on 12 Jul 2011 at 2:42

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant