<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'm unable to get the nodetype statetype to work<br>
outside the buttonlist. By "not working", I mean the content<br>
associated with the subfolder state isn't displayed when a subfolder<br>
is selected. When I turn on widget borders and widget names, I can see<br>
nodetype's border but not subfolder's border. This is my nodetype<br>
definition:</blockquote><div><br></div><div>A state really only exists for the object it's assigned to. It'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'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's not a bug ; that'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'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>