Hello all,
I have been working lately with Design Studio SDK and have managed to create a couple of customised components.
(Thanks Michael Howlesfor your great examples)
With the latest component have developed, I am getting a very weird behaviour.
The component consists of a Date Picker (Calendar object) that allows you to set "Selectable Dates" so the user can only select valid dates (e.g. dates with relevant data associated to it)
I based my component on an existing calendar found online (glDatePicker) and I just integrated it to Design Studio.
Despite the normal minor development hurdles and issues, I managed to develop a component that did what I wanted.
However, when I implemented it in Design Studio (Version 1.2 SP1), it works fine excepting when I combine it with a Design Studio chart.
Here are a couple of screenshots of the component working fine:
In Design Studio:
This is the component in action
However, when I try to add a chart to the application, it doesn't work:
This is the error I get
The text of the error is:
Error message: Object doesn't support property or method 'substring' Line Number: 118742 Pos: 13 Function: function addSlash(path) { var tmpArr
I have searched for this error online and haven't found any valuable help.
The fact that the issue only appears when I combine a chart and my Date Picker in the same application is what puzzles me the most.
I have attached to this discussion:
- The component files as copied from my workspace (com.sample.datepicker.zip), and
- The deployable feature (DatePicker.zip)
Any help or pointers will be greatly appreciated.
Regards
Carlos