On 26.02.2008 04:04, Andre Juffer wrote:

var form = new Form(...);
form.createBinding(...);
var finished = false;
var data = new ...;
while (!finished)
{
 try {
  form.load(data);
  form.showForm(...)
  form.save(data);
  do_something_with(data);
  finished = true;
 }
 catch (ex)
 {
    var w = form.lookupWidget("messages");
    w.addMessage(ex.message);
 }
}
cocoon.sendPage(...);

Is it only me wondering how this can work at all when there is an exception? In that case finished is NEVER set to true and you always get into an infinite loop. How can this work with Tomcat? Or am I just missing something?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to