Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Application Development » BUTTON IN THE DATA AREA
Re: BUTTON IN THE DATA AREA [message #5090 is a reply to message #5087] Tue, 20 October 2015 09:09 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
It may be because you are still using a very old version of the framework - 1.67. Try the latest version, which is 1.91.

This is what I have in one of my tasks to display an "Add Attachment" button.

In the _cm_changeConfig() method I have the following:
$this->fieldspec['add_attachment'] = array('type' => 'string',
                                           'control' => 'input',
                                           'task_id' => 'py_email_attachment(add2)');
$fieldarray['add_attachment'] = null;

In my language_text.inc file I have the following:
$array['add_attachment']                   = "Add Attachment";

The XML output contains the following:
<add_attachment name="task#py_email_attachment(fileupload)" control="input">Add Attachment</add_attachment>



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JAVASCRIPT CODE FOR INPUT FIELD
Next Topic: RETURN MORE THAN ONE TRANSACTION
Goto Forum:
  


Current Time: Fri May 17 09:40:45 EDT 2024

Total time taken to generate the page: 0.01154 seconds