Re: cforms and flow examples

2004-09-07 Thread Timur Izhbulatov
Ð ÐÑÑ, 07.09.2004, Ð 14:18, Rui Alberto L. GonÃalves ÐÐÑÐÑ:
> Hi all,
> I just started using cocoon forms, so be gentle. I need to create
> some pages to display in a sequence, "wizard like".
> 
> The first page is presented to the client, and based on the choose,
> the second page is displayed, and so on...
> At the end, I need to have all the variables available for further 
> processing.
> 
> Looking into the examples I'm successfully displaying the first
> form. But now I'm having serious difficulties to find out how:
> 
> 1) decide witch page should be displayed in next step, because
> I don't know how to retrieve the previous form values.
> 
> Does anyone know where I can find documentation/examples about this
> topics that illustrate a similar problem?
> 
> Thanks to all for any help,
> 
I'm working on the similar application. Not sure I understand your
problem correctly but I think this could help:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=109213755927252&w=2

If you still have problems feel free to ask for more samples.
-- 
Timur Izhbulatov <[EMAIL PROTECTED]>

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



Re: cforms and flow examples

2004-09-07 Thread Derek Hohls
Agreed, the
samples/blocks/tour/flow/docs/multi-page.html
shows off two pages, with info passed between them;
also the use of JXTemplates which are also key to the
display of info from flow and forms.

>>> [EMAIL PROTECTED] 2004/09/07 12:33:56 PM >>>

first take a look at supersonic tour (tour) in cocoon samples 
where you can find very simple flow examples 


--stavros 
On Tue, 7 Sep 2004, Rui Alberto L. [ISO-8859-1] Gon*alves wrote:

> Hi all,
> I just started using cocoon forms, so be gentle. I need to create
> some pages to display in a sequence, "wizard like".
> 
> The first page is presented to the client, and based on the choose,
> the second page is displayed, and so on...
> At the end, I need to have all the variables available for further 
> processing.
> 
> Looking into the examples I'm successfully displaying the first
> form. But now I'm having serious difficulties to find out how:
> 
> 1) decide witch page should be displayed in next step, because
> I don't know how to retrieve the previous form values.
> 
> Does anyone know where I can find documentation/examples about this
> topics that illustrate a similar problem?
> 
> Thanks to all for any help,
> 
> Rui
> 
> 
> 


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



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: cforms and flow examples

2004-09-07 Thread gounis

first take a look at supersonic tour (tour) in cocoon samples 
where you can find very simple flow examples 


--stavros 
On Tue, 7 Sep 2004, Rui Alberto L. [ISO-8859-1] Gonηalves wrote:

> Hi all,
> I just started using cocoon forms, so be gentle. I need to create
> some pages to display in a sequence, "wizard like".
> 
> The first page is presented to the client, and based on the choose,
> the second page is displayed, and so on...
> At the end, I need to have all the variables available for further 
> processing.
> 
> Looking into the examples I'm successfully displaying the first
> form. But now I'm having serious difficulties to find out how:
> 
> 1) decide witch page should be displayed in next step, because
> I don't know how to retrieve the previous form values.
> 
> Does anyone know where I can find documentation/examples about this
> topics that illustrate a similar problem?
> 
> Thanks to all for any help,
> 
> Rui
> 
> 
> 


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



Re: cforms and flow examples

2004-09-07 Thread Ulf Sahlin
Hello Rui!

If you're using form.showForm, you can access the form variables through

var model = form.getModel();
var myFieldValue = model.somefield;

Based on myFieldValue you can use flow to decide which following form needs to be 
shown.

If you need more info, take a look at the Wiki at http://wiki.apache.org/cocoon.


Regards,
   Ulf Sahlin


> -Ursprungligt meddelande-
> FrÃn: Rui Alberto L. GonÃalves [mailto:[EMAIL PROTECTED]
> Skickat: den 7 september 2004 12:18
> Till: [EMAIL PROTECTED]
> Ãmne: cforms and flow examples
> 
> 
> Hi all,
> I just started using cocoon forms, so be gentle. I need to create
> some pages to display in a sequence, "wizard like".
> 
> The first page is presented to the client, and based on the choose,
> the second page is displayed, and so on...
> At the end, I need to have all the variables available for further 
> processing.
> 
> Looking into the examples I'm successfully displaying the first
> form. But now I'm having serious difficulties to find out how:
> 
> 1) decide witch page should be displayed in next step, because
> I don't know how to retrieve the previous form values.
> 
> Does anyone know where I can find documentation/examples about this
> topics that illustrate a similar problem?
> 
> Thanks to all for any help,
> 
> Rui
> 
> 
> -- 
> Rui Alberto L. GonÃalves <[EMAIL PROTECTED]>
> PT InovaÃÃo
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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