Hi Marius, Thanks for your response, it works when I use display macro to include the testpage into the other page, but I need also to include (display) the page with inline mode inside the other page, since user can click the edit pencil button on the right corner of the testpage to edit it, right now the edit button will lead to the testpage in inline mode but the testpage is not inside the other page which originally include(display) the testpage.
So how to include or display a page with inline mode into another page? Thanks for your help. David On Fri, Nov 2, 2012 at 3:06 AM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Thu, Nov 1, 2012 at 10:51 PM, Geo Du <ddd...@gmail.com> wrote: > > > > Hi All, > > > > I want to include one page into another page in terms of content instead > of > > velocity code, for example, the Blog.WebHome is a page without velocity > > code if you choose Edit->Wiki, but it has Blog.BlogClass if you select > > Edit->Objects, from Blog.WebHome page, I can create a new post with tile > > testpage, now the Blog.testpage is the new page created that I need to > > include into another page, this testpage has no velocity code from > > Edit_>Wiki. so how to include that page into a different page? > > > > > I tried: include Macro, includeInContext Macro, includeTopic Macro, none > of > > them displays the testpage for me, any idea? > > "display" is the key. You want to display not to include. See > http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro . > > Hope this helps, > Marius > > > > > Thanks very much for your help. > > > > David > > _______________________________________________ > > devs mailing list > > d...@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > d...@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users