Technologies:
Tolerim
a month ago
What is the issue with the list bound through the controller not being displayed as a fullcalendar event?
The MYSQL data is being displayed correctly, but it cannot be translated to HTML. This pertains to the Controller. The code block demonstrates a CalendarController that has a dependency on an Exservice and a CalenderMapper. A GetMapping method is also included, which retrieves a list of Schedule objects from CalenderMapper and adds them to the model attribute "List". Finally, the common/Ex template is returned by the method.
Answers(2)
Vogi
a month ago
Verified Answer
It seems that you are having trouble displaying MYSQL data in HTML. You mentioned that the issue pertains to the Controller. The code block demonstrates a CalendarController that has a dependency on an Exservice and a CalenderMapper. A GetMapping method is also included, which retrieves a list of Schedule objects from CalenderMapper and adds them to the model attribute "List". Finally, the common/Ex template is returned by the method.
I'm not sure what you mean by "cannot be translated to HTML". Could you please clarify what you mean by that? Are you getting any error messages? What have you tried so far?
Sources
javascript - Currently, the 'List' bound through the controller is not ...Correct use for angular-translate in controllers - Stack OverflowUsing HTML's translate attribute - W3Tolerim
a month ago
The code snippet is a Java class that serves as a controller in a web application. It has a mapping to a "calendar" endpoint and a "/list" sub-endpoint that returns a view template named "Ex". The view template receives a list of Schedule objects retrieved from a database through a CalenderMapper object. The view template likely utilizes the data in the list to display calendar items on the user interface.