Re: 302 Redirects triggered by Wicket when URL is same
Strange, I edited initial question and inserted the logs again... any hint would help. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 302 Redirects triggered by Wicket when URL is same
Hi, I have the feeling that your pastes didn't make it. See for yourself at http://apache-wicket.1842946.n4.nabble.com/302-Redirects-triggered-by-Wicket-when-URL-is-same-td4678633.html Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Aug 31, 2017 at 6:41 PM, tomask79wrote: > Hi guys, > > I desperately need help with Wicket 6.21 in the cluster > environment...Sometimes, nondeterministically, wicket redirects user > in the following loop: > > (from audit log before wicket filter) > > (page-crypt query parameter is JUST the renamed wicket-crypt parameter from > KeyInSessionSunJceCryptFactory). > > Output from Wicket's RequestLogger (URL is still the same, I don't get it, > Wicket obviously thinks that URL has changed, because responseHandler is > RequestSettingRequestHandler): > > . > . > later this loop ends in 302 redirects > (again audit log) > > > This problem is driving me nuts, do you have any idea why wicket starts > this > loop? > Any kind of hint or help where to look would help me a lot. > > Thanks in advance > > Tomas > > > > > > -- > Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
302 Redirects triggered by Wicket when URL is same
Hi guys, I desperately need help with Wicket 6.21 in the cluster environment...Sometimes, nondeterministically, wicket redirects user in the following loop: (from audit log before wicket filter) (page-crypt query parameter is JUST the renamed wicket-crypt parameter from KeyInSessionSunJceCryptFactory). Output from Wicket's RequestLogger (URL is still the same, I don't get it, Wicket obviously thinks that URL has changed, because responseHandler is RequestSettingRequestHandler): . . later this loop ends in 302 redirects (again audit log) This problem is driving me nuts, do you have any idea why wicket starts this loop? Any kind of hint or help where to look would help me a lot. Thanks in advance Tomas -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: FomGroup and BootstrapSelect not setting has-error CSS
Hi David, On Thu, Aug 31, 2017 at 3:40 PM, David Beerwrote: > Hi All > > Before reporting this as a bug I wanted to check all is correct. I have a > WicketBootstrap project using BootstrapForm with a form group which > contains a dropdown select (BootstrapSelect) component. > > When the submit button for the form fires I have a validate method which > checks all is valid. each form group should have the CssNameAppender add > has-erro like so add(new CssClassNameAppender("has-error"))this works fine > for the other formgroup which contains a text field but not the one > containing the BootstrapSelect component. > > Code snipet below: > > final BootstrapSelect groupBootstrapSelect = new > BootstrapSelect<>("iam-groups", new PropertyModel<>(createIamUserModel, > "groupName"), iamClient.getGroupNames()); > > userGroupsFormGroup.setOutputMarkupId(true); > > > userGroupsFormGroup.add(new CssClassNameAppender("has-error")); > > If I manually add the CSS in chrome it applies correctly. > > Any thoughts and suggestions. > Please send a Pull Request! > > Thanks > > David >
FomGroup and BootstrapSelect not setting has-error CSS
Hi All Before reporting this as a bug I wanted to check all is correct. I have a WicketBootstrap project using BootstrapForm with a form group which contains a dropdown select (BootstrapSelect) component. When the submit button for the form fires I have a validate method which checks all is valid. each form group should have the CssNameAppender add has-erro like so add(new CssClassNameAppender("has-error"))this works fine for the other formgroup which contains a text field but not the one containing the BootstrapSelect component. Code snipet below: final BootstrapSelect groupBootstrapSelect = new BootstrapSelect<>("iam-groups", new PropertyModel<>(createIamUserModel, "groupName"), iamClient.getGroupNames()); userGroupsFormGroup.setOutputMarkupId(true); userGroupsFormGroup.add(new CssClassNameAppender("has-error")); If I manually add the CSS in chrome it applies correctly. Any thoughts and suggestions. Thanks David