RE: XSP code reuse

2001-08-31 Thread Orgalist
If you know the values of idtype-inf you will use, you can use this query : select * from v_inf where idtype_inf=6 OR idtype_inf=7 OR idtype_inf=8... or if the values follow each other ( 6,7,8,9...), use for(int i=6; i=9; i++) { ... select...esql:parameterxsp:expri/xsp:expresql:parameter ... }

[C2b2] esql tags in xsl stylesheets

2001-08-24 Thread Orgalist
I can't make it work, the esql tags are not interpreted i also use esql tags in file.xsp where it works if someone can help me thanks. (I know similar questions have been posted, but i could find a solution in the answers ) C. here's the namespace in my xsp file ===file.xsp===

[C2] mysql and auto-increment

2001-08-20 Thread Orgalist
hello, I have a mysql database with a table 'listes' which has a column 'id' auto increment. How can I get the last inserted row's id ? (except using select max(id) from ) thanks. C. - Please check that your question has

RE: [C2] mysql and auto-increment

2001-08-20 Thread Orgalist
doesn't work. send back 0 for each row there is in the table C. -Message d'origine- De : Alen Milkovic [mailto:[EMAIL PROTECTED]] Envoyé : lundi 20 août 2001 12:00 À : [EMAIL PROTECTED] Objet : Ang: [C2] mysql and auto-increment Orgalist [EMAIL PROTECTED] 20.08.01 11:54 hello, I

[C2]xsp-request

2001-08-17 Thread Orgalist
Hello has somebody already sucsessfully used the form xsp-request:get-parameternamename/name/xsp-request:get-parameter instead of xsp-request:get-parameter name=name/ because i can't make it work : in the correspnding java file there is : ((XSPRequestHelper.getParameter(objectModel, , null)));

[C2]cache and database

2001-07-19 Thread Orgalist
Hello here's my problem : I'm generating xml using the esql tags and a mysql database with file liste.xsp and transforming it with liste.xsl : it allows me to display the items of a list and ,using a form to send parameters to add-item.xsp, add an item to this list. the SELECT and INSERT work

[C2] including in a xml file the result of a xsp file

2001-06-28 Thread Orgalist
for example, i'd like to include in index.xml the code source of plan.xml obtained by by using view-source.xsp with plan.xml as parameter. Is it possible to do something like this : xinclude:include parse=text href=view-source.xsp?filename=plan.xml ? thks C. de Corbier

[C2] xinclude : file not found

2001-06-27 Thread Orgalist
here's my problem : I'm trying to include a file plan.xml in index.xml using xinclude (they are in the same directory) and I keep getting : org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.io.FileNotFoundException: