On 5/23/05, Matthew Watson <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm trying out wicket rc3 especially the WebRequestWithCryptedUrl
> stuff.
> 
> Ive added the same code into my WebApplication class like the signin2
> example. It seems to work fine until after a while of clicking around
> inside my application after which all of the encrypted URLS revert back
> to being decrypted i.e. with the various parameters being visible again
> 
> However If I force the browser to do a refresh (using shift-refresh)
> then the URLS encode correctly again.
> 
> Is this possibly a bug?
> 

There is always a chance. The only reason I can think of is if one of
the components creates a url and passes it directly to
HttpServeltResponse circumventing WebResponse. Any idea which
button/action in your application changed to default urls and which
back to encrypted url?

WebRequest and WebResponse object are created for each and every http
request sent from your browser to the server and there is no pooling
or caching of objects.

Did it happen right at the beginning, just after start-up, of your
application? For how long did you play around when you recognized it?
How many clicks did it takes till it got back to encrypted urls?

WebRequestWithCrypted URL is more or less a simple example only. E.g.
it handles the deafult URLs without throwing an exception. Creating
your own implementations and throwing an exception in case of default
urls, could help identifying the root-cause.

Juergen

> Cheers,
> Matt
> 
> ps: thus far rc3 looks great. thanks for all your hard work.
> 
> 
> ********************************************************************************
> This email may contain legally privileged information and is intended only 
> for the addressee. It is not necessarily the official view or
> communication of the New Zealand Qualifications Authority. If you are not the 
> intended recipient you must not use, disclose, copy or distribute this email 
> or
> information in it. If you have received this email in error, please contact 
> the sender immediately. NZQA does not accept any liability for changes made 
> to this email or attachments after sending by NZQA.
> 
> All emails have been scanned for viruses and content by MailMarshal.
> NZQA reserves the right to monitor all email communications through its 
> network.
> 
> ********************************************************************************
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to