[Dojo-interest] Need help in understanding what's going on

Harry Devine lifter89 at comcast.net
Tue Jun 29 10:46:20 EDT 2010

On 06/29/2010 10:49 AM, jekser wrote:
> How do you call/connect/subscribe the onPlayerClick?
> -----
> -jekser
Like this:

<div dojoType="dijit.tree.ForestStoreModel" jsId="playerModel" 
store="playerStore" query="{type:'profile'}"></div>
<div dojoType="dijit.Tree" id="playertree" model="playerModel" 
showRoot="false" onClick="onPlayerClick"></div>

Then my onPlayerClick looks like this (in my <head> area):

<script type="text/javascript">
            function onPlayerClick(item){
               var infopane = dijit.byId("info");
               infopane.attr("href", item.url);


More information about the Dojo-interest mailing list