<font color="#000000"><font size="2"><font face="arial narrow,sans-serif">Hello everyone!<br>My name is Gastón Charkiewicz, I'm from Argentina, and I study IT
Programming in de Quilmes National University (UNQ). I'm developing a
certain domain in Seaside, and I want to model a folder hierarchy using a
WATree (I'm just starting to use it).<br>
I have a "Folder" class, who haves a instance variable, "folders", a
SortedCollection (sortBlock given) with more Folder s. So, I prepared a
component called WAFolderTree, extending from WATree. It haves an
instance variable, "folders", with the folder hierarchy it's going to
show. I have this initialize mehod:<br>
<br><b>initialize</b><br>super initialize.<br>folders := Folder new.<br>folders folderName: 'root'.<br>folders subFolders add: (Folder new folderName: 'var').<br>folders subFolders add: (Folder new folderName: 'usr').<br>
<br> self<br> root: folders;<br> labelBlock: [:f | f folderName];<br> childrenBlock: [:f | f subFolders];<br> yourself.<br><br>(I'm just testing the class' vehaviour, I'm going to make it a Singleton class after testings, and make it beautier also :) ).<br>
<br>The problem: when I render the containing window, I also render the tree using<br><b>html render: WAFolderTree new.</b><br>...but I just get in screen "WAFolderTree". No +, even no selecting points. Could you help me?<br>
<br>Thank you all!<br>Best regards,<br clear="all"></font></font></font><br>-- <br>Gastón N. Charkiewicz<br><span style="font-family:'Trebuchet MS', Verdana, Arial, sans-serif;font-size:13px;line-height:18px">"El éxito parece estar relacionado con la acción. Las personas de éxito son activas. Cometen errores pero no se rinden." Conrad Hilton</span><br>