Hi Sachin,
On Jan 22, 2008, at 5:42 AM, sachin mittal wrote:
I had faced similar issue and I hope you are also
talking about the
same.
I had reported this on one of the threads.
There is a slight bug in one of their vm templates in albatross skin.
in editinline.vm please add the following line:
<input type="hidden" name="parent"
value="$!request.parent" />
I think they should fix this in the svn.
I'll gladly apply your patch if you can create or point me to a JIRA
issue about it. If you could explain the reason why this line is
needed in the jira issue that would be great :)
Thanks
-Vincent
Message: 8
Date: Mon, 21 Jan 2008 16:09:48 +0100
From: "Raffaele Viola" < raffovi(a)gmail.com>
Subject: [xwiki-devs] change parent
To: users(a)xwiki.org, xwiki <devs(a)xwiki.org >
Message-ID:
<f16aa4040801210709x75aa1ccahf9eb5316a3d9d33c(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
I create a page to change the parent to a chosen page using:
#set ($mydoc = $xwiki.getDocument("some.page"))
$mydoc.setParent($targetdoc)
$mydoc.save()
It works but in the tree page I see the changed page into its
original tree
location.
What is my fault ??
Thanks