You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Daniel Lydiard <dl...@hotmail.com> on 2006/05/11 02:39:28 UTC

Tacos tree question

I have a tree where i'd like to have some nodes not-clickable, so I skip 
rendering the Tree hyperlink (same code used in Tacos Tree example) for 
those nodes.

In Firefox it looks like it's working fine but in IE6 i get the following 
errors:

FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
FATAL: superclass: [object Object] borken


So again, basically I have a Tree componant where only some of the nodes are 
clickable (every node still has the + - expansion widget still).
By clickable i mean using the following:

<component id="nodeLink" type="tacos:AjaxDirectLink">
<binding name="listener" 
value="components.tree.listeners.contentExpansion"/>

<binding name="parameters" value="{ 
keyProvider.getKey(components.tree.value), not 
components.tree.isExpanded(components.tree.value), 
currentTreeEmployee.email }"/>

<binding name="updateComponents" value="{ currentTreeEmployee.email, 
'selectedTreeEmployee' }"/>

<binding name="effects" value="template:%nodeLink.effects"/>

</component>



Nodes that are not clickable would not user the above code. Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tacos tree question

Posted by Daniel Lydiard <dl...@hotmail.com>.
yup using the version that came with tacos.  The tree links are just 
updating a div.


----- Original Message ----- 
From: "Jesse Kuhnert" <jk...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Wednesday, May 10, 2006 6:36 PM
Subject: Re: Tacos tree question


Someone is calling something incorrectly in dojo.widget.defineWidget I
think. Could it be that you also have a widget on this page..? Or...Are you
using the version of dojo that came packaged with the version of tacos you
are using?

On 5/10/06, Daniel Lydiard <dl...@hotmail.com> wrote:
>
> I have a tree where i'd like to have some nodes not-clickable, so I skip
> rendering the Tree hyperlink (same code used in Tacos Tree example) for
> those nodes.
>
> In Firefox it looks like it's working fine but in IE6 i get the following
> errors:
>
> FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
> FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
> FATAL: superclass: [object Object] borken
>
>
> So again, basically I have a Tree componant where only some of the nodes
> are
> clickable (every node still has the + - expansion widget still).
> By clickable i mean using the following:
>
> <component id="nodeLink" type="tacos:AjaxDirectLink">
> <binding name="listener"
> value="components.tree.listeners.contentExpansion"/>
>
> <binding name="parameters" value="{
> keyProvider.getKey(components.tree.value), not
> components.tree.isExpanded(components.tree.value),
> currentTreeEmployee.email }"/>
>
> <binding name="updateComponents" value="{ currentTreeEmployee.email,
> 'selectedTreeEmployee' }"/>
>
> <binding name="effects" value="template:%nodeLink.effects"/>
>
> </component>
>
>
>
> Nodes that are not clickable would not user the above code. Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tacos tree question

Posted by Jesse Kuhnert <jk...@gmail.com>.
Someone is calling something incorrectly in dojo.widget.defineWidget I
think. Could it be that you also have a widget on this page..? Or...Are you
using the version of dojo that came packaged with the version of tacos you
are using?

On 5/10/06, Daniel Lydiard <dl...@hotmail.com> wrote:
>
> I have a tree where i'd like to have some nodes not-clickable, so I skip
> rendering the Tree hyperlink (same code used in Tacos Tree example) for
> those nodes.
>
> In Firefox it looks like it's working fine but in IE6 i get the following
> errors:
>
> FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
> FATAL: Could not load 'dojo.xml.Parse'; last tried '__package__.js'
> FATAL: superclass: [object Object] borken
>
>
> So again, basically I have a Tree componant where only some of the nodes
> are
> clickable (every node still has the + - expansion widget still).
> By clickable i mean using the following:
>
> <component id="nodeLink" type="tacos:AjaxDirectLink">
> <binding name="listener"
> value="components.tree.listeners.contentExpansion"/>
>
> <binding name="parameters" value="{
> keyProvider.getKey(components.tree.value), not
> components.tree.isExpanded(components.tree.value),
> currentTreeEmployee.email }"/>
>
> <binding name="updateComponents" value="{ currentTreeEmployee.email,
> 'selectedTreeEmployee' }"/>
>
> <binding name="effects" value="template:%nodeLink.effects"/>
>
> </component>
>
>
>
> Nodes that are not clickable would not user the above code. Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.