Opened 8 years ago

Closed 7 years ago

#13788 closed enhancement (invalid)

Icons -- Consider Provide "insertTo" for url feature

Reported by: Ming Zhe Huang Owned by: ykami
Priority: high Milestone: tbd
Component: DojoX Mobile Version: 1.7.0b1
Keywords: Cc: Atsushi Ono
Blocked By: Blocking:

Description

Please try the attached two cases. They behave differently on where the target HTML is inserted. After looking into the codes, I realize that it's due to the "dm.currentView".
To ensure exepected behavior of "url" feature, I propose we could provide a property like "insertTo" to indicate where the target HTML will be inserted.

Attachments (2)

test_icon-url.html (2.5 KB) - added by Ming Zhe Huang 8 years ago.
case 1
test_icon-url2.html (2.1 KB) - added by Ming Zhe Huang 8 years ago.
case 2

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Ming Zhe Huang

Attachment: test_icon-url.html added

case 1

Changed 8 years ago by Ming Zhe Huang

Attachment: test_icon-url2.html added

case 2

comment:1 Changed 7 years ago by Atsushi Ono

Sorry for the late response. IconItem already has "urlTarget" property for this purpose in 1.7. When you set a node id to "urlTarget" parameter, the target fragment will be appended as a child of the node. Please also refer the documentation for IconItem: http://livedocs.dojotoolkit.org/dojox/mobile/IconItem

I hope this will fit your needs.

comment:2 Changed 7 years ago by ykami

Cc: Atsushi Ono added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.