cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Thilo Mueller <>
Subject Re: Generic Table printout for Oracle ORDBMS
Date Sat, 17 Apr 2004 18:06:15 GMT
Dear Christian,

thank you very much for your answer. I already had tried both ways
before but I couldnt reach the result I am heading at.

Im using the esql example to print out table column name number i.

> <esql:get-column-name>
>    <esql:param name="column"><xsp:expr>i</xsp:expr></esql:param>
> </esql:get-column-name>

If I replace this i with a 1, everything is fine. If I define int 1=1
outside of the <content> then it gives me an error:

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
esql_xsp: ERROR 1
(org\apache\cocoon\www\samples\databases\xsp\ ... default:
this.characters("\n "); // start error (lines 588-588) "String literal is
not properly closed by a double-quote"
_esql_query.getResultSet().getMetaData().getColumnName(" // end error i
")); this.characters("\n\n\t"); ... Line 588, column 0: String literal is
not properly closed by a double-quote

Which says nearly nothing to me.

Any ideas ?

Thank you,


more detailed code sample

   <title>A Database Driven XSP Page</title>
       <resource type="file"
       <resource type="doc" href="userdocs/xsp/esql">ESQL</resource>

int i=1;




Die Zahl i hat den Wert <xsp:expr>i</xsp:expr>

  Generische Tabellenausgabe


         <esql:query>select * from employee</esql:query>
		<esql:param name="column">


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message