Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-09 Thread mohit gupta
endering the page twice > > > ------ Forwarded message ------ > From: mohit gupta > Date: Wed, Feb 8, 2012 at 11:47 AM > Subject: Re: [xwiki-users] Modify velocity macro to send the name value > paair as part of wiki URL? > To: XWiki Users > > > Thanks a

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-07 Thread mohit gupta
Thanks a lot Sergiu. I was looking eaxactly for same . But it introduced another issue, whenever i come on welcome page of wiki after login i see welcome page rendered twice(even other pages too ). Here is code snippet which i introduced context.setLinksQueryString(USER_NAME+"="+UserId+"&"+WIKI_T

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread Sergiu Dumitriu
On 02/07/2012 12:44 AM, mohit gupta wrote: As i said in my original post i do not want to set it in session. Reason being is, i am opening two diffeernt wiki popup from parent window in amy application. So if i set any thing in session in one pop up window its also visible in another popup window

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread mohit gupta
As i said in my original post i do not want to set it in session. Reason being is, i am opening two diffeernt wiki popup from parent window in amy application. So if i set any thing in session in one pop up window its also visible in another popup window which i dont want. Here is the starting of

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread Sergiu Dumitriu
On 02/06/2012 11:28 AM, mohit gupta wrote: i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread Paul Libbrecht
This is all in the session. paul Le 6 févr. 2012 à 17:55, mohit gupta a écrit : > Hi paul, > > i even don't see the username(with which i logged in) value > somewhere inside the XWikiContext on further clicks on web pages after > login. I inspected almost all the variables inside the but did

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread mohit gupta
Hi paul, i even don't see the username(with which i logged in) value somewhere inside the XWikiContext on further clicks on web pages after login. I inspected almost all the variables inside the but did not find anywhere On Mon, Feb 6, 2012 at 10:16 PM, Paul Libbrecht wrote: > Mohit, > > there

Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread Paul Libbrecht
Mohit, there's no way, I think, to insert a parameter at each request. Without putting in each link of course. Or without using a servlet filter. paul Le 6 févr. 2012 à 17:28, mohit gupta a écrit : > i am using xwiki as wiki website for my banking application. i provided a > link AppHelp on my

[xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?

2012-02-06 Thread mohit gupta
i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.authclass=