19 Jul
2008
19 Jul
'08
5:36 a.m.
List<String> spaces = xwikiContext.getWiki().getSpaces(xwikiContext); if (spaces.contains(name)) { // ... } On Fri, Jul 18, 2008 at 10:55 PM, Bruno Amaro Almeida < [email protected]> wrote:
Hi
How can i check if a space exists or not ? I try :
if(context.getWiki().exists(MySpaceName, context)){
This is to see if a particular document (a.k.a "<spacename>.<pagename>") exists or not. - Asiri
(...)
}
but don`t work.
Any ideas ?
Regards, Bruno Amaro Almeida _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs