[ 
https://issues.apache.org/jira/browse/WICKET-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Dashorst updated WICKET-5929:
-------------------------------------
    Fix Version/s:     (was: 7.0.0-M7)
                   7.0.0

> Introduce IPartialPageRequestHandler
> ------------------------------------
>
>                 Key: WICKET-5929
>                 URL: https://issues.apache.org/jira/browse/WICKET-5929
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.0.0-M5
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 7.0.0
>
>
> WebSocketRequestHandler currently implements AjaxRequestTarget.
> We can introduce a new interface IPartialPageRequestHandler (or better 
> named), that is implemented by AjaxRequestTarget and WebSocketRequestHandler:
> {code}
> /**
>  * Request handler that allows partial updates of the current page instance.
>  */
> public interface IPartialPageRequestHandler extends IPageRequestHandler
> {
>       void add(final Component component, final String markupId);
>       void add(Component... components);
>       void addChildren(MarkupContainer parent, Class<?> childCriteria);
>       void appendJavaScript(CharSequence javascript);
>       void prependJavaScript(CharSequence javascript);
>       void focusComponent(Component component);
>       String getLastFocusedElementId();
>       Collection<? extends Component> getComponents();
>       IHeaderResponse getHeaderResponse();
> }
> {code}
> This way it becomes clearer that WebSocketRequestHandler doesn't have 
> anything to do with Ajax.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to