Hi folks,
I'm having trouble constructing dynamic URLs, and would appreciate a
little help; I don't think it's anything other than newbie ignorance
stopping me getting it working!
Let's say I'm showing a simple list of [id, name, ipAddress] objects,
and that I must have i18n. Easy:
<display:table name="${networkElements}">
<display:column property="name" title="${nameKey}"/>
<display:column property="ipAddress" title="${ipAddressKey}/>
</display:table>
Now let's say I'd like to add a column of links to an edit page; I add
<display:column href="edit.html" paramId="id" paramProperty="id">
<fmt:message key="network.edit"/>
</display:column>
Cool. That works. Now I'd like to another column, which links to a
certain web UI on each IP address. So, for the ipAddress value in the
current row, I'd like this column to read:
<a href="https://${ipAddress}:10000/" target="new"><fmt:message
key="${something}"></a>
How do I do this? displaytag dislikes all my guesses so far, and while I
can sort of see how a decorator applies, it requires writing custom code
which I don't want to do if avoidable(*), and I can't embed a
fmt:message in the result. I think. Any advice?
--
David Kennedy
Swan Labs
http://www.swanlabs.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user