You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2016/12/06 14:42:59 UTC

[jira] [Resolved] (WICKET-6056) Improvements to browser info gathering implementation

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

Sven Meier resolved WICKET-6056.
--------------------------------
       Resolution: Fixed
         Assignee: Sven Meier  (was: Martin Grigorov)
    Fix Version/s: 8.0.0-M3
                   7.6.0

BrowserInfoPage and AjaxClientInfoBehavior now allow creation of custom WebClientInfo instances: these can read additional parameters via the new #read(IRequestParameters) method.

Custom JavaScript can be monkey-patched into Wicket.BrowserInfo.collectExtraInfo() to collect extra parameters to be sent to the server.

> Improvements to browser info gathering implementation
> -----------------------------------------------------
>
>                 Key: WICKET-6056
>                 URL: https://issues.apache.org/jira/browse/WICKET-6056
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.21.0, 7.1.0
>            Reporter: Rakesh A
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 7.6.0, 8.0.0-M3
>
>         Attachments: 0001-Extra-client-info-provider-is-added.patch
>
>
> Current implementation of browser information gathering (WebClientInfo and related classes), is difficult to extend/customize.
> 1. Current implementation does not allow me to detect browser's touch api support
> 2. Wanted to use client side implementation library to detect browser features - like Modernizr.
> Initial discussion regarding this can be found at http://apache-wicket.1842946.n4.nabble.com/Regarding-Browser-Client-info-implementation-td4673024.html



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