I meant mybutton.forward=go to go=mybutton.forward
On Wed, 8 Dec 2004 04:46:58 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > My experience is that the computer is always right, so I would look in > my properites file, if I were you, and see whether or not I had > reversed the myButtonForward=go to go=myButtonForward. Did you? I > feel compelled to reiterate that LookupDispatchAction is a fairly poor > example of the code needed to do this stuff, in my opinion. > > Jack > > On Wed, 08 Dec 2004 09:51:58 +0100, Alexander Czernay > > > <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote: > > > > > > > On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay > > > <[EMAIL PROTECTED]> wrote: > > > > > >> The problem is, that only one of those buttons > > >>works, while the other throws a MissingResourceAction. That sounds like > > >>a typo, but the strange thing is, that it tries to lookup the button's > > >>value rather than it's name (eg. having a ressource mapping like > > >>mybutton.forward=go it would try to lookup "go"). > > > > > > > > > I presume that you know that lookup dispatch action DOES lookup the > > > buttons value rather than its name? I just mention this because your > > > wording half indicates that you find this surprising. > > > > > > Jack > > > > > > > Well, as far as I understand it, it takes the button value (eg. "go") > > and tries to match it in Application.properties, where it should find > > "mybutton.forward" that it looks up in the getKeyMethodMap() inside the > > LookupDispatchAction. My problem is, that my application tries to lookup > > "go" rather than "mybutton.forward" for one button, while it works for > > the other. > > > > I double-checked all occurences of the lookup-string and also tried to > > rename it in case of some cruel naming conflict. It just doesn't work. > > > > Alexander > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > > "You can't wake a person who is pretending to be asleep." > > ~Native Proverb~ > > "Each man is good in His sight. It is not necessary for eagles to be crows." > > ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ > -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]