The problem is that, that my form.js has only few lines. One funcfion.
function form1()
{
 var form = new Form("forms/d_nowyTyp.xml");
 form.showForm("nowy.html");
print ("out");
}
I know tak 'out' apers every time I press submit buton (when ther is a
validation error and there is no). I have to look in log file. Tomoraow I
will continue working. Today I'm going to bed. In my country it's midnight,
and I've been working from 10 o'clock in the morning. It's enought for me.
Thanks for your help.

Bartosz Zgodziński
tel. (61) 8428-157
cell. 504-14-00-16
----- Original Message ----- 
From: "Marc Portier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 11:40 PM
Subject: Re: Cocoon forms problem


>
>
> Bartosz Zgodziński wrote:
>
> > Unfortunatelly it's not the end. I don't know where this bug appears but
in
> > my source file I've got:
> >   <fd:field id="opis" required="true">
> >       <fd:label>Opis:</fd:label>
> >       <fd:datatype base="string"/>
> >    <fd:validation>
> >       <fd:length min="2" max="4"/>
> >    </fd:validation>
> >     </fd:field>
> > So it's correct and I still have blank page when I write "fafafa" ->
> > validation doesn't work :(
> >
>
> odd, I just snatched your above snippet, wrapped in a proper
> <fd:form>e<fd:widgets> and supplied a silly template and flowscript to
> call it all, no props over here: 'a' and 'fafafa' are marked wrong while
> 'ere' nicely proceeds the flowscript after the showform
>
> try getting some more info out of things by adding some print statements
> in the flowscript and checking the logs (maybe increasing the log-level)
> (maybe even adding some print stuff in the Forms.js around the
> sendPageAndWait part...)
>
> since you see the form at least the first time this must mean that the
> pipeline works ok so there is no reason to juggle around there...
>
> -marc= (running out of ideas)
> -- 
> Marc Portier                            http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> Read my weblog at                http://blogs.cocoondev.org/mpo/
> [EMAIL PROTECTED]                              [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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]

Reply via email to