Re: Panel resfresh with AjaxRequestTarget

2013-04-22 Thread vineet semwal
actually my suggestion is not good for every usecase ,it's not good in the context where you want to preserve old state of B so check if it's ok for you else get into B , see what can be moved in onbeforerender/onconfigure,make your models dynamic.. On Mon, Apr 22, 2013 at 11:13 AM, vineet

wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Bruno Moura
Hi Someone could provide resources and links for Jquery/JqueryUI Ajax modal examples with wicket? Thanks a lot! Bera - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Advanced editable grid component for wicket

2013-04-22 Thread Bruno Moura
Hi I'm looking for a grid component with pagination, editables cells, inline ajax editable labels, combobox inside cells and update line/model, all of these capabilities/featues out of the box. Someone could give me links for components and examples? Thanks a lot Bera

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Maxim Solodovnik
http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage On Mon, Apr 22, 2013 at 8:07 PM, Bruno Moura brunormo...@gmail.com wrote: Hi Someone could provide resources and links for Jquery/JqueryUI Ajax modal examples with wicket? Thanks a lot! Bera

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Martin Grigorov
Hi, See https://github.com/sebfz1/wicket-jquery-ui and the demo app at: http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage?1 On Mon, Apr 22, 2013 at 4:07 PM, Bruno Moura brunormo...@gmail.com wrote: Hi Someone could provide resources and links for Jquery/JqueryUI Ajax modal

Re: Advanced editable grid component for wicket

2013-04-22 Thread Martin Grigorov
demo: http://www.wicket-library.com/inmethod-grid/data-grid/simple?1 source code: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/inmethod-grid-parent also see: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/editable-grid-parent On Mon, Apr 22, 2013 at 4:12 PM,

Re: Can't Ajax-Update CheckGroup with new ListView

2013-04-22 Thread eugenebalt
Any help on this issue? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Can-t-Ajax-Update-CheckGroup-with-new-ListView-tp4658090p4658162.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Advanced editable grid component for wicket

2013-04-22 Thread Bruno Moura
Thanks a lot Martin! Best Regards! Bruno Moura 2013/4/22 Martin Grigorov mgrigo...@apache.org: demo: http://www.wicket-library.com/inmethod-grid/data-grid/simple?1 source code: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/inmethod-grid-parent also see:

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Bruno Moura
Thanks a lot Martin and Maxim Bruno Moura 2013/4/22 Martin Grigorov mgrigo...@apache.org: Hi, See https://github.com/sebfz1/wicket-jquery-ui and the demo app at: http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage?1 On Mon, Apr 22, 2013 at 4:07 PM, Bruno Moura

Disabling Individual Checkboxes in CheckGroup

2013-04-22 Thread eugenebalt
How would you disable individual checkboxes in a CheckGroup? With a CheckBoxMultipleChoice, it's easy: just override isDisabled(int index) for the particular index you want to disable. But we are using a CheckGroup, not CheckBoxMultipleChoice, because we need a grid layout for our set of

Nested forms: error messages of the inner form now showing up

2013-04-22 Thread pureza
I have two nested forms. When I submit the outer form, the inner form's validation fails but no error is shown. I know the validation fails because the #onError() method of the inner form is being called. It is as if Wicket creates a brand-new, error-free, inner form after the page refreshes. Is

IAjaxCallListener getPrecondition

2013-04-22 Thread Steve Lowery
I am aware of the getPrecondition() method on IAjaxCallListener that I can use to prevent the ajax call from happening on the click of a link, button, etc, but I'm wondering if anything in the wicket framework can prevent the default altogether. Let me try to explain with an example of my use

AjaxLink onclick bubbling up dom in 6.7

2013-04-22 Thread Andrew Geery
Previous to 6.7, when clicking on an AjaxLink which was contained within a div that had an onclick handler, the onclick did not propagate to the containing div. Starting in 6.7, clicking the AjaxLink does propagate the onclick event up the DOM. Was this intentional? I couldn't find a change log

Re: AjaxLink onclick bubbling up dom in 6.7

2013-04-22 Thread Martin Grigorov
Hi, The change has been done with https://issues.apache.org/jira/browse/WICKET-5093 On Mon, Apr 22, 2013 at 10:51 PM, Andrew Geery andrew.ge...@gmail.comwrote: Previous to 6.7, when clicking on an AjaxLink which was contained within a div that had an onclick handler, the onclick did not

Re: IAjaxCallListener getPrecondition

2013-04-22 Thread Martin Grigorov
Hi, I guess your AjaxFormChoiceComponentUpdatingBehavior listens on click event. You can listen to mousedown and do attrs.event.preventDefault() when the user cancels the action. With click the action at the client side is already executed and unless you keep track of the selections or ask the

Re: How to ignore submit button while executing event on blowser close?

2013-04-22 Thread Martin Grigorov
Hi, In your code no one sets dont_confirm_leave to 1. On Mon, Apr 22, 2013 at 10:51 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: We try to use the following java script to detect window close or redirect event. We are trying to ignore the submit button, but it does not work. div

Re: Disabling Individual Checkboxes in CheckGroup

2013-04-22 Thread Bertrand Guay-Paquet
Hi, I'm not sure this is what you want, but you can subclass the Check class and override its onComponentTag method to add disabled=disabled to the input tags you want to disable. You can also do it with a behavior instead of subclassing. Remember that if you replace the checkbox html

Re: Model for dropdowns in a listview

2013-04-22 Thread Joachim Schrod
Per Newgro wrote: Hi, i have to implement a questionnaire but i'm not sure how to capture the selected values in a model. My questionnaire has some questions. The questions have some reply options. The selected reply options will be assigned to an answer. The answers are the data i try

Re: Disabling Individual Checkboxes in CheckGroup

2013-04-22 Thread Igor Vaynberg
check.setEnabled(false) -igor On Mon, Apr 22, 2013 at 2:09 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I'm not sure this is what you want, but you can subclass the Check class and override its onComponentTag method to add disabled=disabled to the input tags you want to

Re: OOM in Tests with Wicket 6.7.0

2013-04-22 Thread northar
Same issue here confirmed here to with 6.7.0 Thomas - wam bam , memory usage to the top with wickettester. Reverting to 6.6. Will try to profile and see if it's the same issue as already reported. Martin Grigorov-4 wrote Hi, Yes. Another user also reported the same problem :