cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: Setting a form field value as an empty string?
Date Fri, 29 Feb 2008 13:13:41 GMT
No, I mean that when it comes back from the form it is NULL.

>>> On 2008/02/29 at 03:09, in message <loom.20080229T130723-35@post.gmane.org>,
Joerg Heinicke <joerg.heinicke@gmx.de> wrote:
Derek Hohls <DHohls <at> csir.co.za> writes:

> I'd like to be able to set the initial, default value of a form to be an empty 
> string; at the moment, if the user does not fill in a value, then it gets
> treated as a NULL value when passed to the database.
>  
> I have tried:
> <fd:initial-value></fd:initial-value>
> and
> <fd:initial-value> </fd:initial-value>
>  
> but am still getting a NULL result.

You mean it's correct in the form, you don't see null on the screen, but in the
database it is NULL? Then I guess you have to fix your binding.

Joerg



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



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

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