Hi!
Why don't you use:
<component id="inputPersons" type="contrib:Palette">
<binding name="selected" value="persons"/>
<binding name="model" value="modelSource.getPersonModel(null, 'true')"/>
<binding name="selectedTitleBlock" value="component:selBlock"/>
<binding name="availableTitleBlock" value="component:availBlock"/>
<binding name="selectImage" value="selectImage"/>
<binding name="deselectImage" value="deselectImage"/>
<binding name="validators" value="validators:required"/>
</component>
and in your .html
<span jwcid="[EMAIL PROTECTED]">...</span>
e.t.c.
>From Andreas Bulling <[EMAIL PROTECTED]>:
> Hi folks,
>
> after some time of silence I have a new problem/question:
> I want to use contrib:Palette and replace "selectedTitleBlock",
> "availableTitleBlock" and the image assets. Do I really
> have to provide for example a getSelectedTitleBlock() method
> in my page class which returns a custom Block component?
> Doesn't look clean to me if that's the case...
>
> Thanks in advance,
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]