[ 
https://issues.apache.org/jira/browse/ISIS-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225245#comment-14225245
 ] 

Jeroen van der Wal commented on ISIS-784:
-----------------------------------------

I think that looks nice. We could make the changeXXX method be associated with 
an getXXX if available. Something like this:

public class Something {
    private String street;
    private String city;
    ... setters + getters ...

    public String getAddress() {
        return getStreet() + ",  " + getCity();
    }
    public void changeAddress() { final String street, final String city) {
        setStreet(street);
        setCity(city);
    }
}

Currently this shows a modal window which is fine for now. Perhaps for Isis 
3.0? ;-)













> Change Wicket viewer to get rid of edit mode, instead allow individual fields 
> to be edited by clicking on them (similar to the way that JIRA works).
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-784
>                 URL: https://issues.apache.org/jira/browse/ISIS-784
>             Project: Isis
>          Issue Type: New Feature
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.4.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-2.0.0
>
>




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

Reply via email to