Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ProjektView
Please create a React-JS view called "ProjektView" for the fields of the Projekt entity. The ProjektView must contain the following fields: - name: Beschreibung type: STRING - name: EndJahr type: INT - name: Land type: Land - name: Name type: STRING - name: StartJahr type: INT - name: Status type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Projekt entity should be loaded from the relative URL: "/LandService/projekt/{id}" (HTTP-GET) If a new Projekt entity has been created, the new entity should be posted to the relative URL: "/LandService/projekt" (HTTP-POST) If an existing Projekt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/projekt/{id}" (HTTP-PUT) If an existing Projekt entity has to be deleted, the following relative URL should be called: "/LandService/projekt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProjektKraftwerk columns: - column: Projekt - column: Rolle - column: Wasserkraftwerk The table should have the title "ProjektKraftwerks" und the data must be loaded from the server with the following relative URL: "/LandService/projektkraftwerk/projekt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum