new feature w/ new tab button

A place to discuss development of the Xataface core.

new feature w/ new tab button

Postby tgibson2011 » Tue Feb 01, 2011 6:51 pm

I can't seem to figure out how to add a new feature and associated tab button. I've read thru the documentation and tutorial, but I don't see how to 'glue' things together. I also haven't found any code from the sample apps. Are there any code sample areas showing how to use the various APIs and functions?

thx in advance... tom..
tgibson2011
 
Posts: 1
Joined: Tue Feb 01, 2011 2:00 pm

Re: new feature w/ new tab button

Postby shannah » Wed Feb 02, 2011 11:58 am

Sounds like you're looking to create a custom action. Some resources to look at include:
http://xataface.com/documentation/tutor ... ce_actions
http://xataface.com/wiki/actions.ini_file
http://xataface.com/wiki/Creating_a_Dashboard
http://xataface.com/wiki/Selected_Records_Actions
http://xataface.com/wiki/Creating_Printable_Reports

The category directive of the actions.ini file is used to make your action appear in a particular page. e.g.:
Code: Select all
category=table_tabs

will make your action show up as a table tab (e.g. details, list, find, etc..)

You can check the xataface actions.ini file to see some of the different existing categories you can use.
You may also want to make use of the mode directive to allow the tab to be selected when your action is the current one.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 1 guest

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