Sorry if I could not explain my problem, I am developing custom TagLib
that is test.java, I took the recordset rs in test.jsp
and I wanted to use this taglib
<test:test fields="Id,Color"/>
and manipulate these table fields in test.java
Hoping now you will be understand my problem.
Thanks
Younas Aamir
The QueryTable is a simplified version of ResultSet (but cached). You can
do something like this:while (rs.next()) {
rs.getObject("Id");
rs.getObject("Color");
}You can find out the API in the JRun Tag Library Reference (taglib.pdf) in
the JRun/docs directory.Hope this helps.
--
Clement Wong
JRun Engineer
< a l l a i r e >-----Original Message-----
From: Younas Aamir [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 2:53 AM
To: [EMAIL PROTECTED]
Subject: Using jrun:sql Recordset in custom TagLib?Hi all
I took recordset rs using the below jsp code:
<%@ page import="allaire.taglib.*" %>
<%@ taglib uri="jruntags" prefix="jrun" %>
<%@ taglib prefix="test" uri="test.tld" %><jrun:sql driver="sun.jdbc.odbc.JdbcOdbcDriver" url="jdbc:odbc:test"
id="rs">
SELECT * FROM Colors
</jrun:sql>
<jrun:param id="rs" type="QueryTable"/>
<test:test fields="Id,Color"/>How could I use this recordset in a custom taglib for some fields
manipulation?
Could some one provide example code?Thanks.
Younas Aamir
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
