Re: Javascript confirm with condition before submit

2013-06-24 Thread grignette
It doesn't work. You call commitBehavior.getCallbackScript() but : Multiple markers at this line - The method add(Component...) in the type AjaxRequestTarget is not applicable for the arguments (CharSequence) - The method getCallbackScript() from the type

Re: Javascript confirm with condition before submit

2013-06-22 Thread grignette
Thanks Marios ! I will test that Monday -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Javascript-confirm-with-condition-before-submit-tp4659672p4659695.html Sent from the Users forum mailing list archive at Nabble.com.

Javascript confirm with condition before submit

2013-06-21 Thread grignette
Hi ! I have an issue with a confirm Javascript message. I have a form. When the user fills the form and when he tries to submit (AjaxButton), I want to provide confirm message based on the details filled by user. So the confrm message may or maynot be present always I tried to use method

Re: Javascript confirm with condition before submit

2013-06-21 Thread grignette
Thanks for your answer. I'am sorry but I don't like the first solution. The second is better I think but I have 6 or 7 rules to implement like that. So it can be difficult. Someone have an other idea ? If no, I will try to implement the second solution... -- View this message in context:

Re: Javascript confirm with condition before submit

2013-06-21 Thread grignette
I like your solution with 3 issues : /Usually I override onSubmit (either on the form or the ajax button) and return the confirmation there. If the user confirms, I follow up with another ajax call which actually commits the data./ If you can give me more details, i will be verry happy ! --

Set value in a textfield

2013-04-11 Thread grignette
Hi ! Maybe it's an easy question with easy solution... But I don't find the solution ! Please, can you tell me how to set the value of the texfield without use models. Is it possible ? Thanks for your help. -- View this message in context:

Re: Set value in a textfield

2013-04-11 Thread grignette
Thanks for your ideas. I don't want to use Model because I just want to recover one value. I have a popin in my page. When I click on the link in the popin, the popin is closed and I want to recover the value of the click. I haven't find how to pass this value to my page. So I had this idea to

Re: Set value in a textfield

2013-04-11 Thread grignette
With Ajax. I found the method onEvent(IEvent? event). I try to search with this for delete my textfield. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Set-value-in-a-textfield-tp4657883p4657889.html Sent from the Users forum mailing list archive at Nabble.com.

Form in pop in

2013-04-09 Thread grignette
Hi ! I have a little question. I have a Pop in with a Form and ListView. The form can modify the content of the listView. When I submit the form, the popin is closing... How to keep the pop in open ? Thanks for your help ! -- View this message in context:

Re: Form in pop in

2013-04-09 Thread grignette
Could you please tell me what wicket object I must use ? Thanks for your help ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-in-pop-in-tp4657843p4657847.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Form in pop in

2013-04-09 Thread grignette
I found what I want in your wicket guide. Thanks for the link ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-in-pop-in-tp4657843p4657849.html Sent from the Users forum mailing list archive at Nabble.com.