cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Bikkina <a...@pinksheets.com>
Subject Re: Coplets in cocoon
Date Mon, 01 Mar 2004 18:10:08 GMT
Both my forms have different actions. 

Security.xsp
           <form href="cocoon:/coplets/search/securityresult.xsp" 
method="post">
           		<input type="hidden" name="visited" value="true"/>
           		<!-- also store username or session id here-->
           		<input type="hidden" name="name">


MarketMaker.xsp


           <form href="cocoon:/coplets/search/marketmakerresult.xsp" 
method="post">
           		<input type="hidden" name="visited" value="true"/>
           		<!-- also store username or session id here-->
           		<input type="hidden" name="name">
           			<xsp:attribute name="value"><xsp-ses


Here is my sitemap

    <map:match pattern="security.xsp">    	
	     <map:generate src="securityresult.xsp" type="serverpages"/>     	
 	    <map:transform src="context:/historyserver/styles/search.xsl"/>          
  	   <map:serialize/>    
   </map:match>


    <map:match pattern="markermaker.xsp">    	
	     <map:generate src="marketmakerresult.xsp" type="serverpages"/>     	
 	    <map:transform src="context:/historyserver/styles/search.xsl"/>          
  	   <map:serialize/>    
   </map:match>


I am not using the call function like you mentioned in the example. I guess 
thats ok. 
coplet-data

 <coplet-data id="security" name="standard">
      <title>Security Quote History</title>
      <coplet-base-data>URICoplet</coplet-base-data>
      <attribute>
      	<name>uri</name>
      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">cocoon:/coplets/search/security.xsp</
value>
      </attribute>
   </coplet-data>      
   <coplet-data id="marketmaker" name="standard">
      <title>Market Maker Quotes List</title>
      <coplet-base-data>URICoplet</coplet-base-data>
      <attribute>
      	<name>uri</name>
      	<value xsi:type="java:java.lang.String" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">cocoon:/coplets/search/marketmaker.xsp</
value>
      </attribute>
   </coplet-data>
   

coplet instance data

   <coplet-instance-data id="security-1" name="standard">
      <coplet-data>security</coplet-data>
   </coplet-instance-data>
   <coplet-instance-data id="marketmaker-2" name="standard">
      <coplet-data>marketmaker</coplet-data>
   </coplet-instance-data>

Can you please help me find the problem.

Thanks,
Anna.





On Monday 01 March 2004 12:46 pm, Hochleiter@seitenbau.com wrote:
> cop


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


Mime
View raw message