Thanx for help, it works now! I'm also using non modal popup dialogs with
anchoring like

    this._searchFormDialog = new
qx.ui.mobile.dialog.Dialog(this._searchFormRender, this);

should I also use qx.ui.mobile.dialog.Popup instead?


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

> Ok, as I thought….
>
> it is because we merged the qx.ui.mobile.dialog.Dialog and
> qx.ui.mobile.dialog.Popup
>
> "@deprecated { 2.2 } Please use qx.ui.mobile.Popup instead and call
> function setModal(true)."
>
> There should also be a warning in the console logger with:
>
> ""Use qx.ui.mobile.dialog.Popup instead."
>
> Please try to replace your usage of dialog into popup, and everything
> should work.
>
> Greetz Christopher
>
>
>
> Am 10.01.2013 um 13:35 schrieb Alexander Voronin:
>
> About lables - I need horizontal layout and margin solution looking good.
> I did not know about this. Thanx.
>
> About popup dialogs. I'm using static methods to show and hide busy
> indicator. Here is methods:
>
> /**
> * show wait message
> */
> showWait: function() {
>  var wait = MobilePortal.UI.ToolBarPage.__createWaitPopup();
> wait.show();
> },
>
> /**
> * hide wait message
> */
>  hideWait: function() {
> var wait = MobilePortal.UI.ToolBarPage.__createWaitPopup();
> wait.hide();
>  },
>
> /**
> * create wait popup window
>  */
> __createWaitPopup: function(attachedToWidget) {
> console.log("__createWaitPopup call");
>  console.log(MobilePortal.UI.ToolBarPage._waitPopup);
> if (MobilePortal.UI.ToolBarPage._waitPopup) {
>  return MobilePortal.UI.ToolBarPage._waitPopup;
> } else {
> var busyIndicator = new
> qx.ui.mobile.dialog.BusyIndicator(MobilePortal.UI.Locale.getStr("pleaseWait"));
>  MobilePortal.UI.ToolBarPage._waitPopup = new
> qx.ui.mobile.dialog.Dialog(busyIndicator);
>
> MobilePortal.UI.ToolBarPage._waitPopup.setTitle(MobilePortal.UI.Locale.getStr("loading"));
>  MobilePortal.UI.ToolBarPage._waitPopup.setModal(true);
> return MobilePortal.UI.ToolBarPage._waitPopup;
>  }
> }
>
> I figured out that for some strange reason created
> object MobilePortal.UI.ToolBarPage._waitPopup has strange container. Here
> is chrome console log:
>
> MobilePortal.UI.ToolBarPage.showWait()
> __createWaitPopup call 
> mobileportal.js:209<http://localhost/MobilePortal/script/mobileportal.js>
>  qx.Class.define.construct {$$hash: "114-0", __dj: <div>, __dg: Array[1],
> $$user_id: "qx_id_54", $$useinit_defaultCssClass: true…}
>  mobileportal.js:209<http://localhost/MobilePortal/script/mobileportal.js>
>  undefined
> MobilePortal.UI.ToolBarPage._waitPopup.getContainerElement()
>
>    1. <div id=​"qx_id_54" class=​"dialog" style=​"left:​ -1000px;​ top:
>    -1000px;​ visibility:​ visible;​">
>       1. <div id=​"qx_id_55" style>​</div>
>       2. </div>
>
>
>
> Screen is blocked after call but busy indicator is not visible.
>
>
>
> 2013/1/10 Christopher Zündorf <[email protected]>
>
>>
>> Are the dialogs not shown at all? Do the have a "exclude" class?
>>
>> Can you please check the position and z-Index of the dialogs?
>>
>> For the problem with labels…
>> Please try to change the layout of the label to vbox layout.
>>
>> But the even better way for this purpose, is to remove the label and
>> append a margin to the first button with:
>>
>>
>>  qx.bom.element.Style.set(widget.getContentElement(),"marginRight","5px");
>>
>> Greetz Christopher
>>
>>
>>
>> Am 10.01.2013 um 09:48 schrieb Alexander Voronin:
>>
>> There is no stacktrace. As I said modal dialogs just not shown ater
>> upgrade to 2.2 for me. Also I noticed huge difference in label rendering.
>> I've used &nbsp; labels as separators in few places and in 2.1 it's
>> rendered exactly as excpected but in 2.2 it's rendeded as some kind of
>> superwide spaces. Attached screenshot
>> shows qx.ui.mobile.container.Composite that contains buttons separated with
>> described &nbsp; lables. Perhaps dialog behaviour depends also on this?
>>
>>
>> 2013/1/9 Christopher Zündorf <[email protected]>
>>
>>>
>>> This a playground restriction. It is not allowed to use popups inside.
>>>
>>> But the code you use is exactly the same which is used in devel mobile
>>> showcase….
>>>
>>> There are no known problems with popups in latest version, neither on
>>> iPad, nor on Firefox or any other target platform/system.
>>>
>>> Have you executed     ./generate.py source      on your application?
>>>
>>> As long as I do not have any stack trace, or screen shot, I can only
>>> guess what is the problem.
>>>
>>> We merged the mobile Dialog and Popup widget a few weeks ago, because
>>> the dialog was redundant.
>>>
>>>
>>> Greetz Christopher
>>>
>>>
>>> Am 09.01.2013 um 16:28 schrieb Alexander Voronin:
>>>
>>> I could not reproduce it in playground but here is short url on what I'm
>>> trying to do http://tinyurl.com/b327rkd
>>> Playground says there is assertion error but this code just copypasted
>>> from showcase. In my project it does not produces any assertion error but
>>> shows nothing on screen. In 2.1 it was pretty nice working. Thanx.
>>>
>>>
>>> 2013/1/9 Christopher Zündorf <[email protected]>
>>>
>>>> Great that you managed the first problem.
>>>>
>>>> Would you please provide a bug with your problem, including a
>>>> screenshot.
>>>>
>>>> On which system does the effect appear?
>>>>
>>>> Greetz Christopher
>>>>
>>>> Am 09.01.2013 um 15:42 schrieb Alexander Voronin:
>>>>
>>>> Thanx. I've fixed build issue but problems with dialogs and busy
>>>> indicator still here.
>>>>
>>>>
>>>> 2013/1/9 thron7 <[email protected]>
>>>>
>>>>>
>>>>> On 01/09/2013 11:33 AM, Alexander Voronin wrote:
>>>>> > I suspect that's all about new build scripts or something and I
>>>>> > thought to recreate build scripts and configs
>>>>> > using create-application.py SDK script.
>>>>>
>>>>> You shouldn't need to change generate.py or config.json after a
>>>>> transition from 2.1 SDK to master checkout. You can copy a generate.py
>>>>> from a new skeleton into your existing project no problem. But it's
>>>>> generally better to keep your existing config.json, and just make the
>>>>> necessary changes (at least the QOOXDOO_PATH macro).
>>>>>
>>>>> > After this I've changed configs as it ought to be for my project and
>>>>> > got this error on any generate.py command:
>>>>> >
>>>>> >   File "../qooxdoo-sdk\tool/pylib\demjson\demjson.py", line 1696, in
>>>>> > decodeobj
>>>>> >     raise JSONDecodeError('unknown keyword or identifier',kw)
>>>>> > demjson.demjson.JSONDecodeError: ('unknown keyword or identifier',
>>>>> > u'MobilePortal')
>>>>>
>>>>> This looks like a syntax error in your config.json. Try running
>>>>> tool/bin/jsonlint.py on it to fix it.
>>>>>
>>>>> T.
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>>>>> and much more. Keep your Java skills current with LearnJavaNow -
>>>>> 200+ hours of step-by-step video tutorials by Java experts.
>>>>> SALE $49.99 this month only -- learn more at:
>>>>> http://p.sf.net/sfu/learnmore_122612
>>>>> _______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> когда я опустился на самое дно, снизу мне постучали..
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>>>> and much more. Keep your Java skills current with LearnJavaNow -
>>>> 200+ hours of step-by-step video tutorials by Java experts.
>>>> SALE $49.99 this month only -- learn more at:
>>>> http://p.sf.net/sfu/learnmore_122612_______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>>>> and much more. Keep your Java skills current with LearnJavaNow -
>>>> 200+ hours of step-by-step video tutorials by Java experts.
>>>> SALE $49.99 this month only -- learn more at:
>>>> http://p.sf.net/sfu/learnmore_122612
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> когда я опустился на самое дно, снизу мне постучали..
>>>
>>> ------------------------------------------------------------------------------
>>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>>> and much more. Keep your Java skills current with LearnJavaNow -
>>> 200+ hours of step-by-step video tutorials by Java experts.
>>> SALE $49.99 this month only -- learn more at:
>>> http://p.sf.net/sfu/learnmore_122612_______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
>>> and much more. Keep your Java skills current with LearnJavaNow -
>>> 200+ hours of step-by-step video tutorials by Java experts.
>>> SALE $49.99 this month only -- learn more at:
>>> http://p.sf.net/sfu/learnmore_122612
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>
>>
>> --
>> когда я опустился на самое дно, снизу мне постучали..
>> <nbsp.png>
>> ------------------------------------------------------------------------------
>> 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/learnmore_122712_______________________________________________
>>
>> 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/learnmore_122712
>> _______________________________________________
>> 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/learnmore_122712_______________________________________________
> 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/learnmore_122712
> _______________________________________________
> 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/learnmore_122712
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to