From:
http://ca.php.net/parse_ini_file
Note: There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, and false. Values null, no and false results in "", yes and true results in "1". Characters {}|&~![()" must not be used anywhere in the key and have a special meaning in the value.
Since Dataface uses INI files and the php parse_ini_file function to parse them, it is subject to these constraints.
Workarounds include:
1. Storing the valuelist in the database.
2. Defining the valuelist in the delegate class.
3. Using an alternative notation:
e.g.
- Code: Select all
[YesNo]
Y=Y
N=N
or
- Code: Select all
[YesNo]
Y="Yes."
N="No."
And a clever person can probably come up with something even better. You can try even just wrapping "yes" in quotes
e.g.
Y="Yes"
and see if that works.. not sure if it will.
-Steve