Question on Delagate class [SOLVED]

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

Re: Question on Delagate class

Postby jhenry » Tue Apr 06, 2010 12:36 pm

I finally got it. It seems like when I used the category=record_action in the actions.ini it would link only to the Work_Orders table not the appropriate checklist table. What I finally used does what you said and pulls the workorder_id from the current record and uses that in a new checklist form. It also queries the record to get the appropriate checklist for the equipment. The link is there in the list function but just reloads the current page if selected. Thanks again for all your assistance.


Code: Select all
[Work_Orders]
   url="{$record->val('checklist_url')}&wo_id={$record->val('workorder_id')}"
   url_condition="$query['-table'] == 'Work_Orders' and $record"
   condition="$query['-table'] == 'Work_Orders' and $record"
   category=table_actions
   icon="http://192.168.0.11/infinity/images/checklisticon.png"
   label="Checklist"


Jason
Do not mistake understanding for realization, and do not mistake realization for liberation....Tibetan Saying.
jhenry
 
Posts: 58
Joined: Sun Jul 12, 2009 1:20 pm
Location: Florida

Previous

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 24 guests

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