Hello,

My pages using displaytag 1.0b3 work fine for the most part, including
sorting and export, except for a dynamic URL I am trying to generate, which
should vary on each row. Instead, it gets "stuck" on a single value.

Here's the table definition:

    <display:table name="sessionScope.searchResults" id="row"
    defaultsort="3" defaultorder="ascending" pagesize="20"
    export="true" requestURI="${pageContext.request.requestURL}">

And the column which gets stuck (it's row.type which should vary but
doesn't):

    <display:column title="${lastNameTitle}" property="lastName"
sortable="true"    
    href="${pageContext.request.contextPath}/${row.type}.do?retrieve="
    paramId="per" paramProperty="personID" />

And the *same* value in another column, which varies properly.

        <display:column title="${typeTitle}" sortable="true">
            <fmt:message key="sage.contacts.person.type.${row.type}" />
        </display:column>

I realize that since the second example is using the EL expression within an
embedded JSTL tag, it's probably processed and returned as JSP content
before displaytag ever sees it. But if JSTL expressions were a problem for
displaytag, then why would the contextPath in the first column's URL work
correctly? Any ideas what might be going on here?

As mentioned in my other post, I'm currently using displaytag 1.0b3 in a
servlet 2.4/JSP 2.0  web application which also uses JSTL and the Struts 1.1
and Tiles frameworks, running on Jboss 3.2.5. I use the non-EL version of
displaytag, as EL is completely integrated in JSP 2.0 and thus doesn't
require that version to benefit from EL syntax.

Regards,

Patterson Waltz




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to