-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi @ll,
 
I 've got a problem with dynamic parameters in an XSP-ESQL-Combined
Page.
What I want to do:
I just want to write a dynamically generated XSP-Page which put out
the results of an ESQL-Query in a html-table. Each row of the table
should have one <td>-tag with a link to another XSP-Page, where the
user can view the whole entry of the database, and a few other
<td>-tags only to inform the user.
 
In a scripting language like PHP this could be done very simple, the
link look like that:
http://show.xsp?mid=<? $mid ?> where $mid is the specific ID of the
entry in the database-table
 
How is this be done in Cocoon?
 
I tried several ways, first I simply tried to put the string in the
href-parameter of <xsp-session:encode-url>, but in a tag you can't
use a '<'-Sign, so the esql-variable can't be put in.
 
Then I tried some substitutions with XSL-Templates, doesn't work to.
 
Then I  want to use actions, but the result-page does not contain any
parameters.
 
So I'm very confused now. Can somebody help me, please?
 
Thanks for every idea
Georg
 
PS: @Christian Haul: I've solved the last problem on my own. There
was no problem with ESQL and nested queries, the only problem was
that Cocoon starts counting esql-fields with "1" and not with "0" ;-)
 
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
 
iQA/AwUBPV0iQaID3cBIHLXcEQIB+QCeLoaKg8jMRzgezkRWLgykcYvso8wAoM8V
ytbo8R5hgXc0n+NvDH7Wfdkt
=KIpf
-----END PGP SIGNATURE-----

Reply via email to