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.
-----Ursprungligt meddelande----- Från: Mark Lowe [mailto:[EMAIL PROTECTED] Skickat: den 27 oktober 2004 13:56 Till: Struts Users Mailing List; Jay Chandran Ämne: Re: ActionMapping without a formbean Not sure I've i've understood or not but wouldn't a <jsp:useBean id="nav" scope="request" class="com.domain.package.NavBean" /> work? Perhaps even use one of thise LazyDyanBeans i keep hearing about in the beanutils package. Perhaps I've missunderstood the problem. Mark On Wed, 27 Oct 2004 15:22:54 +0530, Jay Chandran <[EMAIL PROTECTED]> wrote: > I am not a big struts giant ....:) > > But let me give my suggestions on ur doubt > > In the case of links we are just invoking a java (acion) file . If we need > to send some value through links to action file we need to send as parameter > from our link. > > HTML:FORM tag is mainly meant for passing form values from a jsp,vm page > to the action. > > I think, If you can send parameters from ur <form> tag, we can do this > without form bean. > > Please try it out :) > > > > > ----- Original Message ----- > From: "Håkan Fransson" <[EMAIL PROTECTED]> > To: "Struts User Llist (E-mail)" <[EMAIL PROTECTED]> > Sent: Wednesday, October 27, 2004 2:46 PM > Subject: ActionMapping without a formbean > > > Hi! > > I know that this is and old issue but i'm not satisfied with solutions. > > We have used links with images to go to actions without forms and it works > > fine. > > Now we got demands that we must use html buttons on pages for > accessability. > > I've seen > > two workarounds, use a dummy form or regular html form tag. But it's not > so > > nice with > > dummy forms and an absolut path to the action on the jsp page. > > Is there any other solution i can use and why doesn't html:form tag > support > > mappings without > > formbeans. > > > > ************************************************* > > Håkan Fransson > > System developer > > Ladok, Umea University > > SE-901 87 Umea, Sweden > > Phone: +46 (0)90 786 6938 > > Email: [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]