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 <
webmaster(a)environmentalchange.net>gt;:
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
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
<webmaster(a)environmentalchange.net> wrote:
>
--
Ricardo Rodríguez
Your EPEC Network ICT Team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org