Hi Alex,

sorry, this question is out of our scope.

I do not know this jQuery plugin at all.

Was qx.ui.mobile.dialog.Picker not suitable for you purpose?

As I see in your code, you use our ScrollComposite. The scrollComposite is 
intended to work only with qooxdoo Mobile widgets.
But you can integrate an iScroll scroller, wrapped by a qooxdoo widget by using 
a qx.ui.mobile.container.Scroll()


  var scroll = new qx.ui.mobile.container.Scroll()

  // add a children
  scroll.add(new qx.ui.mobile.basic.Label("Name: "));

  this.getRoot().add(scroll);

Maybe that might work.

Greetz Christopher

Am 25.01.2013 um 13:49 schrieb Alexander Voronin:

I'm using current git version qooxdoo mobile and jquery datitmepicker 
(http://trentrichardson.com/examples/timepicker/) in my project.
I have master/detail layout with qx.ui.mobile.page.NavigationPage based detail 
page that overloads _createScrollContainer method to create jquery based 
content inside qx.ui.mobile.embed.Html element (do not ask for what, I just 
need it).

What i got is pretty much working but looks like datitmepicker controll on 
mobile browsers (tested on iPad iOS 6.x safari and chrome browsers) did not 
received all events - I can select date by tapping controll, but cannot use 
time scrollers to change time. On desktop chrome browser time scrollers works 
nice.

Second - on both mobile and desktop browsers container scrolls without kinetic 
capability (ie scrolling stops when mouse button or finger releases screen).
And third - mouse wheel do not scrolls container on desktop browsers.

Do you have any idea how can I fix this issues?
Here is simplified code samples of what I'm doing:

qx.Class.define("jQueryDateTimePickerSample",
{
extend: qx.ui.mobile.page.NavigationPage,

members:
{
_scrollComposite: null,

initialize: function() {
this.base(arguments);
this.getContent().removeAll();
// setup new content
this._openWebReport();
},

_openWebReport: function() {
// clear scroll composite
this._scrollComposite.removeAll();
this._scrollComposite.add(new qx.ui.mobile.embed.Html(this._getScrollerHtml()));
},

_getScrollerHtml: function() {
var html = '<div/>'; // here goes html content that uses jQuery code with 
datetimepicker !
return html;
},

_createScrollContainer: function() {
if (this._scrollComposite == null) {
this._scrollComposite = new qx.ui.mobile.container.ScrollComposite();
this._scrollComposite.setScrollableX(true);
}
return this._scrollComposite;
}
}
});

--
когда я опустился на самое дно, снизу мне постучали..
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET<http://ASP.NET>, C# 2012, HTML5, 
CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to