cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Mismatch between form model and template
Date Wed, 30 Jun 2004 13:28:34 GMT
Hi all

I got stuck for quite a while on a really simple 
problem... not sure how to avoid this for future.

In my form model I have:

    <fd:field id="testName" required="true">
        <fd:label>Any name</fd:label>
        <fd:datatype base="string"/>
    </fd:field>     

But this field was NOT displayed in the form 
template (I forgot to add in an ft: widget).
Net result was that it looked like the flowscript
had "hung" at that point, and would not display
anything when the submit button was pressed.

There was nothing in any of the logs to indicate
*why* this was happening - is it possible to have
the default behaviour of the forms processor to
report a warning to one of the logs when a required 
field is not completed??

Thanks
Derek


-- 
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message