On 1/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I see, as I only override the IRequestCycleFactory but not the
> > setting, I guess that investigation code should work anyway? But I
> > cannot make it work... How can I gather more information to debug?
>
> Set a break point in WebRequestCycle#newClientInfo.
>
> Oh, and don't forget that that method won't be triggered until your
> code calls getSession().getClientInfo() somewhere :)
>
Interesting, when I override that method as following , I get only one
properties print:
@Override
protected ClientInfo newClientInfo() {
final WebClientInfo ci =
(WebClientInfo)super.newClientInfo();
for (int i = 0; i <
ci.getProperties().getPropertyNames().length; i++) {
final String key =
ci.getProperties().getPropertyNames()[i];
final Object value = ci.getProperties().get(key);
System.out.println(key+": "+value);
}
return ci;
}
Only print:
browserOpera: true
Look like that investigation code haven't executed. Which method is
actually execute that investigation code ?
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user