Re: Single page app as custom resource?

2016-11-18 Thread Lars Törner
enduser module which is 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

Re: Single page app as custom resource?

2016-11-16 Thread Lars Törner
use Wicket resources as endpoints or 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" <lars.tor...@gmail.com> wrote: >

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 <lars.tor...@gmail.com>:

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

Re: Bookmarkable link doesn't become a https link

2016-10-15 Thread Lars Törner
> > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 14, 2016 at 2:48 PM, Lars Törner <lars.tor...@gmail.com > <javascript:;>> wrote: > > > Hi, > > > > we had a problem where a bookmarkable link

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

Re: Busy indicator delay with IAjaxIndicatorAware?

2016-10-06 Thread Lars Törner
nd Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 6, 2016 at 10:58 AM, Lars Törner <lars.tor...@gmail.com> > wrote: > > > Hi everyone! > > > > Is there a best practice in wicket for adding a busy indicator with a > delay > > for

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

Re: Rendering performance

2016-06-16 Thread Lars Törner
it. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Jun 16, 2016 at 4:17 PM, Lars Törner <lars.tor...@gmail.com> > wrote: > > > Hi Martin, > > > > we use wicket 6.22. > > > > Doesn'

Re: Rendering performance

2016-06-16 Thread Lars Törner
ler to see where the times is spent. > > 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:/

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

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

2016-06-16 Thread Lars Törner
tion should use my version instead 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 C

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

2016-05-25 Thread Lars Törner
9.11), and that version 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, > >

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

2016-05-24 Thread Lars Törner
s://twitter.com/mtgrigorov > > On Wed, May 18, 2016 at 3:17 PM, Lars Törner <lars.tor...@gmail.com > <javascript:;>> wrote: > > > Thanks, we'll try this! > > > > Cheers > > Lasse > > > > 2016-05-18 13:21 GMT+02:00 Bas Gooren <b...@iswd

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

2016-05-18 Thread Lars Törner
. > > 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 &

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

2016-05-18 Thread Lars Törner
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 <lars.tor...@gmail.com>: > Thanks for your quick answer Martin! We will look into your su

Re: Exception Handling (ajax)

2016-03-09 Thread Lars Törner
tHandler(500, message) 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

Re: http/2

2016-03-02 Thread Lars Törner
he same connection 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 <lars.tor...@gmail.com

Re: http/2

2016-03-02 Thread Lars Törner
onsulting > https://twitter.com/mtgrigorov > > On Wed, Mar 2, 2016 at 4:31 PM, Lars Törner <lars.tor...@gmail.com> wrote: > > > Hi, > > > > I have some (naive?) questions: > > > > - Isn't it time to think about wicket and http/2? > > - M

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

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

2016-03-01 Thread Lars Törner
tree/master/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

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.