Lookup widget used with table widget

Archived from the Xataface Users forum.

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