Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LessonView
Please create a React-JS view called "LessonView" for the fields of the Lesson entity. The LessonView must contain the following fields: - name: LessonDate type: DATE - name: SchoolSubject type: SchoolSubject - name: LessonContent type: STRING - name: Teacher type: Teacher - name: SchoolClass type: SchoolClass The data source for the [SchoolSubject] select control should be loaded from the relative URL: "/SchoolSubjectService/schoolsubject" (HTTP-GET) The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [SchoolClass] select control should be loaded from the relative URL: "/SchoolYearService/schoolclass" (HTTP-GET) An existing Lesson entity should be loaded from the relative URL: "/LessonService/lesson/{id}" (HTTP-GET) If a new Lesson entity has been created, the new entity should be posted to the relative URL: "/LessonService/lesson" (HTTP-POST) If an existing Lesson entity has been updated, the modified entity should be sent to the relative URL: "/LessonService/lesson/{id}" (HTTP-PUT) If an existing Lesson entity has to be deleted, the following relative URL should be called: "/LessonService/lesson/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LessonMaterial columns: - column: Lesson - column: InternetURL - column: Description The table should have the title "LessonMaterials" und the data must be loaded from the server with the following relative URL: "/LessonService/lessonmaterial/lesson/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum