Re: The day Wicket became Apache Wicket 10 years ago!
Congratulations! Keep up the good work! On Tue, Jun 20, 2017 at 7:44 AM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Hope that many years are going to be added. :-) > > kind regards > > Tobias > > > Am 19.06.2017 um 21:18 schrieb Martijn Dashorst < > martijn.dasho...@gmail.com>: > > > > Today marks the date 10 years ago that the Wicket project graduated from > > the Incubator to a fully fledged Apache project. > > > > The time flies when you're having fun! > > > > I would like to thank all our community members for their continued > support > > and usage of Apache Wicket and pour one out for you! > > > > Here's a big Thank You for everyone reading this message, asking and > > answering questions, using Wicket in their projects and a special :beer: > > for all contributors to Wicket, past and present! Here's to another 10 > > years! > > > > Martijn Dashorst > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Je n'aime pas seulement ma vie, mais aussi celle des autres. (Blade Runner)
Re: The day Wicket became Apache Wicket 10 years ago!
Hope that many years are going to be added. :-) kind regards Tobias > Am 19.06.2017 um 21:18 schrieb Martijn Dashorst: > > Today marks the date 10 years ago that the Wicket project graduated from > the Incubator to a fully fledged Apache project. > > The time flies when you're having fun! > > I would like to thank all our community members for their continued support > and usage of Apache Wicket and pour one out for you! > > Here's a big Thank You for everyone reading this message, asking and > answering questions, using Wicket in their projects and a special :beer: > for all contributors to Wicket, past and present! Here's to another 10 > years! > > Martijn Dashorst - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: The day Wicket became Apache Wicket 10 years ago!
Thanks for this marvelous 10 years! On Mon, Jun 19, 2017 at 10:10 PM, Michael Mosmannwrote: > Wooohooo:) > > > > Am 19. Juni 2017 9:19:03 nachm. schrieb Martijn Dashorst < > martijn.dasho...@gmail.com>: > > Today marks the date 10 years ago that the Wicket project graduated from >> the Incubator to a fully fledged Apache project. >> >> The time flies when you're having fun! >> >> I would like to thank all our community members for their continued >> support >> and usage of Apache Wicket and pour one out for you! >> >> Here's a big Thank You for everyone reading this message, asking and >> answering questions, using Wicket in their projects and a special :beer: >> for all contributors to Wicket, past and present! Here's to another 10 >> years! >> >> Martijn Dashorst >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro
Re: DropDownChoice with a different choice class than model class
Yeah, I already had a renderer that was taking care of the conversion for me, it’s just I was subclassing DropDownChoice whose generics are only 1 type (both choices and model value). I ended up subclassing AbstractChoice and copying methods (and modifying them to support model values and choices being different) from AbstractSingleSelectChoice, which kind of sucks, but does what I need. :) -Lon On Thu, Jun 15, 2017 at 12:52 AM, Sven Meierwrote: > > Hi, > > for Wicket's choice components the model object type (possibly wrapped in a collection) and the type for each choice has to be identical. That is intended. > > >In my case, the model object may be a string, but my choices > >and renderer are rendering from a complex class. > > You have two options: > > - use an 'adapter' model, that adapts the string to your complex class and back > > - let your choices and renderer operate on strings, where the renderer just retrieves your complex objects to do the rendering > > Have fun > Sven > > > > > Am 15.06.2017 um 01:22 schrieb Lon Varscsak: >> >> Am I wrong to assume that DropDownChoice (and a few of it’s superclasses) >> should be using the generic of that AbstractChoice defines where T >> is the class of the model object and E is the class of choice object? >> >> It seems that from AbstractSingleSelectChoice up, it assumes that the value >> from the model is the same as the choice. >> >> In my case, the model object may be a string, but my choices and renderer >> are rendering from a complex class. >> >> Thoughts? >> >> -Lon >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
Re: The day Wicket became Apache Wicket 10 years ago!
Wooohooo:) Am 19. Juni 2017 9:19:03 nachm. schrieb Martijn Dashorst: Today marks the date 10 years ago that the Wicket project graduated from the Incubator to a fully fledged Apache project. The time flies when you're having fun! I would like to thank all our community members for their continued support and usage of Apache Wicket and pour one out for you! Here's a big Thank You for everyone reading this message, asking and answering questions, using Wicket in their projects and a special :beer: for all contributors to Wicket, past and present! Here's to another 10 years! Martijn Dashorst - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
The day Wicket became Apache Wicket 10 years ago!
Today marks the date 10 years ago that the Wicket project graduated from the Incubator to a fully fledged Apache project. The time flies when you're having fun! I would like to thank all our community members for their continued support and usage of Apache Wicket and pour one out for you! Here's a big Thank You for everyone reading this message, asking and answering questions, using Wicket in their projects and a special :beer: for all contributors to Wicket, past and present! Here's to another 10 years! Martijn Dashorst
Re: javax websockets in Spring Boot project: 404 error
Hi, Is tomcat-websocket.jar in the classpath? On Jun 19, 2017 5:36 PM, "Schulte André"wrote: Hello, I just tried to switch to "wicket native websockets" in a springboot project: 1) filter changed to „org.apache.wicket.protocol. ws.javax.JavaxWebSocketFilter“ 2) added „add(new WebSocketBehavior() {});“ to page 3) 1.8 8.5.15 7.7.0 ... org.springframework.boot spring-boot-starter parent 1.4.2.RELEASE ... org.apache.wicket wicket-native-websocket-javax ${wicket.version} 5) @SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class}) @Slf4j public class WebApplication { public static void main(String[] args) { SpringApplication.run(WebApplication.class, args); } @Bean public FilterRegistrationBean wicketFilter() { final FilterRegistrationBean wicketFilter = new FilterRegistrationBean(); wicketFilter.setDispatcherTypes(DispatcherType.REQUEST, DispatcherType.ERROR, DispatcherType.FORWARD); wicketFilter.setAsyncSupported(true); wicketFilter.setFilter(new JavaxWebSocketFilter()); wicketFilter.addInitParameter(WicketFilter.APP_FACT_PARAM, SpringWebApplicationFactory.class.getName()); wicketFilter.addInitParameter(WicketFilter.FILTER_MAPPING_PARAM, "/*"); wicketFilter.addInitParameter("applicationBean", "wicketWebApplication"); wicketFilter.addInitParameter("configuration", "development"); wicketFilter.addUrlPatterns("/*"); return wicketFilter; } Logging: INFO 19/06/2017 16:13 org.apache.catalina.core.StandardService: Starting service [Tomcat] INFO 19/06/2017 16:13 org.apache.catalina.core.StandardEngine: Starting Servlet Engine: Apache Tomcat/8.5.15 INFO 19/06/2017 16:13 org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext INFO 19/06/2017 16:13 org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 2044 ms INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'characterEncodingFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'hiddenHttpMethodFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'httpPutFormContentFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'requestContextFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'javaxWebSocketFilter' to urls: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.ServletRegistrationBean: Mapping servlet: 'dispatcherServlet' to [/] ... INFO 19/06/2017 16:13 org.apache.wicket.Application: [javaxWebSocketFilter] init: Wicket extensions initializer INFO 19/06/2017 16:13 org.apache.wicket.protocol.http.WebApplication: [javaxWebSocketFilter] Started Wicket version 7.7.0 in DEVELOPMENT mode ... Result: WebSocket connection to 'ws://localhost:8080/wicket/ websocket?pageId=2=intro%3F2=javaxWebSocketFilter' failed: Error during WebSocket handshake: Unexpected response code: 404 wicket-websocket-jquery-ver-1497450491000.js:69 No errors in the log on server start and while working Should this configuration work? or maybe I'm missing something? The „org.apache.wicket.protocol.ws.javax.WicketEndpoint#onOpen()“ is not being called We are using "embeded Tomcat of Spring Boot", maybe this is the reason Thanks in advance!
javax websockets in Spring Boot project: 404 error
Hello, I just tried to switch to "wicket native websockets" in a springboot project: 1) filter changed to „org.apache.wicket.protocol.ws.javax.JavaxWebSocketFilter“ 2) added „add(new WebSocketBehavior() {});“ to page 3) 1.8 8.5.15 7.7.0 ... org.springframework.boot spring-boot-starter parent 1.4.2.RELEASE ... org.apache.wicket wicket-native-websocket-javax ${wicket.version} 5) @SpringBootApplication(exclude = {ErrorMvcAutoConfiguration.class}) @Slf4j public class WebApplication { public static void main(String[] args) { SpringApplication.run(WebApplication.class, args); } @Bean public FilterRegistrationBean wicketFilter() { final FilterRegistrationBean wicketFilter = new FilterRegistrationBean(); wicketFilter.setDispatcherTypes(DispatcherType.REQUEST, DispatcherType.ERROR, DispatcherType.FORWARD); wicketFilter.setAsyncSupported(true); wicketFilter.setFilter(new JavaxWebSocketFilter()); wicketFilter.addInitParameter(WicketFilter.APP_FACT_PARAM, SpringWebApplicationFactory.class.getName()); wicketFilter.addInitParameter(WicketFilter.FILTER_MAPPING_PARAM, "/*"); wicketFilter.addInitParameter("applicationBean", "wicketWebApplication"); wicketFilter.addInitParameter("configuration", "development"); wicketFilter.addUrlPatterns("/*"); return wicketFilter; } Logging: INFO 19/06/2017 16:13 org.apache.catalina.core.StandardService: Starting service [Tomcat] INFO 19/06/2017 16:13 org.apache.catalina.core.StandardEngine: Starting Servlet Engine: Apache Tomcat/8.5.15 INFO 19/06/2017 16:13 org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext INFO 19/06/2017 16:13 org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 2044 ms INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'characterEncodingFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'hiddenHttpMethodFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'httpPutFormContentFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'requestContextFilter' to: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.FilterRegistrationBean: Mapping filter: 'javaxWebSocketFilter' to urls: [/*] INFO 19/06/2017 16:13 org.springframework.boot.web.servlet.ServletRegistrationBean: Mapping servlet: 'dispatcherServlet' to [/] ... INFO 19/06/2017 16:13 org.apache.wicket.Application: [javaxWebSocketFilter] init: Wicket extensions initializer INFO 19/06/2017 16:13 org.apache.wicket.protocol.http.WebApplication: [javaxWebSocketFilter] Started Wicket version 7.7.0 in DEVELOPMENT mode ... Result: WebSocket connection to 'ws://localhost:8080/wicket/websocket?pageId=2=intro%3F2=javaxWebSocketFilter' failed: Error during WebSocket handshake: Unexpected response code: 404 wicket-websocket-jquery-ver-1497450491000.js:69 No errors in the log on server start and while working Should this configuration work? or maybe I'm missing something? The „org.apache.wicket.protocol.ws.javax.WicketEndpoint#onOpen()“ is not being called We are using "embeded Tomcat of Spring Boot", maybe this is the reason Thanks in advance!