Re: Back button issues with multipage forms

2006-03-16 Thread Craig Gulliver
ontinuations were created during execution of the same call of this function" HTH, Bill ________ From: Craig Gulliver [mailto:[EMAIL PROTECTED] Sent: Thu 3/16/2006 1:00 PM To: users@cocoon.apache.org Subject: Re: Back button issues with multipage forms It may be p

Re: Back button issues with multipage forms

2006-03-16 Thread Craig Gulliver
. The question is, will continuations restore the state of the ProcessingPhaseListener class so that the proper states are applied to the form? Does any of this sound reasonable to any one? Maybe I should post my questions to the developer forum. Thanks, Craig "Craig Gulliver" <[EM

Re: Back button issues with multipage forms

2006-03-16 Thread Craig Gulliver
form.showForm(displayPipeline); submitWidget = widget.getForm().getSubmitWidget(); //Protect from the bug when user press the back button if(submitWidget == null){ cocoon.log.debug("back button pressed"); But i find it more difficult and less elegant

Re: CForms: multiple fd:submit

2006-03-16 Thread Craig Gulliver
I thought that it was form.submitWidgetId "Fernando D. Mato Mira" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > It also doesn't work on 2.1.8, but when I try to use this workaround I get: > > org.mozilla.javascript.EcmaError: foo is not a function. > > where foo is the id o

Back button issues with multipage forms

2006-03-15 Thread Craig Gulliver
I have several forms that use the multipage wizard.  The basic idea is that the form has multiple group widget containers that can be hidden or displayed based on user actions(ie button clicks really).  And are controlled using button event handers (on-action events) in the form definition.

Re: CForms - different views of the same widget

2006-03-14 Thread Craig Gulliver
Hey Derek, Take a look at the cocoon user docs on event handling. For this method you have access to the event object and the viewData object. Looking at the API for the event class you can see that event.source is the widget you want. Cheers, Craig "Derek Hohls" <[EMAIL PROTECTED]> wrote in

Simple Question on Repeaters

2005-10-25 Thread Craig Gulliver
Hi All,   I would just like clarify the usage of repeaters.   I want to use the initial-size attribute of the repeater definition.  However I want to supply the value as form data and accessed as an _expression_.  So my question, is it possible to use JXPath or JEXL expressions in the f