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
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:
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.
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
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
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
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
@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:
@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:
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
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,
//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
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
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-
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-
15 matches
Mail list logo