I'm a little confused by this.  Is this the output from a cocoon portlet?
Portals generally only want portlets to emit stuff that goes within body
tags.  I'm pretty sure the portal will generate its own <head> tags so
yours would be another set.


Anna Bikkina said:

> head tag in wait.xsp
>
>
> <head>
>
> String requestattr = "0;url=portal?nowait=true";
> Enumeration attrnames = request.getParameterNames();
> while(attrnames.hasMoreElements()) {
>     String attrname = (String)attrnames.nextElement();
>     if(!attrname.equals("nowait")) {
>           String attrvalue = request.getParameter(attrname);
>           requestattr = requestattr + "&" + attrname + "=" + attrvalue;
>       }
> }
> <meta http-equiv="refresh" >
> <xsp:attribute
> name="content"><xsp:expr>requestattr</xsp:expr></xsp:attribute>
> </meta>
> </head>
>
>               <!-- SAMPLE OC  SEARCH IN SITEMAP -->
>    <map:match pattern="sampleoc.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:act type="get-sample">
>                       <map:parameter name="sample" 
> value="{request-param:sampleoc}"/>
>                       <map:generate type="serverpages" 
> src="traderocresult.xsp"/>
>
>               </map:act>
>
>               </map:otherwise>
>               </map:select>
>
>      <map:transform/>
>      <map:serialize/>
>    </map:match>
>    <!-- END OF SAMPLE OC SEARCH-->


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

Reply via email to