gumbawumba | 26 Jan 02:59 2015
Picon

Re: Help with remote form inside ContentPane

http://dojotoolkit.org/reference-guide/1.10/dojox/layout/ContentPane.html

If you need to execute JavaScript inside your content panes, use
dojox/layout/ContentPane instead of dijit/layout/ContentPane and set
executeScripts=”true”. Actually executeScripts defaults to “true” but might
be a visual cue down the road as to why you are using
dojox/layout/ContentPane.

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Help-with-remote-form-inside-ContentPane-tp4005073p4005102.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
tsemachh | 25 Jan 09:52 2015
Picon

Integrating Mask with ValidationTexBox and its sub widgets

Hi
I need to perform mask on validation text box and its sub widgets.
Came across few jquery plugins which does it.
Also came across porting of one of the plugins to Dojo
(
http://blog.aspnet.sk/xxxmatko/archive/2012/08/31/dojo-masked-input-plugin.aspx
<http://blog.aspnet.sk/xxxmatko/archive/2012/08/31/dojo-masked-input-plugin.aspx>  
Trying oto make it work in better integration with dijit now)

Now main issue is how to deal with integration of the pattern in
ValidationTextBox
(And if to be specifc also in DateTextBox which is localized) with this
plugin.
It looks like I need to 
- bind the Regexp of the dijit to the one in the mask
- Allow the placeHolder to be valid in case it's empty or partial (vs. the
partial RegExp)

Had anyone tried similar approach with concrete results ?
If not I'll give it a try and update you on the outcome of it.
thanks
tsemach.

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Integrating-Mask-with-ValidationTexBox-and-its-sub-widgets-tp4005094.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

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

(Continue reading)

medesi73 | 24 Jan 13:54 2015
Picon

Context of AMD function

If we create a page in AMD modal like below what is the context of "this"
refers to  and how to get the context of the amd function, how to get the
below amd as an object ?

<html>

<head>

</head>

<body>
    <div id="Container"></div>
</body>

</html>

Thanks,
Durga

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Context-of-AMD-function-tp4005082.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

(Continue reading)

mc007 | 24 Jan 02:47 2015

Re: Help with remote form inside ContentPane

there are 2+ topics within the last board pages, pointing to the same
solution: 'templatify' your widgets on the fly.

-----
PHP based file manager powered by Dojo toolkit 
--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Help-with-remote-form-inside-ContentPane-tp4005073p4005075.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

Bo Lorentsen | 23 Jan 20:19 2015
Picon

dojo2 in TypeScript

Hi ...

I just found that the dojo/dojo2 github is really written in TS, this is
awesome !.

Is this just a test project or is the intention really to go for
typescript for future dojo dev. I have seen at small comment here and
there but this looks like more than just talk :-)

I think dojo as a pure TS library (the first ?) would make sense, as
dojo sites easily get quite large, I really just like to know what that
plan is in the long run or was this a test that just died ?

/BL
--

-- 
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 | 23 Jan 16:24 2015
Picon
Picon

dojo-smore RequestMemory fetching data

I have a page that used to use an ItemFileReadStore to read a json file 
and populate a Dojo DropDownButton.  I want to update it to use 
dojo-smore RequestMemory (which I've used on other projects that use 
dgrid and it works well).  All of the data requests between dgrid and 
RequestMemory work great.  However, in this case, I need to be able to 
traverse the data and for each item, create the DropDownButton 
programatically.  My original code was using fetch to get the item, and 
had a callback function for onItem, which would read the data and create 
the button.

So, how do I traverse the data that RequestMemory gets so I can mimic 
this function?  Here's an example of what my current ItemFileReadStore 
implementation is working:

       function gotItem(item, request){
         var rack = serverStore.getValue(item,"rack");
         var order = serverStore.getValue(item,"order");
         var servername = serverStore.getValue(item, "server");
         var serverDiv = "rack" + rack + "server" + order;
         var server = dojo.byId(serverDiv);

         var tooltip = new dijit.TooltipDialog({
           content:"<table border=0><tr><td>Server:</td><td><input 
data-dojo-type=\"dijit.form.TextBox\" value=\"" + servername + "\" 
type=\"text\" disabled></td>" +
"<tr><td>IP:</td><td><input data-dojo-type=\"dijit.form.TextBox\" 
value=\"" + serverStore.getValue(item,"ip") + "\" disabled></td>" +
"<tr><td>OS:</td><td><input data-dojo-type=\"dijit.form.TextBox\" 
value=\"" + serverStore.getValue(item,"os") + "\" type=\"text\" 
disabled></td>" +
(Continue reading)

Sagar Srivastava01 | 23 Jan 15:20 2015

EnhanceGrid-indirectSelection

Dear All,

 

I have two queries on dojox.grid.EnhancedGrid, Please help.

 

1)      In dynamically created dojox.grid.EnhancedGrid with indirectSelection: true. I have a scenario where I am changing the store of the grid based on the Value selected in a drop down.

Facing issue with Radio button selection, if I have selected a record in a grid and select another value from a dropdown, grid store and layout gets changed but Radio selection retains.

gridID.setStore(storeA);

gridID.setStructure(gridLayoutA);

Need some piece of code to refresh grid so that radio button selected will also get Unselect.

 

2)      Enhance grid is allowing to select Or un select both operations for Radio buttons. Please let me know how to restrict user to unselect the radio button.

 

Request your quick response.

 

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
Sagar Srivastava01 | 23 Jan 15:13 2015

EnhancedGrid -indirectSelection

Dear All,

 

I have two queries on dojox.grid.EnhancedGrid, Please help.

 

1)      In dynamically created dojox.grid.EnhancedGrid with indirectSelection: true. I have a scenario where I am changing the store of the grid based on the Value selected in a drop down.

Facing issue with Radio button selection, if I have selected a record in a grid and select another value from a dropdown, grid store and layout gets changed but Radio selection retains.

gridID.setStore(storeA);

gridID.setStructure(gridLayoutA);

Need some piece of code to refresh grid so that radio button selected will also get Unselect.

 

2)      Enhance grid is allowing to select Or un select both operations for Radio buttons. Please let me know how to restrict user to unselect the radio button.

 

Request your quick response.

 

Regards,

Sagar

 

From: Sagar Srivastava01
Sent: Wednesday, December 17, 2014 6:28 PM
To: 'dojo-interest <at> mail.dojotoolkit.org'
Subject: RE: [Dojo-interest] dojoxPortletIcon - Disappears in IE8 on Move/Drag

 

Dear Dylan,

 

I am able to resolve the issue JAdded below two lines and code working properly now.

 

<!DOCTYPE html>

<meta http-equiv="X-UA-Compatible" content="IE=8"/>

 

Thanks for your support.

 

Regards,

Sagar

From: Sagar Srivastava01
Sent: Wednesday, December 17, 2014 6:06 PM
To: dojo-interest <at> mail.dojotoolkit.org
Subject: RE: [Dojo-interest] dojoxPortletIcon - Disappears in IE8 on Move/Drag

 

Dear Dylan,

 

Thanks for your input.

 

I have used the doctype <!DOCTYPE html>

 

Now class is coming as  <html class="dj_ie dj_ie7 dj_contentbox" style="overflow: hidden;">

Portlet icons are behaving properly now but as Overflow is coming as hidden I am not able to scroll my page.

Browser mode is IE9 compact view and document mode IE8 standards.

 

Ideally it should come dj_ie dj_ie8 dj_contentbox,

 

Please suggest what else I am missing?

 

Regards,

Sagar

-----Original Message-----
From: dojo-interest-bounces <at> mail.dojotoolkit.org [mailto:dojo-interest-bounces <at> mail.dojotoolkit.org] On Behalf Of Dylan Schiemann
Sent: Wednesday, December 17, 2014 4:56 PM
To: dojo-interest <at> mail.dojotoolkit.org
Subject: Re: [Dojo-interest] dojoxPortletIcon - Disappears in IE8 on Move/Drag

 

Use the HTML5 doctype in your page to prevent it from being kicked into quirksmode.

 

Regards,

-Dylan

 

on 12/17/14, 1:49 (GMT-07:00) Sagar Srivastava01 said the following:

> Dear All,

>

>

> Issue does not exist in standalone program with same dojo version(

> dojo-release-1.8.6).

>

>

> After analyzing more on the same issue, I found one difference:-

>

>

> My Page is loading as

>

> <html class=” *dj_quirks dj_ie dj_ie7 dj_iequirks dj_borderbox”>*

>

>

> Standalonesample is loading as html class:-

>

> <html class=”dj_ie dj_ie8 dj_contentbox “>

>

>

> I tried to override the html class by defining html tag as below:-

>

>

> <html class="dj_ie dj_ie8 dj_contentbox">

>

> ----

>

> </html>

>

>

> But on load of page it becomes as

>

> <html class=” dj_ie dj_ie8 dj_contentbox *dj_quirks dj_ie dj_ie7

> dj_iequirks dj_borderbox”>*

>

>

> Any input will help.

>

>

> Regards,

>

> Sagar

>

> *From:* Sagar Srivastava01

> *Sent:* Wednesday, December 17, 2014 11:00 AM

> *To:* dojo-interest <at> mail.dojotoolkit.org

> *Subject:* 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***

>

 

--

Dylan Schiemann

SitePen, Inc.

Dojo workshops in the US, Canada, and Europe:

http://www.sitepen.com/workshops/

SitePen Insider: http://sitepen.com/insider/ http://www.sitepen.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
Shahzad Bhatti | 23 Jan 14:48 2015
Picon

Dgrid Store Query

Hi All
I am trying to filter records from dgrid, i wanted to ask if query only works on visible columns or it can be applied to all the item attributes of store. Another does it also works on true/false? 
for example i have these type of item records in dgrid
{id:"1",name:"shahzad",age:"100",gender:"male",country:"pakistan",alive:true}

and two fields in dgrid name and age so can i apply query on other attributes like "age" and on boolean attribute like alive?
i am using it like this 
dgrd.set("query",{alive:true});
but somehow it removes all elements from dgrid, i am not sure what's the problem.
Any Idea?
Thank You

--

-- 
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
lbod | 23 Jan 01:36 2015
Picon

The Dojo AMD loader interop with jQuery and third party plugin non AMD catch 22

I rarely use jQuery nowadays but seeing as the corp I work for are trying to
move away from Dojo and use jQuery along with various plugins of various
support and quality on an existing Dojo site which works (or worked) well,
I've been faced with looking at an issue this is causing.

I've read various documentation on this, whilst the well written
documentation on requirejs could provide a solution to this (shim config),
it'd mean having to switch out the Dojo loader for requirejs just to use it.
I've seen the arguments why this is non standard but I'm left feeling it
sets another poor experience for end developers of both Dojo and AMD. 

The use case is this: An existing Dojo site wants to use jQuery (1.11) along
with a plugin called waypoints. The waypoints plugin "supports" AMD however
a further plugin (Counter-Up) depends on waypoints, however that doesn't
support the AMD 'shim'.

From a developers point of view, using jQuery only without any AMD loader
this would seem to be straightforward to them i.e. include scripts jQuery >
waypoints > Counter-Up. 

With an AMD loader in the way, jQuery tests for `if ( typeof define ===
"function" && define.amd ) `, the same as the AMD compliant plugin and can
be loaded as an AMD module, however the secondary plugin isn't AMD aware so
it can't prototype the first plugin. The only option I have is converting
this plugin to support AMD and seeing as there's been little activity on it
for a long time I'd doubt a PR is accepted.

The above is only a test case, the same issue shows in many other pages
where they're using jQuery plugins alongside Dojo.

Ignoring the fact JQ plugins such as these are poorly supported I also can't
help thinking the change made to JQ for the removal of the
`define.amd.jQuery` property in 1.9
(https://groups.google.com/forum/#!topic/amd-implement/4Y-z6vqob7k) was a
bad idea. I could manually remove the define test, or add back the
`define.amd.jQuery`property test (to both JQ and the AMD aware plugin) so it
works correctly for this non AMD aware plugin but obviously that's another
hack.

Currently the best solution seems to be to make sure all JQ scripts are
loaded before the Dojo loader i.e. place all JQ includes above the Dojo
include, I can't help thinking this again is just another hack (and error
prone) so I'd appreciate any advice or feedback on a more future proof
solution.

I saw a question on here from 2013 re using the `use!` plugin for the same
issue but there weren't any replies.

Thanks

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/The-Dojo-AMD-loader-interop-with-jQuery-and-third-party-plugin-non-AMD-catch-22-tp4005047.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

mc007 | 22 Jan 15:52 2015

deep query on dstore?

Seems to be another show-stopper when upgrading to dstore/dgrid: 

Does anyone knows what's the replacement for deep queries in dstore? Do I
have to create then per item a new store (pretty much a nogo) ? In dojox/*
it was not a problem. This is the common struct for my objects:

[ 
 { 
   id:...
    meta:[
    {
     id:...
     title:'my meta prop'
    }
  ]
}
]

thanks,
g

-----
PHP based file manager powered by Dojo toolkit 
--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/deep-query-on-dstore-tp4005038.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