cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben habib Esma <benhab...@yahoo.fr>
Subject Problem display the web page
Date Mon, 22 Nov 2004 14:26:26 GMT
Hello,

I want to display a web page with cocoon.

When, I use only this, the web page will display

<map:match pattern="*/oksubscribe.jx">
   <map:act type="session">
      <map:parameter name="action" value="create"/>
   </map:act>
   <map:generate type="jx" src="jx/service.jx"/>
   <map:transform src="stylesheets/oksubscribe.xsl">
      <map:parameter name="id" value="{1}"/>
   </map:transform>
   <map:serialize type="html"/>
</map:match>


But, when I use this 

<map:match pattern="*/valide.xml">
   <map:read type="och-partnervalidate"
src="cocoon:/{1}/oksubscribe.jx">
      <map:parameter name="cmt"
value="{request-param:OK}"/>
      <map:parameter name="url"
value="http://www.yahoo.com/News?"/>
    </map:read>
</map:match>

<map:match pattern="*/oksubscribe.jx">
   <map:act type="session">
      <map:parameter name="action" value="create"/>
   </map:act>
   <map:generate type="jx" src="jx/service.jx"/>
   <map:transform src="stylesheets/oksubscribe.xsl">
      <map:parameter name="id" value="{1}"/>
   </map:transform>
   <map:serialize type="html"/>
</map:match>

I have problem. In fact, it display the code of web
page instead of the web page

It display this :

<wml>
<card>
<p>
Your subscription is now active!  Click on Accueil to
turn over to the site.
</p>
</card>
</wml>

instead of that it display just this :

Your subscription is now active!  Click on Accueil to
turn over to the site.






	

	
		
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer
instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message