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

Peter Ertl commented on WICKET-1591:
------------------------------------

Ah, damn, you are right...

I have a browser capabilities page that loads up an test-applet. However, this 
page is preceded by the BrowserInfoPage from wicket to gather the client 
properties. As long as the applet is not initialized the user will see the 
BrowserInfoPage. So no, there's no java check in wicket :-)

How do you integrate your own "loading" page into wicket?

I have seen that in WebRequestCycle.newClientInfo(), line 262 in current trunk, 
there's a 

  throw new RestartResponseException(new BrowserInfoPage(url))

So what I suggest is making the invoked page a configurable parameter, for 
example through:

   
IRequestCycleSettings.setGatherExtendedBrowserInfoPage(MyBrowserInfoPage.class) 



> let BrowserInfoPage be customizable / extendable
> ------------------------------------------------
>
>                 Key: WICKET-1591
>                 URL: https://issues.apache.org/jira/browse/WICKET-1591
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Peter Ertl
>            Assignee: Eelco Hillenius
>             Fix For: 1.5-M1
>
>
> When using 
>   IRequestCycleSettings.setGatherExtendedBrowserInfo(true)
> wicket will display a intermediate page with the following text:
>   "If you see this, it means that both javascript and meta-refresh are not 
> support by your browser configuration. 
>    Please click <a wicket:id="link" href="#">this link</a> to continue to the 
> original destination."
> Especially when the browser starts up java (sloooow!) this screen will be 
> visible for a few seconds. It would be nice if you could customize this 
> screen as it is very irritating to non-english speakers.
> Maybe something like 
>   
> IRequestCycleSettings.setGatherExtendedBrowserInfoPage(MyBrowserInfoPage.class)
> would be good
>   "public class MyBrowserInfoPage extends BrowserInfoPage"
> Also wicket users could extend the browser test by more checks.

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

Reply via email to