|
Re: Icon Support [message #213 is a reply to message #209] |
Wed, 26 July 2006 04:57 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Icons can be included in the tree view, as demonstrated in http://www.tonymarston.net/php-mysql/survey-prototype.html#o rganisation.structure
The reasons that I don't use hotkey buttons on individual lines are as follows:
- Having buttons on each line means that you can only perform a single action on a single record, whereas with my method you can select multiple records before performing the action.
- These buttons use the GET method to send their requests to the server, and using the GET method to perform database updates is a definite no-no. The POST method should be used for all updates while the GET method should be read only.
- These buttons would have to include the primary key of the selected record, and exposing primary keys to the outside world is generally considered to present a security issue. My method does not expose primary keys, just an index number to the current record set.
- Having the same set of buttons duplicated on every line seems a waste of space to me. I have each button defined just once.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|