passing parameters to xsp files

2003-06-03 Thread Carolien . Coenen
Title: passing parameters to xsp files Hi, Currently I'm working on a web application that uses an Oracle 8i database, Cocoon 2.0, Tomcat 4.1 and Apache 2.0. I'm using XSP to query, insert and update my database. Now I stumbled upon the following problem. I've searched the web for answers

Re: passing parameters to xsp files

2003-06-03 Thread Alexander Schatten
[EMAIL PROTECTED] wrote: This all works fine, updating and everything. Except for this: I want the right foreign key selected in my form. I cannot expect my users to select the right owner in the drop down box everytime they do an update. So I want to tell the owner.xsp file the owner_id of

RE: passing parameters to xsp files

2003-06-03 Thread Vindevogel - van Loco
Title: passing parameters to xsp files Hi Carolien, I guess you want something like this . (I did it in plain xml/xsl, didn't find the time to use cocoon on this one, but it's a working sample. Where I use the document function in XSL, you should put the values you cincluded ) I

Re: passing parameters to xsp files

2003-06-03 Thread Steven Noels
On 2/06/2003 15:52 [EMAIL PROTECTED] wrote: This all works fine, updating and everything. Except for this: I want the right foreign key selected in my form. I cannot expect my users to select the right owner in the drop down box everytime they do an update. So I want to tell the owner.xsp file

Re: Passing parameters from xsp to xsp

2003-03-18 Thread Lionel Crine
I don't know if it's possible but why don't you try this : map:match pattern=db/*/*.xsp map:generate src=db/{1}/{2}.xsp type=xsp/ map:transform src=xsl/db.generatexsp.xsl/ map:serialize type=xml/ /map:match map:match pattern=db/*/*.html map:generate

Re: Passing parameters from xsp to xsp

2003-03-18 Thread Yves Vindevogel
No, that's the same ... When the .html is called, the XSP can use the xsp-request:get-parameter However, it calls a new match, where the values of the request are no longer available That's exactly my problem. I don't know if it's possible but why don't you try this : map:match

Passing parameters from xsp to xsp

2003-03-17 Thread Yves Vindevogel
Hi, I need to pass request parameters from one XSP to another This is my sitemap map:match pattern=db/*/*.xsp map:generate src=db/{1}/{2}.xsp type=xsp/ map:transform src=xsl/db.generatexsp.xsl/

passing parameters to XSP

2002-11-27 Thread Anna Afonchenko
Hi All. Another question: I neeed to pass to XSP some file that was evaluated previously in some pipeline (can pass it as a string), something like: map:generate src="" map:parameter name="content" value="cocoon:/file.html"/ /map:generate If I use cinclude inside XSP, I can do nothing

RE: passing parameters to XSP, or rather transforming before including...

2002-11-27 Thread Alten, Jelle Paul (uto)
Afonchenko [mailto:[EMAIL PROTECTED]]Verzonden: woensdag 27 november 2002 12:32Aan: cocoon-usersOnderwerp: passing parameters to XSP Hi All. Another question: I neeed to pass to XSP some file that was evaluated previously in some pipeline (can pass it as a string), something like: