You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Niels van Kampenhout (JIRA)" <ji...@apache.org> on 2008/04/28 19:05:55 UTC

[jira] Created: (WICKET-1574) Palette does not support ajax behavior

Palette does not support ajax behavior
--------------------------------------

                 Key: WICKET-1574
                 URL: https://issues.apache.org/jira/browse/WICKET-1574
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.3.3
            Reporter: Niels van Kampenhout


http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/form/palette/Palette.html says:

----------------

Ajaxifying the palette: The palette itself cannot be ajaxified because it is a panel and therefore does not receive any javascript events. Instead ajax behaviors can be attached to the recorder component which supports the javascript onchange event. The recorder component can be retrieved via a call to getRecorderComponent(). Example:

       Form form=new Form(...);
       Palette palette=new Palette(...);
       palette.getRecorderComponent().add(new AjaxFormComponentUpdatingBehavior("onchange") {...});

----------------

However getRecorderComponent() returns null.

Also see http://www.nabble.com/%22option-transfer%22-widget-to16837723.html#a16839739

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


[jira] Commented: (WICKET-1574) Palette does not support ajax behavior

Posted by "Niels van Kampenhout (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594305#action_12594305 ] 

Niels van Kampenhout commented on WICKET-1574:
----------------------------------------------

thanks for the quick response, works like a charm

> Palette does not support ajax behavior
> --------------------------------------
>
>                 Key: WICKET-1574
>                 URL: https://issues.apache.org/jira/browse/WICKET-1574
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>            Reporter: Niels van Kampenhout
>            Assignee: Igor Vaynberg
>             Fix For: 1.4-M2
>
>
> http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/form/palette/Palette.html says:
> ----------------
> Ajaxifying the palette: The palette itself cannot be ajaxified because it is a panel and therefore does not receive any javascript events. Instead ajax behaviors can be attached to the recorder component which supports the javascript onchange event. The recorder component can be retrieved via a call to getRecorderComponent(). Example:
>        Form form=new Form(...);
>        Palette palette=new Palette(...);
>        palette.getRecorderComponent().add(new AjaxFormComponentUpdatingBehavior("onchange") {...});
> ----------------
> However getRecorderComponent() returns null.
> Also see http://www.nabble.com/%22option-transfer%22-widget-to16837723.html#a16839739

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


[jira] Resolved: (WICKET-1574) Palette does not support ajax behavior

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

Igor Vaynberg resolved WICKET-1574.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-M2
         Assignee: Igor Vaynberg

see updated javadoc in snapshot. basically instead of getrecordercomp().add(..) override newrecordercomponent()


> Palette does not support ajax behavior
> --------------------------------------
>
>                 Key: WICKET-1574
>                 URL: https://issues.apache.org/jira/browse/WICKET-1574
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>            Reporter: Niels van Kampenhout
>            Assignee: Igor Vaynberg
>             Fix For: 1.4-M2
>
>
> http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/form/palette/Palette.html says:
> ----------------
> Ajaxifying the palette: The palette itself cannot be ajaxified because it is a panel and therefore does not receive any javascript events. Instead ajax behaviors can be attached to the recorder component which supports the javascript onchange event. The recorder component can be retrieved via a call to getRecorderComponent(). Example:
>        Form form=new Form(...);
>        Palette palette=new Palette(...);
>        palette.getRecorderComponent().add(new AjaxFormComponentUpdatingBehavior("onchange") {...});
> ----------------
> However getRecorderComponent() returns null.
> Also see http://www.nabble.com/%22option-transfer%22-widget-to16837723.html#a16839739

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