Hi,

On Mon, May 24, 2010 at 21:17, Nithya Vembu <nithu...@gmail.com> wrote:

>
> Hi All,
>
>  Currently i am working in xwiki and facing some issues which i am not able
> to solve. I want to create a tree structure for the space and subspace and
> the pages inside it.
>
>  Eg : I am creating
>
>   Space Name : HelloMajor, Parent : nothing (by default it takes WebHome)
>   Page Name   : HelloMajorPage1   : Parent : HelloMajor
>   Page Name   : HelloMajorPage2   : Parent : HelloMajorPage1
>
>   If i use document tree its displaying like
>
>    HelloMajor
>             |___ HelloMajorPage1
>                                      |____HelloMajorPage2
>
>   Another space creation : HelloMinor; Parent : HelloMajor.WebHome
>   Page Name : HelloMinorPage   Parent : HelloMinor
>   Now i want to display the tree structure like this
>
> HelloMajor
>             |___ HelloMajorPage1
>             |                        |____HelloMajorPage2
>             |___HelloMinorPage
>                                     |____HelloMinorPage
>
>
> I want to display the subspace under the related space itself. I tried with
> child parent snippets but it didnt worked. As i explored i didnt get the
> solution to get the parent of the subspace. Normally in db its storing
> under
> XWD_Parent field in xwiki_doc table. I would like to give the subspace name
> as parameter so that i can get the parent name which i mean is
> "HelloMajor.WebHome".
>
> My requirement is to build a tree structure. I tried with space explorer,mk
> tree, document tree and spaceAllDocs. No one fitting my requirement.
>
>  *Spacename
>     * Subspacename
>            * subspacepages
>     * SpacePages
>

At this time XWiki doesn't support nested spaces. However you can achieve
this:

* Space
   * Page
      * SubPage

Guillaume

In this manner i want to display. IS there any solution.
>
> Kindly help me.
>
> Thanks in advance.
>
> Regards,
> Nithya.Vembu.
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/How-to-list-the-subspace-under-the-space-tp5095367p5095367.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to