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

Martijn Dashorst commented on WICKET-1116:
------------------------------------------

Confirmed. In the border below I've called updateFeedback() in onbeforerender 
and now it works.

    Form borders = new Form("borders");

    FormComponentFeedbackBorder border = new FormComponentFeedbackBorder(
        "border") {
      @Override
      protected void onBeforeRender() {
        updateFeedback();
        super.onBeforeRender();
      }
    };
    borders.add(border);
    border.add(new TextField("field", new Model(Integer.valueOf(0)),
        Integer.class).add(NumberValidator.range(10, 20)));
    add(borders);


> FormComponentFeedbackBorder doesn't work
> ----------------------------------------
>
>                 Key: WICKET-1116
>                 URL: https://issues.apache.org/jira/browse/WICKET-1116
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>            Reporter: Martijn Dashorst
>             Fix For: 1.3.0-beta5
>
>
> http://wicketstuff.org/wicket13/library/
> edit a book, and clear the author field. It should render an indicator, but 
> nothing is displayed.
> A short investigation revealed that the updateFeedback method is not called 
> anywhere in our framework. I did see that the onBeforeRender should be called 
> but that one doesn't have an implementation on the 
> FormComponentFeedbackBorder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to