You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2011/04/13 22:48:06 UTC

[jira] [Commented] (WICKET-3557) Can not add validator to AjaxEditableLabel unless it was added to page

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

Peter Ertl commented on WICKET-3557:
------------------------------------

Fixed. Thanks for reporting the issue!

> Can not add validator to AjaxEditableLabel unless it was added to page
> ----------------------------------------------------------------------
>
>                 Key: WICKET-3557
>                 URL: https://issues.apache.org/jira/browse/WICKET-3557
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>            Reporter: Erik van Oosten
>            Assignee: Peter Ertl
>            Priority: Minor
>             Fix For: 1.5-RC4
>
>
> Method AjaxEditableLabel#add(IValidator) tries to add the validator to the editor. As the editor initiaily does not exist, it is created. Creation of the editor fails when the component has not been added to the page yet.
> Workaround: add the AjaxEditableLabel to page before adding the validator(s).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira