<div dir="ltr">Hi<br><br>On Monday, 12 August 2013, Joey Morris  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the video library, I&#39;m unable to get the nodetype statetype to work<br>


outside the buttonlist. By &quot;not working&quot;, I mean the content<br>
associated with the subfolder state isn&#39;t displayed when a subfolder<br>
is selected. When I turn on widget borders and widget names, I can see<br>
nodetype&#39;s border but not subfolder&#39;s border. This is my nodetype<br>
definition:</blockquote><div><br></div><div>A state really only exists for the object it&#39;s assigned to. It&#39;s not available to all elements, not event to sub-children.</div><div><br></div><div>So if the code set a state to the child XX of an object YY, that statetype is only available for XX as child of YY.<span></span></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Does anyone have thoughts on whether I&#39;m doing something wrong or if<br>
this is a bug? Are there better workarounds than what I tried?<br><br></blockquote><div><br></div><div style>It&#39;s not a bug ; that&#39;s just not how statetype works... Personally I think that it could be improved and a statetype should be available at list to all children (including children of children) but at this stage it&#39;s not.</div>
<div style><br></div><div style>What is new in 0.27 however, is that templates are available to *all* children of a composite object; so you could use templates for the text... it would still have to be within the buttonlist however.</div>

</div>