cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Chan <ytc...@aajc.hku.hk>
Subject usage of SQLProcessor {@var}
Date Fri, 21 Jan 2000 05:48:52 GMT
Hi All,

Anyone have try out the parameter subsitution {@var} feature of Cocoon
1.6 SQL Processor?  Is there any real example I can learn from?

Actually, I've try loading my XML page like
http://localhost/sql/database-page.xml?var=123

where database-page.xml contains the following query:

 <query connection="test_connection" doc-element="">
  select col1, col2, col3 from table1 where col1={@var}
 </query>

but it doesn't work.

Mike


Mime
View raw message