Hello!
> Try: <util:name>axkit:<param:_chdl/>.xsp</util:name>
I'm getting:
[AxKit] [Backtrace] Could not create file parser context for file
'axkit:c/slogin/slogin.xsp' : No such file or directory at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/LibXML.pm line 351
;-)
What I'm doing:
<esql:connection>
<esql:driver>Pg</esql:driver>
<esql:dburl>dbname=xxxxx</esql:dburl>
<esql:username>xxxxx</esql:username>
<esql:password>xxxxx</esql:password>
<!--
There will be a lot of form's, with a lot of different Work to do.
All my forms are structured in content-modules. Every Form should
have an own file where all XSP-Code to manage the CGI-Data is in.
Every form got an <input type="hidden" name="_chdl" value="x">,
where x is the name of the module.
-->
<if-param:_chdl>
<util:include-file>
<util:name>axkit:c/<param:_chdl/>/<param:_chdl/>.xsp</util:name>
</util:include-file>
</if-param:_chdl>
<cms:content>
<esql:execute-query>
<esql:query>
SELECT
get_root_content('<xsp:expr>$ContentRoot</xsp:expr>',
session2id('<s:sstr/>'), NULL) AS xml
</esql:query>
<esql:results>
<esql:get-xml column="xml"/>
</esql:results>
</esql:execute-query>
</cms:content>
</esql:connection>
My file for the module 'slogin' is c/slogin/slogin.xsp:
<if-param:action-sys-login>
<esql:execute-query>
<esql:query>
SELECT session_login(session2id('<s:sstr/>'),
usr2id('<param:domid/>',
'<param:login/>'), '<param:password/>')
</esql:query>
<esql:results/>
</esql:execute-query>
</if-param:action-sys-login>
<if-param:action-sys-logout>
<esql:execute-query>
<esql:query>
SELECT session_logout(session2id('<s:sstr/>'));
</esql:query>
<esql:results/>
</esql:execute-query>
</if-param:action-sys-logout>
The only thing I do is calling stored-procedures whith CGI-Params as
parameteres (<s:sstr/> is a small cookie/session-plugin I wrote).
Anything I can do to make that work that way?
Thanks,
AXEL
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]