Opened 8 years ago

Closed 7 years ago

#13873 closed defect (wontfix)

dojox.mobile.app and stylesheets

Reported by: Paul Christopher Owned by: Shane O'Sullivan
Priority: high Milestone: tbd
Component: DojoX Mobile Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

It's not really a bug, but rather a concern/ a question I want to share:

The application controller / stage controller is a nice thing because you can separate different parts ("scenes") of an application in the code.

But consider a larger iPad app. For each scene I need to add specific css styles. At the moment, I don't use the stage controller but split my app in different html pages. Each html page has its own style sheet.

But how does this work using the stage controller? At the moment, you can only include one css file in the header of main html file. Does it mean that you need to put all the styles in one css file?

Thus: The "separation of concerns" with the stage controller seems to works fine for your js code, but does not work at all for your css styles you need to apply to make your app look great apart the normal design and functionality.

[How about all the widgets that need special css like e.g. tab bar? Do these style sheets all clutter up the main html file?]

Change History (2)

comment:1 Changed 8 years ago by ykami

Owner: changed from ykami to Shane O'Sullivan

comment:2 Changed 7 years ago by bill

Resolution: wontfix
Status: newclosed

dojox/mobile/app is deprecated in favor of dojox/app, and presumably will be removed in 2.0, so seems like we should mark this as wontfix.

Note: See TracTickets for help on using tickets.