Hello Andy,

As far as I know, Documents don't have GUID's but object GUIDs are just
java.util.UUID.randomUUID().toString();
nothing fancy.
If you want new GUIDs for the objects then just copy the blog document,
the copy will have different ones.

Also I think the reason why velocity is favored here is because groovy has a
security bug which allows groovy code to take over the jvm.
http://jira.codehaus.org/browse/GROOVY-1875
I hope they get this fixed soon because I think groovy is cool as well.


Caleb James DeLisle


Andreas Schaefer wrote:
> Hi
> 
> To develop the GBlog application I just took the XML from the Blog 
> application and replace its content with mine. So far so good. But lately I 
> see problems with Panels and I am not quite sure if this is related to 
> duplicate GUID in the Panels Document or Object. So I have a few questions:
> 
> 1) Where and by what is the GUID used?
> 
> 2) How can I create GUIDs inside or outside of XWiki?
> 
> Cheers - Andy
> 
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
> 

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to