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

Ufuk Altin commented on WICKET-5435:
------------------------------------

What we further do and figured out is the following in WicketApplication.init()

        getRequestCycleListeners().add(new AbstractRequestCycleListener() {
                        @Override
                        public void onRequestHandlerResolved(final RequestCycle 
cycle, final IRequestHandler handler) {
                                super.onRequestHandlerResolved(cycle, handler);

                if (!("server".equals(environment)) && handler instanceof 
IPageRequestHandler) {
// if the line below is outcommented no error... with this line error...
                    IRequestablePage page = ((IPageRequestHandler) 
handler).getPage();
                    .. some more code ..
                } else {
                    
updateJob.validateIfUpdateIsActive(cycle.getRequest().getOriginalUrl().getHost());
                }
                        }


                });

> Ajaxified version of WebSession#getClientInfo should be added
> -------------------------------------------------------------
>
>                 Key: WICKET-5435
>                 URL: https://issues.apache.org/jira/browse/WICKET-5435
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.13.0
>            Reporter: Maxim Solodovnik
>            Assignee: Martin Grigorov
>              Labels: features, patch
>             Fix For: 6.13.0, 7.0.0
>
>
> It would be nice to have Ajaxified version of WebSession#getClientInfo of of 
> the box
> here is the link to the discussion: 
> http://markmail.org/message/ex3hxtynnmnktzgy
> My implementation based on wicket quickstart is here: 
> https://github.com/solomax/ajax-client-info/blob/master/src/main/java/org/ajax/ClientInfoBehavior.java
> Thanks in advance



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to