Oops...Forgot to give you an answer. To control which listener is called there is an optional second parameter to the client side tapestry.form.submitForm() function that specifies the submit name..
The standard listener types attached to the Form component are all named one of the constants in org.apache.tapestry.form.FormConstants. For hitting action/listener methods attached to paticular buttons/links you'll have to pass in the id of the particular button/link component in question as the submitname parameter to have it's listener called. This isn't how complicated it'll be in practice, but enough to get you over this hump for now.. On 6/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Heh...It will be done very soon, but I'm attacking one problem at a time and am currently in validation logic still. (actually currently finishing up last items to convert tapestry testing infrastructure to use TestNG...those unit tests sure do run a lot faster now! ie doesn't retardedly re-instantiate the class for every test method found like junit...blehhh) On 6/28/06, Kevin Menard <[EMAIL PROTECTED]> wrote: > On Wed, 28 Jun 2006 14:46:34 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> > wrote: > > > Ahhhh...I had almost forgotten what your original question was. I > > wouldn't > > try this yet with EventListener. Use > > onchange="tapestry.form.submitForm('your > > form id')" for now. > > Heh, perhaps I've bitten off more than I can chew. > > If I go this route, how can I specify which listener to activate? > > > I haven't added the logic to manage hidden form field data ~yet~, but > > after > > I do that is what will make this work without re-loading the whole > page. > > You > > can of course do this right now already using AjaxEventSubmit from > tacos. > > Maybe I'll go check this out to hold me over for the time being. > > Thanks again for all the help, > Kevin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.