409 Navigation aware typescript components for the First View of ABP framework - chempkovsky/CS82ANGULAR GitHub Wiki

Note

Localization

Note

  • Repeat all the steps of the article

Instead of

  • 02020-Rdl.json
  • You should use
    • 02020-Rdl.abp.json

Instead of

  • 01980-R-lazy.routes.ts/r-lazy.routes.ts.t4
  • You should use
  • 01980-R-lazy.routes.ts/abp.r-lazy.routes.ts.t4

Instead of

  • 02060-Rdl-lazy.routes.ts/rdl-lazy.routes.ts.t4
  • You should use
  • 02060-Rdl-lazy.routes.ts/abp.rdl-lazy.routes.ts.t4

Instead of code of the paragraph 08 Modify AppComponentHtml file

  • You should not modify app.component.html file at all

Instead of

  • 01960-Rv.json
  • 01962-Ra.json
  • 01964-Ru.json
  • 01966-Rd.json
  • 01968-Rl.json
  • You should use
    • 01960-Rv.abp.json
    • 01962-Ra.abp.json
    • 01964-Ru.abp.json
    • 01966-Rd.abp.json
    • 01968-Rl.abp.json

Instead of code of the paragraph 11 Modify AppComponentHtml file

  • You should modify route.provider.ts file as follows:
import { RoutesService, eLayoutType } from '@abp/ng.core';
import { inject, provideAppInitializer } from '@angular/core';

export const APP_ROUTE_PROVIDER = [
  provideAppInitializer(() => {
    configureRoutes();
  }),
];

function configureRoutes() {
  const routes = inject(RoutesService);
  routes.add([
      {
        path: '/',
        name: '::Menu:Home',
        iconClass: 'fas fa-home',
        order: 1,
        layout: eLayoutType.application,
      },
      {
        path: '/RDLPhbkPhoneTypeDto',
        name: 'Phone Type Dlg',
        requiredPolicy: 'firstapp.PhbkPhoneTypeDto',
        iconClass: 'fas fa-home',
        order: 20,
        layout: eLayoutType.application,
      },
      {
        path: '/PhbkPhoneTypeDto',
        name: 'Phone Type',
        requiredPolicy: 'firstapp.PhbkPhoneTypeDto',
        iconClass: 'fas fa-home',
        order: 30,
        layout: eLayoutType.application,
      }


  ]);
}

Localization

Localization Rv

  • After 01960-Rv.abp.json-batch, close batch dialog and
    • select 01821-RV.component.json and click next
    • select ViewRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform

Localization Ra

  • After 01962-Ra.abp.json-batch, close batch dialog and
    • select 01823-RA.component.json and click next
    • select AddRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform

Localization Ru

  • After 01964-Ru.abp.json-batch, close batch dialog and
    • select 01825-RU.component.json and click next
    • select UpdRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform

Localization Rd

  • After 01966-Rd.abp.json-batch, close batch dialog and
    • select 01827-RD.component.json and click next
    • select DelRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform

Localization Rl

  • After 01968-Rl.abp.json-batch, close batch dialog and
    • select 01921-Rlist.component.json and click next
    • select ListRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform

Localization Rdl

  • After 02020-Rdl.abp.json-batch, close batch dialog and
    • select 02021-Rdlist.component.json and click next
    • select DListRouterFormForView.abp.json.t4 and click next
    • Do not save the generated content, but copy the content in the clipboard
    • repeat the steps as describes for Sform