|
From: <sv...@de...> - 2005-05-27 16:46:50
|
Author: marijn
Date: 2005-05-27 12:46:50 -0400 (Fri, 27 May 2005)
New Revision: 1168
Modified:
humano2/trunk/web/portal/site/readXslt.aspx
Log:
* Fixing uncorrectly commented lines. These are needed for filtering per=
tinence.
Modified: humano2/trunk/web/portal/site/readXslt.aspx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- humano2/trunk/web/portal/site/readXslt.aspx 2005-05-27 16:36:00 UTC (=
rev 1167)
+++ humano2/trunk/web/portal/site/readXslt.aspx 2005-05-27 16:46:50 UTC (=
rev 1168)
@@ -160,7 +160,7 @@
/* Remark: Javascript always store the nodes in the same ord=
er: the order of creation */
var isObligatoryArray =3D new Array; /* array that stores th=
e booleans isObligatory for each attribute */
var attNameArray =3D new Array; /* array that stores the nam=
e of each attribute */
- //var attNameDict =3D new Array; /* array (dictionary) that =
stores the name, sysname relation. */
+ var attNameDict =3D new Array; /* array (dictionary) that st=
ores the name, sysname relation. */
var allInputsToCheck =3D new InputsToCheck();
var i=3D0; /* Counters */
var j=3D0;
@@ -179,7 +179,7 @@
<script language=3D"Javascript">
isObligatoryArray[i++]=3D'fa=
lse';
attNameArray[j++] =3D '<xsl:=
value-of select=3D"string($attributeName)"/>';
- //attNameDict["<xsl:value-of=
select=3D"string($attributeName)"/>"] =3D '<xsl:value-of select=3D"strin=
g($attributeSysName)"/>';
+ attNameDict["<xsl:value-of s=
elect=3D"string($attributeName)"/>"] =3D '<xsl:value-of select=3D"string(=
$attributeSysName)"/>';
</script>
<!-- If the field is obligatory =
add a star and put the JS variable isObligatory to false -->
<xsl:variable name=3D"isObligato=
ry" select=3D"/page/classInstance/structure/attribute[id_entity=3D$idAttr=
ibute]/isObligatory"/> =20
|