Hi,

I have a wierd problem using META tab in <HEAD> of my HTML in cocoon
portal. May be this is a html question more than a portal question. Can
someone please help me solve this one.. I have been working on this for
more than a week now.

I have a html form in a cocoon coplet(page1.xsp). When I submit the form
it goes to wait.xsp which just displays a animated gif saying searching
results . Wait.xsp  has 

<meta http-equiv="refresh" 
content="1;url=page1.xsp?param1="xx"&param2="YY">

where the url in content  contains all the request parameters that come
to wait.xsp.

Now this one goes to the same sitemap match as page1  and the sitemap
directs it to page2 depending on some conditions page2 displays results
and also has  almost the same html form as in page1. When I submit the
form in page2 it submits details as in page1 when the method type =
"post" when the method type = "get" it works the way it should by
posting parameters in page2 .Not sure what difference it makes when it
is a get/post. Any  help is greatly appreciated.

Here is the sitemap component for the coplet


  
    <map:match pattern="page1.xsp">
    
        <map:select type="request-parameter">
                <map:parameter name="parameter-name" value="nowait"/>
                <map:when test="false">
                        <map:generate type="serverpages" src="wait.xsp" />
                </map:when>
                <map:otherwise>
                        <map:generate type="serverpages" src="page2.xsp"
label="raw"/>                                                                   
        </map:otherwise>
                        <map:transform
src="con        text://newhistoryserver/styles/searchresult.xsl"/>
                        <map:serialize/> 
                                
        </map:select>

        <map:generate src="page2.xsp" type="serverpages"/>            
        <map:transform  src="context:/newhistoryserver/styles/search.xsl"/>    
        <map:serialize/>  
   </map:match>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to