Re: Single page app as custom resource?

2016-11-18 Thread Lars Törner
s built with Angular for the > frontend and uses Wicket resources for the REST API: > > https://github.com/apache/syncope/tree/master/client/enduser > > On 16/11/2016 12:56, Lars Törner wrote: > > Ok, thanks Martin! > > > > It would be really interesting to he

Re: Single page app as custom resource?

2016-11-16 Thread Lars Törner
any other, e.g. Spring MVC, > just make sure you "wrap" them in WicketSessionFilter so you have access to > Application.get() and Session.get() inside them. > > On Nov 16, 2016 7:41 AM, "Lars Törner" wrote: > > > Ok, now I found wicketstuff-rest-annotations... so

Re: Single page app as custom resource?

2016-11-15 Thread Lars Törner
Ok, now I found wicketstuff-rest-annotations... so, can I create a wicket page, load resources for a java scriptframework and then use wicket-rest-requests with ajax to integrate a SPA in my wicket-web-application? tisdag 15 november 2016 skrev Lars Törner : > Hi, > > we'r

Single page app as custom resource?

2016-11-15 Thread Lars Törner
Hi, we're developing a webbapplication to our legacy product and we're doing it in wicket. We have a few pages which are using a lot of ajax, and therefore each one of them could be seen as kind of a SPA. (Does that make sense?) Now we might have a case when a client (or we our selves) would lik

Re: Bookmarkable link doesn't become a https link

2016-10-15 Thread Lars Törner
ition 2. So requests to Page3 are not handled by HttpsMapper > and the generated urls are HTTP, not HTTPS. > > HttpsMapper intentionally doesn't implement ICompoundRequestMapper exactly > for this reason - to make it possible to configure pages which should never > be secured. >

Bookmarkable link doesn't become a https link

2016-10-14 Thread Lars Törner
Hi, we had a problem where a bookmarkable link didn't become a https link. I found this: https://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode Which, with a warning, states: "It is extemtely important that when setting the rootRequestMapper it is done AFTER you have add

Re: Busy indicator delay with IAjaxIndicatorAware?

2016-10-06 Thread Lars Törner
> https://twitter.com/mtgrigorov > > On Thu, Oct 6, 2016 at 10:58 AM, Lars Törner > wrote: > > > Hi everyone! > > > > Is there a best practice in wicket for adding a busy indicator with a > delay > > for an ajax request? > > > > Or should it be done

Busy indicator delay with IAjaxIndicatorAware?

2016-10-06 Thread Lars Törner
Hi everyone! Is there a best practice in wicket for adding a busy indicator with a delay for an ajax request? Or should it be done with a before handler that executes a javascript that shows the busy indicator after a configured time, and abort this "busy-indicator-script" with an after-handler w

Re: Rendering performance

2016-06-16 Thread Lars Törner
igorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Jun 16, 2016 at 4:17 PM, Lars Törner > wrote: > > > Hi Martin, > > > > we use wicket 6.22. > > > > Doesn't the rendering take place when everything else is done?

Re: Rendering performance

2016-06-16 Thread Lars Törner
It could be Wicket, but also it could be the application spending a lot > of > > time while loading the data which should be rendered. > > > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > > On Thu, Jun

Rendering performance

2016-06-16 Thread Lars Törner
Hi, we have an issue with rendering performance and I wonder if there are any common misusages of wicket when it comes to this. When rendering a fully expanded tree with 160 top level nodes and mostly no subtrees (an expanded node is a forms with a bunch of labels and attributes) it takes about 2

Re: Generate css from less for package resources at runtime.

2016-06-16 Thread Lars Törner
ead of the Less4j one. > > If you think this is a good solution then please open an issue at > > https://github.com/l0rdn1kk0n/wicket-bootstrap/ > > A Pull Request will be awesome! > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.c

Re: Generate css from less for package resources at runtime.

2016-05-25 Thread Lars Törner
sion already has the recursive check on the > last-modified time of imported sources. > > > I’ll try to do some debugging to see if it really is not working, and if > that’s the case: why it’s not working. > > Met vriendelijke groet, > Kind regards, > > Bas Gooren >

Re: Generate css from less for package resources at runtime.

2016-05-24 Thread Lars Törner
delijke groet, > > > Kind regards, > > > > > > Bas Gooren > > > > > > Op 18 mei 2016 bij 13:06:59, Martin Grigorov (mgrigo...@apache.org > ) > > > schreef: > > > > > > Hi Lasse, > > > > > > I'll take a look in the com

Re: Generate css from less for package resources at runtime.

2016-05-18 Thread Lars Törner
t; Met vriendelijke groet, > Kind regards, > > Bas Gooren > > Op 18 mei 2016 bij 13:06:59, Martin Grigorov (mgrigo...@apache.org) > schreef: > > Hi Lasse, > > I'll take a look in the coming days! > > Martin Grigorov > Wicket Training and Consulting > h

Re: Generate css from less for package resources at runtime.

2016-05-18 Thread Lars Törner
re so the browser decides to use its cached version instead. (I'm not the developer of this issue, but hopefully I got it right...) Any suggestions? Cheers Lasse 2016-03-01 13:02 GMT+01:00 Lars Törner : > Thanks for your quick answer Martin! We will look into your suggestions > and

Re: Exception Handling (ajax)

2016-03-09 Thread Lars Törner
age) from there. > No need to fiddle with IExceptionMapper and/or DefaultExceptionMapper. > > Have fun > Sven > > > > > On 09.03.2016 09:33, Lars Törner wrote: > >> About exception handling >> >> I would like a fallback for unexcpected exceptions th

Exception Handling (ajax)

2016-03-09 Thread Lars Törner
About exception handling I would like a fallback for unexcpected exceptions that are thrown during ajax-calls. I don't want to redirect to a new page so in my application#init I do: getExceptionSettings().setAjaxErrorHandlingStrategy(AjaxErrorStrategy.INVOKE_FAILURE_HANDLER); For the moment I h

Re: http/2

2016-03-02 Thread Lars Törner
but I have > verified that both Google Chrome and Firefox report that the site is HTTP/2 > enabled. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Mar 2, 2016 at 5:16 PM, Lars Törner wrote: > > > Hi Martin, > >

Re: http/2

2016-03-02 Thread Lars Törner
Jetty SPDY impl in the past. > > I haven't tested with WildFly 10 but I don't expect any problems from > Wicket side. > Please let us know if you face any issues and we will investigate them! > > Thanks! > > > Martin Grigorov > Wicket Training and Consultin

http/2

2016-03-02 Thread Lars Törner
Hi, I have some (naive?) questions: - Isn't it time to think about wicket and http/2? - Must we wait for javaee8/servlet 4.0 and then wait for a new version of wicket that supports it? - Is it possible to implement an extension to support http/2 in wicket? - Is it a huge effort to make this happe

Re: Generate css from less for package resources at runtime.

2016-03-01 Thread Lars Törner
aster/bootstrap-less > >. > It is a module of Wicket-Bootstrap project but could be used without the > other modules. > It provides most of the features you need. You just need to see how to plug > the update of the variables. > > Martin Grigorov > Wicket Training and Consu

Generate css from less for package resources at runtime.

2016-03-01 Thread Lars Törner
Hi! We would like to be able to set new colors in our gui at runtime, i.e. change the theme. We use less on component basis. To day we compile the less files to css at buildtime and these becom packacke resources. Now we would like to change the colors by altering the appropriate less-variables.