Skip to main content

dojo dropdowndate picker inside dojo tabbedview

3 replies [Last post]
dinamlab
Offline
Joined: 2005-09-20
Points: 0

Hi i have a problem with a dropdown date picker inside a tabbed view, i use the dropdown date picker inside the last of my tabs and this tab has a jsp with an iframe inside of it, the src property of the iframe is a jsf ... /faces/blabla bla... this jsf got many widgets and all of them display correctly but this drop down date picker does not, I have many dojo combo box and two yahoo dataTable.... i got this error of jmaki

Error loading jmaki.widgets.dojo.dropdowndatepicker.Widget : id=nuFechN
Script: undefined (line:163).
Message: cStyle has no properties

how can I resolve this problem?

thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

Hi,

There was a Dojo bug that was being caused by an issue with the dojo src/ally.js line 32

Change the line 32 to :

if (cStyle) bkImg = cStyle.getPropertyValue("background-image");

I've provide a fix on the dojo bug:

http://trac.dojotoolkit.org/ticket/2151

dinamlab
Offline
Joined: 2005-09-20
Points: 0

I was thinking that the dojodropdowndatepicker was the problem so I replace this widget with a dojo drawer with an url of a jsp that has a yahoo calendar. It solves the problem of the datePicker but... down of this widget i got a dojoCombo box, and I got the same Error here it is




Error loading jmaki.widgets.dojo.combobox.Widget : id=detallesCntctoEstado


Script: undefined (line:163).


Message: cStyle has no properties



I think is the same error...




Hi I got this in a11y.js

[code]
29 if (window.getComputedStyle) {
30 var cStyle = getComputedStyle(div, "");
31 if (cStyle) bkImg = cStyle.getPropertyValue("background-image");
32 } else {
33 bkImg = div.currentStyle.backgroundImage;
34 }
35 var bUseImgElem = false;
36 if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)")) {
37 this.accessible = true;
38 }
[/code]

Do I quit the else statement?

Message was edited by: dinamlab

dinamlab
Offline
Joined: 2005-09-20
Points: 0

Hi I replace the line 32 but i got this

Error loading jmaki.widgets.dojo.tabbedview.Widget : id=dojo_tabbedview0
Script: undefined (line:140).
Message: div.currentStyle has no properties


I think I solve my problem not by the best way but all the widgets i want with their functionalitiy ar workin i just add a Fake dropdowndatepicker



[code]

[/code]





Message was edited by: dinamlab