Hi,
I am trying to populate the dropdown using javascript when I click the button. I tried the following code but no luck.
if (myXmlRoot || loadXmlDoc())
{
var pattern="//input_controls/input_control[@id='" + fldname + "']/link[@persistentuniqueid='" + linkid + "']/condition/data_info";
alert("Myxmlroot : "+ myXmlRoot);
alert("Pattern : " + pattern);
var requestNode = getSingleNode(myXmlRoot, pattern);
alert("RequestNode : " + requestNode);
if (requestNode)
{
alert("inside if");
requestNode.setAttribute("datasource", ibif_ex);
requestNode.setAttribute("IBIMR_folder", ibimr_folder);
requestNode.setAttribute("displayfield",fldname1);
requestNode.setAttribute("datafield",fldname2);
}
}
Anybody did this. I searched in forum but found most of the posts related to chaining.
Any help in this issue would be appreciated.
WFConsultant
WF 8105M on Win7/Tomcat