When creating a web application, for example CGI Application in Lazarus, and adding an action to the web module, the automatically generated procedure name only contains a number and not the given action name.

For example, creating an action with a name ABC will generate a OnRequest procedure (by double clicking in the object inspector on the Events -> OnRequest) like:

TFPWebActions0Request(Sender: TObject;
  ARequest: TRequest; AResponse: TResponse; var Handled: Boolean);

instead of

TFPWebActionsABCRequest(Sender: TObject;
  ARequest: TRequest; AResponse: TResponse; var Handled: Boolean);

If memory serves, this has worked before properly (even changing the source code when one changed the action name in the object inspector). Right now, if someone has 50 actions, it takes a while to match the Action ID numbers with the actual functionality within the event handler.

Latest FPC SVN and latest Lazarus SVN, Win XP 32bit

Should I create a bug report on this?

AB

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to