GuestSrihari@mkyong,Thankyouontheaboveinfo。

veryuseful。

wehaveaproblemthatwewouldlikeyourpointers。

Problem:Theintermediatewebpageisnotgettingredirectedwhenthewicketwebsessionidletimeoutexpires。

Althoughweareabletogetredirectedtotheintermediatepageifitawebsessionidletimeoutexpirywithremembermeoption。

Sobasicallythewebpropertiesarenotloadedwiththerequiredbrowserinfoandmostoftheinfoissettoadefaultedvalue。

fore。

g。

weneedtheutcOffsettocalculatetheclientstimezoneandintheabovecasewe…ReadmoreVoteUp0VoteDownReply5yearsagoWicketTutorials[]DetectifbrowsersupportsJavaScriptorAjaxWicketwaytodetectifbrowsersupportsJavaScriptorAjax[]

VoteUp0VoteDownReply8yearsagoGuestdeybisthereawaytocheckifflashisenabledusingwicket?

VoteUp0VoteDownReply10yearsagoGuestWitiJavaScriptisnotJava!

ThismethodcallsinJavaScriptnavigator。

javaEnabled()。

ItreturnsifJavaisenabled,e。

g。

iftheJava-PluginforJava-Appletsisinstalled。

cheers,

Witi

VoteUp0VoteDownReply10yearsagoAuthormkyongThisiscorrectifyoumentioningeneralwebtechnologyway。

However,ThisisWicket,itsusingredirectpagefunctiontochecktheJavascriptdisableandsetthevalueforisJavaEnabledtovaluateit。

VoteUp0VoteDownReply10yearsagoGuestsrmNo,theisJavaEnableddoesonlyrefertoavailableJavafunctionality。

Asyoualreadypointedout,JSworkswithoutinstalledJDK/JREastheyaredifferenttechnologies。

Iverifiedthatbyusingtheeclipsebuilt-in-browser:evenwhenisJavaEnabledevaluatestofalse,allJSfunctionality(AJAX,etal)worksandotherwicketJSrelatedvariablesaresuccessfullyevaluated(seebelow)。

TohaveatruecheckforJSavailability,youmightwanttochecktheuserpropertiesforScreenHeight/WidthastheyareobtainedbyusingJS。

IfJSisnotavailable,theyaresetto-1。

YoualsodonthavetousegetRequestCycleSettings()。

setGatherExtendedBrowserInfo(true);

Regards,

srm

VoteUp0VoteDownReply9yearsagoGuestsrmedit:mystatementYoualsodon’thavetouse“getRequestCycleSettings()。

setGatherExtendedBrowserInfo(true);”isfalse。

Youhavetousethisalsoforthescreensizevalues。

Nevermind。

VoteUp0VoteDownReply9yearsagoAuthormkyongidoubtonthisstatement。

theisJavaEnableddoesonlyrefertoavailableJavafunctionality,asirememberedididfewtestingontheWicketsourcecode。

ThanksforyourtrickofcheckingtheJavaScriptavailability:)

VoteUp0VoteDownReply9yearsagoGuestMehediHasanGreatpostthanksalot:D

VoteUp0VoteDownReply10yearsagoHowdouseAjaxLazyLoadPanelinWicket?

|wicket[]HowdodetectbrowserjavascriptorajaxdisabledinWicket?

[]