The problem is when x-action is clicked in the second form, the databind phase of the first form gets executed. This is problematic when the data-bind phase expects form-submission data from its own form (not being part of the submit of the second form).

template a(){

  form{
     b()
     submit action(){ "b-action"}
  }
  form{
     x()
     submit action(){ "x-action" }
  }
}

template b(){

...

  databind{
  ...
  }
}
Submitted by Elmer van Chastelet on 20 November 2013 at 15:33

On 20 November 2013 at 15:34 Elmer van Chastelet tagged error

Log in to post comments