Hi I have been using the DispatchUtil method with great success (for my ValidatorForm). However there seems to be a problem with DynaValidatorForm.
In my DynaValidatorForm, there is an image button and a text field. When I click on the button, the DispatchUtil finds the correct forward and executes the method accordingly. The problem is if I don't click on the image button but press "Enter" to submit the form, your DispatchUtil is unable to find the forward and thrown an Exception in the getMethodName function. Thanks, Ben On Fri, 01 Oct 2004 03:14:07 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > Good! Just so you know, I discovered that in my haste I had made a few > mistakes on the last option. They are fixed. I will now change the > source code to reflect that. > > > > Ben wrote: > > >Thanks Michael. I believe I have all the necessary information to move > >forward. > > > >Thanks again. > > > >-Ben > > > >On Fri, 01 Oct 2004 01:01:21 -0700, Michael McGrady > ><[EMAIL PROTECTED]> wrote: > > > > > >>Hi, Ben, > >> > >>If you follow the link I gave you, all the source code is available at > >>the demonstration page under the link (in a light green) called "view > >>code". It is just to the right of the CRUD options in each of the four > >>solutions. If that is not enough, please let me know. That solution > >>has the following code provided: (1) DispatchUtil , (2) > >>LogonDispatchUtilForm, which is nothing critical, but I wanted to give > >>out all the necessary code to run the example, (3) struts-config.xml, > >>and (4) OH, AHA! I see your point! Okay, I added as (4) > >>LogonDispatchUtilAction, that was just an oversight. Sorry! You can > >>get it there. > >> > >>Michael > >> > >> > >> > >>Ben wrote: > >> > >> > >> > >>>Can you show me the source code for the LogonDispatchUtilAction? > >>> > >>>Thanks > >>> > >>> > >>>On Fri, 01 Oct 2004 00:03:36 -0700, Michael McGrady > >>><[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>>If you want to try out a war that I just created on this, with the code > >>>>that is running, try > >>>>http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions , Ben. > >>>> > >>>> > >>>> > >>>>Ben wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>Thanks everyone, especially Mike for providing me with a very > >>>>>comprehensive answer. I am evaluating the suggested solutions. > >>>>> > >>>>> > >>>>>On Thu, 30 Sep 2004 09:03:39 -0600, Carlos Cajina - Hotmail > >>>>><[EMAIL PROTECTED]> wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Hi Ben. > >>>>>> > >>>>>> I see that Mike McGrady already pointed you in the right direction :^) > >>>>>>I've tried the solution he proposes with execelent results... if you > >>>>>>have > >>>>>>any further questions or doubts I'll be glad to help. > >>>>>> > >>>>>>Regards, > >>>>>> > >>>>>> Carlos > >>>>>> > >>>>>>"Premature optimization is the root of all evil." > >>>>>>Donald E. Knuth > >>>>>>----- Original Message ----- > >>>>>>From: "Ben" <[EMAIL PROTECTED]> > >>>>>>To: "Struts" <[EMAIL PROTECTED]> > >>>>>>Sent: Wednesday, September 29, 2004 11:58 PM > >>>>>>Subject: ImageButtonBean & LookupDispatchAction > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Hi > >>>>>>> > >>>>>>>Anyone knows any example on how to use ImageButtonBean in > >>>>>>>LookupDispatchAction? Or can someone give me an example > >>>>>>>implementation? Thanks. > >>>>>>> > >>>>>>>Regards, > >>>>>>>Ben > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>>>--------------------------------------------------------------------- > >>>>>>>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] > >> > >> > >> > >> > > > >--------------------------------------------------------------------- > > > >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]