up please don't know how to do :)
thx
Message du 18/06/08 14:20
De : "ced.dall"
A : users(a)xwiki.org
Copie à :
Objet : [xwiki-users] xwiki and xmlrpc
Hi, all I need to get content from a xwiki page, this i make in java with xml rpc
but the problem is that i can't specify in which language i want the page. My code
: stringBuffer.append("
" + localize(KEY_INSTRUCTIONS, locale)
+ "
"); final String token = (String)
client.execute("confluence1.login", new Object[]
{ "cda", "cda" }); final Map page = (Map)
client.execute("confluence1.getPage", new Object[] {
token, "Main", "Incendie" }); final String pageId = (String)
page.get("id"); final String content = (String) page.get("content");
stringBuffer.append((String)
client.execute("confluence1.renderContent", new Object[] {
token,"Main", pageId, content })); I tried final Map page = (Map)
client.execute("confluence1.getPage", new Object[] {
token, "Main", "Incendie?language=fr" }); but doesn't work
Hope you can help me thx DALL'AGNOLA Cédric Créez votre adresse électronique
prénom.nom(a)laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________ users mailing list users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Créez votre adresse électronique prénom.nom(a)laposte.net
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.