Sounds good. Just to clarify, would you put the snippets discussed into the dev user level or the hardcore - I would put it into dev user level, as I'm certainly not hardcore :)
 
end user docs
dev user docs
dev hardcore docs
 
Duke

From: Cody Burleson [mailto:cburleso@us.ibm.com]
Sent: Wednesday, August 31, 2005 2:52 PM
To: xwiki-users@objectweb.org
Subject: Re: [xwiki-users] Changing the space/web of a page


One question about the documentation is:

Where do we draw the line between what is considered USER guide and DEVELOPER GUIDE?

Some of the documentation I have been reviewing seems to suggest that you could have Xwiki Presentation Layer Development (classes,properties,objects,Velocity,Groovy). But is this too deep or granular for a basic user guide? Maybe the user guide is all basic content management and  the developer guide has two levels: XWiki development (user level), XWiki development Internals (hardcore) level. Snippets for Velocity and stuff would go in

Thoughts?



==================================
Cody Burleson
IBM, Business Consulting Services
On Demand Workplaces
"Simplifying access to content, applications, people and processes."

Current Client Office (Mon - Thur): (404) 828-4583
Home Office [Friday, Sat. Sun. or email a voice message]: (214) 233.3546
Cell [anytime]: (214) 537-8783
Email: cburleso@us.ibm.com




Ludovic Dubost <ludovic@xwiki.com>

08/31/2005 04:34 PM
Please respond to
xwiki-users@objectweb.org

To
xwiki-users@objectweb.org
cc
Subject
Re: [xwiki-users] Changing the space/web of a page






There is already:

http://www.xwiki.org/xwiki/bin/view/Dev/UserSnipplets

However it would make sense to refactor it... Maybe putting them in the
Snipplets (or Scriptlets ?) space..
Go ahead and start whoever has time.

We have also setup the xwiki-sandbox in the SVN repository for bigger
scripts.. However a page on xwiki.org would make sense even for this code.

Ludovic


Duke Tantiprasut wrote:
> Could we set up a page on xwiki.org with links to these useful snipplets? It
> would be good to have a central place where all these bits of code could be
> found.
>
> Duke
>  
>
>  
>> -----Original Message-----
>> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
>> Sent: Wednesday, August 31, 2005 11:48 AM
>> To: xwiki-users@objectweb.org
>> Subject: Re: [xwiki-users] Changing the space/web of a page
>>
>>
>> The following script can be adapted to 'copy' documents (you
>> then need to delete them) This script needs to be saved with
>> admin rights and should not be accessible by anybody because
>> it allows to get 'any' page even those for which the user
>> does not have the rights
>>
>> SNIP
>> 1 Copy a document
>>
>> #set($sourcewiki = $request.sourcewiki)
>> #set($sourcedoc = $request.sourcedoc)
>> #set($targetdoc = $request.targetdoc)
>> #set($targetwiki = $request.targetwiki)
>> #set($language = $request.language)
>>
>> #if ($targetdoc=="")
>> #set($targetdoc = $sourcedoc)
>> #end
>>
>> #if ($targetwiki=="")
>> #set($targetwiki = $sourcewiki)
>> #end
>>
>> #if ($sourcewiki)
>> Copying document $sourcedoc ($language) from $sourcewiki to
>> $targetwiki:
>> $xwiki.xWiki.copyDocument($sourcedoc, $targetdoc,
>> $sourcewiki, $targetwiki, $language, false, $context.context)
>>
>> [Source doc>$sourcewiki:$sourcedoc?language=$language] [Target
>> doc>$targetwiki:$targetdoc?language=$language]
>> #end
>>
>> <form action="">
>> <table><tr>
>> <td>Source Wiki:</td>
>> <td><input type="text" name="sourcewiki" value="$!request.sourcewiki"
>> size="60"/>
>> </td></tr>
>> </tr><td>Source Document:</td>
>> <td><input type="text" name="sourcedoc" value="$!request.sourcedoc"  
>> size="60"/></td></tr>
>> </tr><td>Language:</td>
>> <td><input type="text" name="language" value="$!request.language"
>> size="60" /></td></tr>
>> </tr><td>Target Doc:</td>
>> <td><input type="text" name="targetdoc" value="$!request.targetdoc"
>> size="60" /></td></tr>
>> </tr><td>Target Wiki:</td>
>> <td><input type="text" name="targetwiki" value="$!request.targetwiki"
>> size="60" /></td>
>> <td></td>
>> <td><input type="submit" value="Copy" /> </td></tr> </table>
>> </form> SNIP
>>
>> Ludovic
>>
>> Charles Rankin wrote:
>>    
>>> Short form of the question: Is there any way to change
>>>      
>> which space (or
>>    
>>> web) a given page resides in?
>>>
>>> Details: I've created a "smart table" (use the class/template/sheet
>>> approach). The pages for this appear in a given space/web
>>>      
>> (let's call
>>    
>>> it 'X').  However, X's space access rights don't give the
>>>      
>> community at
>>    
>>> large access to them -- they do have access to the table
>>>      
>> page itself.
>>    
>>>  This was a case of not thinking things through clearly.  So, my
>>> thought was to put the whole table (and the pages that
>>>      
>> created for it)
>>    
>>> in a new space that does have appropriate access rights.  Thus, I'd
>>> like to create it and move all the existing pages into the
>>>      
>> new space.
>>    
>>> Hence, my original question.  I'm open to other
>>>      
>> alternatives.  My only
>>    
>>> thought, thus far, is to see if there is a way to dynamically apply
>>> access rights to a page as it is created (but that sounds
>>>      
>> "unclean").
>>    
>>> Charles Rankin
>>>
>>>      
>> ----------------------------------------------------------------------
>>    
>>> --
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>>      
>> xwiki-users@objectweb.org mailing list.
>>    
>>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>>> For general help: mailto:sympa@objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page:
>>> http://www.objectweb.org/wws
>>>  
>>>      
>> --
>> Ludovic Dubost
>> XPertNet: http://www.xpertnet.fr/
>> Blog: http://www.ludovic.org/blog/
>> XWiki: http://www.xwiki.com
>> Skype: ldubost AIM: nvludo Yahoo: ludovic
>>
>>
>>
>>    
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  


--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic



--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws