cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject RE: Cocoon's cache problems?
Date Thu, 12 Dec 2002 10:22:29 GMT
Thanks!

I execute a esql string that is : 
INSERT INTO wfTasklist (wfID, tkID, Responsible, Status)
	VALUES    (<xsp-request:get-parameter
name="wfID"/>,<xsp-request:get-parameter
name="tkID"/>,<xsp-request:get-parameter
name="Responsible"/>,<xsp-request:get-parameter name="Status"/>)

The parameters are from an other page :

<!-- here is the problem --> 
<td>WorkflowID : <xsp:attribute name="value"><esql:get-string
column="wfID"><xsp-request:get-parameter
name="myID"/></esql:get-string></xsp:attribute></td>
<!-- end of problem -->

<td>Task Name: <input type="text" name="tkID" id="tkID"><xsp:attribute
name="value"><esql:get-string
column="tkID"/></xsp:attribute></input></td>

<td>Responsable: <input type="text" name="Responsible"
id="Responsible"><xsp:attribute name="value"><esql:get-string
column="Responsible"/></xsp:attribute></input></td>

<td>Status: <input type="text" name="Status" id="Status"><xsp:attribute
name="value"><esql:get-string
column="Status"/></xsp:attribute></input></td>
 	
As you can see I want to send these four parameters. The first is a
parameter from the adress (...add-task?myID=2 for sample). All
parameters are ok, but with SQL profiler I have following message
...VALUES(null,3,4,1) . That means that my first parameter is not valid.
How can I pass it?

Thanks


-----Original Message-----
From: Yves Vindevogel [mailto:yves.vindevogel@implements.be] 
Sent: Thursday, December 12, 2002 11:09 AM
To: Gheysen Maxime, IT-DCS-CPS-CLI-DAR
Subject: Re: Cocoon's cache problems?


Hi, probably something in the "work" directory of Tomcat.

Plus, check your cocoon.xconf file

<!-- Stream Pipeline:
   Either collects a Reader and lets it produce a character stream
    or connects an EventPipeline with a Serializer and lets them produce
    the character stream. Alternatives to CachingStreamPipeline are:
    <stream-pipeline 
class="org.apache.cocoon.components.pipeline.NonCachingStreamPipeline"/>
  -->
  <stream-pipeline 
class="org.apache.cocoon.components.pipeline.NonCachingStreamPipeline" 
logger="core.stream-pipeline" pool-grow="4" pool-max="32" pool-min="8"/>

  <!-- Event Pipeline:
    Connects the generator and the various transformers and produces a
    character stream. Alternatives to CachingEventPipeline are:
    <event-pipeline 
class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
    <event-pipeline 
class="org.apache.cocoon.components.profiler.ProfilingCachingEventPipeli
ne"/>
    <event-pipeline 
class="org.apache.cocoon.components.profiler.ProfilingNonCachingEventPip
eline"/>
  -->
  <event-pipeline 
class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline" 
logger="core.event-pipeline" pool-grow="4" pool-max="32" pool-min="8"/>


My pipeline is set to "Non Caching". Handy for development  ;-)) Maybe
you should do that on your server too.


> Hello,
> I changed a page a saw that the modification hasn't been done. So I 
> made a backup of my documents and delete them. I restarted tomcat and 
> cocoon, and all the pages are stil displayed! Even if I press Ctrl-F5 
> in IE6 or F5 in opera! How can it be? The document directory is empty!
>
> Thank you for your help.
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

-- 
Kind regards,
Yves Vindevogel

Implements
Kortrijkstraat 2 bus 1  --  9700 Oudenaarde  --  Belgium
Phone/Fax: +32 (55) 45.74.73  --  Mobile: +32 (478) 80.82.91
Mail: yves.vindevogel@implements.be  --  www.implements.be

Quote: The winner never says participating is more important than
winning.

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message