byte[] from SharedResourceReference

2014-10-07 Thread Stefan Lorenz
Hi, is it possible to get a byte[] from a SharedResourceReference or IResource? Thx and regards Stefan

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Steve Swinsburg
Hi Paul, Yeah the UUID will change in different placements of the app, I was just trying to get this particular instance working :) Just wondering why it didn't work, given that UUID? The UUID is correct for this placement and the URL it generated was correct though it kept redirecting until the

Re: byte[] from SharedResourceReference

2014-10-07 Thread Martin Grigorov
Hi, Yes. See ByteArrayResource Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 7, 2014 at 8:09 AM, Stefan Lorenz stefan.lor...@persis.de wrote: Hi, is it possible to get a byte[] from a SharedResourceReference or IResource? Thx and regards Stefan

Re: Websocket message from Spring bean

2014-10-07 Thread Martin Grigorov
Hi, I think it should work. What kind of problems do you face ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 3, 2014 at 4:55 PM, Maxim Solodovnik solomax...@gmail.com wrote: Hello All, I wonder is it possible to send IWebSocketPushMessage from

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Martin Grigorov
Hi, You should call formComponent.clearInput() too. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 7, 2014 at 9:13 AM, MadasamySankarapandian madas...@mcruncher.com wrote: This is regarding wicket-select2 project. I could not find any mailing list

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Martin Grigorov
Hi, On Mon, Oct 6, 2014 at 6:31 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, I've been working on Wicket 1.4 for a while and in upgrading to Wicket 6 I've found an inconsistency in the way URLs are handled, specifically in the inmethod data grid but also the editable data

Re: Websocket message from Spring bean

2014-10-07 Thread Maxim Solodovnik
To be fair I haven't tried :( I thought I will have no session/application bound to current thread exceptions :( I'll test and let you know On 7 October 2014 15:21, Martin Grigorov mgrigo...@apache.org wrote: Hi, I think it should work. What kind of problems do you face ? Martin Grigorov

Re: Websocket message from Spring bean

2014-10-07 Thread Martin Grigorov
You use request and session scoped Spring beans in WebSocket request because such requests are not processed by Servlet filters and Spring has no chance to set its proxy objects as request/session attributes. But in Spring bean code you can do: Application app = Application..get(myFilterName);

Re: Websocket message from Spring bean

2014-10-07 Thread Maxim Solodovnik
Thanks a lot for the tip Martin! will give it a try and write back :) On 7 October 2014 16:39, Martin Grigorov mgrigo...@apache.org wrote: You use request and session scoped Spring beans in WebSocket request because such requests are not processed by Servlet filters and Spring has no chance

Lost in Queueing 7.0.0M3

2014-10-07 Thread Aurèl
Hi,I'm trying to migrate my Webapp from 6.x to 7.x where the new method of queueing give me headache.In my 6.x app (even 1.5.x) I developped my own queueing system wich worked great, but there are now some incompatibilities...I tried to figure out with this small app HelloWorld :Java:public class

Re: Lost in Queueing 7.0.0M3

2014-10-07 Thread Martin Grigorov
Hi, Please create a proper quickstart application with this code and attach it to a ticket in JIRA. Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 7, 2014 at 3:43 PM, Aurèl apalanc...@proginov.com wrote: Hi,I'm trying to migrate my Webapp

alternative solution for addOrReplace()?

2014-10-07 Thread Patrick Davids
Hi all, I have a panel, which renders a inner markupcontainer (different panels for different ways of displaying my model object) depending on its model objects type. I do this by addOrReplace() the inner panel in an onConfigure() having an if instanceof; and it also iterates over a list...

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Paul Bors
Check out Wicket's source code and put a break point then follow through :) On Tue, Oct 7, 2014 at 2:09 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi Paul, Yeah the UUID will change in different placements of the app, I was just trying to get this particular instance working :)

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Paul Bors
Why not use Ajax? addOrReplace() is really for when you need the full request cycle and have the page rendered on the server side. With Ajax you get your target for which you can add all the components you want to refresh on the page. Given the day and age we live in, I don't think there is a

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Paul Bors
You can also ask the developer via: https://github.com/ivaynberg/wicket-select2/issues You should probably take a look over the open issues so that you are familiar with that other developers faced. Maybe one of those issues might be a road block for you? Although you will get a faster reply

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Maxim Solodovnik
we recently moved this component to wicketstuff: https://github.com/wicketstuff/core/tree/master/jdk-1.7-parent/select2-parent to get Wicket7 compatible version On 7 October 2014 22:56, Paul Bors p...@bors.ws wrote: You can also ask the developer via:

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Paul Bors
Can you update this issue then? https://github.com/ivaynberg/wicket-select2/issues/93 On Tue, Oct 7, 2014 at 12:00 PM, Maxim Solodovnik solomax...@gmail.com wrote: we recently moved this component to wicketstuff: https://github.com/wicketstuff/core/tree/master/jdk-1.7-parent/select2-parent

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Maxim Solodovnik
Done, thanks for pointing this out On 7 October 2014 23:08, Paul Bors p...@bors.ws wrote: Can you update this issue then? https://github.com/ivaynberg/wicket-select2/issues/93 On Tue, Oct 7, 2014 at 12:00 PM, Maxim Solodovnik solomax...@gmail.com wrote: we recently moved this component

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Patrick Davids
Hi Paul, thanx for replying. Oh, I use Ajax very heavily in this case. Thats why I said: the panel works quite good for ajax rendering and refreshing use-cases Hmm... ok... I think I missed some details. I try to explain. My page contains two sections seperated from each other. A kind of

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Andrea Del Bene
Hi, could you post the code you use inside onConfigure to addOrReplace inner container? Maybe you could avoid detaching/attaching overriding method detachModels in your inner containers. Hi Paul, thanx for replying. Oh, I use Ajax very heavily in this case. Thats why I said: the panel works

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Paul Bors
I think you might have over-complicated your design. Your use-case is quite simple, you have user input that filters the display. It might be that there are a lot of panels to be updated but then again it should be simple to update the parent which in turn delegates that responsibility to the

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Steve Swinsburg
Hi Martin, The context bits of /portal/tool/UUID are added by the framework that I am using. All webapps are addressable in this way since the webapps are all registered with the framework. You then add placements of the webapps onto pages and they get the UUID. This used to work fine in Wicket

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Martin Grigorov
Hi, On Tue, Oct 7, 2014 at 10:14 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi Martin, The context bits of /portal/tool/UUID are added by the framework that I am using. All webapps are addressable in this way since the webapps are all registered with the framework. You then add