You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Philipp Rech <ph...@gmx.de> on 2004/10/25 10:14:25 UTC

CForms: What is best-practise on a multi-page-form?

Hello folks!

okay the scenario is a CForm form that goes over several pages. Wizard or
Registration like. Here I was wondering what people are using out there for
this common task and what are the options and best practise for that?

As far as i know there are 2 major ways to do this: 

1 - on big form def. and a on big template... from fields are hidden and
displayed via JavaScript and CSS (e.g. via <fi:styling type="tabs"/>). The
problem here is that validation occurs "on submit" and that could case many
errors and many "!" will get displayed which the user have to "find" first
(some are hidden via JS)! right?!?!?!? Another problem could be the heavy
use of client-side Javascript and CSS.

2 - split-up form definitions and templates and a submit button pointing to
the next page via the contuniation. The big problem here is that when i go
back and change values and submit again the fields on the 2nd (and so on)
page are empty! right?!?!?!? Also having one form definition and calling the
widgets from several templates doesnt work according to the developers, huh?

MY QUESTION: any other options i didn't think of (with CForms and Cocoon
2.1.5.1)? What are people using out there and what is good and bad about it?

Let's talk about it!
Thanks in advance...
phil

 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Can I use hyperlinks in jfor?

Posted by ToƱin <to...@hotmail.com>.
Using jfor 0.7.2rc1 and commandline I type :
<fo:basic-link external-destination="{@href}" color="blue"
text-decoration="underline" font-family="Arial" font-size="12pt" >


    <xsl:apply-templates/>


</fo:basic-link>

And it represents OK hyperlinks.

But using cocoon 2.1.5.1 I type the same and don't represent OK
hyperlinks.In cocoon folder lib I replece jfor0.7.1.jar ( itsn't the lastest
Jfor version) with jfor0.7.rc2(the lastest version) and it doesn't represent
OK.

Can anyone help me?

Excuse for my poor English I'm from Galicia.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org