[fpc-devel] In Lazarus fpweb action procedure names no longer include the action name
ABorka
fpc-devel at aborka.com
Sun Feb 14 21:52:16 CET 2010
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
More information about the fpc-devel
mailing list