Hello,
thank you that works fine for my problem.
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Sven Meier [mailto:s...@meiers.net]
Gesendet: Mittwoch, 22. März 2017 16:16
An: users@wicket.apache.org
Betreff: Re: FilterForm with DropDownChoice
Hi,
have you
Hello,
I want to create a table with a filter form.
I used the wicket FilterForm and implemented an own DataProvider. It works fine
for the textfields. I can write some text and press "enter" and the list will
be filtered. But if I make a choice in the selectbox and press "enter"
nothing
I close the window in the onSubmit method of the modal window form, you see
this below. How can I notify the Button of the mother form that he can execute
the other statements because the window is closed?
I don't want to update an component what should I put in the
WindowClosedCallback?
Mit
Hello,
what can I do to realize it that the loop will be executed after the modal
window was closed? I need the data which adds the modal window to the message
objects.
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Sven Meier [mailto:s...@meiers.net]
Hello,
I have a form which contains a modal window. The submit button of this form is
an AjaxButton and should first open the modal window. This form contains a
collection of message object which should be changed by the modal window.
The modal window also contains a form and a AjaxButton to
I found the line which set the modalWindow to null. Thanks for your help
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Manfred Bergmann [mailto:m...@software-by-mabe.com]
Gesendet: Mittwoch, 22. Februar 2017 14:19
An: users@wicket.apache.org
Betreff: Re: AW:
The line which throws the exception is modalWindow.close(target); in
AddRemarkButton. I do not copy the import statements so there are less lines in
my copied code.
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Manfred Bergmann
Hello,
I have a page which contains a table form. Inside this table there are some
message objects and their data shown. Moreover the user can select some of the
messages and trigger some action on them. Then there should be a modal window
where the user have to set a remark for the selected
Thank you. Now all is working fine :)
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Sven Meier [mailto:s...@meiers.net]
Gesendet: Montag, 16. Januar 2017 11:07
An: users@wicket.apache.org
Betreff: Re: AW: AW: AW: AW: Update ListMultipleChoice by Ajax
Hi,
by
Can you explain what these methods equals() and hashCode() have to do?
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Sven Meier [mailto:s...@meiers.net]
Gesendet: Freitag, 13. Januar 2017 13:41
An: users@wicket.apache.org
Betreff: Re: AW: AW: AW: Update
Ok I created an Account on GitHub. Here is the example:
https://github.com/CManig/WicketChoiceExample
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Maxim Solodovnik [mailto:solomax...@gmail.com]
Gesendet: Freitag, 13. Januar 2017 10:48
An:
I've only have a GitLab Account will this also work for you? Can you send me a
link to the right place in Jira?
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Maxim Solodovnik [mailto:solomax...@gmail.com]
Gesendet: Freitag, 13. Januar 2017 10:05
An:
I created a small example. How can I send this to you?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport & Logistics
Annenstr. 5
01067 Dresden
tel.: +49 (0) 351 / 4744 - 188
fax:+49 (0) 351 / 4744 - 209
email:
After refreshing the page I see the same page. Its not a listView it is a
ListMultipleChoice.
What do you mean with a quickstart.
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Sven Meier [mailto:s...@meiers.net]
Gesendet: Donnerstag, 12. Januar 2017 22:51
They are member of a form and this has a CompoundPropertyModel.
setDefaultModel(new CompoundPropertyModel(new UserModel()));
And this holds all data which are relevant for user. The other components of
the form show the data of the user which I set as the default model.
Mit freundlichen
Hello,
I have a form which contains a ListMultipleChoice and a PasswordTextField.
ListMultipleChoice groups = new ListMultipleChoice<>("groups",
groupDao.getAllGroups(), new ChoiceRenderer("groupname"));
PasswordTextField password = new RequiredPasswordField("password");
After clicking an
Hello,
I created a page to manage all users of my application. It contains a form for
creating and updating users and a table below to delete and edit users.
Here is the creation of the table and its columns:
List> columns = new ArrayList
Hello,
Iam using AJAXDownload to download some data which will created on the fly,
while clicking an AjaxButton. Moreover Iam using an AbstractResourceStream. In
its getInputStream method, I get an byte array. This method can throw some
exception, which I will catch. If an exception is thrown,
I resolved it with this line:
getRequestCycle().replaceAllRequestHandlers(new RenderPageRequestHandler(new
PageProvider(new InternalError(e.getMessage();
is this a good way?
Mit freundlichen Grüßen
Christoph Manig
-Ursprüngliche Nachricht-
Von: Manig, Christoph
Gesendet:
Hello,
Iam using a FileResourceStream to download a file. This needs an File, which I
create on the fly like this:
tempFile = File.createTempFile(SLA, .xls);
InputStream data = new
ByteArrayInputStream(ConsoleDataHandlerImpl.getInstance().getReportAsByteStream(beginDate,endDate));
Hello,
I want to download an excelfile, which will be created on the fly by clicking
on a button. So I have created my own downloadButton. The excel-file will be
created, it works fine but the download do not work. I have started my
application in development mode, but no exception will be
So I have to add the AjaxDownload to my form which add my DownloadButton? Like
this:
AJAXDownload download = new AJAXDownload()
{
@Override
protected IResourceStream getResourceStream()
{
return createResourceStream(item.getModelObject());
}
};
FormSlaReportModel
I created the class AJAXDownload and copied your code. Then I added the
AJAXDownload to my download button like this:
@Override
public void onSubmit(AjaxRequestTarget target, Form form) {
target.add(feedback);
final SlaReportModel slaReportModel =
Hello,
iam getting an byte array from the backend and I want to send this to the
browser with an outputstream. So the browser notice that he gets an excel sheet
and shows this. It should be the same if you open pdfs with the browser while
downloading this data.
Mit freundlichen Grüßen
The DownloadLink open the save as dialog but I want to show the data in a
browser embedded excel. Are there other Wicket-Components to implement this?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
How can I change the ContentDisposition while using an DownloadLink?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0)
Sorry for so much questions but it’s the first webapp I have to develop. How
can I change the ContentDisposition to show the data embedded in the browser?
Which Link or button should I use.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems
Is it possible to override the onclick-method of DownloadLink and change the
ContentDisposition to INLINE?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.:
Hello,
in my application I do the following configurations:
getApplicationSettings().setPageExpiredErrorPage(Timeout.class);
getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE);
getRequestCycleListeners().add(new RequestCycleExceptionListener());
my
Hello,
I want to add a new AjaxEventBehaviour to my IndicatingAjaxButton. I do this
the following way:
public class TableDisabler implements Runnable{
private IndicatingAjaxButton button;
public TableDisabler (IndicatingAjaxButton button){
this.button=button;
}
If I only add the behaviour to the button it is not fast enough. If the user
clicks the button an sql-statement starts running which collects a lot of data.
The delay between clicking the button and disabling the table is too big.
That's why I want to do this in a parallel thead.
Mit
Can you give a more detailed example? I cant see how I should add JavaScript
and how I should use the updateAjaxAttributes method.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
I dont want to cover the table. It should be readable for the user. My issue is
that the user cant click the toolbars while the request is running.
This resolution works, I can see the text 'Before ajax call:
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes){
I tried it like this:
@Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes){
super.updateAjaxAttributes(attributes);
IAjaxCallListener ajaxCallListener = new AjaxCallListener() {
@Override
public CharSequence
Hello,
in my application I have a table with some custom toolbars. This table shows
some data from the database if the user clicks an ajax button. But if the user
clicks the button again, the table will be replaced by a new table with the new
data. Here an example:
It is nice to show additional text oder something like this, but I cant hide or
disable the shown table. So the user has still the possibility to click at one
of the toolbars, which will throw an exception.
Are there no other ways?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
The problem ist that the links in the table aren't ajax links. There are also
the navigation toolbar and the the headers toolbar which I want to disable
while the ajax request is running. The button which starts the ajax call isn't
in the table too.
Mit freundlichen Grüßen
Christoph Manig
Hello,
my application runs in deployment-mode and if an exception is thrown, wicket
shows his internal error page without the stacktrace. Is there any possibility
to show this stacktrace in this wicket error page? How can I get the stacktrace
of an exception to show it in a custom error page?
Hello,
there are 4 links at the top of my page.
Every link should forward to another page. But the User couldn't see on which
page he is. I want to change the color of the links depending on the page which
the user has chosen. How can I realize this? I implemented the links like this:
Link
Hello,
I was already trying this. But it didn't works. Here is HTML:
a wicket:id=faultLinkESB Fehler/a | a
wicket:id=protokollierungLinkProtokollierung/a | a
wicket:id=userManagementLinkBenutzerverwaltung/a | a
wicket:id=changePasswordLinkPasswort auml;ndern/a
And here the Java:
Link
Can you give an example?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 - 209
email:
I mean an example for the CSS Solution
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 – 209
email:
Ok thanks.
I did the same like this:
Link faultLink = new Link(faultLink) {
@Override
public void onClick() {
setResponsePage(Fault.class);
}
@Override
protected void onComponentTag(ComponentTag tag) {
If I do this in my WicketApplication class, in the init() method I get
java.lang.reflect.UndeclaredThrowableException. But if I add this to my base
page it works. Is there any possibility to do this in the WicketApplication
class?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
Hello,
in my application i have set the errorpage for expired pages like this:
getApplicationSettings().setPageExpiredErrorPage(Timeout.class);
Now I want to make the time until the application expires configurable. How can
I do this? Can I set this in the WicketApplication.init()?
Mit
Hello,
i have a modal window in my application and it works fine. But if I close the
window with X, I get this exception:
java.lang.ClassCastException: cannot assign instance of
org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$MaskType to
field
Hello,
I want to add an own toolbar to my datatable. It works fine but I want another
positioning of all toolbars. I use the DefaultDataTable which include a headers
toolbar for sorting and the navigationtoolbar. When I add my showAllToobar it
will be placed under the headers-toolbar. You can
I have to do this in my wicketApplication class in his init-method right? With
this call: Application.get().getConverterLocator().getConverter(Date.class) I
only get the actual converter for the date. How can I register a new
PatternConverter in my application. There is nothing like this
Hello,
I add this to my WicketApplication class:
@Override
protected IConverterLocator newConverterLocator() {
ConverterLocator converterLocator = new ConverterLocator();
converterLocator.set(Date.class, new PatternDateConverter(dd.MM.
HH:mm:ss,true));
Hello,
in my application I have a table which includes a column timestamp. I have
created this column with the help of a Panel which includes a DateLabel.
columns.add(new PropertyColumnProtocolRecord, String(new
Do you mean it like this:
DateTextField txtDatumVon = new DateTextField(txtDatumVon, new
PatternDateConverter(HH:mm:ss dd.MM.,true));
String date = HH:mm:ss dd.MM.;
try {
txtDatumVon.setModelObject(new SimpleDateFormat(00:00:00
dd.MM.).parse(date));
} catch (ParseException e) {
What ist i and the String toDate in your code?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 - 209
Hello,
thank you for your help. But this wouldn#t work because the return type of
getFormat in my example is DateTimeFormatter from joda. Is there another
example? Why I have to override this method?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Hello,
in my application I have a DateTextField with a DatePicker. I declared it like
this:
DateTextField txtDatumVon = new DateTextField(txtDatumVon, new
PatternDateConverter(HH:mm:ss dd.MM.,true));
When I choose a day I can see in the Textfield something like this: HH:mm:ss
11.06.2013.
No I need this datepattern because the user should be able to change the time
of a day. I also need true because the server and the client are in different
timezones.
Is there another way to change the default?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International
Hello,
how is the DatePicker binded tot he DateTextfield? How is the picked date
written in the Textfield? Is there a possiblilty to change this?
When the DatePicker have the pattern dd.MM. there is no problem. But I want
the full timestamp with this pattern HH:mm:ss dd.MM. because the
Hello,
there is an AjaxButton in my application. This button starts a sql-statement. I
want to change the cursor while this statement is executed. How can I do this
with wicket?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC
Hello,
I have a form which I want to validate. If this form is empty there should be
shown a message in the feedbackpanel. How can I do this? Is there a way to
validate an empty form with its compoundpropertymodel?
Thank you for your help.
Mit freundlichen Grüßen
Christoph Manig
Systems
My form looks like this:
FormFilterCreatorFault faultSearchForm = new
FormFilterCreatorFault(faultSucheForm, new
CompoundPropertyModelFilterCreatorFault(new FilterCreatorFault()));
I implement this Validator:
public class EmptyFormValidator implements IFormValidator{
private FormComponent
Hello,
when I add this to my WicketApllication in method init():
getComponentInstantiationListeners().add(new SpringComponentInjector(this));
I got this Error in my browser. Can you help me please?
HTTP ERROR 503
Problem accessing /smwconsole/. Reason:
Hello,
there is a selectbox in my webapp , where the user can select an action like
resubmit or change state. In Addition there are different userroles in my
webapp. I want that userrole standard only can see change state in this
selectbox and the userrole admin should see resubmit and change
Hello,
my app extends from AuthenticatedWebApplication. Some pages should have seen by
user with a certain role. So I write this:
@AuthorizeInstantiation(Useradministrator (SMW_GUI_USERADMIN_ROLE))
But when I login with a user with another role. This user can see this page.
Have you any idea
Hello,
I have a DatePicker inside a Form. How can I say the Datepicker that it should
set the date (day, month, year) on the actual day when I only fill the fields
for time (hour and minutes)?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems
Hello,
I have a DatePicker inside a Form. How can I say the Datepicker that it should
set the date (day, month, year) on the actual day when I only fill the fields
for time (hour and minutes)?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems
Hello,
I'm using a DefaultDataTable with a NavigationToolbar. I want to show on every
TablePage 10 rows. Now when I have more than 10 rows (e.g 11) the
navigationtoolbar appears and I can switch on the 2nd page to see the 11th row.
But on the 2nd page the Table shows again the first row and
Hello,
this is the implementation of the DataProvider:
@Override
public IteratorUserRecord iterator(long l, long l2) {
if (userList != null){
Collections.sort(userList,comparator);
}else{
System.out.println(User-List ist leer!);
}
This works. Thank you.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
fax:+49 (0) 351 / 8152 – 209
email:
Hello,
Now I can see the exporttoolbar but when I click the link the csv is empty. Why
is that empty?
Here the code:
@Override
public void onSubmit(AjaxRequestTarget target, Form form) {
target.add(feedback);
FilterCreatorProtocol filter =
Hello,
I get this Exception
2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper
| ? ? | 269 - org.apache.wicket.core -
6.5.0 | Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Method onResourceRequested of
But I user this columns in my Table:
columns.add(new PropertyColumnProtocolRecord, String(new
ResourceModel(protocolRecord.retentionID), retentionId, retentionId));
And in my Browser the property Retention-ID will be loaded from this:
entry key=protocolRecord.retentionIDRetention-ID/entry
I can
It is in the same package as the class
src/main/java/smw/console/frontend/protocol/ProtokollierungPage.properties.xml
The classname is ProtokollierungPage.java
Does the ResourceModel load this properties automatically? Why does it show the
String from the properties at the Tablehead but throw
Is there another way to get this properties? Because there are properties for
every page in my project.
In which package should this MyApplication.properties.xml be in?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel,
I resolve the problem.
I use this new
ResourceModel(protocolRecord.retentionID).wrapOnAssignment(getPage())
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.:
Hello,
yes the csv-export is working now. No I didn't know about the new exporters. At
the moment I don't need another exporter. Thank you for your help.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hello,
I have a Problem with the DefaultDataTable and the Export csv. Here is my code:
DefaultDataTableProtocolSearchData,String searchTable = new
DefaultDataTableProtocolSearchData, String(searchTable,getTableHead(),new
ProtocolDataSortDataProvider(Collections.EMPTY_LIST),10);
Hello,
here is the code of onSubmit method of the AjaxFallbackButton.
FormFilterCreatorProtocol protocollSearchForm = new
FormFilterCreatorProtocol(protokollierungSucheForm, new
CompoundPropertyModelFilterCreatorProtocol(new FilterCreatorProtocol()));
protocollSearchForm.add(new
Ok. Thanks for your answer.
Here are my columns:
ListIColumnProtocolRecord,String columns = new
ArrayListIColumnProtocolRecord,String();
columns.add(new PropertyColumnProtocolRecord, String(new
ResourceModel(protocolRecord.retentionID), retentionId, retentionId));
columns.add(new
But I added the Toolbar at the initial call oft he Webpage. Then I can submit
the AjaxButton and some data is in the table. Why should I add the
bottomtoolbar again? The no-record-found-toolbar will be rendered after the
Ajaxcall. Why not the Exporttoolbar?
Mit freundlichen Grüßen
Christoph
Hello,
now I see the Problem. Thank you for your help and sorry for my blindness.
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Travel, Transport Logistics
Hoyerswerdaer Str. 18
01099 Dresden
tel.: +49 (0) 351 / 8152 - 188
79 matches
Mail list logo