felarov | 18 Dec 18:00 2014

dojox/mobile/ScrollableView cannot go higher / cannot go lower event

In Google Play and in the modern apps Google enlarges the header section if
you scroll the below section and this section has reaches its maximum
downwards scroll. Am I correct that there are currently no events with whom
I could detect this maximum down and maximum up position of the Scrollable
View ? Is there any planning to implement this ?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojox-mobile-ScrollableView-cannot-go-higher-cannot-go-lower-event-tp4004720.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

rraji | 18 Dec 15:05 2014

dojo 1.10.2 minification not working in IE11

we are using dojo 1.10.2 minification not working in IE11 web browser  i.e we
will take all the common require included in different pages in one js and
we will import that common js in everypage. could anyone suggest an solution
why it is not working..

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojo-1-10-2-minification-not-working-in-IE11-tp4004716.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

rraji | 18 Dec 14:43 2014

dojo/on window resize event is not triggering in ready function in IE11 browser

dojo/on window resize event is not triggering in IE11. I placed the function
in dojo ready . could any one suggest any idea. 

        
require(["dojo/ready","dojo/on","dojo/domReady!"],function(ready,on) {
                                    ready(function() {

                                 on(window,"resize",resizefunction);

                                    });
                                });

  The resizefunction() is not calling when i resize the window(IE11
Browser). Can anyone suggest an solution??

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojo-on-window-resize-event-is-not-triggering-in-ready-function-in-IE11-browser-tp4004714.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

dolot | 18 Dec 14:23 2014

Problem with dojo.connect - wrong elements responding.

I have a simple interface with one select element, two radio inputs, and a
text input.  I have the select element and the text element wired to two
separate events.  The radio elements are not wired to anything at all - at
least not to my knowledge - but when they are clicked on, the event that the
select element is wired to gets called.

self.templateChangedListener =
dojo.connect(query(".FeatureSelectionList")[0], "onchange", this,
_template_TemplateUpdated, true);
self.templateAngleChanged = dojo.connect(query(".templateAngleText")[0],
"onkeydown", this, _template_AngleChanged, true);

If I take out the first line - the one that connects the selector to the
event, the problem goes away.  But of course, that leaves my selector with
no event handler, and that's not good either.  :)

Any ideas as to what may be going wrong?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Problem-with-dojo-connect-wrong-elements-responding-tp4004713.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

ProjectDojo | 18 Dec 08:51 2014
Picon

tooltip for enhanced grid is displaying at bottom of my webpagedojo

Css for the tooltip is is not rendering .

As i have included enhancedgrid.css and called "claro" class on body load..

 here is the code I have written for the show tooltip on mouseover for each
cell in the grid.

value are displaying, but at the bottom of my web page.
 I want to display for just below the cell node.

please help on this.

  var gridTooltip = new dijit.Tooltip({
	            connectId: 'grid4',
	            selector: "td",
	            position: ["below"],
	            getContent: function (matchedNode) {
	                var childNode = matchedNode.childNodes[0];
	                return matchedNode.textContent;
	            }
	        });

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/tooltip-for-enhanced-grid-is-displaying-at-bottom-of-my-webpagedojo-tp4004710.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
(Continue reading)

Nick Fenwick | 18 Dec 05:00 2014

FloatingPane initial size 0 with widget content during construction when no refNode provided

Hi all, I'm putting a BorderContainer based widget inside FloatingPane 
programatically and having trouble with the size of the FloatingPane.  I 
wanted to report my finding and ask a question.

The quick message here is: always instantiate FloatingPane 
programatically *with a refNode specified* so that it's in the DOM 
during postCreate(), and not detached from the DOM.

Broken behaviour: http://dojo-sandbox.net/neek/7306b/1
Fixed behaviour: http://dojo-sandbox.net/neek/7306b/2

I see that FloatingPane.postCreate sets up _naturalState with:

this._naturalState = domGeom.position(this.domNode);

When not in the DOM, this is being initialised as {t: 0, l: 0, w: 0, h: 
0} despite it having content that would give it size.

Later during resize this is used:

         dim = dim || this._naturalState;
[..cut..]
         // Now resize canvas
         var mbCanvas = { l: 0, t: 0, w: dim.w, h: (dim.h - 
this.focusNode.offsetHeight) };
         domGeom.setMarginBox(this.canvas, mbCanvas);

The result is that the FloatingPane is created with zero width, and if 
you drag it to be larger, when you resize the window the 
_ContentPaneResizeMixin hook on Viewport's 'resize' event causes the 
(Continue reading)

Sagar Srivastava01 | 17 Dec 06:29 2014

dojoxPortletIcon - Disappears in IE8 on Move/Drag

Dear All,

 

I am facing issue when trying to drag/move widget. Portlet minimize/ close icons disappears in IE8. I can still minimize/close, icons are only invisible now. In case of IE9 it is working fine.

 

1)      In case of IE8 developers tools shows following output for Icons class:-

<img class=”dojoxPortletIcon dojoxArrowDown” role=”presentation”…………………………….>

GridContainer.css  inline style visibility : visible;

 

2)      Now if I move/drag widget, icons disappears. In developer tool if uncheck and check again the above mentioned inline style visibility, icons appears again.

 

 

 

Any input will help.

 

Regards,

Sagar

**************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Harry Devine | 16 Dec 20:03 2014
Picon
Picon

Making my application "mobile" aware

I am in the process of redesigning a website that I support.  I am 
pretty happy with how it is turning out so far.  I have my frontend 
interacting with the data in a MySQL database, and I retrieve the data 
via a series of XHR calls where appropriate.

I am at the point where I'd like to make the site be able to handle 
being run on a phone or tablet.  I have been starting to read up on the 
dojo/mobile stuff, but I'm having some issues understanding how to tie 
it all together.  From what I can tell, in my main page, I would have to 
check to see if I'm somehow on a mobile device?

Take this snippet for example from my main page's <head> area:

<script type="text/javascript">
   require(["dojo/parser",
            "dijit/form/Button",
            "dijit/form/TextBox",
            "dijit/form/ComboBox",
            "dijit/Dialog",
            "dojo/domReady!"],
            function(parser, Button, TextBox, ComboBox,Dialog) {
               parser.parse();
            });
</script>

Would I add code there to check for being run on a mobile device, using 
something like has("ios"), etc., and redirect to the mobile portion that 
I have yet to create?  And when I do create that portion, can I keep the 
same type of XHR calls underneath to still interact with the database I 
have?

Thanks for any thoughts and input.  Just trying to get the process 
straight in my head so I can begin this portion of my development.

Harry
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Mark Lewin | 16 Dec 17:46 2014
Picon

Re: how to call function in html file loaded in content pane

This SO post should give you some useful pointers:

http://stackoverflow.com/questions/9626821/dojo-amd-cant-call-a-function-inside-a-require

 

> On Sun, Dec 14, 2014, at 01:22 PM, medesi73 wrote:
> > We are using full AMD modal so all the function are defined inside the
> > loading function, now we want to call the function from out side where we
> > are handling the content pane unload.
> > 
> > lets take my html is 
> > 
> > require( ["dojo/_base/lang",
> >             "dojo/_base/array",
> >             "dijit/registry",
> >             "dojo/Deferred",
> >             "dojo/topic",
> >             "dojo/store/Memory",
> >             "dijit/form/TextBox"], function (lang, array,registry,
> >             deferred,
> > topic, MemoryStore, textBox){
> > 
> >                      this.tpHander =  topic.subscripbe("XXXXX",
> >                      function(e)
> > {
> >                                 xxxx
> >                                 xxxxx
> >                       });
> >                       function unregisterTopic() {
> >                                 tpHandelr.remove();
> >                      };
> >               });
> > <body>
> >   xxxxxxxxxxx
> > </body>
> > 
> > The above page is loaded to content pane when a link is clicked 
> > Here is the code in other module where we want to handle the pageUnload
> > logic
> > 
> > 
> > var ctPane = mainWindow.getContentPane();
> > dojo.connect(ctPane, "onUnload, this.pageUnload);
> > 
> > function pageUnload() {
> >    Here we want to call the unregisterTopic how to achieve this ??
> > }
> > 
> > Please send me if you have example code.
> > 
> > Thanks,
> > Durga
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://dojo-toolkit.33424.n3.nabble.com/how-to-call-function-in-html-file-loaded-in-content-pane-tp4004652p4004662.html
> > Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> > -- 
> > Dojo Toolkit: http://dojotoolkit.org/
> > Tutorials: http://dojotoolkit.org/documentation/
> > 
> > Dojo-interest <at> mail.dojotoolkit.org
> > To unsubscribe, visit:
> > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Peter_dojo | 16 Dec 15:26 2014
Picon

dgrid and dstore. Scroll added row into view

Hello,

dgrid 4 based on a dstore.

When a new data record is added to the store, I would like the dgrid to
scroll it into view.

I can't find a 

dstore.scrollIntoView(record)
function.

Any ideas ?

Thank you!
Peter

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dgrid-and-dstore-Scroll-added-row-into-view-tp4004685.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Simon Speich | 16 Dec 11:16 2014
Picon

How to switch between minified and full AMD's

I have my IDE automatically generate minified versions of my js files, e.g.
myAMDModule.js and myAMDModule.min.js upon every file save. Now, for
production I would like to switch from the full to the minified version
without having to change all AMD require calls. I also don't want to use a
full build system.

I though of somehow using the dojoConfig.packages property, I guess instead
of storing the minified versions in the same directory, I could have a
parallel folder structure for the minified versions. But that is kind of
pain to maintain. It would be nicer if I could just tell or modify the
module loader to just insert the 'min' between 'myAMDModule' and '.js'

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-switch-between-minified-and-full-AMD-s-tp4004680.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane