Open GoogleCodeExporter opened 9 years ago
Interesting. I have to admit that I don't have much time to put into this.
Contributors are welcomed!
Original comment by philippe...@gmail.com
on 12 Jul 2011 at 1:09
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 xavier.m...@gmail.com
on 12 Jul 2011 at 1:28
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 philippe...@gmail.com
on 12 Jul 2011 at 2:22
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 xavier.m...@gmail.com
on 12 Jul 2011 at 2:27
(...)
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 xavier.m...@gmail.com
on 12 Jul 2011 at 2:30
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 philippe...@gmail.com
on 12 Jul 2011 at 2:38
ok, when we'll have completed the code, we'll send you..
regards
Original comment by xavier.m...@gmail.com
on 12 Jul 2011 at 2:42
Original issue reported on code.google.com by
xavier.m...@gmail.com
on 12 Jul 2011 at 10:22