cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mustafa Ali, Halgurt" <Mustafa...@docomolab-euro.com>
Subject AW: File existence
Date Tue, 16 Sep 2003 13:53:53 GMT
Thank you, I tried it, but I have a Problem, I am getting an empty page, Is the red line correct?
here is my pipeline:
 
<map:pipeline>
 <map:match pattern="handling">
  <map:select type="resource-exists">
   <map:when test="{request-param:ID}.xml">
    <map:generate type="file" src="default.xml" /> 
    <map:transform type="xslt" src="form2data.xsl">
      <map:parameter name="use-request-parameters" value="true" /> 
    </map:transform>
    <map:transform type="write-source">
    <map:parameter name="use-request-parameters" value="true" /> 
    </map:transform>
    <map:transform type="xslt" src="form2html.xsl" mime-type="text/xml">
      <map:parameter name="use-request-parameters" value="true" /> 
    </map:transform>
   </map:when>
   <map:otherwise>
    <map:generate type="file" src="default.xml" /> 
    <map:transform type="xslt" src="form2data.xsl" /> 
   </map:otherwise>
   </map:select>
  <map:serialize type="html" /> 
  </map:match>
  </map:pipeline>
 
Am I doing something wrong?
 
Many thanks,
Halgurt
 
-----Urspr√ľngliche Nachricht-----
Von: Antonio Gallardo [mailto:agallardo@agsoftware.dnsalias.com] 
Gesendet: Dienstag, 16. September 2003 13:45
An: users@cocoon.apache.org
Betreff: Re: File existence
 
Antonio Gallardo dijo:
> Upayavira dijo:
>> You can use the 'file exists' action or you can probably do the check
>> in
>>  flowscript, with something like:
> Hi:
>
> Is this action being deprecated in favor of ResourceExistsSelector? See:
> http://wiki.cocoondev.org/Wiki.jsp?page=ResourceExistsSelector
 
Sorry, I mean the link is:
 
http://wiki.cocoondev.org/Wiki.jsp?page=ResourceExistsAction
 
Antonio Gallardo
>
> Best Regards,
>
> Antonio Gallardo
>
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
 
 
 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
 

Mime
View raw message