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

Home » RADICORE development » Framework » Task ID/Script ID (Script-Generating)
Task ID/Script ID [message #5454] Sat, 09 April 2016 09:51 Go to next message
htManager is currently offline  htManager
Messages: 434
Registered: May 2014
Senior Member
Hi Tony,

when generating i.e. a list1 pattern the Script ID is by default tablename + (pattern id) + .php

If I change this default value and add a prefix value, the list1 script-ID will be generated correctly but the add1, del1 etc. scripts are not generated with the prefix. I have to manually change the scriptnames and the script-ID's in the mnu_task table. Is there a possibility to tell radicore to do this automatically?
Re: Task ID/Script ID [message #5456 is a reply to message #5454] Sun, 10 April 2016 04:51 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
If you change the script_id for a LIST1 pattern that change is only applied to the LIST1 task and is not propagated to any child tasks.

Why do you think you need different prefix values for script_id's?


Re: Task ID/Script ID [message #5458 is a reply to message #5456] Sun, 10 April 2016 14:09 Go to previous messageGo to next message
htManager is currently offline  htManager
Messages: 434
Registered: May 2014
Senior Member
I want to list the scripts in a 'for me correct way'. That's the reason.
Re: Task ID/Script ID [message #5461 is a reply to message #5458] Mon, 11 April 2016 05:28 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2368
Registered: April 2006
Location: Surrey, UK
Senior Member
The RADICORE naming convention for transaction scripts is <tablename>(<pattern>)[suffix].php. I do not support other naming schemes.

Re: Task ID/Script ID [message #5462 is a reply to message #5461] Mon, 11 April 2016 06:14 Go to previous message
htManager is currently offline  htManager
Messages: 434
Registered: May 2014
Senior Member
OK. Thank you.
Previous Topic: Maintaining state
Next Topic: Screen/Report - calculated/concat fields
Goto Forum:
  


Current Time: Sat Nov 23 21:18:28 EST 2024

Total time taken to generate the page: 0.01670 seconds