You can construct your own URL inside a table cell - just leave the "property" element out and give the cell a body. For example:

<display:table id="foo">
<display:column>
        <a href="<c:url value="edit.html?id=${foo.id}"/>">Edit</a>
</display:column>

Matt

On Apr 4, 2005, at 11:59 PM, Gaurav Vaish wrote:

Hi,

� I wish to use DisplayTag (http://displaytag.sf.net) in my portlets. I am using Pluto as my portlet engine.

� I am facing an issue: using DT in a column that has hyperlink with parameters. Here's the detailed problem:

� I have to show a few results in a datagrid (table) with a link to each entry to either view details or edit it. However, I cannot use
��� <portlet:actionURL><portlet:param .../>...
� or
��� <portlet:renderURL><portlet:param .../>...


� since the value to the parameter is dynamic, depends on the row-number.

 � How can I make it happen?

 � Expected output like:

 � ___________________________________
 �|� Data��������� | � �� | ������� |
 �|----------------|------|---------|
 �|� Row 1 � � � � | View |�� Edit� |
�|� Row 2 � � � � | View |�� Edit� |
�|________________|______|_________|

� Now the "View" and "Edit" items are hyperlinks. In normal JSP, they would be something like "view.jsp?item=1" or "edit.jsp?item=2" etc.


-- Cheers, Gaurav Vaish http://www.mastergaurav.org http://mastergaurav.blogspot.com --------------------------------




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to