this is interesting, I never knew what capacitor did. however, looking
at the code, I'd have expected it would be possible to set Layout and
Factory of a List in a similar manner, but It doesn't seem to work,
could you explain please?
In general, how exactly to you set the component to use to render list
items? Just setting the view creates weird errors (see my other
post).
thanks!
> Actually, thanks to the "capacitor" default property on the FluxComponent
> class you can set your controllers and views like this:
> <flux:Button>
> <flux:ComplexController>
> <flux:ButtonController/>
> <CustomController/>
> <AnotherController/>
> </flux:ComplexController>
> <CustomButtonView/>
> </flux:Button>
>
> or, without using capacitor, as straight mxml:
>
> <flux:Button>
> <flux:controller>
> <flux:ComplexController>
> <flux:ButtonController/>
> <CustomController/>
> <AnotherController/>
> </flux:ComplexController>
> </flux:controller>
> <flux:view>
> <CustomButtonView/>
> </flux:view>
> </flux:Button>
>