I added the functionality, see: http://issues.apache.org/jira/browse/WICKET-248

You can use the example 'hellobrowser' from wicket-examples to track
what is going on and test whether it works for you.

Eelco


On 1/30/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote:
> I will be very happy to do that but I need some help cause I am really
> a wicket newbie.
>
> I am watching WebRequestCycle.newClientInfo() and WebClientInfo.init()
> that, I suppose, get all the info we should need.
>
> First, the BROWSER_WAS_POLLED_KEY metadata key is never used in the
> #init() and so far it is the only difference I can expect in #init()
> after getGatherExtendedBrowserInfo() is checked to be true, I think I
> am missing something or I am watching in the wrong places.
>
> Any advice?
>
> I will fill the jira report tomorrow.
>
> On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > hmm thought we already had that, guess we need to add it
> >
> > feel free to file a jira issue for this, and def feel free to create a patch
> > :)
> >
> >
> > -igor
> >
> >
> > On 1/30/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> >
> >
> > -------------------------------------------------------------------------
> > 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

Reply via email to