Overview
Summary
Contact
Donate
Imprint
Prompt for the
ControversyView
Please create a React-JS view called "ControversyView" for the fields of the Controversy entity. The ControversyView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndDate type: DATE - name: Outcome type: STRING - name: StartDate type: DATE - name: Title type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Controversy entity should be loaded from the relative URL: "/ControversyService/controversy/{id}" (HTTP-GET) If a new Controversy entity has been created, the new entity should be posted to the relative URL: "/ControversyService/controversy" (HTTP-POST) If an existing Controversy entity has been updated, the modified entity should be sent to the relative URL: "/ControversyService/controversy/{id}" (HTTP-PUT) If an existing Controversy entity has to be deleted, the following relative URL should be called: "/ControversyService/controversy/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ControversyActor columns: - column: Role - column: Controversy - column: ActorPerson - column: ActorCompany The table should have the title "ControversyActors" und the data must be loaded from the server with the following relative URL: "/ControversyService/controversyactor/controversy/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint