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 2013/10/19 14:13:42 UTC

[jira] [Commented] (ISIS-560) When invoking an action, drop downs get cleared (in the UI) if there is a validation error, but the underlying model is set.

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

Dan Haywood commented on ISIS-560:
----------------------------------

As a partial fix, remove the Wicket setRequired, and instead rely on Isis' validation.

The side-effect of this is that the error appears in the form's feedback panel, not the parameter's feedback panel.

Hopefully ISIS-570 will more fully address this issue.

> When invoking an action, drop downs get cleared (in the UI) if there is a validation error, but the underlying model is set.  
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-560
>                 URL: https://issues.apache.org/jira/browse/ISIS-560
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: viewer-wicket-1.3.0
>
>
> This allows the user to hit OK and complete the object even though it seems that there is no value for those drop downs.
> for example:
> ToDoItems#newToDo(...)
> leave description blank;
> the category/subcategory are blank, but can complete (so they actually have values)



--
This message was sent by Atlassian JIRA
(v6.1#6144)