Hi Mike,

Thankyou sir!

I'd narrowed it down to global.js but not yet found the function.

All sorted now (but what a pain that was!)


Regards
Marty

> There is a function in global.js called "highlightTableRow" that is
> responsible for this behaviour. It does two things:
>
> 1) It highlights the table row when you move your mouse over it.
> 2) It navigates to the href of any link (<a>) element in the first column
> if you click on the row.
>
> To get rid of the behaviour just look for the call to highlightTableRow at
> the bottom of the jsp page and remove it.
>
> Mike.
>
> On 6/6/07, Martin Ravell <[EMAIL PROTECTED]> wrote:
>>
>> I have a test project (2m5 Struts2 basic) with a simple couple of model
>> objects having been run through the appfuse:gen / appfuse:install
>> generation stuff and the base code seems to work well.
>>
>> Onto one of the list forms I have added a new column with a link to
>> another action. This link renders correctly but when I click it I am
>> sent
>> to the edit page instead of the new one.
>>
>> This confised me a lot!
>>
>> Finally (after much head scratching) I setup a proxy between my browser
>> and server and found out that even though I am clicking on the new link
>> (show.html) the browser is going to editGame.html.
>>
>> Smelling a rat I thought perhaps there is some weird javascript
>> happening
>> here. Sure enough when I commented out the javascript includes from
>> default.jsp the link starts to work as expected.
>>
>> Can anyone tell me what is going on here? Is it possible to stop this
>> without disabling the scripts entirely? I've not investigated yet
>> exactly
>> which of the three scripts is to blame here but am hoping someone out
>> there has come across this problem before.
>>
>> Any help will really be appreciated.
>>
>>
>> Regards
>> Marty
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to