You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/09 15:06:05 UTC
[jira] [Commented] (WICKET-5929) Introduce
IPartialPageRequestHandler
[ https://issues.apache.org/jira/browse/WICKET-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620468#comment-14620468 ]
ASF subversion and git services commented on WICKET-5929:
---------------------------------------------------------
Commit 1d224a5ab5cbea379d43d5b9488841718004e724 in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=1d224a5 ]
WICKET-5929 use IPartialPageUpdate instead of RequestTarget were applicable
> 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)