thanks
--
Prathap
On Thu, Jul 10, 2008 at 4:00 PM, Jean-Vincent Drean <jv(a)xwiki.com> wrote:
You can register from :
http://www.xwiki.org/xwiki/bin/view/Main/WebHome (top right)
On Thu, Jul 10, 2008 at 12:28 PM, Prathap Pandian
<prathapmeister(a)gmail.com> wrote:
Hi,
No thanks.. i got it...
And where can i post the snippet code in xwiki. For that i need to
register.
Can anyone send me the registration link.
--
Prathap
On Thu, Jul 10, 2008 at 3:33 PM, Prathap Pandian <
prathapmeister(a)gmail.com>
wrote:
> Thanks..
>
> Actually i want to display the page link only which logged in user has
> created in the separate panel.
>
> And remaining pages should not display for him.
>
> Now i can able to display all the page link in the panel.
>
> #foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
> - [${doc.web}.${subdoc}]
> #end
>
> Here i need to filter the creator of the page with currently logged in
> user.
> Then i can able to give it panels. I don't know how to get the creator
> name of each page from the loop.
>
> One thing i know $doc.getCreator() this is used to get the creator name.
> Don't to how use this one in that for loop.
>
> --
> Prathap
>
>
> On Thu, Jul 10, 2008 at 3:18 PM, Jean-Vincent Drean <jv(a)xwiki.com>
wrote:
>
>> Hi,
>>
>> I've put a snippet on
xwiki.org :
>>
>>
http://code.xwiki.org/xwiki/bin/view/Snippets/ListWikiPagesCreatorsInCurren…
If you have interesting snippets to share, don't
hesitate to put them
on
code.xwiki.org as well.
JV.
On Thu, Jul 10, 2008 at 9:50 AM, Prathap Pandian
<prathapmeister(a)gmail.com> wrote:
> Hi,
>
> I want to print the page creator in the panel.
>
> And i have used the following code:
>
> #panelheader($doc.web)
> #foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
> #set($web = $doc.web)
> #set($page = $subdoc)
> #set($document = "$web.$page")
> $document.getCreator()
> #end
> #panelfooter()
>
> but it seems not working.
>
> --
> Prathap
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Jean-Vincent Drean
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs