You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Erik van Oosten (JIRA)" <ji...@apache.org> on 2011/03/25 09:05:05 UTC

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

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
            Priority: Minor


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

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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl resolved WICKET-3557.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC4
         Assignee: Peter Ertl

> 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