Problem with checkbox, repeat
Posted: Thu Jul 28, 2011 9:37 pm
Hello all
JonB is new to Xataface, but I'm having a grand time already.
I built a sample database of my own to test with. Something pretty simple, a quotations gizmo with quotes and their authors. I've been able to get sveral kinds of lookups working OK; a simple SQL id lookup that uses the returned nominal field (great) and a vocabulary-based valuelist with a select. Yippee!
What I haven't been able to get working is a 'repeat' type vocabulary.
In my 'authors' table I have a varchar(60) column called 'author_profession'.
here's my ini files for table 'authors':
fields.ini
[idauthors]
widget:label = "Record #"
[author_profession]
widget:type = checkbox
widget:label = "Profession"
widget:vocabulary = Profession
repeat = 1
valuelists.ini
[Profession]
AUT = Author
PHI = Philospher
SCI = Scientist
CRI = Criminal
POL = Politician
MIS = Miscreant
UNK = Unkown
PUN = Pundit
MIL = Military
OTH = Other
I know the files are working as I have been experimenting with other parameters, I just can't get the multiline checkbox to work.
What I actaully get is a single literal checkbox.
What am I missing here???
Thanks for any advice
I forgot - I'm using the newest xataface version on 32bit Fedora 15 Linux.
JonB is new to Xataface, but I'm having a grand time already.
I built a sample database of my own to test with. Something pretty simple, a quotations gizmo with quotes and their authors. I've been able to get sveral kinds of lookups working OK; a simple SQL id lookup that uses the returned nominal field (great) and a vocabulary-based valuelist with a select. Yippee!
What I haven't been able to get working is a 'repeat' type vocabulary.
In my 'authors' table I have a varchar(60) column called 'author_profession'.
here's my ini files for table 'authors':
fields.ini
[idauthors]
widget:label = "Record #"
[author_profession]
widget:type = checkbox
widget:label = "Profession"
widget:vocabulary = Profession
repeat = 1
valuelists.ini
[Profession]
AUT = Author
PHI = Philospher
SCI = Scientist
CRI = Criminal
POL = Politician
MIS = Miscreant
UNK = Unkown
PUN = Pundit
MIL = Military
OTH = Other
I know the files are working as I have been experimenting with other parameters, I just can't get the multiline checkbox to work.
What I actaully get is a single literal checkbox.
What am I missing here???
Thanks for any advice
I forgot - I'm using the newest xataface version on 32bit Fedora 15 Linux.