GetURL(): modified value when called in another module

GetURL(): modified value when called in another module

  

Hi,

I have a web page and a webblock placed on it, that comes from another module. When I call GetURL() from the page's Preparation I get the answer I expect:

<the server>/<the path>?<param>=<value>

But when I call the same GetURL() from the webblock's Preparation the answer is different:

<the server>/<the path>?_ts=<some number>

Do I do something wrong or is it some on-purpose behavior? Is it possible to get from the inside of the webblock (in such a configuration of components) the original URL?


Regards

Tomasz


Hello Tomasz,

I was just testing this scenario, and I'm getting the same URL from the page preparation, a webblock, or a referenced webblock...

Can you send me a small sample where I can replicate this behavior? 

Thanks,
R

I also agreed with Rodrigo ,

No matter where are you calling the method (In webblock or page prepration ) it should always give you the same url of the parent .



Regrads

-PJ-