I need to customize the HTML page to link to the navigation menu.
For example, I have an HTML file. How can I use it where the menu item loads the HTML file or other configuration items.
I’m in a hurry. If you know, please let me know.
I’ll be very grateful.
Ok, you need to add the
action attribute to your menuitem.
Next create a action-method, link it with your menuitem and your Controller.
In you method use this :
response.setView(ActionView.define("Tab name").add("html", "https://bing.com/").map());
1 « J'aime »
We have successfully displayed the custom HTML page. Thank you very much.