Using Tamper data plugin i found during first hit the page header contains
the following script:


if (window.name=='' || (window.name.indexOf('wicket') > -1 &&
window.name!='wicket-wicket:Default')) {
window.location="../con/prof.html/?oauth_token=e8b44a83-480f-4cf3-97cb-6dd162269c90&oauth_verifier=44646&wicket:PageMapName=wicket-16"
+ (window.location.hash != null ? window.location.hash : ""); }


is this the reason for the second hit?

Please provide any help, i m stuck to this from past 3 days.

Thanks in advance :)




Martin Grigorov-4 wrote:
> 
> check for    in your page markup.
> this would cause a second request to the page itself
> 
> there is a IResponseFilter in Wicket for this problem:
> EmptySrcAttributeCheckFilter
> it is enabled only in DEV mode in newer versions
> 
> On Thu, Apr 7, 2011 at 12:18 PM, harrytalky <[email protected]>
> wrote:
> 
>> I am having a populate details link on my page which redirects to
>> linkedin
>> site to authorize user and fetch his information back to wicket page.
>> What
>> is happening right now is when user click continue on linkedin site to
>> move
>> back to the our site then a pin is sent to the page. Using this pin we
>> fetch
>> a authorization token but the problem is in case of IE  the page's
>> constructor is called twice and by then the token gets expired.
>>             I have debugged a lot but not able to find why constructor is
>> being called twice in case of IE.
>>
>> I am using wicket 1.4.16, jdk1.6.24 and tomcat6
>>
>> Please help.
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Redirect-back-to-wicket-page-problem-tp3432947p3432947.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 
> -- 
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
> 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Redirect-back-to-wicket-page-problem-tp3433517p3435562.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to