CommandLinks within Datatable, browser history

When I click one of many commandlinks in a datatable, all the links are showing as visited.

Within each row of a datatable we have commandlinks that all point to the same page. That page uses the selected row to retrieve data based on specific fields within that selected row. The problem is that once we've clicked any of the commandlinks, they all now show as a visited link. This is because the href="#" for all of the links.

I tried creating a custom component that performs the same onclick( ) functionality as a commandlink but appends any params as querystring parameters. This would make the href unique. This doesn't work because the onclick( ) event contains "return: false;" which apparently stops processing before the link is added to the browser history. Ideas?

Message was edited by:

jha42

[838 byte] By [jha42a] at [2007-11-27 11:36:13]
# 1

One approach would be to use CSS to make visited links and unvisited links indistinguishable.

RaymondDeCampoa at 2007-7-29 17:07:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Using the CSS to make the visited and unvisited links indistinguishable is a good idea. Unfortunately, our customers aren't content with that solution. They'd strongly prefer to be able to identify the visited links. Any other ideas?

jha42a at 2007-7-29 17:07:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...