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:04:33 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14159043#comment-14159043 ] 

Dan Haywood commented on ISIS-914:
----------------------------------

Could you attach the complete code for Address?

> 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)