highlightTableRows limitation in Firefox?

2 messages Options
Embed this post
Permalink
pcberg

highlightTableRows limitation in Firefox?

Reply Threaded More More options
Print post
Permalink
Firefox 2.0.0.3 seems to have a problem with highlightTableRows in 2.0-M4. I followed the tutorial (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-listview) and added a new column on the table that has a clickable link to view custom details on a person. The behaviour is a bit strange though:

- If I left click on the link I added on the right it follows the "id" href on the left. I suspect it does that because the javascript looks for the first "a" link and a left click follows onclick before it does whatever you clicked.

- If I middle click though (open new tab) it follows the clicked link correctly.

Seems like a Firefox inconsistency. I didn't test this on any other browser. Maybe there would be a way to work around it though by passing a parameter to highlightTableRows what was clicked. Unfortunately my JavaScript skills are very limited. :(  Let me know though if you want me to enter it into AppFuse' JIRA.

Not a huge issue for me -- I was just playing around, noticed this problem, and thought I'd point it out... :)

thanks,
Philip
mraible

Re: highlightTableRows limitation in Firefox?

Reply Threaded More More options
Print post
Permalink
Yes, please enter an issue in JIRA.

Matt


On 5/19/07, pcberg <[hidden email]> wrote:

>
> Firefox 2.0.0.3 seems to have a problem with highlightTableRows in 2.0-M4. I
> followed the tutorial
> (http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-listview) and
> added a new column on the table that has a clickable link to view custom
> details on a person. The behaviour is a bit strange though:
>
> - If I left click on the link I added on the right it follows the "id" href
> on the left. I suspect it does that because the javascript looks for the
> first "a" link and a left click follows onclick before it does whatever you
> clicked.
>
> - If I middle click though (open new tab) it follows the clicked link
> correctly.
>
> Seems like a Firefox inconsistency. I didn't test this on any other browser.
> Maybe there would be a way to work around it though by passing a parameter
> to highlightTableRows what was clicked. Unfortunately my JavaScript skills
> are very limited. :(  Let me know though if you want me to enter it into
> AppFuse' JIRA.
>
> Not a huge issue for me -- I was just playing around, noticed this problem,
> and thought I'd point it out... :)
>
> thanks,
> Philip
>
> --
> View this message in context:
> http://www.nabble.com/highlightTableRows-limitation-in-Firefox--tf3783380s2369.html#a10699432
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]