Problem with jboss kosmos portlets and pluto
--------------------------------------------
Key: PLUTO-250
URL: http://issues.apache.org/jira/browse/PLUTO-250
Project: Pluto
Issue Type: Bug
Components: portlet container
Affects Versions: 1.0.1
Environment: Jahia 5.0
Pluto 1.0.1
Jetspeed 2.0
Kosmos 0.2RC2
Java 1.5.0_06
Ubuntu Dapper 6.06
Reporter: Cédric Mailleux
Attachments: BasicURLTag.patch
I try to run the kosmos portlets on Jahia, we use jetspeed-2 and pluto-1.0.1
for our portals needs.
The first portlet I try was the jira monitoring one, at first glance I see
nothing on my page, with a little investigation it seems that a pluto tag does
flush of my output writer, so I remove the line and everything goes fine for
the jira monitoring portlets.
I attach the patch to my mail.
Next step was to try the svn monitoring portlet, here the problem seem a little
bit different.
I see there is a classcast exception in the AgeTag (I made a patch, give it to
Kosmos team, will be released in next version).
But another line in the jsp seems to make me wrong output, I do not have yet a
clue of what happens but may be you already know, so here is my problem, in the
second column of the displayTable in svn_monitoring.jsp we have this code :
<display:column titleKey="svnrepository.location" style="white-space: nowrap;"
sortProperty="location" sortable="true">
<a href="${repository.location}" <c:if
test="${repository.latestTouchAgeInDays > 31}">style="text-decoration:
line-through;"</c:if>>${repository.location}</a>
<a href="<portlet:renderURL><portlet:param name="action"
value="viewRepositoryDetails"/><portlet:param name="id" value="<%=
pageContext.getAttribute("id").toString() %>"/></portlet:renderURL>">
<img src="<c:url value="/pages/images/info.gif"/>" title="<fmt:message
key="svnrepository.repositoryDetails"/>" border="0"/>
</a>
</display:column>
When I remove the <c:if test="${repository.latestTouchAgeInDays >
31}">style="text-decoration: line-through;"</c:if> tag everything works fine,
it seems that pluto think this tag is inside another jsp tag or something like
that, because this "if expression" is use everywhere in the page and have no
problem with it.
If you have an idea or know the problem, it will help me, as we are near a
release of jahia with the portals capacity we hope to announce that we can run
the Kosmos one.
Cheers,
Cedric Mailleux
http://www.jahia.org
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira