Adam Peller | 1 Apr 2010 02:03
Picon

Re: dojo DOH not working under firefox 3


file: is generally broken in FF3 due to security consideration.  You need to
mess with some of the configuration in about:config.  We used to have a FAQ
on this somewhere...
--

-- 
View this message in context: http://n3.nabble.com/dojo-DOH-not-working-under-firefox-3-tp688393p689689.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

dachuan | 1 Apr 2010 03:40
Picon

dojox.layout.ExpandoPane css problem

    <link rel="stylesheet" href="dojoroot/dojox/layout/tests/_expando.css" type="text/css" />
    <link rel="stylesheet" href="dojoroot/dojox/layout/resouces/ExpandoPane.css" type="text/css" />


test_ExpandoPane.html recommends users use the latter method, but it doesn't work.

the former one works fine.

is this a bug?


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Tom Shinnick | 1 Apr 2010 04:49
Picon

Re: dojo DOH not working under firefox 3


Google for  security.fileuri.strict_origin_policy

or just use about:config and set
    security.fileuri.strict_origin_policy   to   false

The default is  true  which won't allow local JS to run.

--

-- 
View this message in context: http://n3.nabble.com/dojo-DOH-not-working-under-firefox-3-tp688393p689912.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Kitson Kelly | 1 Apr 2010 08:18
Picon
Favicon
Gravatar

Re: dojox.layout.ExpandoPane css problem

No, as the latter works fine for me.

What other sheets are you importing.  It is likely you are missing the basic dijit theme CSS.

You should have at least the following as well:
"dojo/resources/dojo.css"
"dijit/themes/{theme}/{theme}.css"

On 1 April 2010 02:40, dachuan <hdc1112 <at> gmail.com> wrote:
    <link rel="stylesheet" href="dojoroot/dojox/layout/tests/_expando.css" type="text/css" />
    <link rel="stylesheet" href="dojoroot/dojox/layout/resouces/ExpandoPane.css" type="text/css" />


test_ExpandoPane.html recommends users use the latter method, but it doesn't work.

the former one works fine.

is this a bug?



_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest




--
Asseverate Limited (Registration No. 6964209) is a limited company incorporated in England and Wales with its registered office at 149A Bedford Hill, London, SW12 9HF.
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
dachuan | 1 Apr 2010 09:27
Picon

dojox.layout.ExpandoPane css problem

my code is

    <link rel="stylesheet" href="dojoroot/dojox/layout/tests/_expando.css" type="text/css" />
    <link rel="stylesheet" href="dojoroot/dojo/resouces/dojo.css" />
    <link rel="stylesheet" id="themeStyles" href="dojoroot/dijit/themes/tundra/tundra.css" type="text/css" />
    <!-- <link rel="stylesheet" href="dojoroot/dojox/layout/resouces/ExpandoPane.css" type="text/css" /> -->

and i test many times, but it doesn't work ...

the code above is correct in my browser, firefox.

if i uncomment the last line, and comment the first line, it doesn't work. .. the font is ugly. haha..

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
wardloockx | 1 Apr 2010 09:29
Picon

dojo.extend ValidationtextBox and keep tooltips


Hello,

I'm trying to extend the ValidationTextBox displayMessage function in order
to display the errors on another way.... But I still want to keep the
current tooltip displayMessage from dojo and just add my functionality
instead of replacing.. Is this possible ? --> By calling super() or
something?

I now have the following code but the tooltips aren't shown anymore on field
error...... 

dojo.addOnLoad(function() {
        dojo.extend(dijit.form.ValidationTextBox, {
            displayMessage: function(_d) {
            this.inherited("displayMessage",arguments);
               var tabs =
dojo.query('div[dojotype="dijit.layout.ContentPane"]');
               var errorTab = getParentTab(this.domNode);
               if(!this.isValid()){
                    for(i=0; i < tabs.length; i++){
                        if (errorTab.id == tabs[i].id){
                           addErrorListItem(this.getErrorMessage());
                           markTabErrorByIndex(i);
                        }
                    }
               } else {
                  for(i=0; i < tabs.length; i++){
                      if (errorTab.id == tabs[i].id){
                           clearTabErrorByIndex(i);
                      }
                  }
                }
            }
        });
    });

--

-- 
View this message in context: http://n3.nabble.com/dojo-extend-ValidationtextBox-and-keep-tooltips-tp690236p690236.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

dachuan | 1 Apr 2010 09:31
Picon

Re: dojox.layout.ExpandoPane css problem

i would like to solve this problem quickly, because now i could only debug with "dojo-src" package instead of more compressed "compressed dojo" package.

because there seems no _expando.css in "compressed dojo"package.

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Alberto75 | 1 Apr 2010 10:40
Picon
Picon
Favicon

Re: experiencing problems in FF3 and IE8


I made it work in FF3. In the end I removed the bordercontainer and it works
smoothly !!!!

The point is that I get the same errors in IE8.

I added the line "<meta name="X-UA-Compatible" value="IE=EmulateIE7" />"
Jared told me but i still get the error:

Message: This member hasn't been found.
Line: 20
Character: 48581
Code: 0
URI: http://localhost:8085/DMA.v2/Library/dojo_release1_1_1/dojo/dojo.js

That is here:
tnl=function(arr){herearr.constructor=dojo.NodeList;dojo._mixin

Any guess ?

Thanks a lot

--

-- 
View this message in context: http://n3.nabble.com/experiencing-problems-in-FF3-and-IE8-tp469195p690325.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Dustin Machi | 1 Apr 2010 14:27
Favicon
Gravatar

Re: experiencing problems in FF3 and IE8

I think you need a more recent version of Dojo.  IE8 wasn't released  
at the time dojo 1.1.1 was out.

Dustin

On Apr 1, 2010, at 4:40 AM, Alberto75 wrote:

>
> I made it work in FF3. In the end I removed the bordercontainer and  
> it works
> smoothly !!!!
>
> The point is that I get the same errors in IE8.
>
> I added the line "<meta name="X-UA-Compatible"  
> value="IE=EmulateIE7" />"
> Jared told me but i still get the error:
>
> Message: This member hasn't been found.
> Line: 20
> Character: 48581
> Code: 0
> URI: http://localhost:8085/DMA.v2/Library/dojo_release1_1_1/dojo/dojo.js
>
> That is here:
> tnl=function(arr){herearr.constructor=dojo.NodeList;dojo._mixin
>
> Any guess ?
>
> Thanks a lot
>
>
> -- 
> View this message in context: http://n3.nabble.com/experiencing-problems-in-FF3-and-IE8-tp469195p690325.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest <at> mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Peter Higgins | 1 Apr 2010 14:49
Favicon
Gravatar

Re: dojox.layout.ExpandoPane css problem

Sorry, meant to send this out last evening:

dachuan wrote:
>     <link rel="stylesheet" 
> href="dojoroot/dojox/layout/tests/_expando.css" type="text/css" />
>     <link rel="stylesheet" 
> href="dojoroot/dojox/layout/resouces/ExpandoPane.css" type="text/css" />
>
>
> test_ExpandoPane.html recommends users use the latter method, but it 
> doesn't work.
>
> the former one works fine.
>
> is this a bug?
>
the first few lines of _expando.css are:

 <at> import "../../../dojo/resources/dojo.css";
 <at> import "../../../dijit/tests/css/dijitTests.css";

 <at> import "../resources/FloatingPane.css";
 <at> import "../resources/ExpandoPane.css";

which just load the "stock" test css, and FloatingPane css (it is/was 
part of the test ... maybe a relic) and some other [hopefully] 
test-specific rules. ExpandoPane.css should work for stock themes like 
tundra/soria/nihilo with just tundra.css + ExpandoPane.css

Are you sure you are including the proper theme css and have <body 
class="themeName"> set?

Regards,
Peter
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest <at> mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>   

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane