wicket-spring-boot | Spring Boot starter for Apache Wicket | Model View Controller library
kandi X-RAY | wicket-spring-boot Summary
kandi X-RAY | wicket-spring-boot Summary
This project makes it easy to create a new Wicket projects with a minimum of configuration effort. It uses Spring Boot to autoconfigure Wickets core and its extension (related projects like wicketstuff, beanvalidation…) with an reasonable default value which can be overridden over property files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Adds websocket behaviors
- Joins a chat participant
- Leave a chat participant
- Generate data table
- Gets the action column
- Detects wicket core dependency
- Collects wicketM dependencies from the resource file
- Initialize wicketEndpointRepository
- Returns the class of the signin page
- Returns the home page
- Override afterRender
- Initialize wicket endpoint
- Initialize wsrf endpoint
- Initializes the Redis server
- Sends a push message to the given identifier
- List of all customers
- Initialize wicket endpoints
- Finds users by username
- Scan web application
- Initialize web application
- Called when the application starts
- Add a form to the chat service
- Initialize the debug endpoint
- Compares this participant with the chat participant
wicket-spring-boot Key Features
wicket-spring-boot Examples and Code Snippets
Community Discussions
Trending Discussions on wicket-spring-boot
QUESTION
I'm using Wicket 9 by including wicket-spring-boot-starter 3.0.4 .
In my demo project, it's necessary to put JavaScript at the end of . So I followed the explanations in https://ci.apache.org/projects/wicket/guide/9.x/single.html#_put_javascript_inside_page_body
I also added resources (CSS and JS) via an implementation of Component#renderHead(IHeaderReponse)
in my page.
All works as expected with Wicket 8 (from wicket-spring-boot-starter 2.1.9).
With Wicket 9 , to make my App run, I first put webApplication.getCspSettings().blocking().disabled();
in WicketApplicationInitConfiguration#init(WebApplication)
. My App starts, but the generated Page doesn't contain a section, and so the app doesn't work because of missing resources.
To make the element appear in my page with all references, I commented out all code that refers to the rendering of JavaScript in
.
But my app doesn't work with this "workaround".
Am I doing something wrong?
...ANSWER
Answered 2020-Jul-30 at 07:42it looks like CSP mechanism is interfering with JavaScriptFilteredIntoFooterHeaderResponse. I will open an issue about this on JIRA. In the meantime as workaround you can use setHeaderResponseDecorator (which is deprecated) instead of getHeaderResponseDecorators:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wicket-spring-boot
Create a class which is marked with @SpringBootApplication - see Springs documentation
Create your HomePage class (with HTML) which will me marked with @WicketHomePage
WicketBootStandardWebApplication - Without Security
WicketBootSecuredWebApplication - With Security - You’ll need a security provider like Spring Security
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page