Many search tab issues with widgets

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

Many search tab issues with widgets

Postby nusskratzer » Wed Aug 15, 2012 6:37 am

Hello,

Following my previous post, I found out that the widget issue applies to many "complex" widgets types: In Xataface 1.3.2, I am unable to get e.g. checkbox, or advmultiselect in fields appearing on the "find" page, while they do appear properly on the record "edit" page. On the "find" tab they automatically get converted into select fields.

Additionally I installed the Xataface 1.9 branch with the depselect module and again, it worked well on the "edit" page but they appear as select fields on the "find" tab.

I am missing something or what ??!

The way I defined the fields for e.g. checkbox is as follows:
fields.ini:
[myfield]
widget:type=checkbox
vocabulary=myfieldvoc
visibility:find=visible

valuelists.ini:
[myfieldvoc]
__sql__ = "SELECT myfield FROM mytable ORDER BY myfield"

And that's it. Or should I do something else??
nusskratzer
 
Posts: 4
Joined: Tue Aug 14, 2012 1:34 pm

Re: Many search tab issues with widgets

Postby shannah » Mon Aug 20, 2012 11:02 am

The find tab does not use the same widgets as the edit form. It tries to use an appropriate widget based on the settings, but it won't use the same ones. This is because fields are often used differently while searching than they are while editing.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 27 guests

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