[Idrs-commit] CVS: Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units Db.java,1.2,1.3 Object.jav
Brought to you by:
bigman921
|
From: Marc B. <big...@us...> - 2002-03-23 04:48:30
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units
In directory usw-pr-cvs1:/tmp/cvs-serv12732/src/net/sourceforge/idrs/deploy/compile/units
Modified Files:
Db.java Object.java
Log Message:
Added setprops tag
Index: Db.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Db.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Db.java 4 Mar 2002 23:05:35 -0000 1.2
--- Db.java 23 Mar 2002 04:48:28 -0000 1.3
***************
*** 95,98 ****
--- 95,103 ----
}
+ public void pageSize(String val,Attributes atts) throws Exception {
+ db.setIsPaged(true);
+
+ }
+
public net.sourceforge.idrs.utils.DB getDB() {
return this.db;
Index: Object.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/units/Object.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Object.java 4 Mar 2002 23:05:35 -0000 1.2
--- Object.java 23 Mar 2002 04:48:28 -0000 1.3
***************
*** 74,76 ****
--- 74,88 ----
}
+ /**
+ *Sets if properties are to be set on page load
+ *@param val Value of tag
+ *@param atts Tag attributes
+ */
+ public void setProps(String val, Attributes atts) throws Exception {
+ System.out.println("In SetProps : " + Boolean.getBoolean(val));
+ this.obj.retrieveProps(val.equalsIgnoreCase("true"));
+ }
+
+
+
}
|