depselect breaks my App

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

depselect breaks my App

Postby ngms27 » Tue Nov 20, 2012 7:52 am

When I use
widget:type=select
volcabulary=company

This selects all company names from the company table for my Projects view

Every thing works correctly using Xataface 2

However I also want to select a contact from the company_contacts table that is dependent on the company name.

As soon as I start using depselect the first thing I notice is that on my Project view I lose the Company name and just get the int value. When I try and edit a record I do get the correct lookup of Company Names but don't get anything for the contacts.

Any ideas where I maybe going wrong? I've tried allsorts such as widget:table (breaks the App) etc
ngms27
 
Posts: 30
Joined: Mon Nov 12, 2012 8:18 am

Re: depselect breaks my App

Postby shannah » Tue Nov 20, 2012 9:18 am

Can you post the field def when using depselect?

One tricky thing is that depselect doesn't use the vocabulary directive. It uses the widget:table directive instead.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
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 18 guests

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