Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StrasseView
Please create a React-JS view called "StrasseView" for the fields of the Strasse entity. The StrasseView must contain the following fields: - name: FahrstreifenAnzahl type: LONG - name: Gemeinde type: Gemeinde - name: HatFussgaengerueberwege type: BOOL - name: HatFussgaengerverkehr type: BOOL - name: IstSchnellstrasse type: BOOL - name: IstTunnelabschnitt type: BOOL - name: Name type: STRING The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing Strasse entity should be loaded from the relative URL: "/StrasseService/strasse/{id}" (HTTP-GET) If a new Strasse entity has been created, the new entity should be posted to the relative URL: "/StrasseService/strasse" (HTTP-POST) If an existing Strasse entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/strasse/{id}" (HTTP-PUT) If an existing Strasse entity has to be deleted, the following relative URL should be called: "/StrasseService/strasse/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fussgaengerueberweg columns: - column: HatSpezielleBeleuchtung - column: StandortBeschreibung - column: Strasse - column: DurchschnittsLux - column: Norm The table should have the title "Fussgaengerueberwegs" und the data must be loaded from the server with the following relative URL: "/StrasseService/fussgaengerueberweg/strasse/{id}" Add a HTML table to the view with the following Strassenbeleuchtungsanlage columns: - column: Strasse - column: Hinweise - column: Steuerstrategie - column: Beleuchtungsklasse - column: HatHalbnachtbetrieb - column: Baujahr - column: Norm - column: IstPflichtanlage The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/LeuchteninstallationService/strassenbeleuchtungsanlage/strasse/{id}" Add a HTML table to the view with the following Tunnel columns: - column: Name - column: Strasse - column: Norm - column: LaengeMeter - column: HatSpezielleNorm The table should have the title "Tunnels" und the data must be loaded from the server with the following relative URL: "/StrasseService/tunnel/strasse/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum