The <html-el:select...> tag does not have an "accesskey" attribute. I tried adding the attribute to the struts-html-el.tld file, and got this error message:
Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELSelectTag' has no setter method corresponding to TLD declared attribute 'accesskey'
-- Tim Slattery [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
You could use the <label> tag which accepts an accesskey and passes the focus onto another form field.
Eg
<label accesskey="M">My Field <html-el:select property="myfield"> ... </html-el:select> </label>
or else use the for="" option with label:
<label for="field1" accesskey="M">MyField</label> <html-el:select property="myfield" styleId="field1"> ... </html-el:select>
Apparently the for="" references matches the id, so we have to add a styleId to the select. Not sure if it would find the name="" field.
-- Jason Lea
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]