AjaxFormComponentUpdatingBehavior( "change" ) on a DropDownChoice

2013-07-04 Thread lucast
Dear Forum, I have a drop down choice for populating form fields with default values. To achieve this, I have added an AjaxFormComponentUpdatingBehavior( "change" ) to the drop down choice. Inside the AjaxFormComponentUpdatingBehavior.onUpdate() I populate all fields of the form and call target

[ANNOUNCE] WicketStuff 6.8.0 is released

2013-07-04 Thread Martin Grigorov
Hi, WicketStuff core 6.9.0 based on Apache Wicket 6.9.0 is released and shortly will be available in Maven Central. The changelog for this release is: svenmeier (8): new method #path() to get method invocation path without binding to a target getObjectClass() can optionally retur

Re: Updating forms model causes panel to lose model

2013-07-04 Thread Paul Bors
Well if its a CPM and you error is: Caused by: java.lang.RuntimeException: An error occurred while getting the model object for Component: [AccountInfoPanel [Component id = accountInfoPanel, page = com.trifork.pengeplan.web.app.secure.transactions.AddTransactionPage, path = 2:entityEdit:accountInf

Re: fault in tree view

2013-07-04 Thread Sven Meier
That's really strange, the tree looks fine here. Can you retry with a vanilla Firefox? Please clear the browser cache too. Which Wicket version? Sven On 07/04/2013 04:16 PM, Piratenvisier wrote: Ok I try it again Am 04.07.2013 15:14, schrieb Sven Meier: ascii art? ;) On 07/04/2013 03:05 P

Re: using jquery dialog instead of alert

2013-07-04 Thread Enoch James
If it works for you, then it's right. On 7/4/2013 10:03 AM, fachhoch wrote: I am trying to use jquery dialog instead of javascript alert, I am using the jquery dialog script and inserting wicket onclick script in the OK :function. In java I am replacing the string myscript with wicket aj

using jquery dialog instead of alert

2013-07-04 Thread fachhoch
I am trying to use jquery dialog instead of javascript alert, I am using the jquery dialog script and inserting wicket onclick script in the OK :function. In java I am replacing the string myscript with wicket ajax script. I tested, it works ,please advice if this is right way to do?

Updating forms model causes panel to lose model

2013-07-04 Thread Tommy Sadiq Hinrichsen
Hey I have a form on a page. In that form a have a panel. When i change the forms model with setModel( A Compound PropertyModel) The panel loose the model due to MarkupContainer line 780. This is a problem because i want to get the model some time later in the panel, but because its a compound

Re: fault in tree view

2013-07-04 Thread Sven Meier
ascii art? ;) On 07/04/2013 03:05 PM, Piratenvisier wrote: Hello Sven, here are the screenshots. Am 04.07.2013 09:10, schrieb Sven Meier: Hi, I don't see a difference here. Can you post screenshots somewhere? Sven On 07/03/2013 11:02 PM, Piratenvisier wrote: If you open the stucture in be

Re: fault in tree view

2013-07-04 Thread Piratenvisier
Hello Sven, here are the screenshots. Am 04.07.2013 09:10, schrieb Sven Meier: Hi, I don't see a difference here. Can you post screenshots somewhere? Sven On 07/03/2013 11:02 PM, Piratenvisier wrote: If you open the stucture in beginners view you have an other sequence of nodes than in adva

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Rakesh A
Hi, Thanks for the information , the 'markup provider' info - gave me some insights and after debugging with this info, I was able to solve my issue by adding a wrapper [WebMarkupContainer] in one of the classes in my class hierarchy. Thanks, Rakesh.A -- View this message in context: http://a

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Sven Meier
Should be. Sven On 07/04/2013 12:10 PM, Rakesh A wrote: Hi, Will it be the same [dialog instance as markup provider instead of page instance] if the fragment is part of wicket modal dialog? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/marku

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Rakesh A
Hi, Will it be the same [dialog instance as markup provider instead of page instance] if the fragment is part of wicket modal dialog? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/markup-not-found-exception-for-fragment-which-is-part-of-wicket-e

Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Hi Sven, Hi, when your behavior is triggered, an AjaxRequestHandler is already scheduled to generate the Ajax response for Wicket's JavaScript. It doesn't make sense to replace scheduled handler with a fileDownload then. Whatever you'll send back to the browser, Wicket's JavaScript won't unde

[SOLVED] Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Sorry for the noise, I just found out that scheduleRequestHandlerAfterCurrent() silently accepts NULL handlers and I was passing a NULL value... Sorry, forgot to mention that I'm using Wicket 1.5.8 Hi, I have a modal dialog window that - after closing - should start a file download. Basi

Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Sven Meier
Hi, when your behavior is triggered, an AjaxRequestHandler is already scheduled to generate the Ajax response for Wicket's JavaScript. It doesn't make sense to replace scheduled handler with a fileDownload then. Whatever you'll send back to the browser, Wicket's JavaScript won't understand it.

Re: Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Sorry, forgot to mention that I'm using Wicket 1.5.8 Hi, I have a modal dialog window that - after closing - should start a file download. Basically I'm doing everything like in http://mail-archives.apache.org/mod_mbox/wicket-users/201304.mbox/%3c1364779681800-4657667.p...@n4.nabble.com%3E

Scheduled IRequestHandler never executed ?

2013-07-04 Thread Tobias Gierke
Hi, I have a modal dialog window that - after closing - should start a file download. Basically I'm doing everything like in http://mail-archives.apache.org/mod_mbox/wicket-users/201304.mbox/%3c1364779681800-4657667.p...@n4.nabble.com%3E (AJAX response with setTimeout() call that redirects t

Re: Feedback message is not available for behaviors added to nested form components

2013-07-04 Thread James Selvakumar
Thanks Jesse & Sven for your explanations. It worked like a charm after I set ListView#setReuseItems(true) Thank you very much. On Wed, Jul 3, 2013 at 3:12 PM, Jesse Long wrote: > Hi James, > > This is a shortened list of events happening, including only the ones > affecting you. They are in th

Re: Feedback message is not available for behaviors added to nested form components

2013-07-04 Thread James Selvakumar
Hi Sven, I'm sorry I'm not adding components but I update the model so that the ListView generates the components dynamically. On Thu, Jul 4, 2013 at 3:16 PM, Sven Meier wrote: > Hi, > > ListView will create components for you based on the contents of the > model. Why are you adding components

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Sven Meier
Hi, I don't know why it did work in 1.4.x, but the following doesn't make sense: final Fragment fragmentTwo = new Fragment(myList.newChildId(), "fragmentTwo", myList); "myList" is not the provider of the fragment's markup, the ListView doesn't contain it. It's the page which contain

Re: ConfirmAjaxFallbackLink with LoadableDetachableModel

2013-07-04 Thread Sven Meier
Looks fine to me. Can you create a quickstart? Sven On 07/04/2013 03:30 AM, Vignesh Palanisamy wrote: Hi all, I have a ConfirmAjaxFallbackLink which is use to display confirmation dialog, when a user attempts to delete an item in a datatable. public abstract class ConfirmAjaxFallbackLink ext

Re: Feedback message is not available for behaviors added to nested form components

2013-07-04 Thread Sven Meier
Hi, ListView will create components for you based on the contents of the model. Why are you adding components? Sven On 07/04/2013 02:41 AM, James Selvakumar wrote: Hi Jesse, I was not aware of this before. Thanks for the insight But I do add/remove components to the ListView dynamically. Wi

Re: fault in tree view

2013-07-04 Thread Sven Meier
Hi, I don't see a difference here. Can you post screenshots somewhere? Sven On 07/03/2013 11:02 PM, Piratenvisier wrote: If you open the stucture in beginners view you have an other sequence of nodes than in advanced nested view Follow the path A AB ABB ABBA ABBB ABBBA ABC ABD AC in advanced n