Just found "XWiki Model 2.0"( http://dev.xwiki.org/xwiki/bin/view/Design/XWikiModel20), seems there will be an UUID of each doc in the future. On Tue, Aug 25, 2009 at 5:04 PM, Guillaume Lerouge <[email protected]>wrote:
Hi,
On Tue, Aug 25, 2009 at 2:52 AM, flyisland <[email protected]> wrote:
got it, thanks
On Tue, Aug 25, 2009 at 2:16 AM, Caleb James DeLisle < [email protected]> wrote:
At the moment, no. http://platform.xwiki.org/xwiki/bin/preview/DevGuide/DsXWikiDoc (bottom of the first paragraph)
Each document has a tags object which has a GUID number that does stay the same and could be called with a database query, but this is far from an elegant solution.
flyisland wrote:
I notice that the value of ID of the xwiki doc changed after I renamed the doc to another Space. For some reasons, I'd like get the same doc use a unchanged, unique value, can I do that with XWiki?
Another solution would be to add a specific XWiki.UID object with a single property that you would populate with a unique identifier on rename. That's not elegant either though :-)
Guillaume
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
--
-----------------------------------------------------------------------------------------
空中的一小块陆地 E-mail : [email protected] Blog : http://flyisland.blogbus.com/ Twitter : http://twitter.com/flyisland
-----------------------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- ----------------------------------------------------------------------------------------- 空中的一小块陆地 E-mail : [email protected] Blog : http://flyisland.blogbus.com/ Twitter : http://twitter.com/flyisland -----------------------------------------------------------------------------------------