Load Items inside xml

3 messages - 737 views

The first thing it´s, Fantastic I follow other frameworks and this look really good.

I have a question, if i have a frame with one,two or four Listbox can fill the list items with the xml definition frame?

 

Thanks

 

Thanks ;)

If your content is static, you can fill a List in XML like this :

<list>

    <listItem>First Item</listItem>

    <listItem>Second Item</listItem>

    ...

</list>

 

Else if your content is dynamic, look at the Dataproviders, and your xml will be like this :

<list>

    <_renderer>

        <![CDATA[<listItem>${myItemProperty}</listItem>]]>

    </_renderer>

    <_items>${myItemsListProperty}</_items>

</list>

More information there ...

Thanks a lot, it´s static.