You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Quake Wang <yi...@hotmail.com> on 2004/08/28 08:32:30 UTC

How to set the private asset image url in javascript?

I want to put the private asset image url in my javascript as default 
value:

var defaultConfig = {
    rootIcon = 'images/rooticon.png';
    nodeIcon = 'images/nodeicon.png';
}

and include this js as a Script component

<script>
    <include-script resource-path="tree.js"/>
</script>

Search the document and wiki, but can not find how to implement this.

Any hints? Thanks in advance.

Quake

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


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