I think tapestry expects the id to be synchronized with the id of a valid
listener that it knows about...Changing the submit button id on the fly like
that will likely get undesired results unless you also change some of the
hidden form input fields to reflect your change.

Why do you need to manually set the id of the button or change it at all?

On 6/1/06, Aninder Makkar <[EMAIL PROTECTED]> wrote:

Hi Guys,
  Im using a submit button in the form ,

  <input jwcid="[EMAIL PROTECTED]" listener="ognl:listeners.submit"
disabled="ognl:disable" id="ognl:submitId"  />

  initially when the page renders ,disable=true and id = "aaa"
  this form displays a tree structure data and as the user gets to
the  leaf node i call a javascript function which sets disabled=false
and  id="bbb"

  however when i submit the form the listener method is not getting
invoked???

  why ?

  any help will be appreciated
  Aninder




---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone.  Get
Yahoo! Messenger with Voice




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to