[
https://issues.apache.org/jira/browse/ISIS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-691:
-----------------------------
Description:
To replicate, add the following property to the simple archetype's SimpleObject
class:
// //////////////////////////////////////
// other (property)
// //////////////////////////////////////
private SimpleObject other;
@Column(allowsNull="true")
@MemberOrder(sequence = "1")
// @Mandatory
public SimpleObject getOther() {
return other;
}
public void setOther(final SimpleObject other) {
this.other = other;
}
public List<SimpleObject> choicesOther() {
List<SimpleObject> list = container.allInstances(SimpleObject.class);
return list;
}
was:
To replicate, add the following property to the simple archetype's SimpleObject
class:
// //////////////////////////////////////
// other (property)
// //////////////////////////////////////
private SimpleObject other;
@Column(allowsNull="true")
@MemberOrder(sequence = "1")
@Mandatory
public SimpleObject getOther() {
return other;
}
public void setOther(final SimpleObject other) {
this.other = other;
}
public List<SimpleObject> choicesOther() {
List<SimpleObject> list = container.allInstances(SimpleObject.class);
return list;
}
> In Wicket viewer, the drop-down list for entities always shows the first
> object, even if the property holds a null value.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-691
> URL: https://issues.apache.org/jira/browse/ISIS-691
> Project: Isis
> Issue Type: Bug
> Components: Viewer: Wicket
> Affects Versions: viewer-wicket-1.3.1
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: viewer-wicket-1.4.0
>
>
> To replicate, add the following property to the simple archetype's
> SimpleObject class:
> // //////////////////////////////////////
> // other (property)
> // //////////////////////////////////////
> private SimpleObject other;
> @Column(allowsNull="true")
> @MemberOrder(sequence = "1")
> // @Mandatory
> public SimpleObject getOther() {
> return other;
> }
> public void setOther(final SimpleObject other) {
> this.other = other;
> }
> public List<SimpleObject> choicesOther() {
> List<SimpleObject> list = container.allInstances(SimpleObject.class);
> return list;
> }
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)