Opened 10 years ago

Closed 10 years ago

#9790 closed defect (fixed)

Tab Container's id does not allow numeric string characters at the beginning of an id.

Reported by: spidey2099 Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

If the first character of an id starts with a numeric string "0-9", the tab container throws an exception "An attempt was made to create or change an object in a way which is incorrect with regard to namespaces". Now while this is a domNode error, it was not happening before and the other containers have no such behavior.

If it is a legitimate exception, then all the containers should honor the namespace convention. If not, the tab container should not be doing something under the hood to cause this exception.

This behavior exists in the nightly build for 2009-08-29.

Change History (3)

comment:1 Changed 10 years ago by bill

Milestone: tbd1.4
Priority: highnormal
severity: criticalnormal

Hmm, well actually it's an old issue that you can't create Menu's on nodes that start with a digit. The new thing is that TabContainer now creates a Menu when useMenu=true (the default).

BTW it works correctly on IE, but it is failing for me on FF and Safari.

Anyway, I'll fix the problem w/Menu.

This ticket really refs #9004.

comment:2 Changed 10 years ago by bill

Owner: set to bill
Status: newassigned

comment:3 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [19984]) Fix Menu to be able to bind to nodes whose id starts w/a digit (including the tablist menu on TabContainer?'s whose id starts w/a digit).

Refs #9004, fixes #9790 !strict.

Note: See TracTickets for help on using tickets.