Re: Web Sockets proxying

2014-01-28 Thread Martin Grigorov
Hi Maxim, You should ask in HTTPD mailing lists. Or whoever maintains mod_proxy_wstunnel. If you split http and ws to be in different mappings (e.g. /openmeetings (for http) and /ws-openmeetings (for ws)) then you will have to use two filter elements in your web.xml, one with WicketFilter and

Re: timing for Wicket 7?

2014-01-28 Thread Richter, Marvin
I'm a bit confused, because of 'There are no other planned big changes for 7.x' I thought with 7.x Servlet API v3 will be used ... Am I wrong? Best, Marvin Richter On Fr, 2014-01-24 at 11:04 +0200, Martin Grigorov wrote: Hi Ernesto, There won't be 7.0.0 in the next month. We will make a

Re: timing for Wicket 7?

2014-01-28 Thread Martin Grigorov
On Tue, Jan 28, 2014 at 1:14 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: I'm a bit confused, because of 'There are no other planned big changes for 7.x' At the moment we have no plans for more changes/features. I thought with 7.x Servlet API v3 will be used ... Am I wrong?

Re: timing for Wicket 7?

2014-01-28 Thread Richter, Marvin
Ah ok. Didn't know that. Thanks On Di, 2014-01-28 at 13:21 +0100, Martin Grigorov wrote: On Tue, Jan 28, 2014 at 1:14 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: I'm a bit confused, because of 'There are no other planned big changes for 7.x' At the moment we have no

Wicket 6.13 ListView#removeLink

2014-01-28 Thread Igor Dvorzhak
Hi all, Link created by the ListView#removeLink method always deletes the last element in the list. The LisView's reuseItems property is set to true. Does anybody know how to fix this? Best, Igor

How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Hey guys I'm working on some dynamic page loading and would like to know how it's supposed to be done in wicket (6.x) ... without mappings in my application class. The example: some urls (for example /news, /article, /people) are bind by users (in admin console) to a some page ... /news

Re: Wicket 6.13 ListView#removeLink

2014-01-28 Thread Martin Grigorov
Hi, http://www.wicket-library.com/wicket-examples-6.0.x/library is an example that uses LstView#removeLink and it properly deletes the correct item. Martin Grigorov Wicket Training and Consulting On Tue, Jan 28, 2014 at 3:19 PM, Igor Dvorzhak idm...@gmail.com wrote: Hi all, Link created by

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-page-from-url-part-without-hardcoded-mapping-in-application-class-tp4663992p4663995.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread Martin Grigorov
Hi, You can use custom IRequestMapper that reads the url and asks the DB which page to use. Use WebApplication#setRootRequestMapper() to set it. See https://github.com/apache/wicket/blob/master/wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper/LocaleFirstMapper.java?source=c

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
Hey ... sorry but I don't understand the problem is that chain property in custom mapper is set upon initialization in application class and it sets page .. getRootRequestMapperAsCompound().add(new LocaleFirstMapper(new MountedMapper(/localized, LocalizedPage.class))); I'm trying to figure

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread Martin Grigorov
You have to setup your mapper as root and keep the old root mapper as a delegate. See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java?source=c#L54 If your mapper resolves a page for the current url then return

Using AjaxRequestTarget with parent/child window

2014-01-28 Thread fmoriguchi
Hi, I have two windows, a parent and a child (using PopupSettings). The parent window has a component that will receive the value of a selected object in the child window. My problem is when you receive the object of child window, because I need to update the component that receives the

Re: Using AjaxRequestTarget with parent/child window

2014-01-28 Thread Martin Grigorov
Hi, On Tue, Jan 28, 2014 at 4:05 PM, fmoriguchi fmorigu...@gmail.com wrote: Hi, I have two windows, a parent and a child (using PopupSettings). The parent window has a component that will receive the value of a selected object in the child window. My problem is when you receive the

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
this will do .. thank you ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-page-from-url-part-without-hardcoded-mapping-in-application-class-tp4663992p4664003.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Using AjaxRequestTarget with parent/child page

2014-01-28 Thread Simon B
Hi, I'm not sure I completely understand your question but, could you use the event mechanism for this? by passing around custom events you could make the have a look at the Broadcast and IEvent classes you need to send a signal via the Component send method: then receive it via the

Re: Using AjaxRequestTarget with parent/child page

2014-01-28 Thread fmoriguchi
Hi all, Simon, I tried this solution, as follows: - The child page raises the event. (IEventSource). - The parent page listens for the event (IEventSink). - The parent page receive through the event to instance of AjaxRequestTarget. However, when using the method add of the AjaxRequestTarget

Re: Using AjaxRequestTarget with parent/child page

2014-01-28 Thread Simon B
Hi, It occurred to me that you could use the event mechanism to inform your parent page of the event, and then use atmosphere or Native WebSockets to update that parent page. Its just a suggestion I've not used the atmosphere or websockets part of wicket. But if it allows you to

Re: Using AjaxRequestTarget with parent/child page

2014-01-28 Thread Martin Grigorov
On Tue, Jan 28, 2014 at 8:49 PM, fmoriguchi fmorigu...@gmail.com wrote: Hi all, Simon, I tried this solution, as follows: - The child page raises the event. (IEventSource). - The parent page listens for the event (IEventSink). - The parent page receive through the event to instance of

Re: How to resolve page from url part without (hardcoded) mapping in application class

2014-01-28 Thread armandoxxx
thank you again ... works like a charm ;) Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-page-from-url-part-without-hardcoded-mapping-in-application-class-tp4663992p4664012.html Sent from the Users forum mailing list archive at