Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-18 Thread Alexander Voronin
Oh, sorry, I was copypasted wrong code, but whatever console never otuputs
this call.

_getScrollContainer: function() {
console.log("_getScrollContainer");
 if (this._scrollComposite == null) {
this._scrollComposite = new qx.ui.mobile.container.ScrollComposite();
 this._scrollComposite.add(new
qx.ui.mobile.embed.Html(this._getIframeHtml()));
this._scrollComposite.addCssClass("wider-content");
 this._scrollComposite.addCssClass("higher-content");
}
return this._scrollComposite;
}


2012/12/18 Alexander Voronin 

> _getScrollContainer seems to be not called at all when I reloaded it. Here
> is code:
>
> _getScrollContainer: function() {
>  console.log("_getScrollContainer");
>  if (this._scrollComposite != null) {
> this._scrollComposite = new qx.ui.mobile.container.ScrollComposite();
>  this._scrollComposite.add(new
> qx.ui.mobile.embed.Html(this._getIframeHtml()));
> this._scrollComposite.addCssClass("wider-content");
>  this._scrollComposite.addCssClass("higher-content");
> return this._scrollComposite;
> }
> }
>
> Page is based on qx.ui.mobile.page.NavigationPage and added
> in qx.ui.mobile.page.Manager as detail page.
>
>
> 2012/12/13 Alexander Voronin 
>
>> No suggestions on this?
>>
>>
>> 2012/12/12 Alexander Voronin 
>>
>>> I got your idea but this will not work.Container with PDF will not
>>> scroll in "standard" way. Just try it on iPad or other iOS device. That's
>>> why im using specific HTML code with specific CSS (pay attention on 
>>> -webkit-overflow-scrolling:
>>> touch). Can I just turn off all qooxdoo stuff and lay scrolling on browser
>>> logic?
>>>
>>>
>>
>> --
>> когда я опустился на самое дно, снизу мне постучали..
>>
>
>
>
> --
> когда я опустился на самое дно, снизу мне постучали..
>



-- 
когда я опустился на самое дно, снизу мне постучали..
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-18 Thread Alexander Voronin
_getScrollContainer seems to be not called at all when I reloaded it. Here
is code:

_getScrollContainer: function() {
console.log("_getScrollContainer");
 if (this._scrollComposite != null) {
this._scrollComposite = new qx.ui.mobile.container.ScrollComposite();
 this._scrollComposite.add(new
qx.ui.mobile.embed.Html(this._getIframeHtml()));
this._scrollComposite.addCssClass("wider-content");
 this._scrollComposite.addCssClass("higher-content");
return this._scrollComposite;
}
}

Page is based on qx.ui.mobile.page.NavigationPage and added
in qx.ui.mobile.page.Manager as detail page.


2012/12/13 Alexander Voronin 

> No suggestions on this?
>
>
> 2012/12/12 Alexander Voronin 
>
>> I got your idea but this will not work.Container with PDF will not scroll
>> in "standard" way. Just try it on iPad or other iOS device. That's why im
>> using specific HTML code with specific CSS (pay attention on 
>> -webkit-overflow-scrolling:
>> touch). Can I just turn off all qooxdoo stuff and lay scrolling on browser
>> logic?
>>
>>
>
> --
> когда я опустился на самое дно, снизу мне постучали..
>



-- 
когда я опустился на самое дно, снизу мне постучали..
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-13 Thread Alexander Voronin
No suggestions on this?


2012/12/12 Alexander Voronin 

> I got your idea but this will not work.Container with PDF will not scroll
> in "standard" way. Just try it on iPad or other iOS device. That's why im
> using specific HTML code with specific CSS (pay attention on 
> -webkit-overflow-scrolling:
> touch). Can I just turn off all qooxdoo stuff and lay scrolling on browser
> logic?
>
>

-- 
когда я опустился на самое дно, снизу мне постучали..
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-12 Thread Alexander Voronin
I got your idea but this will not work.Container with PDF will not scroll
in "standard" way. Just try it on iPad or other iOS device. That's why im
using specific HTML code with specific CSS (pay attention on
-webkit-overflow-scrolling:
touch). Can I just turn off all qooxdoo stuff and lay scrolling on browser
logic?


2012/12/11 Christopher Zündorf 

> Return a div container (or a qx.Mobile composite) where you want to
> display the PDF.
>
>
> Am 11.12.2012 um 17:26 schrieb marginal:
>
> Well
>
> _getScrollContainer: function() {
>  return null;
> }
>
> does not work for me. Any other ideas?
>
> 2012/12/11 czuendorf [via qooxdoo] <[hidden email]>
>
>> _getScrollContainer
>
>
>
>
> --
> когда я опустился на самое дно, снизу мне постучали..
>
> --
> View this message in context: Re: PDF viewver using Qooxdoo 
> Mobile
> Sent from the qooxdoo mailing list 
> archiveat
> Nabble.com.
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
>
> http://p.sf.net/sfu/logmein_12329d2d___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
когда я опустился на самое дно, снизу мне постучали..
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread Christopher Zündorf
Return a div container (or a qx.Mobile composite) where you want to display the 
PDF.


Am 11.12.2012 um 17:26 schrieb marginal:

Well

_getScrollContainer: function() {
return null;
}

does not work for me. Any other ideas?

2012/12/11 czuendorf [via qooxdoo] <[hidden 
email]>
_getScrollContainer



--
когда я опустился на самое дно, снизу мне постучали..


View this message in context: Re: PDF viewver using Qooxdoo 
Mobile
Sent from the qooxdoo mailing list archive 
at Nabble.com.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread marginal
Well

_getScrollContainer: function() {
return null;
}

does not work for me. Any other ideas?

2012/12/11 czuendorf [via qooxdoo] 

> _getScrollContainer




-- 
когда я опустился на самое дно, снизу мне постучали..




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-tp7582262p7582270.html
Sent from the qooxdoo mailing list archive at Nabble.com.--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread Christopher Zündorf

"Is there a way to turn off event handling for selected DOM elements
or whole page? "

Yes you can deactive the handling, by overriding the method 
"_getScrollContainer()" in your NavigationPage.


Greetz Christopher

Am 11.12.2012 um 16:29 schrieb Alexander Voronin:


2012/12/11 Christopher Zündorf 
mailto:[email protected]>>
I think overwriting the method

_getScrollContainer()

would do the trick.

This deactivates the iScroll and the scrolling. But you have to everything on 
your own with qx.Mobile's ….embed.html


What do you mean? All this method do is returns HTML string.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread Alexander Voronin
2012/12/11 Christopher Zündorf 

> I think overwriting the method
>
> _getScrollContainer()
>
> would do the trick.
>
> This deactivates the iScroll and the scrolling. But you have to everything
> on your own with qx.Mobile's ….embed.html
>
>
What do you mean? All this method do is returns HTML string.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread Christopher Zündorf
I think overwriting the method

_getScrollContainer()

would do the trick.

This deactivates the iScroll and the scrolling. But you have to everything on 
your own with qx.Mobile's ….embed.html


Greetz Christopher


Am 11.12.2012 um 13:42 schrieb marginal:

Look like nabble bug. Code is visible at
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-td7582262.html
and sorry for topic name, I was excited :)



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-tp7582262p7582264.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread marginal
Look like nabble bug. Code is visible at
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-td7582262.html
and sorry for topic name, I was excited :)



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-tp7582262p7582264.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread Christopher Zündorf
Sorry,

but I think you have forgotten to paste the code?

Greetz Christopher

Am 11.12.2012 um 13:34 schrieb marginal:

> I know about problems with scrollers on webkit browsers and solution still
> not provided, but whatever. I used this simple code to view PDF on iOS base
> devices:
> 
> 
> 
> it works nice as separate html page, except scrolling area is too big and
> that's the price. But this is not works with qooxdoo mobile when I'm
> inserting this html into page like:
> 
> 
> 
> where _getIframeHtml function returns html code listed above. Looks like
> qooxdoo handles all touch/scroll events before them goes into my div and
> iframe. Is there a way to turn off event handling for selected DOM elements
> or whole page? 
> 
> Thanx.
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-tp7582262.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


[qooxdoo-devel] PDF viewver using Qooxdoo Mobile

2012-12-11 Thread marginal
I know about problems with scrollers on webkit browsers and solution still
not provided, but whatever. I used this simple code to view PDF on iOS base
devices:



it works nice as separate html page, except scrolling area is too big and
that's the price. But this is not works with qooxdoo mobile when I'm
inserting this html into page like:



where _getIframeHtml function returns html code listed above. Looks like
qooxdoo handles all touch/scroll events before them goes into my div and
iframe. Is there a way to turn off event handling for selected DOM elements
or whole page? 

Thanx.



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/PDF-viewver-using-Qooxdoo-Mobile-tp7582262.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel