creating a "view" without mysql5

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

Postby maddin » Fri Sep 22, 2006 6:07 am

the following code in the fields ini of my table does the trick to make these fields from a different table show up in the list wiew...


__sql__ = "select
u.*, a.local_id,a.title, a.text_block
from
newsletter u
left join
(
select
local_id,title, text_block
from
workflow
group by
local_ID
) as a
on
a.local_ID=feature1"


but not in the details view...
is there a easy way to make these fields show up in the details view as well?

cheers
martin
maddin
 
Posts: 58
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Sep 22, 2006 10:19 am

I'll have to add this to the bug tracker. I had thought that I had enabled this sort of thing for the view tab, but I must have made an omission somewhere. I'll look into it.

Best thing to do in the mean time is to override the view tab contents with the block__view_tab_content() method of the delegate class.

See http://framework.weblite.ca/documentation/tutorial/customizing-the-dataface-look-and-feel/customizing for information about overriding blocks.

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

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