You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Wessel van Norel (JIRA)" <ji...@apache.org> on 2007/06/05 10:57:26 UTC

[jira] Created: (PLUTO-379) Error in the portlet-skin.jsp in the binary build of Pluto

Error in the portlet-skin.jsp in the binary build of Pluto
----------------------------------------------------------

                 Key: PLUTO-379
                 URL: https://issues.apache.org/jira/browse/PLUTO-379
             Project: Pluto
          Issue Type: Bug
    Affects Versions: 1.1.3
            Reporter: Wessel van Norel


If you look at the HTML output of the binary Pluto build you will see the following for each portlet deployed:

<!-- Assemble the rendering result -->
<div class="portlet" id='<c:out value="${portlet}"/>'>

This is shown because the following is missing in "/pluto-portal/src/main/webapp/WEB-INF/themes/portlet-skin.jsp"

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

After adding this you will get an id in the output, but unfortunately this ID is invalid according to the HTML specification.

One of the returned id's is: "/testsuite.TestPortlet2!764587357|1"

But according to the specification[1]:
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

So the starting '/' and the '!' and '|' in the ID are invalid.

[1] http://www.w3.org/TR/html401/types.html#type-name


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.