Hi All,
For one of the tasks in my training project, I need to save xml content in
the registry. I have created a .jag file [1] under apis folder, and trying
to store the content in registry under a given path as follows.
var path = '/_system/governance/'+processName; // path of content
var content=req.getParameter('content'); //actual xml content to be stored
userReg.put(path,content);
When I try to log the path[2], for attribute 'content' it is shown as
empty. Also when I check content for the respective path using Management
console , no value is stored. But when I try to log the content variable(
value I get from req.getParameter('content') ) value is shown which means
that the variable has the required value in it. Just that it is not stored
in registry.
I'm using ES-2.0.0-SNAPSHOT. Any idea on the reason behind this?
[1]
chevronxml.jag
<https://docs.google.com/a/wso2.com/file/d/0B2gZ09XLMRjKMkFQc1ZJckJMNFE/edit?usp=drive_web>
[2]
valueOfPath
<https://docs.google.com/a/wso2.com/file/d/0B2gZ09XLMRjKMm1aTW9CcnpLMDg/edit?usp=drive_web>
--
Himasha Guruge
*Software Engineer*
WS*O2* *Inc.*
Mobile: +94 777459299
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev