Re: FileUploadField in a form in a modalWindow

2019-01-09 Thread JavaTraveler
Hi So, apparently, the solution is that the fileUploadField in a form in a modalWindow doesn't work when used on a local server (maybe localhost ... is causing the trouble). Thank you a lot for your time. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: FileUploadField in a form in a modalWindow

2019-01-07 Thread JavaTraveler
I tried the first part and no when I click the button, none of those is called. But I don't undestand what you mean by debugging glassfish's ServletHttpResponse implementation. Could you be more specific ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: FileUploadField in a form in a modalWindow

2019-01-04 Thread JavaTraveler
The response : 400 Bad Request Connection close Content-Length 1082 Content-Typetext/html;charset=ISO-8859-1 DateFri, 04 Jan 2019 07:54:37 GMT Server GlassFish Server Open Source Edition 4.1 X-Powered-By Servlet/3.1 JSP/2.3 (GlassFish… Java/Oracle Corporation/1.8) What's weird is

Re: FileUploadField in a form in a modalWindow

2019-01-03 Thread JavaTraveler
Hi. I see, thanks for the anser. But my modal window is already inside a form. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

FileUploadField in a form in a modalWindow

2019-01-03 Thread JavaTraveler
Hello everyone, Happy new Year !!! I'd like to ask you something for this new year ^^ I wish to upload a .csv file through a FileUploadField, wich is in a Form, and in a modal Window. But every try, I get an ajax error : ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not

Re: ModalWindows in a listView

2018-10-31 Thread JavaTraveler
Yes thank you. By putting it outside and setting the content in the link, it worked. Thank you very much :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: ModalWindows in a listView

2018-10-31 Thread JavaTraveler
Ok, so how would you do it ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

ModalWindows in a listView

2018-10-31 Thread JavaTraveler
Hello everyone, I have a question. Is it possible to add modal windows in a listView. I have tried, but it doesn't on wich line I click, the corresponding modal window will always concern the last item of my list. Here's how I do it : lArt = new ListView("articles", new

Re: Wicket architecture

2018-09-10 Thread JavaTraveler
Or maybe like that ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: Wicket architecture

2018-09-10 Thread JavaTraveler
Or maybe like that ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Wicket architecture

2018-09-10 Thread JavaTraveler
Hello everyone ! I have made a drawing to represent the functionning of Wicket, and I was wondering if you would agree with this representation. -- Sent from:

Re: Form in a modal window in only one class

2018-09-05 Thread JavaTraveler
So I think I managed to do it, by passing as a parameter of the panel's constructor the object taking the data. Thank you every one :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To

Re: Form in a modal window in only one class

2018-09-04 Thread JavaTraveler
I see. Thank you. I did that. But as I understand it, the content of my modalWindow is another page : modalWindow.setContent(new AjouterArticle(modalWindow.getContentId()); But then how do I get the data from this modal window ? I'm sorry if my questions are stupid. But I don't

Re: Form in a modal window in only one class

2018-09-03 Thread JavaTraveler
Hi! Sorry, I'm not very clear. What I wish to do : a page with a button that opens a pop up window. In this pop up window, i would like to have a form. The informations in this form (from the pop up) will have to go back to the original page to be treated. So I'm looking for the most efficient

Re: AW: Form in a modal window in only one class

2018-08-31 Thread JavaTraveler
Well, or does anyone know how to retrieve the data from the inputs of a panel ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: AW: Form in a modal window in only one class

2018-08-30 Thread JavaTraveler
Right sorry. A wicket modal window. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Form in a modal window in only one class

2018-08-30 Thread JavaTraveler
Hello everyone, I wanted to add a modal window with a form inside it on a page. But I'd like to do it in juste one class. Describe the modal window and then call it in one class. I can do it with two classes, but I'm not satsfied by this solution. Is there any way ? Thanks in advance. And have

Re: AjaxLink and AjaxFormComponentUpdatingBehavior

2018-07-19 Thread JavaTraveler
I'd like to, but I havn't done much. Just swapped the ajaxLink with an AjaxSubmitLink. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: AjaxLink and AjaxFormComponentUpdatingBehavior

2018-07-19 Thread JavaTraveler
Why ? Easy ! I have been learning, so couldn't help, because I didn't know the answers to the other's questions. Now I BEGIN to understand, so if I can, I'll help, but only if I can. So that won't be a lot. And by the way, guess what ? Being condescending doesn't make people wan't to do what you

Use a property file to change the choose one option

2018-06-26 Thread JavaTraveler
Hello everyone, I have another question. Where do you put the properties file to change the label of the null option for a dropdownchoice ? Next to your java class ? Can you put in the same arboresence in resources, like for the css files ? And what do you write in it ? .null ? .nullvalid ? My

Re: DropDownChoice and null value

2018-06-25 Thread JavaTraveler
Ok thank you, interesting component. I'll try it :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

DropDownChoice and null value

2018-06-25 Thread JavaTraveler
Hello everyone, I wish to get rid of the "choose one" option. Wich is equivalent to null, if i'm not mistaken. ddlSociete = new DropDownChoice("societe", new PropertyModel(pointageMasseSearchDto, "societe"), new LoadableDetachableModel>() { @Override protected List load() {

Re: AjaxLink and AjaxFormComponentUpdatingBehavior

2018-06-25 Thread JavaTraveler
I see, well I found a solution that seems to work with an AjaxSubmitLink :) Thank you all -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

AjaxLink and AjaxFormComponentUpdatingBehavior

2018-06-22 Thread JavaTraveler
Hello everyone !!! I wish to add a JQueryBlockUIBehavior, so I'm adding an AjaxFormComponentUpdatingBehavior. But when I click on the link, i get the error : Behavior (.) can only be added to an instance of a FormComponent. linkPointage.add(new

Re: Basket in session

2018-05-28 Thread JavaTraveler
I made it ! I was using Panier pan = WebSession.get(); instead of Panier pan = Panier.get(); ! Thank you anyway, you're the bests ! :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To

Re: Basket in session

2018-05-28 Thread JavaTraveler
myproject.7z Like this ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: Basket in session

2018-05-28 Thread JavaTraveler
I'd be glad to. But what do you mean by quickstart ? That ? https://wicket.apache.org/start/quickstart.html -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: Basket in session

2018-05-28 Thread JavaTraveler
Thanks for the advice, I subscribed. I'm sorry to be a bother, but I don't get it. I already was using the wicket guide. And yet, I don't get how to use the session class. I have made a class extending Session (I have also tried WebSession). Then I try to access it on another class.

Basket in session

2018-05-25 Thread JavaTraveler
Hello ! I have been trying to make a basket for an e-commerce application. But I don't understand how to use the session's system in wicket. Anyone have a good source I could read ? Right now, I'm trying a class with "@SessionScoped" like in JSF. But, I had no results so far. -- Sent from:

Re: ListView

2018-05-24 Thread JavaTraveler
Quickstart ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: ListView

2018-05-24 Thread JavaTraveler
Hello ! So no sorry, it does not work. The solution of Maxim does nothing different. And the one from Sven makes a mistake since my ListView needs a list of pieces, and pieceModel is just a Piece. Any other solutions ? -- Sent from:

Re: ListView

2018-05-24 Thread JavaTraveler
Ok, so I managed to pass the piecesModel ! Thank you, it seems to be working :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

ListView

2018-05-23 Thread JavaTraveler
Hello, Does anyone know how to update a listView with an ajaxButton, after it's construction when it was empty ? For now, I have this : final ListView pieceView = new ListView("pieceView", pieces) { /** * */

Re: Difficulties

2018-05-23 Thread JavaTraveler
All right sorry, it's ok, it works ! I was using, without realising it, a JSF form ^^ Really sorry for the trouble. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: Difficulties

2018-05-23 Thread JavaTraveler
Hello ! I managed to do so, and make it a panel, with . But The button still refuse to work ^^ I'm trying anything I can find. Any idea ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To

Re: Difficulties

2018-05-22 Thread JavaTraveler
Yes it is. It shouldn't be ? My idea was to make a template. A sidebar for searching always available. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

Re: Difficulties

2018-05-22 Thread JavaTraveler
On that subject, I have another question if you don't mind. I got troubles with IFrame. I have a submit button in a form inside the iFrame. This button doesn't do anything. But if I do the same button outside of the iframe, everything works fine. Is this normal ? -- Sent from:

Re: Difficulties

2018-05-22 Thread JavaTraveler
It works, that's great, thank you so much ! :D -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Difficulties

2018-05-22 Thread JavaTraveler
Hello everyone, I'm extremely new to the wicket Framework. Trying to learn since last week :) I'm searching for some help. I have made a page that I want to become a side bar. This page has an ejb injection in it: private static final long serialVersionUID = 1L;