Hi all.

I have Domain Entities similar to this ones:

@PersistenceCapable
public abstract class OrderedItem {

   ...

    // {{ Options (Collection)
    @Persistent(mappedBy = "orderedItem", dependentElement = "true")
    private SortedSet<OrderedItemOption> options = new 
TreeSet<OrderedItemOption>();

    @XMSField(locales = { @XMSLocale(locale = "es", caption = "Opciones") })
    @CollectionLayout(render = RenderType.EAGERLY)
    @MemberOrder(sequence = "100")
    public SortedSet<OrderedItemOption> getOptions() {
        return this.options;
    }

    public void setOptions(final SortedSet<OrderedItemOption> optionGroups) {
        this.options = optionGroups;
    }

   ...

}


Being OrderedItemOption an abstract class with many descendants, that declares 
the following abstract properties:

@PersistenceCapable
public abstract class OrderedItemOption {
...
    // {{ ValueSelected (property)
    @MemberOrder(sequence = "030")
    @PropertyLayout(hidden = Where.NOWHERE)
    public abstract String getValueSelected();

    // }}
...

}


The doubt I have is that, when the Wicket viewer renders the "Options" 
collection inside the "Item" entity, it does not show "Value Selected" as one 
of its columns.

I tried both with and without @PropertyLayout(hidden = Where.NOWHERE)

Perhaps Am I missing something?


Thanks,

Oscar


Reply via email to