table widget, group widget

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

Postby confundido » Fri Aug 11, 2006 4:22 pm

Here are a couple issues I'm having with the table widget:

1) I can't add rows. I get "error on page" when I click add.
2) the only time I can view the data is when I'm editiong the record.

I cannot get the record to save using the group widget.

Any ideas?
confundido
 
Posts: 8
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sat Aug 12, 2006 10:47 am

Hi,

The table and group widgets are a little sketchy at this time... probably best to avoid them for now. They both imply XML storage and must be used in a TEXT field. The javascript to add a row with the table widget appears to have an incompatability with IE - it works on Firefox. Because they are stored as XML it sometimes isn't easy to work with the data from the rest of the database.

Rather than using the 'group' widget, it is probably better to just have a separate field for all of the pieces of data and use the 'group' parameter to group them together on the form.

Currently there aren't any real alternatives to the table widget to get that type of functionality - but I hope to add a sort of 'portal' widget in the next version that will allow you to work with related records in a sort of table widget - rather than store them in XML... this would be more natural for the relational model.

That said, I'd like to sort out these issues. If you can add a description to the issue tracker along with the field definition, relevant fields.ini file portions and SQL table definition, I'll try to get on it.

Best regards

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 13 guests

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