Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.2
-
None
-
parent, page, object, create
-
Easy
-
Description
When we create any object based on a class template and while creating in the form template if we choose to pick the parent from the request context, the same is not picked up. It creates the object under the default parent.
say in the Class creation template file if I add the following like
<input type="hidden" name="parent" value="${defaultparent}"/>
where defaultparent is something I assign dynamically above, the same page name is not set as the parent for the object I am about to create.
this is because in editinline.vm we don't fetch the parent parameter passed in the request.
adding this line would fix the issue.
<input type="hidden" name="parent" value="$!request.parent" />
thanks
Sachin
Attachments
Issue Links
- duplicates
-
XWIKI-2389 The inline edit loses the doc's parent and title attributes
- Closed
-
XE-168 Cannot specify the parent or title in the URL in inline edit mode
- Closed