Hi,
I think the XWD_ID is just the java hashcode of the document name.
For example, the Java code:
String s = "XWiki.CalendarEvent";
System.out.println(s.hashCode());
String s2 = "XWiki.XWikiPreferences";
System.out.println(s2.hashCode());
prints:
-237561194
104408758
Which on my system are the XWD_IDs for those docs.
But there has been talk on these lists of changing the way the IDs work.
Regards,
Robin
On 09/06/06, Jeff Ousley <jousley(a)gmail.com> wrote:
All,
I'm looking for this answer and not finding it. Obviously I'm looking
in the wrong place. I need to create sql scripts to move pages in the
database. I cannot figure out how XWD_ID is being created. Does anyone
know of a script, or snippet of java code, that I can use to create
that value?
Thanks!
-jeff
--
You receive this message as a subscriber of the xwiki-users(a)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