Lookup widget used with table widget

A place for users and developers of the Xataface to discuss and receive support.

Lookup widget used with table widget

Postby conkhikho » Tue Dec 01, 2009 4:09 pm

i have this setup in my fields.ini file of table assets:

[Themes]
group = related_themes
order = 1
widget:label = "Themes"
widget:type = table
widget:description = "Choose related themes with its weight"
[Themes:theme]
widget:type = lookup
widget:table = themes
[Themes:weight]
widget:type = select
vocabulary = ThemeWeight

valuelists.ini
[ThemeWeight]
1=1
2=2
3=3
4=4

My intention is to let the user choose one or many themes from table "themes" and associate each of them with a weight (1-4). Table themes is huge, so I want to use lookup widget in column theme of widget:table Themes. However, the add row button doesn't work any more. When I used something else other than widget:lookup, the add row button works just fine.

What may be the problem here? Thanks for any suggestion.

Tim
conkhikho
 
Posts: 11
Joined: Wed Oct 07, 2009 5:57 pm

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 31 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved