Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Martin Grigorov
We have documentation how to integrate Wicket with Spring -
https://nightlies.apache.org/wicket/guide/9.x/single.html#_integrating_wicket_with_spring
How to "upgrade" from Spring to Spring-Boot you should advice with Spring
Boot ocumentation.

On Mon, Jan 30, 2023 at 3:04 AM Arunachalam Sibisakkaravarthi <
arunacha...@mcruncher.com> wrote:

> Thank you Martin Grigorov.
> Is there any document/guide/sample to integrate Apache Wicket framework
> with Spring-Boot?
> Please share the links
>
>
>
> *Thanks And RegardsSibi.ArunachalammCruncher*
>
>
> On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov 
> wrote:
>
> > On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
> > arunacha...@mcruncher.com> wrote:
> >
> > > Hi guys,
> > > We develop Wicket + Spring based web applications.
> > > Now we are working to migrate the Spring framework to Spring Boot. Does
> > > this require wicket-spring-boot migration?
> > > Is it mandatory to migrate Wicket framework to wicket-spring-boot?
> > >
> >
> > No.
> > Wicket-Spring-Boot may help you to configure the Wicket settings via
> Spring
> > boot settings, but it is not mandatory at all.
> >
> >
> >
> > >
> > >
> > >
> > > *Thanks And RegardsSibi.ArunachalammCruncher*
> > >
> >
>


Re: FormComponent and FormComponentPanel ClassCast Issue

2023-01-29 Thread Maxim Solodovnik
Maybe you can create quickstart?

On Mon, 30 Jan 2023 at 08:58, Eric Hamel  wrote:
>
> Good evening,
>
> Does anyone have any insight on this ?
>
> ———-
> Eric Hamel
> Senior Project Manager
> Albany ITG
> 528-697-4503
>
> > On Jan 23, 2023, at 10:31 AM, Eric Hamel  wrote:
> >
> > The hierarchy is DocumentSearchPanel extends BootstrapGenericPanel -> 
> > BodyPanel extends GenericPanel -> BootstrapForm -> FormGroup -> 
> > ClassificationPanel.
> >
> >
> > ClassificationPanel is an anonymous class of DocumentSearchPanel.
> >
> >> On Jan 23, 2023, at 10:19 AM, Martin Grigorov  wrote:
> >>
> >> Hi,
> >>
> >>> On Mon, Jan 23, 2023 at 5:09 PM Eric Hamel  
> >>> wrote:
> >>>
> >>> Good morning,
> >>>
> >>> We are running into intermittent issues on our WebSphere 8.5 environment.
> >>> The server keeps crashing and we see no cause in our logs. With that said,
> >>> admins have seen the following error in our logs and I can’t make sense 
> >>> out
> >>> of it.
> >>>
> >>> 07:48:51.632 ERROR [CVIENS | 10.79.49.41 | 5uRaDK6Hu4gj0ABIXyNTo76]
> >>> o.a.wicket.DefaultExceptionMapper [DefaultExceptionMapper.java:170] -
> >>> Unexpected error occurred
> >>> java.lang.ClassCastException:
> >>> gov.osc.ouf.web.components.document.search.DocumentSearchPanel$ClassificationsPanel$1
> >>> incompatible with org.apache.wicket.markup.html.form.FormComponent
> >>>  at
> >>> de.agilecoders.wicket.core.markup.html.bootstrap.form.FormGroup.findFormComponents(FormGroup.java:255)
> >>> ~[wicket-bootstrap-core-0.9.22.jar:0.9.22]
> >>>  at
> >>> de.agilecoders.wicket.core.markup.html.bootstrap.form.FormGroup.onInitialize(FormGroup.java:175)
> >>> ~[wicket-bootstrap-core-0.9.22.jar:0.9.22]
> >>>  at
> >>> org.apache.wicket.Component.fireInitialize(Component.java:877)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:967)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:963)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192)
> >>> ~[wicket-util-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:875)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:962)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at org.apache.wicket.Page.isPageStateless(Page.java:463)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:465)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:409)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:395)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:215)
> >>> ~[wicket-request-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:429)
> >>> [wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:281)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
> >>> ~[wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> >>> ~[wicket-request-6.24.0.jar:6.24.0]
> >>>  at
> >>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
> >>> [wicket-core-6.24.0.jar:6.24.0]
> >>>  at
> >>> 

Re: FormComponent and FormComponentPanel ClassCast Issue

2023-01-29 Thread Eric Hamel
Good evening,

Does anyone have any insight on this ?

———-
Eric Hamel
Senior Project Manager
Albany ITG
528-697-4503

> On Jan 23, 2023, at 10:31 AM, Eric Hamel  wrote:
> 
> The hierarchy is DocumentSearchPanel extends BootstrapGenericPanel -> 
> BodyPanel extends GenericPanel -> BootstrapForm -> FormGroup -> 
> ClassificationPanel.
> 
> 
> ClassificationPanel is an anonymous class of DocumentSearchPanel.
> 
>> On Jan 23, 2023, at 10:19 AM, Martin Grigorov  wrote:
>> 
>> Hi,
>> 
>>> On Mon, Jan 23, 2023 at 5:09 PM Eric Hamel  wrote:
>>> 
>>> Good morning,
>>> 
>>> We are running into intermittent issues on our WebSphere 8.5 environment.
>>> The server keeps crashing and we see no cause in our logs. With that said,
>>> admins have seen the following error in our logs and I can’t make sense out
>>> of it.
>>> 
>>> 07:48:51.632 ERROR [CVIENS | 10.79.49.41 | 5uRaDK6Hu4gj0ABIXyNTo76]
>>> o.a.wicket.DefaultExceptionMapper [DefaultExceptionMapper.java:170] -
>>> Unexpected error occurred
>>> java.lang.ClassCastException:
>>> gov.osc.ouf.web.components.document.search.DocumentSearchPanel$ClassificationsPanel$1
>>> incompatible with org.apache.wicket.markup.html.form.FormComponent
>>>  at
>>> de.agilecoders.wicket.core.markup.html.bootstrap.form.FormGroup.findFormComponents(FormGroup.java:255)
>>> ~[wicket-bootstrap-core-0.9.22.jar:0.9.22]
>>>  at
>>> de.agilecoders.wicket.core.markup.html.bootstrap.form.FormGroup.onInitialize(FormGroup.java:175)
>>> ~[wicket-bootstrap-core-0.9.22.jar:0.9.22]
>>>  at
>>> org.apache.wicket.Component.fireInitialize(Component.java:877)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:967)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:963)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192)
>>> ~[wicket-util-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:875)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:962)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at org.apache.wicket.Page.isPageStateless(Page.java:463)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageInfo(AbstractBookmarkableMapper.java:465)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:409)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.core.request.mapper.MountedMapper.mapHandler(MountedMapper.java:395)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:215)
>>> ~[wicket-request-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.cycle.RequestCycle.mapUrlFor(RequestCycle.java:429)
>>> [wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:281)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
>>> ~[wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>>> ~[wicket-request-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
>>> [wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
>>> [wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
>>> [wicket-core-6.24.0.jar:6.24.0]
>>>  at
>>> 

Re: does spring-boot migration require wicket-spring-boot

2023-01-29 Thread Arunachalam Sibisakkaravarthi
Thank you Martin Grigorov.
Is there any document/guide/sample to integrate Apache Wicket framework
with Spring-Boot?
Please share the links



*Thanks And RegardsSibi.ArunachalammCruncher*


On Fri, Jan 20, 2023 at 5:32 PM Martin Grigorov 
wrote:

> On Fri, Jan 20, 2023 at 11:16 AM Arunachalam Sibisakkaravarthi <
> arunacha...@mcruncher.com> wrote:
>
> > Hi guys,
> > We develop Wicket + Spring based web applications.
> > Now we are working to migrate the Spring framework to Spring Boot. Does
> > this require wicket-spring-boot migration?
> > Is it mandatory to migrate Wicket framework to wicket-spring-boot?
> >
>
> No.
> Wicket-Spring-Boot may help you to configure the Wicket settings via Spring
> boot settings, but it is not mandatory at all.
>
>
>
> >
> >
> >
> > *Thanks And RegardsSibi.ArunachalammCruncher*
> >
>