Hi Tobias,

nice article! It would be great if you could promote it on some other
technical site like Java dzone where you can create an article and just
copy and past.

Andrea.

On Fri, Feb 24, 2017 at 10:10 AM, Tobias Soloschenko <
[email protected]> wrote:

> Hi again,
>
> I sadly can't init the context within the constructor, because of the
> calls scan and refresh.
>
> But what I changed is to use the WebApplicationContextUtils. :-)
>
> kind regards
>
> Tobias
>
> > Am 24.02.2017 um 09:12 schrieb Martin Grigorov <[email protected]>:
> >
> > Hi Tobias,
> >
> > Thank you for the article!
> >
> > Minor feedback from me:
> > - either add imports at the top or use fully qualified class names. As a
> > user it is very annoying to try to guess what imports are needed to be
> able
> > to use the snippets.
> > - instead of using static initalization for the Spring application
> context
> > you can initialize it in the constructor and
> > use org.springframework.web.context.support.WebApplicationContextUtils#
> getRequiredWebApplicationContext(ServletContext)
> > to get it in #init()
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Wed, Feb 22, 2017 at 6:17 PM, Tobias Soloschenko <
> > [email protected]> wrote:
> >
> >> Hi all,
> >>
> >> it’s online, now.
> >>
> >> https://wicket.apache.org/learn/examples/servlet3x.html <
> >> https://wicket.apache.org/learn/examples/servlet3x.html>
> >>
> >> kind regards
> >>
> >> Tobias
> >>
> >>> Am 22.02.2017 um 10:57 schrieb Francois Meillet <
> >> [email protected]>:
> >>>
> >>> nice !
> >>>
> >>> François
> >>>
> >>>
> >>>
> >>>> Le 22 févr. 2017 à 09:37, Tobias Soloschenko <
> >> [email protected]> a écrit :
> >>>>
> >>>> Hi,
> >>>>
> >>>> I am going to provide an example with Servlet 3.x and Spring Framework
> >> without any XML definitions to the site this afternoon.
> >>>>
> >>>> Maybe we can link it on the Wicket's Twitter account, too.
> >>>>
> >>>> kind regards
> >>>>
> >>>> Tobias
> >>>
> >>
> >>
>

Reply via email to