Tags:
create new tag
view all tags

SID-01597: INCLUDINGTOPIC does not expand on ajax call

Status: Answered Answered TWiki version: 5.1.1 Perl version:
Category: CategoryRendering Server OS: ubuntu Last update: 13 years ago

Hi,

I followed the Blog.BlogEntry201101x2 example, making my own, i have %INCLUDINGTOPIC % on the topic to be called. It expand on the page but not on the topic that its being include. Is that expected ?

thanks

-- MichaelSevero - 2012-12-01

Discussion and Answer

Yes, because the INCLUDINGTOPIC refers to the topic that is included in an actual INCLUDE, which is resolved server-side in TWiki. When you do an Ajax call to a TWiki script, it looks like a regular call from the browser, e.g. the script does not know where it is being called from. You can however pass along parameters in the Ajax call, including the topic name that makes the Ajax call, and act upon the parameter value.

-- PeterThoeny - 2012-12-01

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title INCLUDINGTOPIC does not expand on ajax call
SupportCategory CategoryRendering
TWiki version 5.1.1
Server OS ubuntu
Web server apache 2
Perl version

Browser & version ff
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-12-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.