|
From: <sv...@de...> - 2005-06-22 22:26:24
|
Author: marcelo
Date: 2005-06-22 18:26:30 -0400 (Wed, 22 Jun 2005)
New Revision: 1400
Modified:
humano2/trunk/core/schema/pgsql/pgsql-Beta6patch.sql
humano2/trunk/web/builder/site/buildattribute.aspx.cs
Log:
* Modified attName of the new attributes to have "(in pixels)" when indi=
cating width and height
* removed If identified as "// Don't add the column if the value is empt=
y." which did not enable to leave answers in blank.
Modified: humano2/trunk/core/schema/pgsql/pgsql-Beta6patch.sql
=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/core/schema/pgsql/pgsql-Beta6patch.sql 2005-06-22 22:23=
:35 UTC (rev 1399)
+++ humano2/trunk/core/schema/pgsql/pgsql-Beta6patch.sql 2005-06-22 22:26=
:30 UTC (rev 1400)
@@ -6,8 +6,8 @@
insert into "entity" ("id_entity","domainId","class","delDate","status"=
) values (157,10,9,NULL,NULL);
insert into "entity" ("id_entity","domainId","class","delDate","status"=
) values (158,10,9,NULL,NULL);
=20
-INSERT INTO "attribute" ("id_entity","classId","sysAttName","attName","=
order","isObligatory","isActive","isSearchable","isEditable","isSelfLooku=
p","isPrimary","isUnique","protection","display") VALUES (157,81,'widthP=
ertinence','width',0,'f','t','f','t','f','f','f','t',null);
-INSERT INTO "attribute" ("id_entity","classId","sysAttName","attName","=
order","isObligatory","isActive","isSearchable","isEditable","isSelfLooku=
p","isPrimary","isUnique","protection","display") VALUES (158,81,'height=
Pertinence','height',0,'f','t','f','t','f','f','f','t',null);
+INSERT INTO "attribute" ("id_entity","classId","sysAttName","attName","=
order","isObligatory","isActive","isSearchable","isEditable","isSelfLooku=
p","isPrimary","isUnique","protection","display") VALUES (157,81,'widthP=
ertinence','width (in pixels)',0,'f','t','f','t','f','f','f','t',null);
+INSERT INTO "attribute" ("id_entity","classId","sysAttName","attName","=
order","isObligatory","isActive","isSearchable","isEditable","isSelfLooku=
p","isPrimary","isUnique","protection","display") VALUES (158,81,'height=
Pertinence','height (in pixels)',0,'f','t','f','t','f','f','f','t',null);
INSERT INTO "numeric" ("id_entity","decimals","max","min","default") V=
ALUES (157,4,NULL,NULL,200); -- pertinence width
INSERT INTO "numeric" ("id_entity","decimals","max","min","default") V=
ALUES (158,4,NULL,NULL,200); -- pertinence height
=20
Modified: humano2/trunk/web/builder/site/buildattribute.aspx.cs
=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/builder/site/buildattribute.aspx.cs 2005-06-22 22:2=
3:35 UTC (rev 1399)
+++ humano2/trunk/web/builder/site/buildattribute.aspx.cs 2005-06-22 22:2=
6:30 UTC (rev 1400)
@@ -337,10 +337,6 @@
//Load Form variables into NameValueCollection variable.
foreach(string formKey in keyList)
{ // Add all the columns to the datatable.
- if(coll[formKey] =3D=3D "") // Don't add the column if the value is e=
mpty.
- {=20
- continue;
- }
dt.Columns.Add(formKey);
}
=20
|