LoadSection method: DynamicLoader class

Syntax

LoadSection()

Description

Use this method to load a section with tiles.

Parameters

None.

Returns

None.

Example

method LoadSection
   /+ Extends/implements PTNUI:Dynamic:DynamicLoader.LoadSection +/
   /*AddOnLoadScript("console.log(""LoadSection for "",""" | EscapeHTML(%This.Section.SectionName) | """);"); */
   Local PTNUI:Model:Tile &oTile;
   &oTile = %This.CreateTileUsingTab("", "Team Calendar");
   &oTile.RowNum = %This.GetNextRowNumber();
   &oTile.GltImageName = Image.QE_TEAM_CALENDAR;
   %This.SetupFluidTarget(&oTile, GenerateComponentContentURL(%This.Tab.PortalName, %This.Tab.NodeName, MenuName.MYMENU, %Market, Component.MY_COMPONENT, Page.MYPAGE, %Action_UpdateDisplay));
   %This.AddTileToSection(&oTile);
end-method;