Opened 8 years ago

Closed 8 years ago

#12361 closed enhancement (fixed)

dojox.mobile Does Not Respond to data-dojo-*

Reported by: David Walsh Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.0rc1
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

Dojo 1.6's new data-dojo-* attributes are ignored in dojox.mobile's parser which is hardcoded to look for dojoType and inline HTML attributes. It would be nice if dojox.mobile's parser could use data-dojo-type and data-dojo-props for widget definition.

Change History (6)

comment:1 Changed 8 years ago by bill

Component: GeneralDojoX Mobile
Owner: changed from anonymous to ykami

Not sure if you want to update this or not, but assigning ticket to you. Note that I'm working on a lighterweight version of the parser that only supports the new syntax (#12365), so perhaps mobile will just want to use that in the future.

comment:2 Changed 8 years ago by ykami

dojox.mobile.parser is a very minimum subset of dojo.parser. Adding various rich functionality to dojox.mobile.parser does not make much sense, because it will gradually become dojo.parser. You can safely use dojo.parser for dojox.mobile applications if you need functionality that is missing from dojox.mobile.parser.

comment:3 Changed 8 years ago by bill

Resolution: wontfix
Status: newclosed

comment:4 Changed 8 years ago by ykami

Keywords: 1.7-mobile added; mobile removed
Resolution: wontfix
Status: closedreopened

comment:5 Changed 8 years ago by ykami

I reopened this ticket, because I'm receiving the same requests as people has started using html5 syntax. And it turned out that the fix was not that difficult and could be small.

comment:6 Changed 8 years ago by ykami

Resolution: fixed
Status: reopenedclosed

(In [24096]) Fixes #12361 !strict. Added support for data-dojo-* attributes.

Note: See TracTickets for help on using tickets.