-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
very funny!
this is what I tried out:
<!-- -----snip ------->
<xsp:logic>
String ref = <esql:get-string column="mail_ID"/>;
String m_from = <esql:get-string column="mail_from"/>;
</xsp:logic>
<!-- -----snip ------->
<xsp-session:encode-url>
<xsp:attribute
name="href">http://linuxsrv:8080/cocoon/wedamas/show.xsp?mid=<xsp:expr
>ref</xsp:expr></xsp:attribute>
<esql:get-string column="mail_ID"/>
</xsp-session:encode-url>
Result should be:
<a href="http://linuxsrv:8080/cocoon/wedamas/show.xsp?mid=1">1</a>
Result is:
<a xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0"
href="">show.xsp?mid=ref_esql_query.getResultSet().getString("mail_ID"
)
</a>
I tried the way Beth Naquin told me, it works as far as I do not use
the <xsp-session:encode-url>-tag, but without the sessions it's kind
of useless code for my problem I think
I tried also to write a similar <xsp-session:encode-url> XSL-Match
for my own uses, but if I add the lines which start the encoding (I
took it from the documentation of XSP) Cocoon says only a Java
Nullpointer Exception. Nothing in the logs, no further info.
Greets
Georg
> pleasse re-read xsp documentation. in short:
> <a><xsp:attribute
> name="href">http://.....<xsp:expr>my_var</xsp:expr></xsp:attribute>C
> lick here</a>
>
> you may put anything (read: even any logicsheet tag and logic)
> inside this xsp:attribute
>
>
> Chris.
>
> Please follow up summarizing your problem and which suggested
> solution / information worked for you when you consider your
> problem
> solved. Add "SUMMARY: " to the subject line. This will make FAQ
> generation and searching the list easier. In addition, it makes
> helping you more fun. Thank you.
>
> --
> C h r i s t i a n H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
>
> --------------------------------------------------------------------
> - Please check that your question has not already been answered in
> the FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]> For additional commands,
> e-mail: <[EMAIL PROTECTED]>
>
- -----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use
<http://www.pgp.com>
iQA/AwUBPV2rS6ID3cBIHLXcEQJj/gCfa/7wWXqNT3CwXaOq3pGsQ8OlWpgAoLOl
DnF6XD65owQESBR/yrfz7MEg
=phTA
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPV2rp6ID3cBIHLXcEQIr3QCdFju2rBM//6UE/mFj1HLkNSrtQtcAoMoJ
A/mlNMmxcE3vVbPbgJ2jzx/E
=3Qth
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>