You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Davanum Srinivas <di...@yahoo.com> on 2001/09/06 22:34:13 UTC
Re: cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl
Berin,
There's one more esql.xsl in the C1.X repository :)
Thanks,
dims
--- bloritsch@apache.org wrote:
> bloritsch 01/09/06 13:03:36
>
> Modified: src/org/apache/cocoon/components/language/markup/xsp/java
> esql.xsl
> Log:
> Forgot one file
>
> Revision Changes Path
> 1.21 +27 -27
> xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
>
> Index: esql.xsl
> ===================================================================
> RCS file:
> /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
> retrieving revision 1.20
> retrieving revision 1.21
> diff -u -r1.20 -r1.21
> --- esql.xsl 2001/08/16 10:06:00 1.20
> +++ esql.xsl 2001/09/06 20:03:36 1.21
> @@ -1,5 +1,5 @@
> <?xml version="1.0"?>
> -<!-- $Id: esql.xsl,v 1.20 2001/08/16 10:06:00 cziegeler Exp $-->
> +<!-- $Id: esql.xsl,v 1.21 2001/09/06 20:03:36 bloritsch Exp $-->
> <!--
>
> ============================================================================
> @@ -258,7 +258,7 @@
> super.compose(manager);
> if (_esql_selector == null) {
> try {
> - _esql_selector = (ComponentSelector)
> manager.lookup(org.apache.cocoon.Roles.DB_CONNECTION);
> + _esql_selector = (ComponentSelector)
> manager.lookup(DataSourceComponent.ROLE + "Selector");
> } catch (ComponentException cme) {
> getLogger().error("Could not look up the datasource component", cme);
> }
> @@ -337,32 +337,32 @@
> protected void _esql_printObject ( Object obj, AttributesImpl xspAttr) throws
> SAXException
> {
> if ( obj instanceof List) {
> - ListIterator j=((List)obj).listIterator();
> - <xsp:element name="sql-list">
> - <xsp:logic>
> - while (j.hasNext()){
> - <xsp:element name="sql-list-item">
> - <xsp:attribute
> name="pos"><xsp:expr>j.nextIndex()</xsp:expr></xsp:attribute>
> - <xsp:logic>this._esql_printObject(j.next(),xspAttr);</xsp:logic>
> - </xsp:element>
> - };
> - </xsp:logic>
> - </xsp:element>
> + ListIterator j=((List)obj).listIterator();
> + <xsp:element name="sql-list">
> + <xsp:logic>
> + while (j.hasNext()){
> + <xsp:element name="sql-list-item">
> + <xsp:attribute
> name="pos"><xsp:expr>j.nextIndex()</xsp:expr></xsp:attribute>
> + <xsp:logic>this._esql_printObject(j.next(),xspAttr);</xsp:logic>
> + </xsp:element>
> + };
> + </xsp:logic>
> + </xsp:element>
> } else if ( obj instanceof Set ) {
> - Iterator j=((Set)obj).iterator();
> - <xsp:element name="sql-set">
> - <xsp:logic>
> - while (j.hasNext()){
> - <xsp:element name="sql-set-item">
> - <xsp:logic>this._esql_printObject(j.next(),xspAttr);</xsp:logic>
> - </xsp:element>
> - };
> - </xsp:logic>
> - </xsp:element>
> - } else {
> - <xsp:content><xsp:expr>obj</xsp:expr></xsp:content>;
> - }
> - }
> + Iterator j=((Set)obj).iterator();
> + <xsp:element name="sql-set">
> + <xsp:logic>
> + while (j.hasNext()){
> + <xsp:element name="sql-set-item">
> + <xsp:logic>this._esql_printObject(j.next(),xspAttr);</xsp:logic>
> + </xsp:element>
> + };
> + </xsp:logic>
> + </xsp:element>
> + } else {
> + <xsp:content><xsp:expr>obj</xsp:expr></xsp:content>;
> + }
> + }
> </xsl:when>
> </xsl:choose>
> </xsp:logic>
>
>
>
>
> ----------------------------------------------------------------------
> In case of troubles, e-mail: webmaster@xml.apache.org
> To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
>
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl
Posted by Vadim Gritsenko <vg...@yahoo.com>.
> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@apache.org]
> Sent: Thursday, September 06, 2001 5:00 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl
>
>
> Davanum Srinivas wrote:
> >
> > Berin,
> >
> > There's one more esql.xsl in the C1.X repository :)
>
> Done.
>
> <sarcasm>
> I have an idea, lets have another fork of Cocoon so we can
> synchronize with an even four repositories!
> </sarcasm>
>
> All joking aside, I will be so happy when Cocoon 2.0 goes
> final and we can focus stricly on Cocoon 2.1. This branched
What about bug fix releases - 2.0.1, 2.0.2... ?
:)
Vadim
> development kind of makes things difficult to keep track of.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: cvs commit:
xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java
esql.xsl
Posted by Berin Loritsch <bl...@apache.org>.
Davanum Srinivas wrote:
>
> Berin,
>
> There's one more esql.xsl in the C1.X repository :)
Done.
<sarcasm>
I have an idea, lets have another fork of Cocoon so we can
synchronize with an even four repositories!
</sarcasm>
All joking aside, I will be so happy when Cocoon 2.0 goes
final and we can focus stricly on Cocoon 2.1. This branched
development kind of makes things difficult to keep track of.
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org