<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user">
    <title>gmane.comp.web.dojo.user</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76585"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76584"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76583"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76582"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76581"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76580"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76579"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76578"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76577"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76576"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76575"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76574"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76573"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76572"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76571"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76570"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76569"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76568"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76567"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.dojo.user/76566"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76585">
    <title>how to use customized icon for dijit tree withclaro style?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76585</link>
    <description>&lt;pre&gt;Hi All

   I followed the example:
http://dojotoolkit.org/reference-guide/1.9/dijit/Tree.html
to try to make my own icon by overriding the function getIconClass like:

getIconClass:function(item, opened) {
    return
(!item||this.model.mayHaveChildren(item))?(opened?"watchFolderClosedIcon":
                                "watchFolderClosedIcon"):"dijitLeaf";
}

style definition is following:

watchFolderClosedIcon {
       background-image: url('imgs/close.gif');
            background-repeat: no-repeat;
}

*it works with tundra style but failed with claro style.*

What happen here? Thanks

Regards

gelin yan
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
&lt;/pre&gt;</description>
    <dc:creator>Gelin Yan</dc:creator>
    <dc:date>2013-06-19T03:08:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76584">
    <title>how to customize dijit tree node Icon with clarostyle</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76584</link>
    <description>&lt;pre&gt;Hi All

   I followed the example:
http://dojotoolkit.org/reference-guide/1.9/dijit/Tree.html
to try to make my own icon by overriding the function getIconClass like:

getIconClass:function(item, opened) {
    return
(!item||this.model.mayHaveChildren(item))?(opened?"watchFolderClosedIcon":
                                "watchFolderClosedIcon"):"dijitLeaf";
}

watchFolderClosedIcon {

}
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
&lt;/pre&gt;</description>
    <dc:creator>Gelin Yan</dc:creator>
    <dc:date>2013-06-19T03:04:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76583">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76583</link>
    <description>&lt;pre&gt;Your guess was correct.  Every example I've seen shows the function using the
name from the last part of the object in the require. 

So something like
require(["dojo/_base/declare","dgrid/extensions/DijitRegistry"]
    function(DijitRegistry,declare)
was ok.
 
Based on what you said and what works appears the order is important, but
the name isn't.



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Getting-Reference-to-a-grid-object-tp3997324p3997337.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

&lt;/pre&gt;</description>
    <dc:creator>mrbill</dc:creator>
    <dc:date>2013-06-19T00:09:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76582">
    <title>Re: startup() overriding...have i been doing it wrong all along?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76582</link>
    <description>&lt;pre&gt;Generally if startup is called multiple times, it's a mistake.  I
imagine it could be possible in cases where you have nested layout
widgets, though I believe at this point Dijit's layout widgets do
generally tend to check _started themselves before calling.

Secondly, yes you're right, generally if you want to extend startup and
ensure that your extended startup method isn't accidentally called
multiple times, you will need to do your own `if (this._started) {
return; }` check in the extension.

Thirdly, to answer down_quark's question, it depends what you need to do
as to whether you want to override postCreate or startup.  Widgets
aren't guaranteed to be in document flow at postCreate time, but they
are at startup time, so if you need to perform any logic that is
sensitive to the widget's size or placement in DOM, startup is the right
place to do it.

--Ken

On 6/18/2013 4:36 PM, down_quark wrote:
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: htt&lt;/pre&gt;</description>
    <dc:creator>Kenneth G. Franqueiro</dc:creator>
    <dc:date>2013-06-18T23:09:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76581">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76581</link>
    <description>&lt;pre&gt;It is perfectly valid to pass id within the arguments object as mrbill
is doing; the difference is that passing id in the arguments object will
create the node with that id, whereas passing a node or ID as the second
argument will reuse an existing node.  This is the same way that Dijit
widgets work.

Going back to the actual problem of "declare(...) is not a constructor",
my only immediate guess would be to make sure you didn't accidentally
misalign your dependencies array items with your factory function
parameters (i.e. make sure declare is what you think it is).  This is
only a guess, since the code posted didn't include the full
require/define call.

And Christoph was right, the DijitRegistry extension is responsible for
adding dgrid instances to the dijit registry (dgrid does not directly
rely upon Dijit otherwise), so that's what you want in this case.

--Ken

On 6/18/2013 6:05 PM, down_quark wrote:
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorial&lt;/pre&gt;</description>
    <dc:creator>Kenneth G. Franqueiro</dc:creator>
    <dc:date>2013-06-18T23:06:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76580">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76580</link>
    <description>&lt;pre&gt;mrbill wrote

id is STILL not a valid property of Grid. The id "awardGrid" must be the
last argument.
Also, I would recommend using an OnDemandGrid which supports using a Dojo
object store.
This is similar to what has worked for me:
var awardGrid = new(declare([OnDemandGrid, DijitRegistry]))({    columns: {       
awardDate: "Date",        bowler: "Bowler",        games: "Games",       
ave: "Ave",        g1: "Game 1",        g2: "Game 2",        g3: "Game 3",       
series: "Series",        score: "Award Score",        award: "Award"    }},
"awardGrid");function loadAwardGrid(selectedItem) {   
require(["dojo/request", "dijit/registry", "dojo/store/Memory",
"dojo/dom-construct"],        function (request, registry, Memory,
construct) {            request.post("php/ListAwards.php?season=" +
selectedItem.season, {                handleAs: "json"           
}).then(function (text) {                var theGrid =
registry.byId("awardGrid");                theGrid.store = new Memory({                   
data: tex&lt;/pre&gt;</description>
    <dc:creator>down_quark</dc:creator>
    <dc:date>2013-06-18T22:05:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76579">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76579</link>
    <description>&lt;pre&gt;The renderArray is done in the java script for the page.  It's not done till
the user selected the Awards item from the menu.  This is why I need to get
the reference to the Grid object so I can do the renderArray.



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Getting-Reference-to-a-grid-object-tp3997324p3997333.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

&lt;/pre&gt;</description>
    <dc:creator>mrbill</dc:creator>
    <dc:date>2013-06-18T20:39:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76578">
    <title>Re: startup() overriding...have i been doing itwrong all along?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76578</link>
    <description>&lt;pre&gt;Jamey Graham wrote



Can you let us know what you're trying to do by overriding startup()?

I was under the impression that the method one should override is
postCreate().

http://dojotoolkit.org/documentation/tutorials/1.9/understanding_widgetbase/



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/startup-overriding-have-i-been-doing-it-wrong-all-along-tp3997322p3997332.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
&lt;/pre&gt;</description>
    <dc:creator>down_quark</dc:creator>
    <dc:date>2013-06-18T20:36:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76577">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76577</link>
    <description>&lt;pre&gt;mrbill wrote


id is not a valid property of Grid. The id should be the last argument.
Also, I don't see where you give the grid data to render.
var awardGrid = new (declare([Grid, DijitRegistry]))({    columns: {
awardDate: { label: "Date", sortable: false },bowler: { label: "Bowler",
sortable: false },games: { label: "Games", sortable: false },ave: {
label: "Ave", sortable: false },g1: { label: "Game 1", sortable: false },
g2: { label: "Game 2", sortable: false },g3: { label: "Game 3", sortable:
false },series: { label: "Series", sortable: false },score: { label:
"Award Score", sortable: false },award: { label: "Award", sortable: false
}}}, "awardGrid");awardGrid.renderArray(arrayOfData); // render some data




--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Getting-Reference-to-a-grid-object-tp3997324p3997331.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.________________________________________________________
Dojo Toolkit: http://dojotoolk&lt;/pre&gt;</description>
    <dc:creator>down_quark</dc:creator>
    <dc:date>2013-06-18T20:24:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76576">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76576</link>
    <description>&lt;pre&gt;When I make modifications to use DijitRegistry I get the following exception
reported by FirebugTypeError: declare(...) is not a
constructorhttp://tricitybowling.net/d5_index.htmlLine 112I changed the
create of the grid to
var awardGrid = new (declare([Grid, DijitRegistry])) ({id: "awardGrid",
columns: [{ label: "Date", field: "awardDate", sortable: false },       
{ label: "Bowler", field: "bowler", sortable: false },{ label: "Games",
field: "games", sortable: false },{ label: "Ave", field: "ave", sortable:
false },{ label: "Game 1", field: "g1", sortable: false },{ label:
"Game 2", field: "g2", sortable: false },{ label: "Game 3", field: "g3",
sortable: false },{ label: "Series", field: "series", sortable: false },
{ label: "Award Score", field: "score", sortable: false },{ label:
"Award", field: "award", sortable: false }]});




--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Getting-Reference-to-a-grid-object-tp3997324p3997330.html
Sent from the D&lt;/pre&gt;</description>
    <dc:creator>mrbill</dc:creator>
    <dc:date>2013-06-18T20:04:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76575">
    <title>passing textbox values to sql server procedure</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76575</link>
    <description>&lt;pre&gt;My end aim is to pass the input values from textboxes to a function to pass
through and execute a stored procedure. Are there any known examples or
guidelines as how to do this?



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/passing-textbox-values-to-sql-server-procedure-tp3997329.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

&lt;/pre&gt;</description>
    <dc:creator>jdepp</dc:creator>
    <dc:date>2013-06-18T19:53:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76574">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76574</link>
    <description>&lt;pre&gt;Am 18.06.2013 21:03, schrieb mrbill:

I think what you're looking for is this grid extension:
https://github.com/SitePen/dgrid/wiki/DijitRegistry

&lt;/pre&gt;</description>
    <dc:creator>Christoph Zwerschke</dc:creator>
    <dc:date>2013-06-18T19:22:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76573">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76573</link>
    <description>&lt;pre&gt;Hmm, OK. I don't know if dijit.byId() still works in 1.9, I've only bee
using dijit/registry (
https://dojotoolkit.org/reference-guide/1.8/dijit/registry.html). You might
try that and see if it help you get a handle.
You're getting a DOM exception immediately on page load. I can't see where
that script is loaded, though (I'm using Chrome recent).

Normally what I do when I only use Dojo on a page, is create a custom
widget with its own template (
http://dojotoolkit.org/reference-guide/1.8/quickstart/writingWidgets.html)
so that it's loaded using the same require's as everything else. Then it's
much simpler to keep track of what happens when. Also it makes things
simpler when refactoring, as you can take chunks of stuff
that's repetitive or just large and create new custom widget's out of them,
which are then required in from the main widget (and so on)


Cheers,
PS


On Tue, Jun 18, 2013 at 12:03 PM, mrbill &amp;lt;mrbill&amp;lt; at &amp;gt;bharrison.net&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Peter Svensson</dc:creator>
    <dc:date>2013-06-18T19:16:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76572">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76572</link>
    <description>&lt;pre&gt;Actually I'm using 1.9.  The page loads and then at some point I choose the
menu option that causes the grid to be populated.  I've tried wrapping the
renderArray within a ready(....) but that didn't help either.

The base page is a BorderContainer with a title at the top.  The menu is on
the right and the body in the center.  It first loads with a ContainerPane
in the Center with the welcome page.  The other ContainerPanes for the
center are created in the base page but aren't added as children of the
BorderContainer.  Then when the menu option is taken the method called
Removes the welcome page from the BorderContainer, then adds the page for
the grid as a child of the BorderContainer.

This is where I need to get a reference for the awardGrid so I can use
renderArray against it.

The page is at http://tricitybowling.net/d5_index.html -&amp;gt; Current Weekly -&amp;gt;
Awards



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Getting-Reference-to-a-grid-object-tp3997324p3997326.html
Sent from th&lt;/pre&gt;</description>
    <dc:creator>mrbill</dc:creator>
    <dc:date>2013-06-18T19:03:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76571">
    <title>Re: Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76571</link>
    <description>&lt;pre&gt;Hi Bill, my guess is that you're trying to get the reference before the
code that creates the grid have had time to execute.
I'd recommend using dojo.addOnLoad (since you seem to be using Dojo
pre-1.7) to make sure your code executes when the page is ready.

What has most probably happened is that your code is loaded first (as a
script tag) and then only get a reference to the DOM node, then later down
in the web page, the grid is created, after your first code has run.

Cheers,
PS


On Tue, Jun 18, 2013 at 11:05 AM, mrbill &amp;lt;mrbill&amp;lt; at &amp;gt;bharrison.net&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Peter Svensson</dc:creator>
    <dc:date>2013-06-18T18:11:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76570">
    <title>Getting Reference to a grid object</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76570</link>
    <description>&lt;pre&gt;I have the following in the html file for my web page
  var awardGrid = new Grid ({id: "awardGrid",columns: [{ label:
"Date", field: "awardDate", sortable: false },{ label: "Bowler", field:
"bowler", sortable: false },{ label: "Games", field: "games", sortable:
false },{ label: "Ave", field: "ave", sortable: false },{ label: "Game
1", field: "g1", sortable: false },{ label: "Game 2", field: "g2",
sortable: false },{ label: "Game 3", field: "g3", sortable: false },{
label: "Series", field: "series", sortable: false },{ label: "Award
Score", field: "score", sortable: false },{ label: "Award", field:
"award", sortable: false }] });
Then in the javascript for the page I want to populate the grid.  I have not
been able to get a reference to the grid.I have tried the
followingdijit.byId("awardGrid") - Does not find the grid
registry.byId("awardGrid") - Does not find the griddom.byId("awardGrid") -
Finds the grid but the object it returns isn't a grid.  Doesn't have the
renderArra&lt;/pre&gt;</description>
    <dc:creator>mrbill</dc:creator>
    <dc:date>2013-06-18T18:05:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76569">
    <title>dojo/store/Cache and what get() returns</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76569</link>
    <description>&lt;pre&gt;Hi I am working with a new store using the Cache wrapper with a JsonRest as
my master store and a Memory as my cache store.

When I do a "get()" on the store it will either return a promise relating to
the request the json rest store is doing because the object does not exist
in the memory store. Or it will just return the object matching what ever id
I inject.

Now handling the returned object is frustrating as I have to do a check on
it to see if it is a promise or an item from the store.

Could this be fine tuned to always return a promise by default if a restful
(or request based) store is the master store?

or perhaps I am not using the cache correctly?



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dojo-store-Cache-and-what-get-returns-tp3997323.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: htt&lt;/pre&gt;</description>
    <dc:creator>Jeremy</dc:creator>
    <dc:date>2013-06-18T16:36:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76568">
    <title>startup() overriding...have i been doing it wrongall along?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76568</link>
    <description>&lt;pre&gt;I think I actually have two questions to ask:

1. is there any common path or construct where startup() can be called multiple times (other than programming errors...such as calling addChild() and startup())

2. have I (and possibly others..including dijit) been overriding startup incorrectly?  In retrospect, I realize its a dumb conclusion...but i always thought the "double execution" guard in _WidgetBase.startup (if (this._started) return;) protected against double execution.  But of course that only prevents _WidgetBase.startup() from double execution -- i should have the same if (this._started) check in any override -- so that's a change I'll make....

...but what about something like _FormMixin or _KeyNavContainer....are their startup() overrides buggy?________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-i&lt;/pre&gt;</description>
    <dc:creator>Jamey Graham</dc:creator>
    <dc:date>2013-06-18T15:51:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76567">
    <title>prevent form reloading or page reload after submit</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76567</link>
    <description>&lt;pre&gt;I am having a hard time trying to figure this out. I have a submit button
which when clicked accepts data from text boxes but the minute it does it
refreshes the entire page and I would like to try and prevent this from
happening.

     &amp;lt;body class="tundra"&amp;gt;
    &amp;lt;div data-dojo-type="dijit.form.Form" id="myForm" data-dojo-id="myForm" 
                             encType="multipart.form-data" action=""
method=""&amp;gt;
  
    &amp;lt;div id="view1" data-dojo-type="dojox.mobile.View" selected="true"&amp;gt; 

    


&amp;lt;input type="submit" id="clientSubmit" 
                    onclick="insertData();" class="style2"
dojoType="dojox.mobile.Button" value="Submit"&amp;gt;
     &amp;lt;button class="mblRedButton" data-dojo-type="dojox.mobile.Button" 
                    data-dojo-props='label:"Cancel"'
onClick="cancelData();"&amp;gt;&amp;lt;/button&amp;gt;
    

Also if someone can advise on how to access the input controls from the code
behind.
 



--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/prevent-form-reloading-or-page-reload-after-&lt;/pre&gt;</description>
    <dc:creator>jdepp</dc:creator>
    <dc:date>2013-06-18T14:33:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76566">
    <title>Re: Are there events emitted for a widget created and destroyed?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76566</link>
    <description>&lt;pre&gt;Well, what you *could* do is aspect the dijit/registry add and remove 
methods.

These are called when a widget is created and destroyed, and you'd be 
able to check the id of the incoming widgets.

On 6/17/2013 10:57 PM, Rice Yeh wrote:

________________________________________________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

Dojo-interest&amp;lt; at &amp;gt;mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
&lt;/pre&gt;</description>
    <dc:creator>Dan Rumney</dc:creator>
    <dc:date>2013-06-18T13:22:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.dojo.user/76565">
    <title>Re: dojox.calendar and refresh from server?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.dojo.user/76565</link>
    <description>&lt;pre&gt; Well, this is how I did it - please let me know if there is an easier way!

rosterData = new dojo.data.ItemFileReadStore({url:"get_obsroster.php",
                                                                             
clearOnClose:true,
                                                                             
urlPreventCache:true});
                        
rosterStore = new dojo.store.DataStore({store: rosterData});


                        
refreshRoster = new dijit.form.Button({
           label: "refresh Roster",
        onClick: function(){
                           console.log('Clicked refresh.');
                           rosterData.close();
                           newData = new
dojo.data.ItemFileReadStore({url:"get_obsroster.php"});
                           newStore = new dojo.store.DataStore({store:
newData});
                           rosterCal.set("store", newStore);
                           console.log('Leaving refresh. hahahha.');
        }
}, "refreshRoster");


I was hop&lt;/pre&gt;</description>
    <dc:creator>HubbaBubba</dc:creator>
    <dc:date>2013-06-18T11:39:29</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.dojo.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.dojo.user</link>
  </textinput>
</rdf:RDF>
