Hi Travers,

I didn't use the display tag property to put multiple parameter. Here's how
I'd done it..

<display:column sortProperty="userContact.firstName"  sortable="true"
titleKey="contact.firstName">
           <a href="${ctx}/userprofile.html?userContactId=${
contactList.userContact.id}&userRef=${contactList.userContact.ref}">${
contactList.userContact.firstName}</a>
       </display:column>

Hope this helps.

Regards

On 8/3/07, Travers Snyman <[EMAIL PROTECTED]> wrote:
>
>  I am using Appfuse 2 m5 basic struts and hibernate. From a list jsp, I
> need to pass more than one parameter from the displaytag column. As far as
> could find out, displaytag does not support this. I saw something on this
> link http://jira.codehaus.org/browse/DISPL-120 but could not get it going.
> The following:
>
>
>
>       <display:column property="id"
>
>                               sortable="true"
>
>                               href="editContactByIp.html?ipUid=1"
>
>                               media="html"
>
>                               paramId="id"
>
>                               paramProperty="id"
>
>                               titleKey="contact.id"/>
>
>
>
> gives the correct url
> http://localhost:8080/editContactByIp.html?ipUid=1&id=4 (ipUid value is
> hardcoded)
>
>
>
> I thought changing the href to href="editContactByIp.html?ipUid=<c:out
> value="${ipUid}"/>" would do it, but the url then becomes url 
> http://localhost:8080/editContactByIp.html?ipUid=<c:out
> value&id=4<http://localhost:8080/editContactByIp.html?ipUid=%3cc:out%20value&id=4>which
>  I understand. I tried all sorts of quote variations around <c:out ..
> with no luck.
>
>
>
> Can this be done or are there any other workarounds or suggestions. I need
> to push the ipUid onto the value stack for editContatctByIp action method
> without a submit from the list form.
>
>
>
> Thanks
>
> Travers
>



-- 
/fadhli

Reply via email to