Wicket Ajax Debug error

2015-10-07 Thread Entropy
We have a feature that has been working for months. We're not sure when it stopped working, but it has. It's an ajax button, and the event never gets to the server event. The wicket debug window flashes red and says: In firefox: INFO: focus set on declineSharingButton ERROR: An error occurred

Re: Wicket-Bootsrap

2015-10-07 Thread shetc
How are you creating the WAR and where is it running? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Bootsrap-tp4672100p4672162.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Form submit load a no wicket element

2015-10-07 Thread Martin Grigorov
Hi, What is the issue exactly? I see no problem for this (assuming you use modern browser that supports all used JS APIs). There is no Wicket involved so I don't expect any problems caused by Wicket. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 7,

Re: Form submit load a no wicket element

2015-10-07 Thread Christopher Auth
Hi, sorry. I need a way to get the base64 data of the image into a Java Object. That I can save it into the database. I do not known a way to use the Wicket-Model concept. On submit, wicket save all datas from the elements with a wicket:id attribute into the models. But in my case wicket does

Resolution of url() in ContextRelativeResourceReference

2015-10-07 Thread Dieter Tremel
Hello list, Using Bootstrap 3.3.5 I want to include the stylesheet, js and font resources myself, not using wicket-bootstrap. To have a dependency to wicket's jquery version I decided to move resource handling from html to java and to use ContextRelativeResourceReference like this: >

Re: Wicket-Bootsrap

2015-10-07 Thread Anup Gokhale
I have not yet created the WAR. I am getting this error while running in debug mode in eclipse. Regards, Anup On Oct 8, 2015 3:57 AM, "shetc" wrote: > How are you creating the WAR and where is it running? > > -- > View this message in context: >

Re: New component based on selectize.js is available on wickstuff

2015-10-07 Thread Martin Grigorov
Thank you, Tobias! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 7, 2015 at 2:51 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Hi all, > > just wanted to mention that a new component based on selectize.js is > available on

Re: Resolution of url() in ContextRelativeResourceReference

2015-10-07 Thread Martin Grigorov
Hi, What is the generated url for the .css resource ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 7, 2015 at 10:12 AM, Dieter Tremel wrote: > Hello list, > > Using Bootstrap 3.3.5 I want to include the stylesheet, js and

2 factor authentication, AuthenticatedWebSession, best practice?

2015-10-07 Thread Rob Audenaerde
Hi all, I'm looking into 2 factor authentication for my Wicket Application. Currently, I have a simple implementation where the user prepends a code to his password and the authenticate method uses that part as second factor. However, I would like a nicer interface (like, for example, google

Re: Toggling visibility via ajax fails

2015-10-07 Thread Tom Götz
… additional info: container + contained components are visible if I do a page refresh Tom > On 07.10.2015, at 12:42, Tom Götz wrote: > > Hi there, > > I’m currently struggling with toggling the visibility of a WebMarkupContainer: > > * setOutputMarkupIdPlaceholderTag

Toggling visibility via ajax fails

2015-10-07 Thread Tom Götz
Hi there, I’m currently struggling with toggling the visibility of a WebMarkupContainer: * setOutputMarkupIdPlaceholderTag is set to true * container is not visible, i.e. contained components are hidden * ajax request is triggered that should make the container visible * the container is

Re: Toggling visibility via ajax fails

2015-10-07 Thread Martin Grigorov
Hi Tom, Check the browser DevTools. First check for JS errors in the console. Then check the response of the Ajax call - you should see the new HTML with all components there. Verify that the component id is existing in the DOM. Wicket will log an error if it is not anyway. Martin Grigorov

Re: Toggling visibility via ajax fails

2015-10-07 Thread Tom Götz
Hi, thanks for your hints, I have already checked all of this, otherwise I wouldn’t have asked ;-) The container that’s toggled is added to the AjaxRequestTarget, which has no effect as described. If I add container.getParent() it works though … strange thing, will look even deeper. Tom

Re: Toggling visibility via ajax fails

2015-10-07 Thread Martin Grigorov
Well, you didn't mention that you have checked it ... By chance/mistake do you use for this component ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 7, 2015 at 2:39 PM, Tom Götz wrote: > Hi, > > thanks for your hints, I have

AW: Re: Form submit load a no wicket element

2015-10-07 Thread Christopher Auth
Hi, I have found a solution to copy the base64 String into a hidden wicket field. So it works for me. Thanks Christopher - Originale Nachricht - Von: Christopher Auth Gesendet: 07.10.2015 - 10:26 An: users@wicket.apache.org Betreff: Re: Form submit load a no

Re: AW: Re: Form submit load a no wicket element

2015-10-07 Thread Tobias Soloschenko
Hi, beware that if you use Base64 in a hidden field and GET as method - the Base64 encoded content has to be URL safe. kind regards Tobias > Am 07.10.2015 um 17:19 schrieb Christopher Auth : > > Hi, > > I have found a solution to copy the base64 String into a hidden

Form submit load a no wicket element

2015-10-07 Thread Christopher Auth
Hi, I have a problem, that I need to load a html element during submit, that have not a 'wicket:id' attribute. It is possible to do that? In the html tree in the browser I add a new 'img' element with javascript to a div. This element has not a wicket:id. But I need the base64 encoded file in