Xwiki.CopyDocument :

Source document : XWiki.CalendarSheet
Language :
Target doc : Business.CalendarSheet

i will click on copy,

result is :

Copying document XWiki.CalendarSheet () from xwiki to xwiki:
$xwiki.xWiki.copyDocument($sourcedoc, $targetdoc, $sourcewiki, $targetwiki,
$language, false, $context.context)

Source 
doc<http://intranet.hlacik.eu/xwiki/bin/view/XWiki/CalendarSheet?language=>
Target
doc?<http://intranet.hlacik.eu/xwiki/bin/edit/Business/CalendarSheet?parent=XWiki.CopyDocument&editor=wysiwyg>

*What is wrong?
*
Thanks!
2008/4/25 [Ricardo Rodriguez] Your EPEC Network ICT Team <
[EMAIL PROTECTED]>:

> Sorry! I've forgotten to shoe you how to copy a document!
>
> Just use XWiki.CopyDocument
>
> Best,
>
> Ricardo
>
> [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> > Hi David,
> >
> > You don't bother me! Your questions are welcome. But I am "a bit" busy
> > these last days, so my scatter answers were too short instead of
> concise.
> >
> > In any case, if you are considering XWiki for your work, it is advisable
> > to follow at least these two tutorials:
> >
> > http://www.theserverside.com/tt/articles/article.tss?l=XWiki
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
> >
> > They will help you to acquire the required skills to deal with concepts
> > as ClassSheet and ClassTemplate.
> >
> > Concerning Calendar application. It implies three XWiki "documents".
> >
> > Main.EventCalendar
> > XWiki.CalendarSheet
> > XWiki.CalendarEvent
> >
> > If you edit Main.EventCalendar  you will see a single line:
> > #includeForm("XWiki.CalendarSheet")
> >
> > To get what Guillaume proposed, you must copy XWiki.CalendarSheet and
> > XWiki.CalendarEvent to the new space of your election. Let's call it
> > Cardiology. Thus, you will have Cardiology.CalendarSheet and
> > Cardiology.CalendarEvent documents.
> >
> > To create new calendar entries you could call Cardiology.CalendarEvent
> > or to create a new document with an entry similar to Main.EventCalendar
> > accessible for your users.
> >
> > To understand the details of this "simple" application requires that you
> > (and me :-) correctly understand the previously named tutorials.
> >
> > Hope this helps,
> >
> > Ricardo
> >
> >
> >
> >
> > David Hláčik wrote:
> >
> >> Thank you very much!
> >> unfortunatelly i am new in this one, how can i copy it exactly :(
> >>
> >> Sorry for bothering you.
> >>
> >> David
> >>
> >> On Tue, Apr 22, 2008 at 5:50 PM, [Ricardo Rodriguez] Your EPEC Network
> ICT
> >> Team <[EMAIL PROTECTED]> wrote:
> >>
>
>
> --
> Ricardo Rodríguez
> Your EPEC Network ICT Team
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to