|
Re: Regenerate <table_name>.screen.inc files [message #683 is a reply to message #682] |
Sun, 18 March 2007 05:07 |
AJM
Messages: 2363 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The task generation mechanism is for new tasks, and will not update existing .php or .inc files for any changes made. This is so that you do not "accidentally" overwrite an existing file for a new task.
It is quicker to update the files manually rather than tell the system what changes you want made and then have it make them for you.
Considering the small sizes of the files in question this should not be a problem.
In a lot of the transactions I write I have to amend the screen files anyway so that I can put the fields in the sequence which I want, not the sequence in which they are defined in the database.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: Regenerate <table_name>.screen.inc files [message #685 is a reply to message #684] |
Sun, 18 March 2007 06:20 |
AJM
Messages: 2363 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
When I built the transaction generation scripts I did think about having a screen to help you customise the screen layouts, but the more I thought about it the more difficult it became, especially when trying to have more than one field to a line in a detail screen. In the end I decided on the simplest solution - generate the screen structure file with a default layout containing all existing fields, then allow the developer to customise this file using his/her IDE or text editor.
Considering how simple the screen structure file is, it is far easier to amend it using a text editor than a fancy HTML screen.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|