Marc, Why not just have the default doPerform() method invoke the code, then you don't need the event.
HTH, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com On 14/01/2003 8:43 AM, "Marc Lustig" <[EMAIL PROTECTED]> wrote: > > Wei He wrote: > >> The syntax in path info to mimic a submit is eventSubmit_doSomething, so >> the line should read, >> >> <a >> href="$link.setPage("test.vm").setAction("SomeAction").addPathInfo >> ("eventSubmit_doSomethingonanobject","bla").addPathInfo("SomeData" >> ,"123")">test</a> >> >> It worked for me. You can add more addPathInfo() clause after setPage() >> as well. But make sure that addPathInfo("eventSubmit_doSomething","") >> immediately follows the setAction("") clause. > > I tried that, but what happens is that addPathInfo translates all to > lower-case: > for example addPathInfo("eventSubmit_doProjekt_anlegen","bla") > translates to > eventsubmit_doprojekt_anlegen/bla/ > > As a result the action-method cannot be found. > Any suggestion? > > Marc -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
