Commit dd5a6358 authored by manohar's avatar manohar

validations for tags as per old bmr commented


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93022 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9c16aeaa
...@@ -421,7 +421,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo ...@@ -421,7 +421,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo
break; break;
} }
} }
*/
if ( childNodeName.trim().equals( "seq_no" ) ) if ( childNodeName.trim().equals( "seq_no" ) )
{ {
String seqNo = genericUtility.getColumnValue( childNodeName.trim(), dom ); String seqNo = genericUtility.getColumnValue( childNodeName.trim(), dom );
...@@ -484,7 +484,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo ...@@ -484,7 +484,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo
} }
} }
} }
*/
}//END FOR OF CASE2 }//END FOR OF CASE2
break; break;
}//END SWITCH }//END SWITCH
...@@ -865,7 +865,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo ...@@ -865,7 +865,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo
String editFlg = getNodeValue( dom.getElementsByTagName("Detail2").item(0), "updateFlag", true ); String editFlg = getNodeValue( dom.getElementsByTagName("Detail2").item(0), "updateFlag", true );
String instruction = genericUtility.getColumnValue( "instruction", dom1 ); String instruction = genericUtility.getColumnValue( "instruction", dom1 );
HashMap tagMap = Utils.getAllTagsSeqNoMap( instruction ); /*HashMap tagMap = Utils.getAllTagsSeqNoMap( instruction );
//System.out.println( "nextSeqNoStr::" + nextSeqNoStr ); //System.out.println( "nextSeqNoStr::" + nextSeqNoStr );
if( tagMap.containsKey( "observ" + nextSeqNoStr ) ) if( tagMap.containsKey( "observ" + nextSeqNoStr ) )
{ {
...@@ -882,7 +882,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo ...@@ -882,7 +882,7 @@ public class ProcRouteInstrIc extends ValidatorEJB implements ProcRouteInstrIcLo
valueXmlString.append("<observ_head protect=\"0\">").append("<![CDATA[]]>").append("</observ_head>"); valueXmlString.append("<observ_head protect=\"0\">").append("<![CDATA[]]>").append("</observ_head>");
valueXmlString.append("<default_value protect=\"0\">").append("<![CDATA[]]>").append("</default_value>"); valueXmlString.append("<default_value protect=\"0\">").append("<![CDATA[]]>").append("</default_value>");
} }
} }*/
//end map of tags with ref, and it is not table then keep default and header fields disabled. //end map of tags with ref, and it is not table then keep default and header fields disabled.
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment