thanks for quick reply. With this method I receive just the desktop window size and bit depth (i.e. 1280*800*24 for me) but what I need is the size of the browser window.
On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ==== pasted from eelco's reply to another thread ======= > Just FYI, in case you need to know whether your client supports > JavaScript, can be determined with: > > ((WebClientInfo)getSession().getClientInfo()).getProperties().isJavaEnabled() > > which works (best) when you do: > > getRequestCycleSettings().setGatherExtendedBrowserInfo(true); > > in your application's init method. > =========================================== > > if you set gatherextendedbrowserinfo(true) that will also give you the > window size in clientinfo properties > > -igor > > > > On 1/30/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > > > > Hi, I need to change the number of column in a table upon the client page > size. > > > > How do I get the size of the browser page? Consider that I receive a > > request from a simple search form and I have to compute the number of > > column after that request. > > > > Is there a "wicket" way to get the size of the page? > > The only other way is to get via javascript the size and manually put > > it in the search request. This code will go in html so it could just > > be a temporary solution. > > > > Thanks. > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user