You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2014/10/04 10:42:34 UTC

[jira] [Resolved] (ISIS-914) Wicket viewer doesn't show all String properties of a ViewModel instance

     [ https://issues.apache.org/jira/browse/ISIS-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-914.
------------------------------
    Resolution: Invalid

Pretty sure this is the same as ISIS-915; currently we don't (transparently) support view models referencing other view models.

> Wicket viewer doesn't show all String properties of a ViewModel instance
> ------------------------------------------------------------------------
>
>                 Key: ISIS-914
>                 URL: https://issues.apache.org/jira/browse/ISIS-914
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.7.0
>            Reporter: Vladimir Nisevic
>            Assignee: Dan Haywood
>         Attachments: screenshot-1.png
>
>
> Have this domain service method
> {code}
>  @Prototype
>     @Render(Type.EAGERLY)
>     public Address retreiveAddressModelSample() {
>         final Address address = getContainer().newViewModelInstance(Address.class, "11");
>         address.setHouseNumber("12");
>         Street street = getContainer().newViewModelInstance(Street.class, "123");
>         street.setStreetname("5th street");
>         street.setPlz("1100");
>         address.setStreet(street);
>         return address;
>     }
> {code}
> when calling thru wicket viewer appears see screenshot. 
> So I miss:
> - housenumber
> - Stret  (getTitle())



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)