You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/07/09 10:55:18 UTC

DO NOT REPLY [Bug 29996] New: - [portal] TabContentAspect does not refresh selected tab link if used with bookmarks

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29996>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29996

[portal] TabContentAspect does not refresh selected tab link if used with bookmarks

           Summary: [portal] TabContentAspect does not refresh selected tab
                    link if used with bookmarks
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: christian.mayrhuber@gmx.net


The TabContentAspect does not refresh the selected tab link if
bookmarks are used to access one tab, but not the others.

Occurs with this sitemap snippet:
      <map:match pattern="">
        <map:redirect-to uri="browse"/>
      </map:match>

      <map:match pattern="browse">                 
        <map:act type="auth-protect">
          <map:parameter name="handler" value="portal-handler"/>
          <map:parameter name="application" value="portal"/>                     

          <map:select type="parameter">
            <map:parameter name="parameter-selector-test"
value="{request-param:resource}"/>    
            <map:when test="">
              <map:generate src="cocoon:/bookmark?top=0"/>
            </map:when>
            <map:otherwise>
              <map:generate
src="cocoon:/bookmark?top=0&#38;JucsMenu-browse={request-param:resource}&#38;JucsView-browse={request-param:resource}&#38;JucsBreadcrumbs-browse={request-param:resource}"/>
            </map:otherwise>
          </map:select>
          <map:serialize/>
        </map:act>          
      </map:match>

      <!-- use the portal bookmark feature to generate xml -->    
      <map:match pattern="bookmark">
        <map:act type="auth-protect">
          <map:parameter name="handler" value="portal-handler"/>
          <map:parameter name="application" value="portal"/> 
          <map:act type="portal-bookmark">
            <map:parameter name="portal-name" value="portal" />                
       
            <map:generate src="cocoon:/html?{uri}"/>
            <map:serialize/>
          </map:act>
        </map:act>          
      </map:match>                        
    </map:pipeline>                  

      <map:match pattern="html">       
        <map:act type="auth-protect">       
          <map:parameter name="handler" value="portal-handler"/>
          <map:parameter name="application" value="portal"/>                      
          <map:generate type="portal">
            <map:parameter name="portal-name" value="portal" />
          </map:generate>
          <map:transform src="{global:skin}styles/pd2html.xsl"/>               
      
          <map:transform type="cinclude"/>           
          <map:transform type="portal-coplet"/>
          <map:transform type="encodeURL"/>                                   
          <map:serialize/>                                
        </map:act>
      </map:match>