Opened 13 years ago

Closed 12 years ago

Last modified 9 years ago

#2787 closed defect (fixed)

SliderVertical widget causing parse error in an XHTML document

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.4.2
Keywords: SliderVertical, XHTML Cc:
Blocked By: Blocking:

Description

I want to create a vertical slider in my JSF application. However, when I create this widget I get the following error (since I am using XHTML as my document)

DEBUG: dojo.widget.Parse: error: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://localhost:8080/dojotrial/js/dojo/dojo.js Line: 286"]

I find that when I create the same slider in an HTML document, it works perfectly fine:

<div id="verticalSlider" dojoType="SliderVertical?"

initialValue="5" snapValues="9" maximum="9" minimum="1" clickSelect="true" buttonStyle="width:28px;height:16px;" backgroundStyle="padding:8px 8px 8px 8px;border:1px solid red;background-color:yellow;" progressBackgroundSrc="js/dojo/src/widget/templates/images/slider-bg-progress-vert.gif" handleStyle="left:2px;top:-1px;" handleSrc="js/dojo/src/widget/templates/images/slider-button-vert.png" flip="true"

</div>

However, the same in my XHTML file fails.

Change History (4)

comment:1 Changed 13 years ago by bill

Component: WidgetsDijit
Milestone: 0.4.40.9
Owner: changed from bill to cathy
Priority: highnormal

comment:2 Changed 13 years ago by Douglas Hays

Owner: changed from cathy to Douglas Hays

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [9313]) Fixes #2813, #1878, #2787. Created new 0.9 sider. Still needs css and a11y tweaking and tick mark support.

comment:4 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.