Opened 9 years ago

Closed 9 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)

mobile_parser_with_script.diff (498 bytes) - added by Philippe May 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Philippe May

comment:1 Changed 9 years ago by ykami

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?

comment:2 Changed 9 years ago by dante

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 9 years ago by ykami

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 in reply to:  2 Changed 9 years ago by Philippe May

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 9 years ago by ykami

Resolution: wontfix
Status: newclosed

You may want to consider use of dojox.mobile.ContentPane?.

Note: See TracTickets for help on using tickets.