Opened 10 years ago
Closed 10 years ago
#12780 closed enhancement (wontfix)
Allow script tag in the mobile parser
Reported by: | Philippe May | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When a view is loaded through XHR, only tags marked with dojoType="dojox.mobile.*" are parsed.
The mobile parser should allow the execution of a script.
Attachments (1)
Change History (6)
Changed 10 years ago by
Attachment: | mobile_parser_with_script.diff added |
---|
comment:1 Changed 10 years ago by
comment:2 follow-up: 4 Changed 10 years ago by
dojo.parser does not have this capability. even the dijit ContentPane does not handle script execution as it is wonky across browsers. dojox.layout ContentPane does however with it's executeScript's capability.
comment:3 Changed 10 years ago by
I don't think inventing a new programming model is a good idea. dojox.mobile.parser has to be a subset of dojo.parser. If dojo.parser supports this capability, maybe we can consider adding it to dojox.mobile.parser too.
comment:4 Changed 10 years ago by
Thanks, i forgot about this option. Is there any other way to load modules easily used in a mobile view or standard ContentPane??
comment:5 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
You may want to consider use of dojox.mobile.ContentPane?.
Does dojo.parser have such a capability?
In other words, if you use dojo.parser instead of dojox.mobile.parser, could that be a solution for your case?