|Custom Composite Fields - Scout Explorer [message #1237775]
||Thu, 30 January 2014 15:05
| João Rebelo
Registered: December 2013
We're trying to create a Custom Field that has inner fields, namely in a simpler form a TextField decorated with icons within the field.
We understand how to make it a template, and how to instantiate it.
What I would need to know is how could we mark it (annotation, method, interface, etc.) so that in Scout Explorer it could understand that this template can take other fields (as for example a GroupBox or SplitedBox)?
Comparing GroupBox or SplitedBox we couldn't find any common marker that would instruct the Scout Explorer (hopping it isn't hardcoded there)
As an update, if I directly extend GroupBox the ScoutExplorer works correctly (after closing and opening the view). But I don't feel that I should extend this one, but instead the AbstractCompositeField directly. What would be the better option?
[Updated on: Thu, 30 January 2014 17:17]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02285 seconds