--- a/src/components/verification_validation.mxml
+++ b/src/components/verification_validation.mxml
@@ -238,7 +238,7 @@
internal function saveVVData():void {
//send data to webservice,
- var saveUrl:String = AppUtility.getVerificationDataSaveUrl(ProjectDataHolder.projectID);
+ var saveUrl:String = AppUtility.getVerificationDataSaveUrl(ProjectDataHolder.currentProjectID);
var urlVar:URLVariables = new URLVariables();
urlVar.verificationXml = serializeVVData();
urlVar.user = ProjectDataHolder.currentUser;
@@ -251,7 +251,7 @@
//function to get the verification data from the server.
//called when the Verificatio menu option is selected
internal function getVVData():void {
- var getUrl:String = AppUtility.getVerificationDataGetUrl(ProjectDataHolder.projectID);
+ var getUrl:String = AppUtility.getVerificationDataGetUrl(ProjectDataHolder.currentProjectID);
trace(getUrl);
new HttpOperator().getData(getUrl,
null, URLRequestMethod.POST, this,
@@ -578,7 +578,7 @@
//function to send a metric capture request to the server
internal function captureMetric(id:int):void {
//send data to webservice,
- var getUrl:String = AppUtility.getCaptureMetricUrl(ProjectDataHolder.projectID);
+ var getUrl:String = AppUtility.getCaptureMetricUrl(ProjectDataHolder.currentProjectID);
var urlVar:URLVariables=new URLVariables();
urlVar.metric=JSON.encode(captureMetricList[id]);
trace(getUrl);
@@ -707,7 +707,7 @@
var request:URLRequest = new URLRequest();
request.data=urlVariables;
request.method = URLRequestMethod.POST;
- request.url = AppUtility.getVerificationUploadUrl(ProjectDataHolder.projectID);
+ request.url = AppUtility.getVerificationUploadUrl(ProjectDataHolder.currentProjectID);
trace("upload file name : "+fileReader.fileRef.name);
var loader:URLLoader = new URLLoader();
fileReader.fileRef.upload(request);
@@ -741,7 +741,7 @@
]]>
</mx:Script>
<mx:TabNavigator width="100%" id="tabnav_review_metadata" height="100%">
- <mx:Canvas label="Significant Properties" width="100%" styleName="headings" creationComplete="initPropControls();">
+ <mx:Canvas id="cvs_sigProps" label="Significant Properties" width="100%" styleName="headings" creationComplete="initPropControls();">
<mx:Canvas left="9" height="314" borderStyle="inset" width="250" y="60">
<mx:TextInput x="33" y="31" width="80%" id="txtIn_spName" fontSize="12"/>
<mx:TextInput x="33" y="44" width="80%" id="txtSpIdx" visible="false"/>
@@ -773,8 +773,7 @@
<mx:Button y="398" label="Delete Selected" horizontalCenter="0" click="deleteSelectedProps();"/>
</mx:Canvas>
- <mx:Canvas label="Metrics and Capture Process" width="100%"
- creationComplete="{initMetricControls()}" id="lblMetricWarn">
+ <mx:Canvas label="Metrics and Capture Process" width="100%" creationComplete="{initMetricControls()}" id="lblMetricWarn">
<mx:DataGrid y="47" right="10" dataProvider="{vvData.metrics}"
itemClick="{selectMetric(event)}" id="dg_metrics" left="295" height="372">
<mx:columns>
@@ -814,7 +813,7 @@
</mx:Canvas>
<mx:Button y="434" label="Delete Selected" click="deleteSelectedMetrics();" horizontalCenter="0"/>
</mx:Canvas>
- <mx:Canvas label="Mapping" width="100%" creationComplete="initMappingControls()">
+ <mx:Canvas id="cvsMapping" label="Mapping" width="100%" creationComplete="initMappingControls()">
<mx:Canvas width="45%" horizontalCenter="-156" y="76" height="293">
<mx:ComboBox y="25" height="35" id="cb_sp" selectedIndex="-1"
dataProvider="{vvData.props}" labelField="name" change="{updateMetricsLists()}" horizontalCenter="0"></mx:ComboBox>
@@ -831,7 +830,7 @@
<mx:Button y="209" label="<" horizontalCenter="0" click="addMapping()"/>
<mx:Button y="245" label=">" horizontalCenter="0" click="removeMapping()"/>
</mx:Canvas>
- <mx:Canvas label="Verification" width="100%" height="100%" backgroundColor="#FDFCFC" backgroundAlpha="1.0" >
+ <mx:Canvas id="cvsVVFrame" label="Verification" width="100%" height="100%" backgroundColor="#FDFCFC" backgroundAlpha="1.0" >
<components:v_data_capture id="vcomp" horizontalCenter="0" creationComplete="attachEvents()">
</components:v_data_capture>
</mx:Canvas>