Hello
I'm using the "include macro" to transfer some information between the 
different documents of my xwiki, but somehow I can't transfer any class. When I 
try this code :

First page :

{{groovy}}
xy=2;
public class Souris {
public String Name;
public Souris(){
Name="Jerry";
}
}

Souris Verte = new Souris();
{{/groovy}}

Second page :

{{include reference="First page"/}}
{{groovy}}
println(xy);
{{/groovy}}

{{groovy}}
println(Verte.Name)
{{/groovy}}

the first groovy macro runs well and displays 
2
as predicted, but the second one doesn't work. Why ? And how can I make it work?

Thanks for the advice !

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

Reply via email to