Re: t4.1.2 contrib tree - how to add checkboxes

2007-08-16 Thread mn

ok, i've just implemented my own INodeRenderFactory and it works :)


mn wrote:
 
 Hi all!
 
 What is the simplest way to add checboxes to contrib:Tree component? 
 
 mn
 

-- 
View this message in context: 
http://www.nabble.com/t4.1.2-contrib-tree---how-to-add-checkboxes-tf4276007.html#a12177819
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



t4.1.2 contrib tree - how to add checkboxes

2007-08-15 Thread mn

Hi all!

What is the simplest way to add checboxes to contrib:Tree component? 

mn
-- 
View this message in context: 
http://www.nabble.com/t4.1.2-contrib-tree---how-to-add-checkboxes-tf4276007.html#a12171331
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t4.1.2 + dojo tree component beginner question

2007-08-14 Thread mn

Ok, I used not proper word(component), it should be widget :) 
I will be looking for answer how to use dojo tree widget on tapestry page on
dojo forum but i thought that I find out how to do it on tap forum ... So
maybe someone give me example?


Jessek wrote:
 
 You should try the dojo support forums - there's no such thing as a
 Tapestry Dojo tree component.   (at least there better not be, not in
 tapestry at least ;)  )
 
 http://dojotoolkit.org/forums/forums/support/dijit
 
 On 8/13/07, mn [EMAIL PROTECTED] wrote:
 
 

-- 
View this message in context: 
http://www.nabble.com/t4.1.2-%2B-dojo-tree-component-beginner-question-tf4260575.html#a12140168
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



t4.1.2 + dojo tree component beginner question

2007-08-13 Thread mn

Hi,

I am new in tapestry first of all :) How to use dojo tree component? I tried
this, but it doest't work (lack dojo definition error...). What should I do
to use other widget that are not included in tapestry (other than
autocompleter etc.)?

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html
head
titleDojo Tree Widget Test/title

script type=text/javascript

dojo.require(dojo.widget.*);
dojo.require(dojo.widget.Tree);
dojo.require(dojo.widget.TreeSelector);
dojo.hostenv.writeIncludes();

dojo.addOnLoad(function() {
dojo.event.topic.subscribe(nodeSelected,
 function(message) { dojo.debug(message.node.title+ 
selected); }
);
});

/script

/head

body jwcid=@Body

h2Tree with selector events/h2

dojo:TreeSelector widgetId=treeSelector
eventNames=select:nodeSelected/dojo:TreeSelector

div dojoType=Tree selector=treeSelector
div dojoType=TreeNode title=Item 1
div dojoType=TreeNode title=Item 1.1 /div
div dojoType=TreeNode title=Item 1.2 
div dojoType=TreeNode title=Item 1.2.1 
div dojoType=TreeNode title=Item 1.2.1.1 
/div
/div
div dojoType=TreeNode title=Item 1.2.2 /div
/div
div dojoType=TreeNode title=Item 1.3 
div dojoType=TreeNode title=Item 1.3.1 /div
div dojoType=TreeNode title=Item 1.3.2 /div
/div
div dojoType=TreeNode title=Item 1.4 
div dojoType=TreeNode title=Item 1.4.1 /div
/div
/div
div dojoType=TreeNode title=Item 2 /div
/div
/body


-- 
View this message in context: 
http://www.nabble.com/t4.1.2-%2B-dojo-tree-component-beginner-question-tf4260575.html#a12124378
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]