Hello,
I'm facing a problem with column href, i have 2/6 column href that
aren't generated and I can't find why, maybe someone here will be able
to help me.
here is the sample code :
For example i have these action URL declared :
<portlet:actionURL var="upURL">
<portlet:param name="action" value="incrementItem" />
<portlet:param name="tId" value="${topic.topicId}" />
<portlet:param name="increment" value="1" />
</portlet:actionURL>
<portlet:actionURL var="upTopURL">
<portlet:param name="action" value="incrementItem" />
<portlet:param name="tId" value="${topic.topicId}" />
<portlet:param name="increment" value="2" />
</portlet:actionURL>
<portlet:actionURL var="downURL">
<portlet:param name="action" value="incrementItem" />
<portlet:param name="tId" value="${topic.topicId}" />
<portlet:param name="increment" value="-1" />
</portlet:actionURL>
<portlet:actionURL var="downBottomURL">
<portlet:param name="action" value="incrementItem" />
<portlet:param name="tId" value="${topic.topicId}" />
<portlet:param name="increment" value="-2" />
</portlet:actionURL>
and somewhere after I have this part :
<d:table name="${itemList}" export="false" id="row" class="dataTable"
pagesize="${nbItemsToShow}" cellspacing="1">
<d:column property="itemId" title="ID" class="hidden"
headerClass="hidden" media="html" />
.... some other colunms
<c:choose>
<c:when test="${not (row_rowNum eq 1)}"><d:column href="${upURL}"
paramId="ptlp_id" paramProperty="itemId">
<img
title="<fmt:message
key='news.img.title.increase.disp.order'/>"
src="<html:imagesPath/>up.gif" border=0 />
</d:column></c:when>
<c:otherwise>
<d:column></d:column>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${not (row_rowNum eq 1)}"><d:column href="${upTopURL}"
paramId="ptlp_id" paramProperty="itemId">
<img
title="<fmt:message
key='news.img.title.increase.disp.order'/>"
src="<html:imagesPath/>double_up.gif" border=0 />
</d:column></c:when>
<c:otherwise>
<d:column></d:column>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${not (row_rowNum eq fn:length(itemList))}"><d:column
href="${downURL}" paramId="id" paramProperty="itemId">
<img
title="<fmt:message
key='news.img.title.decrease.disp.order'/>"
src="<html:imagesPath/>down.gif" border=0 />
</d:column></c:when>
<c:otherwise>
<d:column></d:column>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${not (row_rowNum eq fn:length(itemList))}"><d:column
href="${downBottomURL}" paramId="id" paramProperty="itemId">
<img
title="<fmt:message
key='news.img.title.decrease.disp.order'/>"
src="<html:imagesPath/>double_down.gif" border=0 />
</d:column></c:when>
<c:otherwise>
<d:column></d:column>
</c:otherwise>
</c:choose>
my problem is on the two first href, there is no <a href.... tag
generated, but if i remode the test to avoid to show the column href on
the first column it works perfectly. It seems to be a but with some libs
but which one ....
I found something related but it was on all links and was corrected with
the version of pluto.jar that we have on our portal :
https://issues.apache.org/jira/browse/PLUTO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Thanks for your help.
Julien
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user