Re: Unit Testing AjaxTabbedPanel

2011-12-21 Thread Martin Grigorov
Hi, AjaxTabbedPanel uses JavaScript (Ajax) to switch from tab to tab. You can simulate this in WicketTester by calling the Ajax behaviors directly. See http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxTimerBehaviorTest.java?view=markuppathrev=1221291

Re: Getting response from a external URL

2011-12-21 Thread Martin Grigorov
The problem with EmptyRequestHandler is that the previous response is reset and an empty is written to the client. There are several solutions for your problem: 1) use a IResource instead of a Page. You don't use components anyway. See wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ for

Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Adrian Wiesmann
Hello list We built a rendering engine in Wicket 1.4 which takes a UI description from an XML file and builds an HTML representation from that. Everything worked fine in Wicket 1.4.x. Now I tried to switch to Wicket 1.5.3. Without changing anything from the rendering part, I now get this

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Martin Grigorov
Hi, On Wed, Dec 21, 2011 at 11:58 AM, Adrian Wiesmann awiesm...@somap.org wrote: Hello list We built a rendering engine in Wicket 1.4 which takes a UI description from an XML file and builds an HTML representation from that. Everything worked fine in Wicket 1.4.x. Now I tried to switch to

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Adrian Wiesmann
On 12/21/11 11:05 AM, Martin Grigorov wrote: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). This error means

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Martin Grigorov
On Wed, Dec 21, 2011 at 12:17 PM, Adrian Wiesmann awiesm...@somap.org wrote: On 12/21/11 11:05 AM, Martin Grigorov wrote: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Adrian Wiesmann
On 12/21/11 11:23 AM, Martin Grigorov wrote: All this looks OK. Can you paste the ids of the components which cannot be rendered ? You mean this? 1. [Component id = caption] 2. [RepeatingView [Component id = toolbars]] 3. [GWListActionToolbar [Component id = 0]] 4.

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Per Newgro
Do you use a border? Because border component assignment changed Cheers Per Am 21.12.2011 10:58, schrieb Adrian Wiesmann: Hello list We built a rendering engine in Wicket 1.4 which takes a UI description from an XML file and builds an HTML representation from that. Everything worked fine in

Modal window close behavior - should it hide content?

2011-12-21 Thread Alexander Cherednichenko
Hi guys! Using wicket 1.4.18; experiencing a strange behavior. I have a form, modal window in it (we are chaining them). This 'outer' form has its own submit button. The content in modal window does have the form too, with its own validators. So, hierarchy looks like: userForm with submit button

Re: Wicket 1.5: The component(s) below failed to render

2011-12-21 Thread Adrian Wiesmann
On 12/21/11 11:46 AM, Per Newgro wrote: Do you use a border? Because border component assignment changed No borders. Mostly iterators and plain panels... Cheers, Adrian - To unsubscribe, e-mail:

Re: Firefox : ServletRequest does not contain multipart content

2011-12-21 Thread phaedoland
Hello! I have the same situation here. Do you know how to fix it? Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Firefox-ServletRequest-does-not-contain-multipart-content-tp3027552p4221601.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Martin Grigorov
2011/12/21 Seçil Aydın techlove...@gmail.com: We have developed a wicket application on development mode but we want to change the mode of the application to deployment mode. When we changed this to deployment mode jquery could not be loaded by the application. Is there any solution to this?

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Seçil Aydın
Hi Martin,the problem is: we have a menu moving with jquery functions, these functions could not be executed after this change since they could not be loaded. - Wicket-Java -- View this message in context:

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Martin Grigorov
what is wrong with the header contribution ? is jquery.js not in headlink href=... at all ? or its path is broken ? or ... 2011/12/21 Seçil Aydın techlove...@gmail.com: Hi Martin,the problem is: we have a menu moving with jquery functions, these functions could not be executed after this

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Seçil Aydın
jquery is only included from java code, it is not included from html code It loses context path when calling with deployment mode. Like: Development mode : Server/GUI_NAME/……/jquery.js Deployment mode : Server/……/jquery.js - Wicket-Java -- View this message in context:

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Martin Grigorov
Try to reproduce the problem in mini application (aka quickstart) and attach it to our Jira 2011/12/21 Seçil Aydın techlove...@gmail.com: jquery is only included from java code, it is not included from html code It loses context path when calling with deployment mode. Like: Development

RE: Problem with wicket 1.5.3 and wiquery 1.5.3

2011-12-21 Thread dennisB
hi Hielke We staying with the patch for now, we have to stable our system. but i will check it in few days. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicket-1-5-3-and-wiquery-1-5-3-tp4217860p4221949.html Sent from the Users forum

Problem with wicketstuff-tinymce-1.5.3 external plugins

2011-12-21 Thread dennisB
We are performing upgrade to wicketstuff-tinymce-1.5.3 and we have some problems with external plugins. this code in tiny_mce_src.js loadScripts() function that suppose to load our plugin javaScript is never called: function loadScripts() { if (s.language s.language_load !== false)

Re: Jquery Problem with Wicket Deployment Mode

2011-12-21 Thread Seçil Aydın
Martin thank you for your response, we will do it. - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-Problem-with-Wicket-Deployment-Mode-tp4221713p4222338.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Getting response from a external URL

2011-12-21 Thread Pablo Díaz
Thank you for your answer but I think this is only correct when you are returning a CharSequence, what's happen when you like returning Image, for example? El 21/12/11 10:33, Martin Grigorov escribió: The problem with EmptyRequestHandler is that the previous response is reset and an empty is

Re: Getting response from a external URL

2011-12-21 Thread Martin Grigorov
On Wed, Dec 21, 2011 at 7:50 PM, Pablo Díaz inspd...@gmail.com wrote: Thank you for your answer but I think this is only correct when you are returning a CharSequence, what's happen when you like returning Image, for example? If you need to return an Image then definitely you don't need to

Re: Getting response from a external URL

2011-12-21 Thread Pablo Díaz
Thank you so much it's works, very well ... The correct form was the next: (WebApplication) protected void init() { super.init(); mountPage(Init.do,HomePage.class); mountPage(Viewer.do,ViewerPage.class); *mountResource(ProxyMapserver.do,new ProxyAction());*

Re: Problem with wicketstuff-tinymce-1.5.3 external plugins

2011-12-21 Thread dennisB
We find the problem,the are no problem with wicketstuff-tinymce-1.5.3 the problem was at our application. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicketstuff-tinymce-1-5-3-external-plugins-tp4222060p4222840.html Sent from the Users forum mailing

Re: ModalWindow does not close cleanly

2011-12-21 Thread Nelson Segura
I have created a ticket, and attached a quick start to it https://issues.apache.org/jira/browse/WICKET-4311 Notice that if you uncomment the dummy callback code, you will be able to reopen the modal. - To unsubscribe, e-mail:

wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread 鄂力炜
Hi all, I am using wicket 1.3.7 for our product. Currently, I have encountered a problem, a form submitting is corrupted by session timeout, description as follows, - there is a report page, and a form in it, a user fill some parameter in that form, method post - after the user's

Re: wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread Igor Vaynberg
only wicket=1.5.0 propagates post data in intercepts. -igor On Wed, Dec 21, 2011 at 5:56 PM, 鄂力炜 daura...@gmail.com wrote: Hi all, I am using wicket 1.3.7 for our product. Currently, I have encountered a problem, a form submitting is corrupted by session timeout, description as follows,  

Re: wicket 1.3.7 RestartResponseAtInterceptPageException post data lost

2011-12-21 Thread 鄂力炜
THX : ) 2011/12/21 Igor Vaynberg igor.vaynb...@gmail.com only wicket=1.5.0 propagates post data in intercepts. -igor On Wed, Dec 21, 2011 at 5:56 PM, 鄂力炜 daura...@gmail.com wrote: Hi all, I am using wicket 1.3.7 for our product. Currently, I have encountered a problem, a form