Jadeler wrote:
> I just started working with the display tag libraries.
>
>   Is there a recommended way of adding more than one parameter to the URL
> within the column?  For example, I was wondering if I can achieve
> something like :
>
>   
> http://localhost:8080/testapp/PolicySearchResultDetail.b2b?id=123&anotherId=432
>
>   Currently, I have it setup like:
>       <display:column  url="/PolicySearchResultDetail.b2b" paramId="id"
> paramProperty="policyNumber" title="Policy Number"
> class="s-results-text-information" sortable="true">
>           <c:out value="${item.productCode}" />
>           <c:out value="${item.policyNumber}" />
>       </display:column>

Jade,

You can do it, but not with the param* attributes.  You'll actually need
to construct the URL within the column tag (note: I'm assuming the url
attribute makes each item in the column a link, that is, the url attribute
is NOT used for constructing the sorting link; I haven't used it though). 
So it should look something like this:

<display:column title="Policy Number" ...>
   <a href="/PolicySearchResultDetail.b2b?id=<c:out
value="${item.policyNumber}"/>&anotherId=432">
      <c:out value="${item.productCode}" />
      <c:out value="${item.policyNumber}" />
   </a>
</display:column>

I think that'll get you what you want...

-- 
Rick Herrick
[EMAIL PROTECTED]

I haven't got time for inner peace.

"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935



_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to