Hi,
isn’t qx.ui.mobile.page.Manager with it's master/detail views already doing
what you want?
Have a look at the mobileshowcase (available under the demos section at
qooxdoo.org<http://qooxdoo.org>) and visit it with either a tablet and a phone.
If I understood your problem correctly, it is something that;s working out of
the box. If not, please clarify your issue by a minimal playground example.
Cheers,
Andreas
Am 10.03.2015 um 08:04 schrieb Frédéric
<f...@gbiloba.org<mailto:f...@gbiloba.org>>:
Hi!
On my mobile application, when using a desktop/tablet device, I do have a
"Main menu" button automatically added to the detail pages. But when using
a phone device, this button does not appear. Why?
In my code, I use this for the routing (from mobile showcase example):
if (qx.core.Environment.get("device.type") == "tablet" ||
qx.core.Environment.get("device.type") == "desktop") {
this.getRouting().onGet("/.*", this._show, this._menuPage);
this.getRouting().onGet("/", this._show, this._defaultWidgetsPage);
}
else {
this.getRouting().onGet("/", this._show, this._menuPage);
}
this._menuPage is the master page, and this._defaultWidgetsPage is the
page I want to be displayed at first, beside the menu page, when using a
tablet....
--
Frédéric
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net<mailto:qooxdoo-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel