cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: Cforms - fd:initial-value
Date Mon, 27 Feb 2006 01:11:38 GMT
Kamal Bhatt wrote:
> 
> Hi
> I have a field of datatype integer, I want set an initial value like so:
> 
> <fd:initial-value>1</fd:initial-value>
> 
> This is perfectly legitimate in regards to the validation. However, when
> I do this, I get null pointer exceptions on the line where I create the
> form, ie
> 
> var form = new Form("cforms/promotion.xml");
> 
> What am I doing wrong?


This sounds familiar, I think I ran into it before... I think the
workaround was to specify a locale="" attribute.

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


Mime
View raw message