It depends on which link you want to change.  If it's one of the sorting
links (I'd doubt that, opening a new page everytime someone sorts the
table seems like a recipe for disaster!), I really don't know how you'd do
that.  I think it would vary depending on if you're using 1.1 or 1.0 (I'm
just now starting to look through the 1.1 code, and it's fairly
different), but would probably involve using a custom decorator.  However,
if you're already generating some kind of custom link (outside of the
built-in autolinking), you've probably already got a custom decorator.

If you're composing a table cell explicitly, then you're probably using an
<a href> or <html:link> tag, in which case you'd just need to add the
target attribute.

Basically, we'd need more information to understand the context for what
you want to do to really tell you how to do it.  But those are the two
main options, I'd think.

Asta Slade wrote:
> Hi,
>
>   I'm new to the displaytag world (and other related web tools), so bear
> with me if I ask silly questions.
>
>   I have jsp pages from a third party using displaytags to present tables,
> and I need to change one of the links in the table so that it opens in a
> seperate window. I looked through the archives and saw posts on the
> problem but no solution. Is there a solution or a reasonable work
> around?
>
>   Any help/pointers would be greatly appreciated, thanks, Asta.
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.


-- 
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



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to