Now after replacing qx.ui.mobile.container.ScrollComposite with
qx.ui.mobile.container.Scroll I just got this exception:

Uncaught TypeError: Object #<Object> has no method '_createContainerElement'

2013/1/29 Christopher Zündorf <[email protected]>

> The newest version of the qx.ui.mobile.container.Scroll have a constructor
> parameter for iScroll parameters:
>
> http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.mobile.container.Scroll
>
> There you can pass the properties for the iScroll library
>
> http://cubiq.org/iscroll-4
>
> The reason why horizontal scrolling is not possible, lays in the MIScroll
> class Line 163…
>
> iScroll expects a wrapper and a scrolling container (which is greater than
> the wrapper) when you want have a horizontal scrolling.
> In our case the wrapper and the scroller are the same container.
>
> You could extend the MIScroll, and override the __createScrollInstance.
>
> Greetz Christopher
>
>
>
>
> Am 25.01.2013 um 14:16 schrieb Christopher Zündorf:
>
>
> 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, 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
когда я опустился на самое дно, снизу мне постучали..
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to