My environment is struts/tiles in a websphere portlet.  We're running under 
WebSphere 5.0 but I'm 
using the displaytag-11 library since the other third party products we're 
using were all using jsp1.1
jars. Also, struts version that is in the project wasn't at the correct level 
for the commons libs it had
so displayTags was displaying an error. I only upgraded the commons-lang jar in 
the RAD (re: 
WSADS) to get displayTag working so I don't know if there's an issue there. 
Maybe someone in the 
know, knows. :-)

The gist of my problem is that I'm trying to construct links on the first 
column of a table. The link gets 
built with the url info and param* info but it's not a valid portlalized url. 
From reading the docs I 
thought I'd simply have to use the url= parameter in place of the href= but 
they seem to produce the 
same results. I also noticed the part about specifying requestURI="" on the 
table but that doesn't 
change things either. The sorting and paging DO produce the proper funky 
portlet urls so I'm 
wondering what dumb newbie thing I'm doing wrong. 

a paging link looks like:
http://localhost:9081/wps/myportal/!ut/p/_s.7_0_A/7_0_8FV/.cmd/ad/.ar/sa.spf_ActionListener/.c/6_0_8CR/.ce/7_0_8G1/.p/5_0_8CP/.d/0...

my dynamic column link looks like:
http://localhost:9081/PSPProject/PMRSelect.do?pmrId=73471%2C999%2C000

Any help would be much appreciated. Thanks in advance



<% request.setAttribute( "pmrList", myEsp.getPmrsAsCollection() ); %>
<div id="displayTable" class="wcs_table" >
    <display:table name="pmrList" class="sorted" defaultsort="2" sort="list" 
pagesize="9" > 
    <display:column sortable="true" property="number" title="#" 
url="/PMRSelect.do" paramId="pmrId" paramProperty="pmrId" />
    <display:column sortable="true" property="severity" title="Severity" />
    <display:column sortable="true" property="ownerEmployeeNumber" 
title="Owner" />
    <display:column sortable="true" property="displayCreateDate" title="Create 
Date" />
    <display:column sortable="true" property="commentLine" title="Comment" />
    <display:setProperty name="paging.banner.item_name" value="pmr" />
    <display:setProperty name="paging.banner.item_name" value="pmrs" />

    <!-- these should really be configured site wide in a displayTag config 
file -->
    <display:setProperty name="paging.banner.groupsize" value="10" />
    <display:setProperty name="paging.banner.page.separator" value=" " />
    <display:setProperty name="paging.banner.placement" value="bottom" />
    <display:setProperty name="paging.banner.all_items_found" 
value="&nbsp;&nbsp;" /> 
    <display:setProperty name="paging.banner.some_items_found" 
value="&nbsp;&nbsp;" /> 
    <display:setProperty name="paging.banner.full">
        <span class="pagelinks"><a href="{1}">&lt;&lt;</a> <a 
href="{2}">&lt;</a> {0} <a href="{3}">&gt;</a> <a href="{4}">&gt;&gt;</a></span>
    </display:setProperty>
    <display:setProperty name="paging.banner.first">
        <span class="pagelinks">{0} <a href="{3}">&gt;</a> <a 
href="{4}">&gt;&gt;</a></span>
    </display:setProperty>
    <display:setProperty name="paging.banner.last">
        <span class="pagelinks"><a href="{1}">&lt;&lt;</a> <a 
href="{2}">&lt;</a> {0}</span>
    </display:setProperty>
    <display:setProperty name="paging.banner.onepage">
        <span class="pagelinks">{0}</span>
    </display:setProperty>
</display:table>
-- 
------------------------------------------------------------------------------
Scott Russell (master javist)

pgp Key fingerprint = 63 7C BE 5F EE BA 46 15  46 EC A6 6C 79 B4 63 74
Registered Linux user: 308705                      see http://counter.li.org/
------------------------------------------------------------------------------


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to