On 09/27/2013 08:53 PM, Prachi Maheshwari wrote:
hey developers,
I am trying this feature in my application.
The feature is like I am coming to Xwiki's page from a different Java Application,
and now when I click on the various alerts(units) in my application, I want an informative
page on that alert/unit in Xwiki.
So, all it has to do is check whether a page with the same name as alert already exist or
not.
If it exists, then directly go to the page.( which I am successful in doing)
And if it doesn't exist then take the required parameters from my java application
and fill it in my xwiki page( which is also I am successful in doing)
Now when I get those variables in the page, I want to store them in the object. So, they
could be viewed later on.
I am not sure when and where you want to save things, but the API docs at:
http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed
told me that something like $doc.save() might be worth a try
Cheers
Clemens