Hakan, perhaps you should just write the form in HTML and not use the form taglib.
I still don't understand what you are doing though. If you have to use text instead of an image in a link, why do you need a button?
In forms to submit with images, I use the input type=image. Is that what you mean?
If you really need to use the html:form taglib, you could always just define a very elementary dynaform in your struts-config, in which case you won't need to program anything.
On 10/27/2004 03:04 PM Håkan Fransson wrote:
Maybe it was a bad explanation of my problem. In our project we have
demands on accessability that affect what components we are using. In
current implementation we have link tags(with images nested) for submitting forms, for links and so on. This works fine but if a user
has to increase text in their browser, images doesn't increase. In
other words, a user with bad vision, increase text in it's browser
but cannot see text on our images that we are using for submit. So we
have to use form controls such as <input type="submit"> to render a button because they increase when user increases their text in
browser. The problem arise when we want to use this type of button,
for example, to go to a jsp-page through a ForwardAction with no form
needed. This control has to be nested in a form tag but in the example above, we dont need any form.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]