Jeffrey Porter | 1 May 2007 12:10
Picon
Picon

Re: Dojo Button causes IE to report "Error loading"

I’ve given up trying to sort this.

Just placed images that look like buttons.

 

For those that might want to look into it...

 

 

Dojo button in a form

Form in its own jsp file

Jsp file loaded via a <div> tag

Div tag type of dojo docpane.

Docpane loaded via code...

                // date seconds used so page never gets cached.

var docPane = dojo.widget.getWidgetById("docpane");

                docPane.setUrl(location+"?ignore="+new Date().getSeconds());

 

jsp file that contains the docpane is contained in another jsp file via a dojo contentpane.

 

Jeff Porter

 

 

 

From: dojo-interest-bounces <at> dojotoolkit.org [mailto:dojo-interest-bounces <at> dojotoolkit.org] On Behalf Of Jeffrey Porter
Sent: 30 April 2007 17:42
To: dojo-interest <at> dojotoolkit.org
Subject: [Dojo-interest] Dojo Button causes IE to report "Error loading"

 

I have an external page loaded into a div component.

 

As soon as I add a dojoType button and load the page in IE7 I get the message...

Code added: <button  dojoType="Button"  widgetId="moveRightButton" >Remove Selected(Right)</button>

Note: the code works and excutes in FireFox.

 

*********************

Error loading 'xframe2CRUDUser01.jsp' (200 OK)

*********************

 

Yet this page works fine in FireFox!?!?!?

 

I know the error is thrown from ‘ContentPane.js’ line 73.

And the following values are passed...

 

type: error

xhr: [object]

url: 'xframe2CRUDUser01.jsp'

 

Does anyone have any ideas?

 

Jeff Porter

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
Andrew Liddle | 1 May 2007 12:53
Picon

Custom Dialogue widget approach

Hello,

I want to create a custom dialog component to display a set of filtering options for a table.

First I tried to create a custom widget which extended Dialog but that didn't work (template html).

Would I be better off just creating my custom component and then putting in a dialog container for displaying, or is there a better way of doing this?

Thanks

Andy

--
Andy Liddle
andyliddle <at> apotheosys.co.uk
andyliddle <at> gmail.com

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
Chris Hoy | 1 May 2007 16:24
Picon

TabContainer disable/enable specific tabls

Hi

I have a form with a TabController that contains a number of tabs. I have a
requrement to disable/enable the tabs depending on what data is loaded. I
can't see how to disable a specific tab

Chris

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

jayanth godavarthi | 1 May 2007 11:16
Picon

doubt on dojo

 <div dojoType="MenuBar2" id="menu" style="vertical-align:top;" >  
 <a dojoType="MenuBarItem2" caption="MENU1-Item 1"   ></a>
 <br><br>
 <a dojoType="MenuBarItem2" caption="MENU1-Item 1" submenuId="file1"></a>
 <br><br>
 <a dojoType="MenuBarItem2" caption="MENU1-Item 1" submenuId="file1"></a>
  
        
    </div>
 
      
      


<div dojoType="PopupMenu2" widgetId="file" >
<a dojoType="MenuItem2" caption="Advanced" submenuId="${this.widgetId}_refreshAdvancedMenu"></a>
<a dojoType="MenuItem2" caption="open" ></a>
<a dojoType="MenuItem2" caption="open" ></a>
<a dojoType="MenuItem2" caption="open" ></a>
</div>

<div dojoType="PopupMenu2" widgetId="${this.widgetId}_refreshAdvancedMenu">
<a dojoType="MenuItem2" caption="Force Stop"></a>
</div>

<div dojoType="PopupMenu2" widgetId="file1">
<div dojoType="MenuItem2" caption="Advanced" submenuId="${this.widgetId}_refreshAdvancedMenu1"></div>
</div>
<div dojoType="PopupMenu2" widgetId="${this.widgetId}_refreshAdvancedMenu1">
<div dojoType="MenuItem2" caption="Force Stop"></div>
</div>


 i am able to display the menu bar vertically and also popupmenus for the menubar but my problem can we display that popup menu in our desired position if yes please give me solution and please help me,i am using dojo widgets
                                                       thanks IN advance 
                                                       g.jayanth
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
m h | 1 May 2007 19:02
Picon

DND scroll pane?

I'm trying to do something similar to dragging/scrolling in google
maps.  I have a parent div that is filled with a bunch of children
divs.  When I click and drag on any of the children divs I'd like to
reposition the whole parent div.  I tried adding an HtmlDragSource to
the parent div and I it doesn't seem to do anything.

Any ideas or suggestions.  Most of the DND examples I've found are for
dealing with lists.  Would it be better just to attach to mousedown
events?

thanks much,

matt
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Rice Yeh | 1 May 2007 20:20
Picon

Re: The sizer does not work when IFrame is inside a SplitConatiner



On 3/11/07, LiuCougar <liucougar <at> gmail.com> wrote:
already fixed in trunk, see this ticket for details:
http://trac.dojotoolkit.org/ticket/1229

This fix seems not work in IE 7.0. It works on firefox.
 

On 3/11/07, Alex Russell <alex <at> dojotoolkit.org > wrote:
> Your iframe is "snarfing" mouse move events for sizing the iframe.
> You'll need to manually "mask" the iframe w/ a layer from the parent
> document when dragging starts in order to keep events flowing
> correctly.
>
> Regards
>
> On Sunday 11 March 2007 12:58 am, Rice Yeh wrote:
> > Hi,
> >   I write a IFrame widget and use it inside a SplitContainer and find
> > the sizer does not work (but it shows up). Does anyone have
> > similar experience?
> >
> > Rice
>
> --
> Alex Russell
> alex <at> sitepen.com     A99F 8785 F491 D5FD 04D7 ACD9 4158 FFDF 2894 6876
> alex <at> dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
>


--
http://www.liucougar.net
生于忧患,死于安乐
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage

_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest


_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
Rolando Bermúdez Peña | 1 May 2007 20:31
Picon

build nls error

Hi all,

I am trying to build a build of dojo that include a DropdownDatePicker widget, that include nls, but seems like the build is not including de nls module for the widget, an error will appear when try to use the widget,
FATAL exception raised: no loaded module named 'dojo.widget.nls.DropdownDatePicker'

my profile looks.

var dependencies=[
"dojo.widget.*",
"dojo.widget.DropdownDatePicker",
];
load("getDependencyList.js");


Someone know what this happens.
Best Regards
Roland.

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest
Jeff Chimene | 2 May 2007 01:57
Picon

addonload works in FF2 but not IE6

Hi,

Are there any gotchas w/r/t addonload() in IE6? I've installed the 4.2
"ajax" edition.

IE6 complains "object expected" Of course, all of the following works in
FF2:

In my <head> section:
    <script type="text/javascript">
      djConfig = { isDebug: true, cacheBust: true };
    </script>

    <script type="text/javascript" src="/root/static/dojo/dojo.js"></script>

    <script type="text/javascript">
      dojo.require("dojo.dnd.*");
      dojo.require("dojo.event.*");
      dojo.require("dojo.logging.*");
      dojo.require("aic.*");
    </script>

    < script type="text/javascript">dojo.addOnLoad(init);</script>

__package__.js contains:
    dojo.provide("aic");
    dojo.registerModulePath('aic', '../aic');
    dojo.require("aic.editor");

and in editor.js
    dojo.provide("aic.editor");

I see that the file (editor.js) request in the apache access log, and
the file is visible in the MS script debugger. It seems that when using
the MS script debugger command console, I cannot call /any/ functions
loaded w/ dojo.require()

TIA,
jec
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Yingqi Tang | 2 May 2007 02:52
Picon

How to set TabContainer's border to 0

All,

How to set TabContainer's border to 0? I tried to add
style="border:0px" but it doesn't work.

Anyone knows?

Thanks,
Yingqi
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://dojotoolkit.org/docs/book
Forums: http://dojotoolkit.org/forum
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

Eddie Huang | 2 May 2007 03:02
Picon

Re: addonload works in FF2 but not IE6

You have a syntax error. A trailing comma most likely.

Like this:
{ field:"one", }

Jeff Chimene wrote:
> Hi,
>
> Are there any gotchas w/r/t addonload() in IE6? I've installed the 4.2
> "ajax" edition.
>
> IE6 complains "object expected" Of course, all of the following works in
> FF2:
>
> In my <head> section:
>     <script type="text/javascript">
>       djConfig = { isDebug: true, cacheBust: true };
>     </script>
>
>     <script type="text/javascript" src="/root/static/dojo/dojo.js"></script>
>
>     <script type="text/javascript">
>       dojo.require("dojo.dnd.*");
>       dojo.require("dojo.event.*");
>       dojo.require("dojo.logging.*");
>       dojo.require("aic.*");
>     </script>
>
>     < script type="text/javascript">dojo.addOnLoad(init);</script>
>
> __package__.js contains:
>     dojo.provide("aic");
>     dojo.registerModulePath('aic', '../aic');
>     dojo.require("aic.editor");
>
> and in editor.js
>     dojo.provide("aic.editor");
>
> I see that the file (editor.js) request in the apache access log, and
> the file is visible in the MS script debugger. It seems that when using
> the MS script debugger command console, I cannot call /any/ functions
> loaded w/ dojo.require()
>
> TIA,
> jec
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest <at> dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>   

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


Gmane