idrs-commit Mailing List for Internet Document and Report Server (Page 9)
Brought to you by:
bigman921
You can subscribe to this list here.
| 2002 |
Jan
(113) |
Feb
(34) |
Mar
(38) |
Apr
(63) |
May
|
Jun
|
Jul
|
Aug
(40) |
Sep
(26) |
Oct
(4) |
Nov
(5) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(13) |
Feb
(15) |
Mar
(21) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(71) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/pool
In directory usw-pr-cvs1:/tmp/cvs-serv21727/dev/src/net/sourceforge/idrs/pool
Added Files:
DbPool.java IDRSPool.java IDRSRepPool.java JDBCPool.java
RepPool.java ScriptContextPool.java ScriptPool.java
Log Message:
Synced development
--- NEW FILE: DbPool.java ---
package net.sourceforge.idrs.pool;
import java.sql.*;
import net.sourceforge.idrs.jdbc.*;
/**
* Defines the basis for a DB pool, must be exteded
*/
public abstract class DbPool implements IDRSPool {
JDBCInfo info;
String poolname;
int min;
int limit;
int idleTime;
long sleepTime;
String logpath;
public void build(String poolname, String drivername, String url,
String username, String password, int min, int limit,
long daysOpen, long sleep, String path) throws Exception {
info = new JDBCInfo(poolname, drivername, url, username, password);
}
/**
*Retrieves a connection
*/
public Connection getConnection() throws Exception {
return (Connection) getObj();
}
/**
*Returns a connection
*/
public void returnConnection(Connection con) throws Exception {
returnObj(con);
}
/**
*Returns the jdbcinfo object
*/
public JDBCInfo getInfo() {
return info;
}
}
--- NEW FILE: IDRSPool.java ---
package net.sourceforge.idrs.pool;
import java.util.*;
/**
* This interface acts as a connection between the IDRS and a
* pooling implementation
*/
public interface IDRSPool {
/**
*Retrieves an object from the pool, does not define failure condition
*/
public Object getObj() throws Exception;
/**
*Returns an object to the pool, does not define failure conditions
*/
public void returnObj(Object obj) throws Exception;
/**
*Deinitializes the pool
*/
public void close() throws Exception;
}
--- NEW FILE: IDRSRepPool.java ---
package net.sourceforge.idrs.pool;
import org.apache.commons.pool.*;
import org.apache.commons.pool.impl.*;
import net.sourceforge.idrs.core.report.*;
public class IDRSRepPool extends net.sourceforge.idrs.pool.RepPool {
ObjectPool pool;
public void build(int objectMin, int objectLimit, IDRSRep rep, long sleepTime, String path,int trys) throws Exception {
super.build(objectMin,objectLimit,rep,sleepTime,path,trys);
GenericObjectPool.Config conf = new GenericObjectPool.Config();
conf.maxActive = limit;
conf.maxWait = sleepTime;
conf.testOnBorrow = true;
conf.timeBetweenEvictionRunsMillis = 100000;
conf.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;
pool = new GenericObjectPool(new ReportFactory(rep),conf);
}
public Object getObj() throws Exception {
return pool.borrowObject();
}
public void returnObj(Object obj) throws Exception {
pool.returnObject(obj);
}
public void close() throws Exception {
pool.close();
}
}
class ReportFactory implements PoolableObjectFactory {
IDRSRep rep;
public ReportFactory(IDRSRep rep) {
this.rep = rep;
}
public void activateObject(Object obj) throws Exception {
}
public void destroyObject(Object obj) throws Exception {
}
public Object makeObject() throws Exception {
return rep.clone();
}
public void passivateObject(Object obj) throws Exception {
}
public boolean validateObject(Object obj) {
return obj != null;
}
}
--- NEW FILE: JDBCPool.java ---
package net.sourceforge.idrs.pool;
import org.apache.commons.pool.*;
import org.apache.commons.pool.impl.*;
import net.sourceforge.idrs.jdbc.*;
import java.sql.*;
public class JDBCPool extends DbPool {
ObjectPool pool;
public void build(String poolname, String drivername, String url,
String username, String password, int min, int limit,
long daysOpen, long sleep, String path) throws Exception {
super.build(poolname,drivername,url,username,password,min,limit,daysOpen,sleep,path);
GenericObjectPool.Config conf = new GenericObjectPool.Config();
conf.maxActive = limit;
conf.maxWait = sleepTime;
conf.testOnBorrow = true;
conf.timeBetweenEvictionRunsMillis = 100000;
conf.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;
pool = new GenericObjectPool(new JDBCFactory(info),conf);
}
public Object getObj() throws Exception {
return pool.borrowObject();
}
public void returnObj(Object obj) throws Exception {
pool.returnObject(obj);
}
public void close() throws Exception {
pool.close();
}
}
class JDBCFactory implements PoolableObjectFactory {
JDBCInfo jdbcInfo;
public JDBCFactory(JDBCInfo jdbc) {
this.jdbcInfo = jdbc;
}
public void activateObject(Object obj) throws Exception {
}
public void destroyObject(Object obj) throws Exception {
((Connection) obj).close();
}
public Object makeObject() throws Exception {
return jdbcInfo.build();
}
public void passivateObject(Object obj) throws Exception {
}
public boolean validateObject(Object obj) {
try {
return obj != null && ! ((Connection) obj).isClosed();
}
catch (Exception e) {
return false;
}
}
}
--- NEW FILE: RepPool.java ---
package net.sourceforge.idrs.pool;
import net.sourceforge.idrs.core.report.*;
import java.sql.*;
/**
* Defines the basis for a Report pool, must be exteded
*/
public abstract class RepPool implements IDRSPool {
String poolname;
int min;
int limit;
int idleTime;
long sleepTime;
String logPath;
IDRSRep rep;
public void build(int objectMin, int objectLimit, IDRSRep rep, long sleepTime, String path,int trys) throws Exception {
this.rep = rep;
this.min = objectMin;
this.limit=objectLimit;
this.sleepTime = sleepTime;
this.logPath = path;
}
/**
*Retrieves a Report
*/
public IDRSRep getReport() throws Exception {
return (IDRSRep) getObj();
}
/**
*Returns a Report
*/
public void returnReport(IDRSRep rep) throws Exception {
returnObj(rep);
}
}
--- NEW FILE: ScriptContextPool.java ---
package net.sourceforge.idrs.pool;
import org.apache.commons.pool.*;
import org.apache.commons.*;
import org.apache.commons.pool.impl.*;
import org.apache.commons.*;
import net.sourceforge.idrs.script.embedable.*;
public class ScriptContextPool extends ScriptPool {
ObjectPool pool;
public void build(int objectMin, int objectLimit, String scriptClass, long sleepTime, String path,int trys) throws Exception {
super.build(objectMin,objectLimit,scriptClass,sleepTime,path,trys);
GenericObjectPool.Config conf = new GenericObjectPool.Config();
conf.maxActive = limit;
conf.maxWait = sleepTime;
conf.testOnBorrow = true;
conf.timeBetweenEvictionRunsMillis = 100000;
conf.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;
pool = new GenericObjectPool(new ScriptFactory(scriptClass),conf);
}
public Object getObj() throws Exception {
return pool.borrowObject();
}
public void returnObj(Object obj) throws Exception {
pool.returnObject(obj);
}
public void close() throws Exception {
pool.close();
}
}
class ScriptFactory implements PoolableObjectFactory {
String scriptClass;
public ScriptFactory(String scriptClass) {
this.scriptClass = scriptClass;
}
public void activateObject(Object obj) throws Exception {
}
public void destroyObject(Object obj) throws Exception {
}
public Object makeObject() throws Exception {
return Class.forName(scriptClass).newInstance();
}
public void passivateObject(Object obj) throws Exception {
}
public boolean validateObject(Object obj) {
return obj != null;
}
}
--- NEW FILE: ScriptPool.java ---
package net.sourceforge.idrs.pool;
import java.sql.*;
import net.sourceforge.idrs.script.embedable.*;
/**
* Defines the basis for a Report pool, must be exteded
*/
public abstract class ScriptPool implements IDRSPool {
String poolname;
int min;
int limit;
int idleTime;
long sleepTime;
String logPath;
String scriptClass;
public void build(int objectMin, int objectLimit, String scriptClass, long sleepTime, String path,int trys) throws Exception {
this.min = objectMin;
this.limit=objectLimit;
this.sleepTime = sleepTime;
this.logPath = path;
this.scriptClass = scriptClass;
}
/**
*Retrieves a Conetext
*/
public IDRSScriptLanguage getContext() throws Exception {
return (IDRSScriptLanguage) getObj();
}
/**
*Returns a Context
*/
public void returnContext(IDRSScriptLanguage script) throws Exception {
returnObj(script);
}
}
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/exceptions
In directory usw-pr-cvs1:/tmp/cvs-serv21727/dev/src/net/sourceforge/idrs/exceptions
Added Files:
FailInit.java IllegalParameter.java NoConnection.java
PageNotFoundException.java SystemBusy.java
Log Message:
Synced development
--- NEW FILE: FailInit.java ---
package net.sourceforge.idrs.exceptions;
public class FailInit extends Exception {
/**
* Constructor for FailInit
*/
public FailInit() {
super();
}
/**
* Constructor for FailInit
*/
public FailInit(String arg0) {
super(arg0);
}
}
--- NEW FILE: IllegalParameter.java ---
package net.sourceforge.idrs.exceptions;
public class IllegalParameter extends Exception {
/**
* Constructor for IllegalParameter
*/
public IllegalParameter() {
super();
}
/**
* Constructor for IllegalParameter
*/
public IllegalParameter(String arg0) {
super(arg0);
}
}
--- NEW FILE: NoConnection.java ---
package net.sourceforge.idrs.exceptions;
public class NoConnection extends Exception {
/**
* Constructor for NoConnection
*/
public NoConnection() {
super();
}
/**
* Constructor for NoConnection
*/
public NoConnection(String arg0) {
super(arg0);
}
}
--- NEW FILE: PageNotFoundException.java ---
package net.sourceforge.idrs.exceptions;
public class PageNotFoundException extends Exception {
String message;
boolean isName;
String name;
int id;
/**
* Constructor for PageNotFound
*/
public PageNotFoundException() {
super();
}
/**
* Constructor for PageNotFound
*/
public PageNotFoundException(String page) {
super(page);
message = page + " not found";
name = page;
isName = true;
}
/**
* Constructor for PageNotFound
*/
public PageNotFoundException(int page) {
super(Integer.toString(page));
message = Integer.toString(page) + " not found";
id = page;
isName = false;
}
/**
*Determines if an id or a name is specified
*return true if is a name
*/
public boolean isName() {
return isName;
}
/**
*Retrieves name
*@return name of sought page
*/
public String getName() {
return name;
}
/**
*Returns id
*@return id of sought page
*/
public int getID() {
return id;
}
}
--- NEW FILE: SystemBusy.java ---
package net.sourceforge.idrs.exceptions;
public class SystemBusy extends Exception {
/**
* Constructor for SystemBusy
*/
public SystemBusy() {
super();
}
/**
* Constructor for SystemBusy
*/
public SystemBusy(String arg0) {
super(arg0);
}
}
|
|
From: Marc B. <big...@us...> - 2002-08-22 20:06:30
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/pool In directory usw-pr-cvs1:/tmp/cvs-serv21727/dev/classes/net/sourceforge/idrs/pool Added Files: DbPool.class IDRSPool.class IDRSRepPool.class JDBCFactory.class JDBCPool.class RepPool.class ReportFactory.class ScriptContextPool.class ScriptFactory.class ScriptPool.class Log Message: Synced development --- NEW FILE: DbPool.class --- Êþº¾ Exceptions SourceFile --- NEW FILE: IDRSPool.class --- Êþº¾ Exceptions SourceFile --- NEW FILE: IDRSRepPool.class --- Êþº¾ Exceptions SourceFile *´ *´ --- NEW FILE: JDBCFactory.class --- Êþº¾ Exceptions makeObject SourceFile +À *· --- NEW FILE: JDBCPool.class --- Êþº¾ Exceptions SourceFile · *´ *´ --- NEW FILE: RepPool.class --- Êþº¾ Exceptions SourceFile --- NEW FILE: ReportFactory.class --- Êþº¾ Exceptions makeObject SourceFile *· --- NEW FILE: ScriptContextPool.class --- Êþº¾ Exceptions SourceFile *´ *´ --- NEW FILE: ScriptFactory.class --- Êþº¾ Exceptions makeObject SourceFile *· --- NEW FILE: ScriptPool.class --- Êþº¾ Exceptions getContext SourceFile |
|
From: Marc B. <big...@us...> - 2002-08-22 19:35:21
|
Update of /cvsroot/idrs/Idrs/dev/html In directory usw-pr-cvs1:/tmp/cvs-serv4665 Added Files: deploy.html Log Message: Synced up packageing --- NEW FILE: deploy.html --- <HTML> <HEAD> <TITLE>IDRS Deployment Page</TITLE> </HEAD> <BODY> <form action="/idrs/idrs" method="POST"> <table border="0"> <TR><TD><input type="radio" name="update" value="0"> Insert<br><input type="radio" name="update" value="1"> Update</td><td></td></tr> <TR><TD><input type="checkbox" name="uname" value="1"> Name : </TD> <TD><input type="text" name="name" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="uid" value="1"> ID : </TD> <TD><input type="text" name="id" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="usrc" value="1"> Source : </TD> <TD><textarea name="src" cols="400" rows="50"></textarea></TD> </TR> <TR><TD><input type="checkbox" name="ugroups" value="1"> Groups : </TD> <TD><input type="text" name="groups" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="uparams" value="1"> Params : </TD> <TD><input type="text" name="params" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="uconns" value="1"> Connections : </TD> <TD><input type="text" name="conns" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="umin" value="1"> Min : </TD> <TD><input type="text" name="min" length="30"></TD> </TR> <TR><TD><input type="checkbox" name="umax" value="1"> Max : </TD> <TD><input type="text" name="max" length="30"></TD> </TR> </table> <br> <input type="submit"> <input type="reset"> </form> </body> </html> |
|
From: Marc B. <big...@us...> - 2002-08-22 19:35:03
|
Update of /cvsroot/idrs/Idrs/dev/xml
In directory usw-pr-cvs1:/tmp/cvs-serv4427
Modified Files:
rmlTrans.xml
Log Message:
Synced up packageing
Index: rmlTrans.xml
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/xml/rmlTrans.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** rmlTrans.xml 13 Apr 2002 16:06:35 -0000 1.6
--- rmlTrans.xml 22 Aug 2002 19:35:01 -0000 1.7
***************
*** 2,6 ****
<trans:rmlTrans xmlns:trans="rmlTransSchema.xml">
<!-- define valid rml tags -->
! <trans:rml simple="true" ownLine="false" >rml</trans:rml>
<trans:rml simple="true" ownLine="false" represent="isHtml" >ishtml</trans:rml>
<trans:rml simple="true" ownLine="false">scriptClass</trans:rml>
--- 2,6 ----
<trans:rmlTrans xmlns:trans="rmlTransSchema.xml">
<!-- define valid rml tags -->
! <trans:rml simple="true" ownLine="true" >rml</trans:rml>
<trans:rml simple="true" ownLine="false" represent="isHtml" >ishtml</trans:rml>
<trans:rml simple="true" ownLine="false">scriptClass</trans:rml>
***************
*** 16,19 ****
--- 16,20 ----
<trans:rml simple="true" ownLine="false">dbName</trans:rml>
<trans:rml simple="true" ownLine="false">dirrection</trans:rml>
+ <trans:rml simple="true" ownLine="false">direction</trans:rml>
<trans:rml simple="true" ownLine="false">dbUser</trans:rml>
<trans:rml simple="true" ownLine="false">dbPass</trans:rml>
***************
*** 23,38 ****
<trans:rml simple="true" ownLine="true">storedProc</trans:rml>
<trans:rml simple="true" ownLine="true">varlist</trans:rml>
! <trans:rml simple="false" ownLine="false">body</trans:rml>
! <trans:rml simple="true" ownLine="false">field</trans:rml>
<trans:rml simple="true" ownLine="false">src</trans:rml>
! <trans:rml simple="true" ownLine="true">ifResults</trans:rml>
! <trans:rml simple="false" ownLine="true">yes</trans:rml>
<trans:rml simple="false" ownLine="true" >no</trans:rml>
! <trans:rml simple="false" ownLine="true">repeat</trans:rml>
! <trans:rml simple="false" ownLine="true">ifChange</trans:rml>
! <trans:rml simple="true" ownLine="false">inputResults</trans:rml>
<trans:rml simple="true" ownLine="false">setProps</trans:rml>
<trans:rml simple="true" ownLine="false" >yesNo</trans:rml>
! <trans:rml simple="true" ownLine="false" >formInput</trans:rml>
<!-- text tag -->
--- 24,39 ----
<trans:rml simple="true" ownLine="true">storedProc</trans:rml>
<trans:rml simple="true" ownLine="true">varlist</trans:rml>
! <trans:rml simple="false" ownLine="true" parents="rml" >body</trans:rml>
! <trans:rml simple="true" ownLine="false" parents="repeat,ifchange,yes,no,body">field</trans:rml>
<trans:rml simple="true" ownLine="false">src</trans:rml>
! <trans:rml simple="true" ownLine="true" parents="body">ifResults</trans:rml>
! <trans:rml simple="false" ownLine="true" >yes</trans:rml>
<trans:rml simple="false" ownLine="true" >no</trans:rml>
! <trans:rml simple="false" ownLine="true" parents="body,yes,no">repeat</trans:rml>
! <trans:rml simple="false" ownLine="true" parents="repeat">ifChange</trans:rml>
! <trans:rml simple="true" ownLine="false" parents="repeat,ifchange,yes,no,body">inputResults</trans:rml>
<trans:rml simple="true" ownLine="false">setProps</trans:rml>
<trans:rml simple="true" ownLine="false" >yesNo</trans:rml>
! <trans:rml simple="true" ownLine="false" parents="repeat,ifchange,yes,no,body" >formInput</trans:rml>
<!-- text tag -->
|
|
From: Marc B. <big...@us...> - 2002-08-22 18:53:06
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/pool In directory usw-pr-cvs1:/tmp/cvs-serv14093/pool Log Message: Directory /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/pool added to the repository |
|
From: Marc B. <big...@us...> - 2002-08-22 18:51:05
|
Update of /cvsroot/idrs/Idrs/dev/html In directory usw-pr-cvs1:/tmp/cvs-serv13302/html Log Message: Directory /cvsroot/idrs/Idrs/dev/html added to the repository |
|
From: Marc B. <big...@us...> - 2002-08-22 18:40:26
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/pool In directory usw-pr-cvs1:/tmp/cvs-serv9711/pool Log Message: Directory /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/pool added to the repository |
|
From: Marc B. <big...@us...> - 2002-08-22 18:39:38
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/exceptions In directory usw-pr-cvs1:/tmp/cvs-serv9423/exceptions Log Message: Directory /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/exceptions added to the repository |
|
From: Marc B. <big...@us...> - 2002-04-14 14:10:40
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script
In directory usw-pr-cvs1:/tmp/cvs-serv20790/src/net/sourceforge/idrs/script
Modified Files:
IDRSScript.java
Log Message:
Added Digest support for encrypting passwords
Index: IDRSScript.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/IDRSScript.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** IDRSScript.java 27 Feb 2002 23:56:32 -0000 1.5
--- IDRSScript.java 14 Apr 2002 14:10:37 -0000 1.6
***************
*** 112,116 ****
*/
public MultiPartRequest getMultiPartRequest() throws Exception;
!
!
}
--- 112,115 ----
*/
public MultiPartRequest getMultiPartRequest() throws Exception;
!
}
|
|
From: Marc B. <big...@us...> - 2002-04-14 14:10:40
|
Update of /cvsroot/idrs/Idrs/dev/lib In directory usw-pr-cvs1:/tmp/cvs-serv20790/lib Modified Files: idrs.jar Log Message: Added Digest support for encrypting passwords Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/lib/idrs.jar,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvsopIKCX and /tmp/cvscZB5VM differ |
|
From: Marc B. <big...@us...> - 2002-04-14 14:10:39
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/servlet In directory usw-pr-cvs1:/tmp/cvs-serv20790/classes/net/sourceforge/idrs/core/servlet Modified Files: IDRSSecurity.class IDRSServlet.class Init.class PoolInfo.class Log Message: Added Digest support for encrypting passwords Index: IDRSSecurity.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/servlet/IDRSSecurity.class,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs4VJqcI and /tmp/cvsExjNti differ Index: IDRSServlet.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/servlet/IDRSServlet.class,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsquFYHJ and /tmp/cvsCKpNbj differ Index: Init.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/servlet/Init.class,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs64afiL and /tmp/cvsMH639l differ Index: PoolInfo.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/servlet/PoolInfo.class,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvse2aTNL and /tmp/cvs6nWoln differ |
|
From: Marc B. <big...@us...> - 2002-04-14 14:10:39
|
Update of /cvsroot/idrs/Idrs/dev/bin In directory usw-pr-cvs1:/tmp/cvs-serv20790/bin Modified Files: idrs.jar Log Message: Added Digest support for encrypting passwords Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/bin/idrs.jar,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvsn9MsxE and /tmp/cvsiFz5h8 differ |
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:57
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/embedable
In directory usw-pr-cvs1:/tmp/cvs-serv27709/src/net/sourceforge/idrs/script/embedable
Modified Files:
IDRSJPython.java
Log Message:
fixed broken import system of IDRSJpytohn
Index: IDRSJPython.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/script/embedable/IDRSJPython.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** IDRSJPython.java 18 Sep 2001 03:18:57 -0000 1.3
--- IDRSJPython.java 14 Apr 2002 12:37:53 -0000 1.4
***************
*** 21,27 ****
protected PythonInterpreter interp;
!
public IDRSJPython() {
interp = new PythonInterpreter();
//interp.exec("import IDRSScript");
}
--- 21,28 ----
protected PythonInterpreter interp;
! protected PySystemState st;
public IDRSJPython() {
interp = new PythonInterpreter();
+ st = org.python.core.Py.getSystemState();
//interp.exec("import IDRSScript");
}
***************
*** 35,38 ****
--- 36,40 ----
String pack = className.substring(0,className.lastIndexOf("."));
String clsNm = className.substring(className.lastIndexOf(".") + 1);
+ st.add_package(pack);
interp.exec("from " + pack + " import " + clsNm);
}
|
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:57
|
Update of /cvsroot/idrs/Idrs/dev/lib In directory usw-pr-cvs1:/tmp/cvs-serv27709/lib Modified Files: idrs.jar Log Message: fixed broken import system of IDRSJpytohn Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/lib/idrs.jar,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvs5gnqnN and /tmp/cvsAOOZns differ |
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:57
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/script/embedable In directory usw-pr-cvs1:/tmp/cvs-serv27709/classes/net/sourceforge/idrs/script/embedable Modified Files: IDRSJPython.class Log Message: fixed broken import system of IDRSJpytohn Index: IDRSJPython.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/script/embedable/IDRSJPython.class,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsSL3DTD and /tmp/cvsgBvlw7 differ |
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:57
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report
In directory usw-pr-cvs1:/tmp/cvs-serv27709/src/net/sourceforge/idrs/core/report
Modified Files:
IDRSHead.java
Log Message:
fixed broken import system of IDRSJpytohn
Index: IDRSHead.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/core/report/IDRSHead.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** IDRSHead.java 5 Apr 2002 14:37:51 -0000 1.8
--- IDRSHead.java 14 Apr 2002 12:37:53 -0000 1.9
***************
*** 465,469 ****
idrs.importClass("net.sourceforge.idrs.script.IDRSScript");
idrs.importClass("net.sourceforge.idrs.script.embedable.IDRSShell");
! idrs.importClass("net.sourceforge.idrs.core.IDRSReport");
idrs.importClass("net.sourceforge.idrs.utils.Application");
idrs.importClass("java.io.PrintWriter");
--- 465,469 ----
idrs.importClass("net.sourceforge.idrs.script.IDRSScript");
idrs.importClass("net.sourceforge.idrs.script.embedable.IDRSShell");
! //idrs.importClass("net.sourceforge.idrs.core.IDRSReport");
idrs.importClass("net.sourceforge.idrs.utils.Application");
idrs.importClass("java.io.PrintWriter");
|
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:57
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/report In directory usw-pr-cvs1:/tmp/cvs-serv27709/classes/net/sourceforge/idrs/core/report Modified Files: IDRSHead.class Log Message: fixed broken import system of IDRSJpytohn Index: IDRSHead.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/core/report/IDRSHead.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsTOOSMy and /tmp/cvs6KGJGZ differ |
|
From: Marc B. <big...@us...> - 2002-04-14 12:37:56
|
Update of /cvsroot/idrs/Idrs/dev/bin In directory usw-pr-cvs1:/tmp/cvs-serv27709/bin Modified Files: idrs.jar Log Message: fixed broken import system of IDRSJpytohn Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/bin/idrs.jar,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvsICc5nu and /tmp/cvsqQ6etQ differ |
|
From: Marc B. <big...@us...> - 2002-04-13 16:07:07
|
Update of /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet In directory usw-pr-cvs1:/tmp/cvs-serv29359/dev/docs/net/sourceforge/idrs/core/servlet Modified Files: DocInfo.html IDRSSecurity.html IDRSServlet.html Init.html PoolInfo.html ReportStore.html package-frame.html package-summary.html package-tree.html Log Message: added YesNo and formInput tags Index: DocInfo.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/DocInfo.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** DocInfo.html 5 Apr 2002 14:37:48 -0000 1.6 --- DocInfo.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> DocInfo --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:11 EDT 2002 --> <TITLE> DocInfo Index: IDRSSecurity.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/IDRSSecurity.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IDRSSecurity.html 5 Apr 2002 14:37:48 -0000 1.6 --- IDRSSecurity.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:42 EST 2002 --> <TITLE> IDRSSecurity --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:11 EDT 2002 --> <TITLE> IDRSSecurity Index: IDRSServlet.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/IDRSServlet.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IDRSServlet.html 5 Apr 2002 14:37:48 -0000 1.6 --- IDRSServlet.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:42 EST 2002 --> <TITLE> IDRSServlet --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:11 EDT 2002 --> <TITLE> IDRSServlet Index: Init.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/Init.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Init.html 5 Apr 2002 14:37:48 -0000 1.6 --- Init.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:42 EST 2002 --> <TITLE> Init --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:11 EDT 2002 --> <TITLE> Init Index: PoolInfo.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/PoolInfo.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PoolInfo.html 5 Apr 2002 14:37:48 -0000 1.6 --- PoolInfo.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:43 EST 2002 --> <TITLE> PoolInfo --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:12 EDT 2002 --> <TITLE> PoolInfo Index: ReportStore.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/ReportStore.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ReportStore.html 5 Apr 2002 14:37:48 -0000 1.6 --- ReportStore.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:43 EST 2002 --> <TITLE> ReportStore --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:12 EDT 2002 --> <TITLE> ReportStore Index: package-frame.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/package-frame.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-frame.html 5 Apr 2002 14:37:48 -0000 1.6 --- package-frame.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> net.sourceforge.idrs.core.servlet() --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core.servlet() Index: package-summary.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/package-summary.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-summary.html 5 Apr 2002 14:37:48 -0000 1.6 --- package-summary.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> net.sourceforge.idrs.core.servlet() --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core.servlet() Index: package-tree.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/servlet/package-tree.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-tree.html 5 Apr 2002 14:37:48 -0000 1.6 --- package-tree.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> net.sourceforge.idrs.core.servlet Class Hierarchy --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core.servlet Class Hierarchy |
|
From: Marc B. <big...@us...> - 2002-04-13 16:07:06
|
Update of /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core In directory usw-pr-cvs1:/tmp/cvs-serv29359/dev/docs/net/sourceforge/idrs/core Modified Files: IDRSPool.html ScriptPool.html package-frame.html package-summary.html package-tree.html Log Message: added YesNo and formInput tags Index: IDRSPool.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/IDRSPool.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IDRSPool.html 5 Apr 2002 14:37:47 -0000 1.6 --- IDRSPool.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> IDRSPool --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:10 EDT 2002 --> <TITLE> IDRSPool Index: ScriptPool.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/ScriptPool.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ScriptPool.html 5 Apr 2002 14:37:47 -0000 1.6 --- ScriptPool.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> ScriptPool --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:10 EDT 2002 --> <TITLE> ScriptPool Index: package-frame.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/package-frame.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-frame.html 5 Apr 2002 14:37:47 -0000 1.6 --- package-frame.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:40 EST 2002 --> <TITLE> net.sourceforge.idrs.core() --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core() Index: package-summary.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/package-summary.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-summary.html 5 Apr 2002 14:37:47 -0000 1.6 --- package-summary.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> net.sourceforge.idrs.core() --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core() Index: package-tree.html =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/docs/net/sourceforge/idrs/core/package-tree.html,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** package-tree.html 5 Apr 2002 14:37:47 -0000 1.6 --- package-tree.html 13 Apr 2002 16:06:33 -0000 1.7 *************** *** 3,7 **** <HTML> <HEAD> ! <!-- Generated by javadoc on Fri Apr 05 09:37:41 EST 2002 --> <TITLE> net.sourceforge.idrs.core Class Hierarchy --- 3,7 ---- <HTML> <HEAD> ! <!-- Generated by javadoc on Sat Apr 13 12:04:09 EDT 2002 --> <TITLE> net.sourceforge.idrs.core Class Hierarchy |
|
From: Marc B. <big...@us...> - 2002-04-13 16:07:06
|
Update of /cvsroot/idrs/Idrs/dev/bin In directory usw-pr-cvs1:/tmp/cvs-serv29359/dev/bin Modified Files: idrs.jar Log Message: added YesNo and formInput tags Index: idrs.jar =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/bin/idrs.jar,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 Binary files /tmp/cvsnRpLlj and /tmp/cvs47dHTr differ |
|
From: Marc B. <big...@us...> - 2002-04-13 16:07:06
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/deploy/macro In directory usw-pr-cvs1:/tmp/cvs-serv29359/dev/classes/net/sourceforge/idrs/deploy/macro Modified Files: MacroToXML.class Log Message: added YesNo and formInput tags Index: MacroToXML.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/deploy/macro/MacroToXML.class,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsYD3yEh and /tmp/cvsEp4x4o differ |
|
From: Marc B. <big...@us...> - 2002-04-13 16:07:06
|
Update of /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/deploy/compile/units In directory usw-pr-cvs1:/tmp/cvs-serv29359/dev/classes/net/sourceforge/idrs/deploy/compile/units Modified Files: Body.class Log Message: added YesNo and formInput tags Index: Body.class =================================================================== RCS file: /cvsroot/idrs/Idrs/dev/classes/net/sourceforge/idrs/deploy/compile/units/Body.class,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsSnduEc and /tmp/cvsAHT60e differ |
|
From: Marc B. <big...@us...> - 2002-04-13 16:06:41
|
Update of /cvsroot/idrs/Idrs/docs In directory usw-pr-cvs1:/tmp/cvs-serv29359/docs Modified Files: RML.htm Log Message: added YesNo and formInput tags Index: RML.htm =================================================================== RCS file: /cvsroot/idrs/Idrs/docs/RML.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RML.htm 30 Sep 2001 13:44:51 -0000 1.3 --- RML.htm 13 Apr 2002 16:06:35 -0000 1.4 *************** *** 1,426 **** ! <!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> <html> <head> ! ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <meta name="GENERATOR" content="Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0smp i686) [Netscape]"> ! <title>Reporting Markup Language Specification</title> ! <!-- saved from url=(0040)http://idrs.sourceforge.net/docs/RML.htm --> </head> ! <body bgcolor="#ffffff"> ! ! <h1>Reporting Markup Language Specification</h1> ! The Reporting Markup Language (RML) has been designed for web developers ! who are not programmers. All tags go between <rml></rml>tags. ! The specification is broken up into <HEAD></HEAD>and <BODY></BODY>tags. ! The header information defines what data is to be retrieved; the body places ! the data in the appropriate places within the body of the HTML document. ! A completely processed RML template contains NO RML tags. As this markup ! is not currently TRUE XML, it does not use an XML parser. Certain tags need ! to be on the same line, and some need to be on separate lines. All attribute ! vaules are cases-sensitive, but rml tags are not. All atribute values ! need to have quotes: attribute_name = "value" ! <h2 style="margin-left: 0.5in; text-indent: -0.25in; ">RML Tags</h2> ! ! <h2> RML (Between <rml></rml>and ! preceding <head>)</h2> ! ! <blockquote> ! <ul> ! ! <li><isHTML>{true | false}</isHTML></li> ! ! </ul> ! ! <blockquote>This tag tells the IDRS wether or not the <head>and <body>tags ! should be printed. while this tag is optional it is recomended/<br> ! </blockquote> ! ! <ul> ! ! <li><scriptClass>{name of class to ve used for embedded scripts}</scriptClass></li> ! ! </ul> ! ! <blockquote>This tag tells the IDRS what scripting class to use for the ! embedded scripts in a particuler page. <br> ! </blockquote> ! </blockquote> ! ! <blockquote></blockquote> ! ! <blockquote> ! <h2 style="margin-left: 0.5in; text-indent: -0.25in; ">Header (Between ! <HEAD></HEAD>Tags)</h2> ! </blockquote> ! ! <ul> ! ! <ul> ! ! <li><Object ID = "{Refrence to object within template}"></li> ! ! <li></Object></li> ! <br> ! The <object>tag allows for an IDRS report to access external java objects. ! <li><class>{Full classname of class to be used}</class></li> ! <br> ! Used between <object>tags, tells the IDRS what class to use load this ! object. The clasname should be the full classname including all package ! names. I.e., to load the object as part of the string class, one would ! put "java.lang.String", without the quotes. ! <li><constructor></li> ! ! <li></constructor></li> ! <br> ! Used between <object>tags, tells the IDRS what variables are ! needed for the constructor of this object. If no variables are needed ! for the constructor, then there still must be <constructor>tags present ! on seperate lines. Contained bettween constructor tags are <varType>tags ! that work identicly to <varType>tags used between <SQL>tags ! and <StoredProc>tags. ! <li><method></li> ! ! <ul> ! ! <li><name></name></li> ! <br> ! Used to tell the IDRS the name of the method being used. ! <li><varType></varType></li> ! <br> ! Identicle to <varType>tags for <constructor>, <sql>, and ! <storedproc>tags, with these added options: ! <ul> ! ! <li>Connection : Used when passing a database connection ! (Class : java.sql.Connection) to a method.</li> ! ! <li>DataSet : Used when passing a the results of a <db>tag ! (Class : IdrsDb) to a method.</li> ! ! </ul> ! ! </ul> ! ! <li></method></li> ! <br> ! Contained between <object>tags, used to describe a method to be used ! from withtin the IDRS report. ! <li><DB ID = "{Reference to data set within template}"></li> ! ! <li></DB></li> ! <br> ! These tags mark the beginning and end of a particular dataset. The ID attribute ! is used to identify the dataset by the parser. Tags must be on separate ! lines. ! <li><useDB>{name already defined DB}</useDB></li> ! <br> ! Used when using two or more connections to the same database. Used ! instead of <UserName>, <Password>, ! <DBDriver>and <DBName>tags. ! </ul> ! ! <ul> ! Example : <br> ! <DB ID = "main"><br> ! <DBDriver>db.Driver</DBName><br> ! <UserName>asd</UserName><br> ! <Password>fdsa</Password><br> ! <DBName>jdbc:db:someDB</DBName><br> ! <SQL><br> ! <SRC><br> ! SELECT * FROM stuff wher somthing = ! ?; <br> ! </SRC><br> ! <varType>String</varType><br> ! </DB><br> ! <DB ID = "sec"><br> ! <b><useDB>main</useDB></b><br> ! <SQL>... <br> ! </DB><br> ! ! <li><direction>{INPUT | OUTPUT}</direction></li> ! ! </ul> ! ! </ul> ! ! <blockquote> ! <blockquote>This tells the IDRS wether or not the <db>will ! be used for input or output. If the tag is ommited then the IDRS will ! assume that the <db>will be used for output.<br> ! </blockquote> ! </blockquote> ! ! <ul> ! ! <ul> ! ! <li><PageSize>{# of records per page | <extenernal>}</PageSize></li> ! <br> ! Contained between <DB></DB>tags BEFORE the ! <DBDriver>, <DBName>or <UseDB>tags, this tag tells the ! IDRS that a dataset is going to be cached and the report is ginog to be ! broken up into pieces. If a number is given in the <PageSize>tag, ! then there will be that number of records per page. If <external>is ! given then it will take the number from the calling page. If <PageSize>is ! used the following criteria MUST be passed to the IDRS : ! <ol> ! ! <li>{DB ID}_PageSize : This tells the IDRS how many records ! will be placed on a report</li> ! ! <li>{DB ID}_FirstRecord : This tells the IDRS what the ! first record to display is. If you wish to begin at the first record, ! this should be 0.</li> ! ! <li>{DB ID}_Reset : This tells the IDRS wether or not ! to eliminate the cached data set. On the inital call this should be ! set to true</li> ! ! </ol> ! ! <li><DatabaseDriver>{JDBC Driver Class}</DatabaseDriver></li> ! <br> ! Contained between <DB></DB>tags, is used to ! identify the driver to be used when connecting to the database. For the ! IDRS this would be the JDBC driver class being ! used. ! <li><UserName>{User_Name}</UserName></li> ! <br> ! Defines the user name to be passed to the database upon ! connection ! <li><Password>{Password}</Password></li> ! <br> ! Defines the password to be passed during database connection ! <li><DatabaseName></DatabaseName></li> ! <br> ! Defines the name of the database to be connected to. ! For the IDRS this would be the JDBC connection string. NOTE: the username ! and password must be defined before the <DatabaseName></DatabaseName>tags ! <li><useMethod objID = "{ID of object being used}">{methodname}</methodName></li> ! <br> ! The <usemethod>tag is used to call an external object when retrieving ! a Resultset for use by the IDRS instead of calling a SQL statement or a Stored ! Procedure. No <varType>or <src>tags are used, as all of ! the information needed is suplied by the method declaration in the above ! object-method declaration. If the requested has a connection as one ! of the specified arguments to the method, then whatever connection is specified ! by the <DBName>tag is used. Any method used MUST return an object ! of java.sql.Resultset or an exception will be thrown. ! <li><SQL>----<StoredProc></li> ! <br> ! These tags define either an SQL statement or a stored ! procedure to be used for retrieving data. Must be on separate lines ! <li><SRC></li> ! <br> ! {SQL or Stored Procedure} <br> ! Either the SQL statement to be used or the name of the ! stored procedure to be used. For SQL statements parameters are indicated ! by using a "?". There are no literals included in the definition. ! <p>Example: SELECT * FROM tblNames WHERE Name = ?; Or searchByName(?); ! </p> ! ! <li></SRC></li> ! ! <li><varType>{Valid_Variable_Type}</varType></li> ! <br> ! These tags indicate the data type of parameters in numerical order. The ! first pair is for the first parameter, the second pair is for the second ! parameter... These are the data types currently supported by the IDRS: ! ! <ul> ! ! <li>String</li> ! ! <li>Int</li> ! ! <li>Float</li> ! ! <li>Date</li> ! ! <li>Time</li> ! ! <li>Boolean</li> ! ! <li>UserID*</li> ! ! <li>*The UserID identification is used for user centric ! documents(invoices, account statements...). The parsing application will ! know what the current UserID is. <varType></varType>tags should ! be on the same line. Separate tags must be on separate lines.</li> ! ! </ul> ! ! <li></SQL>---</StoredProc></li> ! ! <li><VarList ID = "{Refrence to varlist within template}"></li> ! <br> ! Used to suply a method with input from either IDRS datasets and/or from ! user input ! <ul> ! ! <li><varType></varType></li> ! <br> ! Used to tell the list what datatype to use. Identicle to <varType>tag ! of <sql>and <storedproc>tags. The features of the ! <method>tag are not useable though. ! <li><dbresult>{ID of desired <db>set}</dbreult></li> ! <br> ! Used to pass a method the results of a query preformed by the given data ! set. Passed to the method as a refrence to a IdrsDb class. ! </ul> ! ! <li></VarList></li> ! ! </ul> ! ! </ul> ! ! <h2><br> ! Body (Between <BODY></BODY>Tags)</h2> ! ! <ul> ! ! <li><ifresults db="{<DB> to be checked}"><br clear="All"> ! <yes><br clear="All"> ! {Any RML to be executed ! if there are results from the db}<br clear="All"> ! </yes><br clear="All"> ! <no><br clear="All"> ! {Any RML to be executed ! when there are no results from the db }<br clear="All"> ! </no><br clear="All"> ! </ifresults></li> ! </ul> ! <blockquote>This tag allow for diferent sets of RML to be used ! based on wether there are results returned from a <DB> tag. <br> ! </blockquote> ! <ul> ! <li><$ $></li> ! ! </ul> ! ! <blockquote>This tag encases an embeded script. This ! tag can only be used if a <scriptClass>tag is specified. <br> ! </blockquote> ! ! <ul> ! ! <li><$= $></li> ! ! </ul> ! ! <blockquote>This tag prints the contents of the results ! of the tag. NOTE: <$= "this is a test" $>and <$ out.println*"this ! is a test"); $>preform the exact same function.<br> ! </blockquote> ! ! <ul> ! ! <li><Field [Format = "{specified format}"]>{Database_ID}.{Field_Name}</Field></li> ! <br> ! <Field>tags may appear anywhere in the <BODY>of ! an RML document. The text between the <Field>tags should be the ID ! of a data set that was defined as a <DB>set in the header and the name ! of a field in that data set separated by a period. The Format must fallow ! the fallowing form: <br> ! [number|date|time],[format] <br> ! where format is different for eather number, date or time : ! <ul> ! ! <li>number : currency, percent, integer, custom</li> ! ! <li>date : short, medium, long, full, custom</li> ! ! <li>time : short, medium, long, full, custom</li> ! ! </ul> ! ! <li><useMethod varList = "{ID of varlist to be used ! when executing this method}" ObjID = "{ID of object this method is a part ! of}">{methodname}</usemethod></li> ! <br> ! This tag allows an external method to be called and it's returning java.lang.String ! to be included in the final output of the rml document. The varlists' ! <vartype>and <dbresult>tags mus line match the class types given ! in the method's declaration or an exception will be thrown. ! <li><Repeat ID = "{DB ID}" [color1 = "{color name ! or number}" color2 = "{color name or number}"]></li> ! ! <ul> ! ! <li>Color1 and Color2 may be used to have color alternation ! in tables to make tables easier to read. On the first line of a table, color1 ! is the foreground and color2 is the background, on the second line it reverses. ! This procees continue until the end of a result set.</li> ! ! <li>{Lines to be iterated through for a particular ! data set}</li> ! ! <li><IfChange field = "{DB.Field}"></li> ! ! <li>{lines to be pased if DB.Field has changed}</li> ! ! <li></IFChange></li> ! <br> ! This tag may be used when a block of lines are to be parsed only when a ! field in a DB changes ! <li>Special <field></field>values</li> ! <br> ! .The following tags may be placed between <field>tags within a <repeat>block ! to retrieve IDRS generated information ! <ul> ! ! <li><LineNum></li> ! <br> ! The <LineNum>tag is used to give the line number of the current position ! in a resultset from the IDRS. It used by placing it between <field>tags ! like so: <field><linenum></field>. ! <li><ForeColor></li> ! <br> ! When placed between <field>tags as the <linenum>tag, it returns ! the current foreground color for color alternation. This color will be one ! of the colors specified in the <Repeat>tag. ! <li><BackColor></li> ! <br> ! When placed between <field>tags as the <linenum>tag, it returns ! the current background color for color alternation. This color will be one ! the other color specified in the <Repeat>tag. ! </ul> ! ! </ul> ! ! <li></Repeat></li> ! <br> ! Repeats the lines between the tags for every record in the ! identified data set ! <li><inputresults>{name of <db>}</inputresults></li> ! ! </ul> ! ! <blockquote>Returns the number of rows effected when ! the <db>that is specified was executed. This tag only works ! if the <db>'s <direction>tag specifies input.<br> ! </blockquote> ! ! <ul> ! ! <li><NavPrev>{What ever you would like to use ! to display for a link}</NavPrev>or <NavNext>{What ever you would ! like to use to display for a link}</NavNext></li> ! ! </ul> ! ! <ul> ! These tags will create the nessasary links to walk thourgh the datasets ! that are paged. If the current page is on the first record, then <NavPrev>will ! not generate anything, if on the last record <NavNext>will do the ! same.<br> ! <br> ! <br> ! ! </ul> ! ! </body> ! </html> --- 1,499 ---- ! <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <meta name="GENERATOR" content="Mozilla/4.77 [en] (X11; U; Linux 2.4.13 i686) [Netscape]"> ! <title>Reporting Markup Language Specification</title> ! <!-- saved from url=(0040)http://idrs.sourceforge.net/docs/RML.htm --> </head> ! <body bgcolor="#FFFFFF"> ! ! <h1> ! Reporting Markup Language Specification</h1> ! The Reporting Markup Language (RML) has been designed for web developers ! who are not programmers. All tags go between <rml></rml>tags. ! The specification is broken up into <HEAD></HEAD>and <BODY></BODY>tags. ! The header information defines what data is to be retrieved; the body places ! the data in the appropriate places within the body of the HTML document. ! A completely processed RML template contains NO RML tags. As this markup ! is not currently TRUE XML, it does not use an XML parser. Certain tags ! need to be on the same line, and some need to be on separate lines. All ! attribute vaules are cases-sensitive, but rml tags are not. All atribute ! values need to have quotes: attribute_name = "value" ! <h2 style="margin-left: 0.5in; text-indent: -0.25in; "> ! RML Tags</h2> ! ! <h2> ! RML (Between <rml></rml>and ! preceding <head>)</h2> ! ! <blockquote> ! <ul> ! <li> ! <isHTML>{true | false}</isHTML></li> ! </ul> ! ! <blockquote>This tag tells the IDRS wether or not the <head>and <body>tags ! should be printed. while this tag is optional it is recomended/</blockquote> ! ! <ul> ! <li> ! <scriptClass>{name of class to ve used for embedded scripts}</scriptClass></li> ! </ul> ! ! <blockquote>This tag tells the IDRS what scripting class to use for the ! embedded scripts in a particuler page.</blockquote> ! </blockquote> ! ! <blockquote> ! <h2 style="margin-left: 0.5in; text-indent: -0.25in; "> ! Header (Between <HEAD></HEAD>Tags)</h2> ! </blockquote> ! ! <ul> ! <ul> ! <li> ! <Object ID = "{Refrence to object within template}"></li> ! ! <li> ! </Object></li> ! ! <br>The <object>tag allows for an IDRS report to access external java ! objects. ! <li> ! <class>{Full classname of class to be used}</class></li> ! ! <br>Used between <object>tags, tells the IDRS what class to use load ! this object. The clasname should be the full classname including ! all package names. I.e., to load the object as part of the string ! class, one would put "java.lang.String", without the quotes. ! <li> ! <constructor></li> ! ! <li> ! </constructor></li> ! ! <br>Used between <object>tags, tells the IDRS what variables are ! needed for the constructor of this object. If no variables are needed ! for the constructor, then there still must be <constructor>tags present ! on seperate lines. Contained bettween constructor tags are <varType>tags ! that work identicly to <varType>tags used between <SQL>tags and <StoredProc>tags. ! <li> ! <setProps>{true|false}</setProps></li> ! ! <br>Tells the IDRS to set all properties of the current object directly ! from paramaters in the request. A Property is defined by a setXXX ! method with a single String argument. The parameter must be named ! in the form {objID-prop_XXX} where objID is the ID of the object the property ! is accociated with and XXX is the name of the property minus the "set". ! <li> ! <method></li> ! ! <ul> ! <li> ! <name></name></li> ! ! <br>Used to tell the IDRS the name of the method being used. ! <li> ! <varType></varType></li> ! ! <br>Identicle to <varType>tags for <constructor>, <sql>, and <storedproc>tags, ! with these added options: ! <ul> ! <li> ! Connection : Used when passing a database connection (Class : java.sql.Connection) ! to a method.</li> ! ! <li> ! DataSet : Used when passing a the results of a <db>tag (Class ! : IdrsDb) to a method.</li> ! </ul> ! </ul> ! ! <li> ! </method></li> ! ! <br>Contained between <object>tags, used to describe a method to be ! used from withtin the IDRS report. ! <li> ! <DB ID = "{Reference to data set within template}"></li> ! ! <li> ! </DB></li> ! ! <br>These tags mark the beginning and end of a particular dataset. The ! ID attribute is used to identify the dataset by the parser. Tags must be ! on separate lines. ! <li> ! <useDB>{name already defined DB}</useDB></li> ! ! <br>Used when using two or more connections to the same database. ! Used instead of <UserName>, <Password>, ! <DBDriver>and <DBName>tags.</ul> ! ! <ul>Example : ! <br><DB ID = "main"> ! <br> <DBDriver>db.Driver</DBName> ! <br> <UserName>asd</UserName> ! <br> <Password>fdsa</Password> ! <br> <DBName>jdbc:db:someDB</DBName> ! <br> <SQL> ! <br> <SRC> ! <br> SELECT * FROM stuff wher somthing ! = ?; ! <br> </SRC> ! <br> <varType>String</varType> ! <br> </DB> ! <br> <DB ID = "sec"> ! <br> <b><useDB>main</useDB></b> ! <br> <SQL>... ! <br> </DB> ! <br> ! <li> ! <direction>{INPUT | OUTPUT}</direction></li> ! </ul> ! </ul> ! ! <blockquote> ! <blockquote>This tells the IDRS wether or not the <db>will be used for ! input or output. If the tag is ommited then the IDRS will assume ! that the <db>will be used for output.</blockquote> ! </blockquote> ! ! <ul> ! <ul> ! <li> ! <PageSize>{# of records per page | <extenernal>}</PageSize></li> ! ! <br> Contained between <DB></DB>tags BEFORE the ! <DBDriver>, <DBName>or <UseDB>tags, this tag tells the IDRS that ! a dataset is going to be cached and the report is ginog to be broken up ! into pieces. If a number is given in the <PageSize>tag, then there ! will be that number of records per page. If <external>is given ! then it will take the number from the calling page. If <PageSize>is ! used the following criteria MUST be passed to the IDRS : ! <ol> ! <li> ! {DB ID}_PageSize : This tells the IDRS how many records will be placed ! on a report</li> ! ! <li> ! {DB ID}_FirstRecord : This tells the IDRS what the first record to display ! is. If you wish to begin at the first record, this should be 0.</li> ! ! <li> ! {DB ID}_Reset : This tells the IDRS wether or not to eliminate the cached ! data set. On the inital call this should be set to true</li> ! </ol> ! ! <li> ! <DatabaseDriver>{JDBC Driver Class}</DatabaseDriver></li> ! ! <br> Contained between <DB></DB>tags, is used to ! identify the driver to be used when connecting to the database. For the ! IDRS this would be the JDBC driver class ! being used. ! <li> ! <UserName>{User_Name}</UserName></li> ! ! <br> Defines the user name to be passed to the database ! upon connection ! <li> ! <Password>{Password}</Password></li> ! ! <br> Defines the password to be passed during database ! connection ! <li> ! <DatabaseName></DatabaseName></li> ! ! <br> Defines the name of the database to be connected ! to. For the IDRS this would be the JDBC connection string. NOTE: the username ! and password must be defined before the <DatabaseName></DatabaseName>tags ! <li> ! <useMethod objID = "{ID of object being used}">{methodname}</methodName></li> ! ! <br>The <usemethod>tag is used to call an external object when retrieving ! a Resultset for use by the IDRS instead of calling a SQL statement or a ! Stored Procedure. No <varType>or <src>tags are used, as all ! of the information needed is suplied by the method declaration in the above ! object-method declaration. If the requested has a connection as one ! of the specified arguments to the method, then whatever connection is specified ! by the <DBName>tag is used. Any method used MUST return an object ! of java.sql.Resultset or an exception will be thrown. ! <li> ! <SQL>----<StoredProc></li> ! ! <br> These tags define either an SQL statement or a stored ! procedure to be used for retrieving data. Must be on separate lines ! <li> ! <SRC></li> ! ! <br> {SQL or Stored Procedure} ! <br> Either the SQL statement to be used or the name ! of the stored procedure to be used. For SQL statements parameters are indicated ! by using a "?". There are no literals included in the definition. ! <p>Example: SELECT * FROM tblNames WHERE Name = ?; Or searchByName(?); ! <li> ! </SRC></li> ! ! <li> ! <varType>{Valid_Variable_Type}</varType></li> ! ! <br>These tags indicate the data type of parameters in numerical order. ! The first pair is for the first parameter, the second pair is for the second ! parameter... These are the data types currently supported by the ! IDRS: ! <ul> ! <li> ! String</li> ! ! <li> ! Int</li> ! ! <li> ! Float</li> ! ! <li> ! Date</li> ! ! <li> ! Time</li> ! ! <li> ! Boolean</li> ! ! <li> ! UserID*</li> ! ! <li> ! *The UserID identification is used for user centric documents(invoices, ! account statements...). The parsing application will know what the current ! UserID is. <varType></varType>tags should be on the same line. Separate ! tags must be on separate lines.</li> ! </ul> ! ! <li> ! </SQL>---</StoredProc></li> ! ! <li> ! <VarList ID = "{Refrence to varlist within template}"></li> ! ! <br>Used to suply a method with input from either IDRS datasets and/or ! from user input ! <ul> ! <li> ! <varType></varType></li> ! ! <br>Used to tell the list what datatype to use. Identicle to <varType>tag ! of <sql>and <storedproc>tags. The features of the <method>tag ! are not useable though. ! <li> ! <dbresult>{ID of desired <db>set}</dbreult></li> ! ! <br>Used to pass a method the results of a query preformed by the given ! data set. Passed to the method as a refrence to a IdrsDb class.</ul> ! ! <li> ! </VarList></li> ! </ul> ! </ul> ! ! <h2> ! <br> ! Body (Between <BODY></BODY>Tags)</h2> ! ! <ul> ! <li> ! <ifresults db="{<DB> to be checked}"></li> ! ! <br> <yes> ! <br> ! {Any RML to be executed if there are results from the db} ! <br> </yes> ! <br> <no> ! <br> ! {Any RML to be executed when there are no results from the db } ! <br> </no> ! <br></ifresults></ul> ! ! <blockquote>This tag allow for diferent sets of RML to be used based on ! wether there are results returned from a <DB> tag.</blockquote> ! ! <ul> ! <li> ! <$ $></li> ! </ul> ! ! <blockquote>This tag encases an embeded script. This tag can only ! be used if a <scriptClass>tag is specified.</blockquote> ! ! <ul> ! <li> ! <$= $></li> ! </ul> ! ! <blockquote>This tag prints the contents of the results of the tag. ! NOTE: <$= "this is a test" $>and <$ out.println*"this is a test"); ! $>preform the exact same function.</blockquote> ! ! <ul> ! <li> ! <Field [Format = "{specified format}"]>{Database_ID}.{Field_Name}</Field></li> ! ! <br> <Field>tags may appear anywhere in the <BODY>of ! an RML document. The text between the <Field>tags should be the ID of ! a data set that was defined as a <DB>set in the header and the name ! of a field in that data set separated by a period. The Format must fallow ! the fallowing form: ! <br>[number|date|time],[format] ! <br>where format is different for eather number, date or time : ! <ul> ! <li> ! number : currency, percent, integer, custom</li> ! ! <li> ! date : short, medium, long, full, custom</li> ! ! <li> ! time : short, medium, long, full, custom</li> ! </ul> ! ! <li> ! <useMethod varList = "{ID of varlist to be used when executing this ! method}" ObjID = "{ID of object this method is a part of}">{methodname}</usemethod></li> ! ! <br>This tag allows an external method to be called and it's returning ! java.lang.String to be included in the final output of the rml document. ! The varlists' <vartype>and <dbresult>tags mus line match the class ! types given in the method's declaration or an exception will be thrown. ! <li> ! <Repeat ID = "{DB ID}" [color1 = "{color name or number}" color2 = "{color ! name or number}"]></li> ! ! <ul> ! <li> ! Color1 and Color2 may be used to have color alternation in tables to make ! tables easier to read. On the first line of a table, color1 is the foreground ! and color2 is the background, on the second line it reverses. This procees ! continue until the end of a result set.</li> ! ! <li> ! {Lines to be iterated through for a particular data set}</li> ! ! <li> ! <IfChange field = "{DB.Field}"></li> ! ! <li> ! {lines to be pased if DB.Field has changed}</li> ! ! <li> ! </IFChange></li> ! ! <br>This tag may be used when a block of lines are to be parsed only when ! a field in a DB changes ! <li> ! Special <field></field>values</li> ! ! <br>.The following tags may be placed between <field>tags within a <repeat>block ! to retrieve IDRS generated information ! <ul> ! <li> ! <LineNum></li> ! ! <br>The <LineNum>tag is used to give the line number of the current ! position in a resultset from the IDRS. It used by placing it between <field>tags ! like so: <field><linenum></field>. ! <li> ! <ForeColor></li> ! ! <br>When placed between <field>tags as the <linenum>tag, it returns ! the current foreground color for color alternation. This color will be ! one of the colors specified in the <Repeat>tag. ! <li> ! <BackColor></li> ! ! <br>When placed between <field>tags as the <linenum>tag, it returns ! the current background color for color alternation. This color will be ! one the other color specified in the <Repeat>tag.</ul> ! </ul> ! ! <li> ! </Repeat></li> ! ! <br> Repeats the lines between the tags for every record in ! the identified data set ! <li> ! <inputresults>{name of <db>}</inputresults></li> ! </ul> ! ! <blockquote>Returns the number of rows effected when the <db>that is ! specified was executed. This tag only works if the <db>'s <direction>tag ! specifies input.</blockquote> ! ! <ul> ! <li> ! <NavPrev>{What ever you would like to use to display for a link}</NavPrev>or ! <NavNext>{What ever you would like to use to display for a link}</NavNext></li> ! </ul> ! ! <ul>These tags will create the nessasary links to walk thourgh the datasets ! that are paged. If the current page is on the first record, then ! <NavPrev>will not generate anything, if on the last record <NavNext>will ! do the same. ! <li> ! <YesNo name="{name of resulting set of <input> tags | = script ! to determine name}" [single="{Yes|No}"] srcType="{param | prop ! | db}" [atts="{any input attributes}"] [paranFirst="true | false">{srcName}</YesNo></li> ! ! <br>This tag will generate a set of HTML <input> tags to represent a ! yes/no input with the current value comming from either a parameter, a ! property or a db value. The name attribute may contain either a hard-coded ! name, or if the first character of the name is '=' then the attribute is ! executed as a script of the predefined <scriptclass> tag. All ! quotes (") must be escaped by a backslash (\) inside of the script. ! The optional single attribute allows for only a single <input> tag to ! be generated, wether it be the yes or the no. The srcType attribute ! defines where the current value is coming from. If the value is param ! then the value of the tag must be a request parameter with a value of "true" ! or "false".. If this is a db the value of the tag must be {db.field} ! and must contain either the value "true"or "false". Finally, if the ! srcType is prop, then the value of the tag must be {objID.XXX} where XXX ! is the name of a boolean getXXX property minus the "get". The optional ! atts attribute allows for extra <input> tag attributes to be specified, ! all quotes must be escaped by a backslash. The optional paramFirst ! attribute allows for a request parameter to over ride either a value from ! a db or a property. ! <br> ! <li> ! <formInput name="{name of resulting set of <input> tags | = ! script to determine name}" type="[any valid <input> type | textarea}" ! srcType="{param | prop | db}" [atts="{any input attributes}"] [paranFirst="true ! | false"] [value="{value of tag}"] >{srcName}</formInput></li> ! ! <br>This tag will generate an HTML <input> tags the current value ! comming from either a parameter, a property or a db value. The name ! attribute may contain either a hard-coded name, or if the first character ! of the name is '=' then the attribute is executed as a script of the predefined ! <scriptclass> tag. All quotes (") must be escaped by a backslash ! (\) inside of the script. The type attribute is used to determine ! the type of the final <input> tag. The srcType attribute defines ! where the current value is coming from. If the value is param then ! the value of the tag must be a request parameter with a value of "true" ! or "false".. If this is a db the value of the tag must be {db.field} ! and must contain either the value "true"or "false". Finally, if the ! srcType is prop, then the value of the tag must be {objID.XXX} where XXX ! is the name of a boolean getXXX property minus the "get". The optional ! atts attribute allows for extra <input> tag attributes to be specified, ! all quotes must be escaped by a backslash. The optional paramFirst ! attribute allows for a request parameter to over ride either a value from ! a db or a property. The optional value attribute defines what the ! value of the <input> tag is. This needs to be used when working ! with checkboxes and radio buttons to determine which onces should be checked. ! This is ignored for textboxes. ! <br> ! <br> ! <br> ! <br> </ul> ! ! </body> ! </html> |