Ignore:
Timestamp:
Feb 4, 2024, 2:14:37 PM (9 months ago)
Author:
chronos
Message:
  • Modified: Update Common package.
  • Added: Project group.
  • Modified: Assign ModuleUser to modules which use it in later time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/ZdechovNET/ContactPage.pas

    r147 r149  
    1212  TContactPage = class(TWebPage)
    1313    procedure DataModuleProduce(HandlerData: THTTPHandlerData);
    14   public
    15     ModuleUser: TModuleUser;
    16   end;
     14  end;
    1715
    1816var
     
    2826
    2927procedure TContactPage.DataModuleProduce(HandlerData: THTTPHandlerData);
     28var
     29  ModuleUser: TModuleUser;
    3030begin
    3131  with TWebSession(HandlerData), HtmlDocument.Body, SubItems.AddString do begin
     32    ModuleUser := TModuleUser(ModuleManager.FindModuleByName('User'));
    3233    if Request.Path.Count > 1 then begin
    3334      PageNotFound;
Note: See TracChangeset for help on using the changeset viewer.