How to add dynamic attributes to tag ?

2017-08-08 Thread Hendy Irawan
I've had success my and , but trying to add as a WebMarkupContainer gave me: Last cause: Mis-placed . must be outside of , , and . Error occurred while rendering page: SomePage using markup stream: file:/.../SomePage.html Motivation :

Re: Wicket Wizard Query

2017-08-08 Thread Gabriel Landon
Hi CN, Have you checked the wicket examples : http://examples7x.wicket.apache.org/wizard Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Wizard-Query-tp4678477p4678489.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Bas Gooren
Well, all redirects are mapped by the SystemMapper (and its child mappers); So if you are certain that it’s mapped inside your HttpsMapper, that should not be the problem. Have you set a breakpoint inside BufferedWebResponse#sendRedirect? You should check what url it receives and if it is a http

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Hendy Irawan
I have managed to use XForwardedRequestWrapperFactory by creating a Filter. I also use HttpsMapper as follows : setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig()) { @Override protected Scheme getDesiredSchemeFor(IRequestHandler handler)

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Bas Gooren
Hi! How and when are you mounting your pages? If you are mounting them _after_ installing the HttpsMapper, then those pages will not be mapped “under” https. This is because a compound request mapper is created on demand when mounting pages, in case the current root mapper is not already a

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Hendy Irawan
Thanks Sebastian for the hint. But yes, I've mapped all pages before calling setRootRequestMapper. I also put logs in my getDesiredSchemeFor and they're being called, and returning HTTPS for all calls. But is it possible there are some cases it's not being called (?) Or perhaps the ?1 stateful