portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Commented: (JS2-14) Base tag usage in portal layout breaks achor references in portlet output
Date Mon, 19 Apr 2004 18:58:53 GMT
The following comment has been added to this issue:

     Author: Ate Douma
    Created: Mon, 19 Apr 2004 11:58 AM
       Body:
David,

Thanks for handling this issue.

I saw you did comment out the base tag using html comments (<!-- and -->) though.
As this is a JSP file the contents of the comment will still be rendered (as a comment that
is).
To prevent comments to be rendered java style comments should be used embedded within a scriptlet
like: <% // this is a comment %>

Regards, Ate

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JS2-14?page=comments#action_35150

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS2-14

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS2-14
    Summary: Base tag usage in portal layout breaks achor references in portlet output
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Jetspeed 2
 Components: 
             Other
   Versions:
             2.0-dev/cvs

   Assignee: David Sean Taylor
   Reporter: Ate Douma

    Created: Sat, 17 Apr 2004 12:25 PM
    Updated: Mon, 19 Apr 2004 11:58 AM
Environment: WindowsXP, J2SE1.4.2_03, Tomcat 4.1.29

Description:
portal/src/webapp/pages/SimpleLayoutHeader.jsp contains a <base> tag in the header.
As a complete portal page is aggregated with this header defined first the base is set for
all contained portlets as well.

Local achor references within portlet content won't work because of it as there context won't
be that of the overall page (the brower tries to resolve these achors within the portal context
like <host>/jetspeed/portal/#<achor name>).

The current layout nor the default (demo) portlets won't break when this <base> tag
is removed from the SimpleLayoutHeader.jsp so I suggest just doing that.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message