Hi Mark,
I found why its working at your end. 
You have given a tabindex to <hmtl:img> tag,

What i am doing is 
<html:link page="/NewContact.do" tabindex="30">Create new</html:link>

Using the tabindex in the <html:link> tag only.

Thanks and Regards
Deepak .

-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 4:17 AM
To: Struts Users Mailing List
Subject: Re: Tabindex missing in <html:link> generated code.


My guess its something else..

I'd send you a snippet, its usually my preferred way of explanation, 
but i just did what you're doing.. My guess its the version of struts 
or something. Just in case here's exactly what works. I even tried 
having links the same same tabindex number and it works. if its not I'm 
as stumped as you are.

<html:link page="/Home.do"
         onmouseover="mover('home')"
         onmouseout="mout('home')">

        <html:img page="/images/nav/homeOff.gif"
                        imageName="home" alt="[Home]" border="0" tabindex="1" />
</html:link>

Cheers Mark

On Wednesday, September 3, 2003, at 06:00 AM, deepaksawdekar wrote:

> Thanks mark,
> I tried it but its not working at my end. Even I tried to put sparrow, 
> but in vain. I am using struts 1.1 , Can you please send me you code 
> snippet.
>
>
> Deepak ..
>
> -----Original Message-----
> From: Mark Lowe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 11:10 PM
> To: Struts Users Mailing List
> Subject: Re: Tabindex missing in <html:link> generated code.
>
>
> After seeing your posting I gave it a go, and it worked..
>
> My understanding is that its just an attribute thats passed straight
> through nothing clever going on, it should even work if you don't stick
> a number in there.
>
> For example try tabindex="sparrow" and it should render okay. Although
> any javascript might start dummy-spitting.
>
> Thats probably a useful as a chocolate fire-guard. But I guess you
> could check the version of struts you're using and that sort of thing.
>
> Cheers Mark
>
> On Tuesday, September 2, 2003, at 04:46 PM, deepaksawdekar wrote:
>
>> Hi,
>> I am using tabindex to set my tab sequence.
>>
>> jsp as a code
>>
>> .
>> .
>> <html:link page="/NewContact.do" tabindex="28">Create new</html:link>
>> .
>> .
>>
>> Generated html code for the above jsp is
>>
>> <a href="/WebGUI/NewContact.do">Create new</a>
>>
>> ... missing tabindex....
>>
>> am i doing something wrong...
>>
>>
>>
>> Deepak
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to