[
https://issues.apache.org/jira/browse/ISIS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811104#comment-13811104
]
ASF subversion and git services commented on ISIS-580:
------------------------------------------------------
Commit cfcb5466207998ddcd5f487d5c90afe00dc3fd1e in branch refs/heads/master
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=cfcb546 ]
ISIS-580: when dynamically updating choices, don't touch other params
The implementation used to add ALL fields in the action form to the
AjaxTarget, meaning they would get repainted. For any date fields,
this resulted in the value being lost (because the value on the form
hadn't been "committed" to the underlying Java/wicket widget).
The fix is to only repaint those fields that have determined that they
need to be recalculated, ie the conditional choices fields.
> Date fields are cleared when tabbing through other fields.
> -----------------------------------------------------------
>
> Key: ISIS-580
> URL: https://issues.apache.org/jira/browse/ISIS-580
> Project: Isis
> Issue Type: Bug
> Components: Viewer: Wicket
> Affects Versions: viewer-wicket-1.3.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: viewer-wicket-1.4.0
>
>
> To reproduce, add following (eg to ToDoItems service):
> public void testIt(
> String x,
> LocalDate d,
> String y,
> String y2,
> LocalDate d2,
> String z) {
> }
> Enter a date for 'd', then enter a value for either 'y' or 'y2'; the date 'd'
> will be blanked out.
--
This message was sent by Atlassian JIRA
(v6.1#6144)