How to close a ModalWindow without AjaxRequestTarget

2015-04-21 Thread Ulrich
I have already asked this question http://apache-wicket.1842946.n4.nabble.com/Modal-panel-reloaded-when-selecting-from-DropDownChoice-td4670394.html but maybe it was off topic there. The Modal Window provides the method #close(AjaxRequestTarget). But I want to provide a Button to validate

Re: How to close a ModalWindow without AjaxRequestTarget

2015-04-21 Thread Ulrich
For the sample I have two buttons to show the coding and to see the results of either of them. I have no problem closing the window with using AjaxSubmitLink - I don't know how to display the message. Maybe it's easier to see with the complete program: -- View this message in context:

Re: How to close a ModalWindow without AjaxRequestTarget

2015-04-21 Thread Ulrich
Thanks a lot; that solved it. JAVA now (to supply the resuolution for others): -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-close-a-ModalWindow-without-AjaxRequestTarget-tp4670429p4670439.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Modal panel reloaded when selecting from DropDownChoice

2015-04-19 Thread Ulrich
back to ModalWindow extended from WebPage all works fine (I see my message when ). But now I don't see how to close the Window programmatically. It's all about Ajax: When using Link#OnClick the message is fine - but there is no way to close the window; with AjaxSubmitLink#onSubmit I can close the

Preset the TimeZone of DateTimeField

2015-05-05 Thread Ulrich
I want the enduser to set the datetimefield as UTC-time. I want to make sure ît is handled as UTC at program side - not to rely on the server settings. When I display the entered DateTimeField with the getModelObject().toString() it displays those values indicating that they represent the server

Modal panel reloaded when selecting from DropDownChoice

2015-04-19 Thread Ulrich
When trying to build a quickstart for another problem I'm stumbling about this: When selecting from a DropDownChoice within a modal panel the underlying page becomes reloaded and I'm asked whether I want to leave the page. The message is Reloading this page will cause the modal window to

Re: Modal panel reloaded when selecting from DropDownChoice

2015-04-19 Thread Ulrich
Ok, thank you - makes sense. The idea was to have several choices on the modal window and provide a button (AjaxSubmitButton) to store the results. Before storing I need to validate the entered values and maybe issuing a message - still within the modal window. Therefore I provided a Label (*new

Re: Webpage does not refresh when ListView is based on a List supplied by a database

2015-06-20 Thread Ulrich
@Sebastien, thanks - works. I had started this way, but didn't get the ListView becoming instantiated. Trying again now worked fine. Nevertheless I still can't tell why the both of the approaches react different; I had implemented it as far as I can see alike. -- View this message in context:

Re: Webpage does not refresh when ListView is based on a List supplied by a database

2015-06-20 Thread Ulrich
@Ernesto, I understand, that the idea of the LoadableDetachableModule is to get rid of the storage occupied by the list to avoid an overhead of serialization. To get sort of dynamics it mus be nested with a PropertyModel, isn't it? I will give it a try tomorrow. -- View this message in context:

Webpage does not refresh when ListView is based on a List supplied by a database

2015-06-19 Thread Ulrich
one is fine, the first one is in no way dynamic; even Browser refresh does not display the new entry; I have to call the whole URL again. What is wrong with my assumptions. Any hint is appreciated. brgds Ulrich *Database-Sample:* package com.mycompany; import java.io.IOException; import

namespace infected names in name attributes in html input tags

2011-02-15 Thread Ulrich Nicolaisen
Hi I'm doing a project where I call a remote site that expects some specific HttpRequest parameters like first_name, last_name and so on be be sent as a regular post from a html form. On my wicket page I'm having them in normal input tags with the name attributes having the names first_name,

reusable Panel with Delete-Button and Confirmation Dialog (Bootstrap Modal), issue with page refresh

2017-07-11 Thread Knaack, Ulrich
//target.add(filterForm, getPage()); } }); } }); Mit freundlichen Grüßen Ulrich Knaack Landesamt für Geoinformation und Landesvermessung Niedersachsen (LGLN) - Landesvermessung und Geobasisinformation - Landesbetrieb - Fachgebiet 224 - Geodateninfrastruktur Podbielski

why is DefaultNestedTree component treated as property within PropertyResolver ?

2017-08-18 Thread Knaack, Ulrich
ut a BootstrapForm within the Modal, where "dataTreeView" is attached to the Modal directly. Same problem. Mit freundlichen Grüßen Ulrich Knaack Landesamt für Geoinformation und Landesvermessung Niedersachsen (LGLN) - Landesvermessung und Geobasisinformation - Landesbetrieb - Fachgebie

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel - solved

2017-05-08 Thread Knaack, Ulrich
edPanel extends ClientSideBootstrapTabbedPanel " and removed unnecessary methods. Then, wicket gave me useful hints related to a ClassCastException and to a missing call to tabbedPanel.setOutputMarkupId(true) . Thank you for quick response. Regards, Ulrich Knaack > -Ursprüngliche Nachricht-

Re: Modal dialog, form validation in AjaxBootstrapTabbedPanel

2017-05-08 Thread Knaack, Ulrich
edPanel extends ClientSideBootstrapTabbedPanel " and removed unnecessary methods. Then, wicket gave me useful hints related to a ClassCastException and to a missing call to tabbedPanel.setOutputMarkupId(true) . Thank you for quick response. Regards, Ulrich Knaack > -Ursprüngliche Nachricht-