Hi David,
the CheckGroupSelector fails to select all checks, because the first
changed check already submits the form and then re-renders the page :(.
You can use an AjaxFormChoiceComponentUpdatingBehavior instead of
#wantOnSelectionChangedNotifications(true).
Regards
Sven
On 05/07/2013
You have to wrap you whole table in a form, otherwise only the value of
the single check is sent to the server.
Sven
On 05/06/2013 03:34 PM, David Beer wrote:
Hi All
I am trying to add Checkgroup selection behaviour to my table, this
all works fins so far. I can use the select all
*is* a dropdownchoice already, why are you adding
another one to it?
Regards
Sven
On 05/05/2013 02:26 AM, Bruno Moura wrote:
I need to add components in a listView and associate all of them with a
model,for allow keep the state of each object saved in this listView. I'm
using wicket 1.4 with scala.
The code
have one listener for a whole table instead of one on each
row (or worse on each cell).
Regards
Sven
On 05/03/2013 10:59 AM, Martin Dietze wrote:
Thank you for this very enlightening comment.
On Fri, May 03, 2013, Martin Grigorov wrote:
There are many articles in the web about javascript
the underlying model.
Sven
On 05/03/2013 10:50 PM, Entropy wrote:
I have a panel that consists of several combo boxes that hierarchically allow
selection of an office/org hierarchy. Mostly the 1st combo filters the
second which filters the third and so forth.
I have a requirement to use this in a fashion
Works fine here: Messages show up with either button (and as you type too).
Sven
On 05/03/2013 11:11 PM, Taro Fukunaga wrote:
Hi,
I'm having a problem with validation in a form with ajax buttons. I am using
Wicket 6.7.0 and running Form Example: shows ajax form processing on my
local box (I
IFormValidator
Regards
Sven
On 04/30/2013 09:09 AM, madmax108 wrote:
Hi,
I have a form in which I'm taking in numeric values from the user, let's say
1,2,3,4,5. Now, I also have defaults specifying the maximum or minimum
values for the entered numbers (eg. 1,2,3 should be greater than x,y
Hi,
I didn't check the code with a compiler so please excuse any errors.
1) see ListView#newItem(int, IModel)
2) see Component#onConfigure()
3) enabled could be a member variable of the containing panel
Regards
Sven
On 04/29/2013 04:47 PM, eugenebalt wrote:
Thanks Sven, let me clarify
1.4.7 ... that's really old :/.
Sven
On 04/29/2013 09:13 PM, eugenebalt wrote:
Thanks Sven. We don't have the below methods. We are using Wicket 1.4.7,
probably time to upgrade.
ListView#newItem(int, IModel)
see Component#onConfigure()
--
View this message in context:
http://apache
this helps
Sven
On 04/28/2013 10:59 PM, eugenebalt wrote:
Here is the full code. This is an urgent problem so any advice much
appreciated.
ISSUE: Cannot enable/disable Checks in an Ajax update, their state remains
the same.
The Checks in the CheckGroup are supposed to change depending
I did my Wicket development on a netbook a few years ago and it worked fine.
Running Eclipse on XGA display resolution was a PITA though :(.
Sven
On 04/25/2013 09:17 PM, Rafael Barrera Oro wrote:
Hello everyone!
I was wandering if anyone was successful in developing wicket apps from a
netbook
().getDownloadBag();
Your application should not have a field pointing to a session object.
Sven
On 04/25/2013 11:45 PM, dhongyt wrote:
I may have the wrong understanding of this and I'm trying to get the correct
understanding.
I have created a SessionService that extends a AuthenticatedWebSession
Is this the expected behavior?
No, it isn't. Please create a quickstart and attach it to a new Jira issue.
Sven
On 04/22/2013 06:57 PM, pureza wrote:
I have two nested forms. When I submit the outer form, the inner form's
validation fails but no error is shown. I know the validation fails
What Wicket version?
The key should be myField.StringValidator.range, see StringValidator's
javadoc.
Sven
On 04/23/2013 12:12 PM, madmax108 wrote:
Hi,
I'm validating a field with StringValidator.lengthBetween, but somehow, it
only displays the default error message rather than one I've
Show us your #onSubmit(ART) ... formatted please.
Sven
On 04/23/2013 02:54 PM, christoph.ma...@t-systems.com wrote:
Hello,
I have a Problem with the DefaultDataTable and the Export csv. Here is my code:
DefaultDataTableProtocolSearchData,String searchTable = new
(),
new
ProtocolDataSortDataProvider(protocolData),
100)));
Sven
On 04/23/2013 03:29 PM, christoph.ma...@t-systems.com wrote:
Hello,
here is the code of onSubmit method of the AjaxFallbackButton.
FormFilterCreatorProtocol protocollSearchForm
(table,
columns, dataProvider, 8));
Hope this helps
Sven
On 04/19/2013 09:52 PM, dhongyt wrote:
Right which is what I have but I'm having a tough time understanding how I
need to override the navigator.
I have done it many ways and none of them seem to work.
I think I'm supposed to override
Check SubmitLinkPagingNavigator's markup.
Sven
On 04/19/2013 12:03 AM, dhongyt wrote:
I think I wrapped my head on it a bit more and starting to understand what
navigation is.
So now I have this.
I believe I need to override the PagingNavigator populateItem function but
I'm trying to get
Easiest is to wrap the whole table in a form.
Sven
On 04/19/2013 07:34 PM, dhongyt wrote:
I have been playing some more with the code and I'm now thinking that maybe I
should just overrite the newNavigation function.
That will allow me to override the newPagingNavigationLink function.
My
Hi Jeremy,
redirects via ajax work fine here. See wicket-examples' LinksPage.java
for an example.
Sven
On 04/16/2013 11:30 PM, Jeremy Levy wrote:
I'm using Wicket 6.6.0, in an AjaxSubmitLink when I do a
setResponsepage(myclass.class) or (throw new RedirectResponse) i get the
following error
Either you have a AjaxFormComponentUpdatingBehavior on each Checkbox, so
a selection is automatically synced to the server.
Or you make the paging submit a containing form:
http://apache-wicket.1842946.n4.nabble.com/Wicket-user-Editable-DataTable-with-Paging-td1925442.html
Regards
Sven
On 04
http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.CheckGroupPage
It uses a ListView instead of a DataTable, but usage of CheckGroup/Check
is the same.
Hope this helps
Sven
On 04/15/2013 10:53 PM, dhongyt wrote:
Thanks Sven
while he stays on the same page. At that point, I can't add or remove
components anymore...?
With Wicket you can replace components (almost) when ever you want. Just
override #onConfigure() and use #addOrReplace().
Regards
Sven
On 04/16/2013 02:24 PM, hfriederichs wrote:
Hi,
Thank you
Hi Natalie,
you should try to make your components ready to be used in ListViews.
If you're chaining your models correctly, there's no why
ListView#setReuseItems(true) should be a problem.
Regards
Sven
On 04/16/2013 05:23 PM, N. Metzger wrote:
Ok, I understand the philosophy behind it.
My
Hi,
you'll have to add FormChoiceComponentUpdatingBehavior to your Check
components, so selection is sent to the server immediately.
Regards
Sven
On 04/16/2013 05:05 PM, dhongyt wrote:
Thanks again Sven.
I was able to implement the CheckGroup/Check functionality to the DataTable
in your own
collection.
Sven
On 04/16/2013 07:32 PM, dhongyt wrote:
Looks like it does save. I created an AjaxFormChoiceComponentBehavior on my
CheckGroup.
When I do the check on page one, go to page 2, and return the checks are
still there.
When I do the check on page one, go to page 2, and check
.
Hope this helps
Sven
On 04/16/2013 08:37 PM, dhongyt wrote:
Could you please explain the reason why we lose the CheckGroup from the
previous paging?
Is it because the CheckGroup is set on the first 50 and when going to the
next 50 it creates a new CheckGroup therefore losing the first
));
}
In your #onSubmit() iterate over all files and filter out the selected ones.
Otherwise I'd recommend using a CheckGroup and Check components for each
row.
See wicket-examples' CheckGroupPage.java (no DataTable used though).
Regards
Sven
On 04/15/2013 10:12 PM, dhongyt wrote:
I'm having
Wicket iterates all files anyway for rendering, so iterating them once
again to find the selected ones will be no problem.
If you want to keep selection across paging on your DataTable, you
should definitely look into using CheckGroup/Check.
Sven
On 04/15/2013 10:32 PM, dhongyt wrote
(validatable);
}
}
}
Sven
On 04/14/2013 10:28 AM, ajac2010-s...@yahoo.de wrote:
Hi,
i'd like to implement a 3-Field-Validator. This means if one optional field
in a form is set, two other fields become mandatory as well.
What's the best way to implement this?
My first thought was to use
Hi,
a Border should work fine here.
Are you using #add() and #addToBorder() correctly?
Regards
Sven
On 04/11/2013 05:04 PM, pureza wrote:
Hi,
I want to create a custom component with a repeater, where the markup for
each item in the repeater is specified by the users of the component
();
}
};
Regards
Sven
On 04/10/2013 03:56 PM, Patrick Davids wrote:
Hi together,
I'm in a discussion with my collegues about extracting models in
constructors of components.
Best practices says: DONT, because of accidently holding references of
extrated objects / out of mems / etc
later.
But you don't have to be overzealous about this. If it works for you,
it's fine.
Best regards
Sven
On 04/10/2013 05:54 PM, Patrick Davids wrote:
Thank you. :-)
Interesting concept...
Unfortunately still have the question:
Why is it recommended not to extract a given model (1
You're probably not wrapping the modal window in a Form, please read
ModalWindow's javadoc.
Sven
On 04/08/2013 10:38 PM, jarnis wrote:
Hey Guys
I'm using a panel inside wicket's native ModalWindow. The panel contains a
form with an AjaxSubmitLink. The onSubmit method of the form does some
Hi David,
the idea of #setDefaultFormProcessing(false) is to skip form processing,
thus textField doesn't write into its model.
What are you trying to accomplish?
Sven
On 04/07/2013 12:04 PM, david.li wrote:
Hi,the code like this:
form.add(new TextField(aaa,new PropertyModel(this, aaa
Sven
On 04/07/2013 03:54 PM, david.li wrote:
Hi,Sven Meier,I want to achieve the function like this:there are some
TextFields in the page.Some of TextFields need to check via the event
whether the value entered. so when user enter the value,then click the
button to verify the value.
how
See AutoCompleteBehavior on how to response with a non-ajax-response.
Sven
On 04/03/2013 07:14 PM, heikki wrote:
hello,
I've a question about using AbstractDefaultAjaxBehavior. I can succesfully
create some dynamic script that calls Wicket.Ajax.get(), and its respond()
is correctly invoked
Do you just want to display the json or do want to do something with it
in the browser?
Sven
On 04/03/2013 08:17 PM, heikki wrote:
thanks for your response, but I'm not quite sure what you mean.
How so is my response a non-Ajax response ?
I'd have thought that when doing an Ajax request
Wicket's default Ajax handling is for repainting of components.
As I have written, take a look at AutoCompleteBehavior#onRequest()
Sven
On 04/03/2013 09:52 PM, heikki wrote:
Eventually I'd probably do something with it other than only displaying it
:-)
So maybe my approach is not ideal
Hi,
the values of all form components are submitted, but only the ones from
the submitted nested form are processed.
See Form#wantSubmitOnNestedFormSubmit() and the tests in
NestedFormSubmitTest.
Sven
On 04/02/2013 12:40 PM, RalfButler wrote:
Hi there,
to my understanding the forms
Ah, you're not using any button components, so there's no way for Wicket
to know which form was submitted.
Sven
On 04/02/2013 01:48 PM, RalfButler wrote:
Thanks for the quick reply Sven! Still confusing to me; for
wantSubmitOnNestedFormSubmit() it says By default, this is false, so when
is always
display:none.
Using setVisible or using setVisibilityAllowed does not make any changes.
So your container disappears but does not show up again after setting it
visible?
Sven
On 03/28/2013 11:12 AM, Patrick Davids wrote:
Hi together,
I searched the web for several hours and always get
Please create a quickstart and attach it to a jira issue.
Sven
On 03/27/2013 06:41 PM, Tim Urberg wrote:
Hi Everyone,
I'm having an issue with HttpsMapper not switching to SSL when there
is no JSESSIONID cookie. It's happening with wicket-auth-roles when
the user goes to the home page
Hi,
an ajaxbutton submits the form, see its javadoc.
You probably want to use #setDefaultFormProcessing(false) on your button.
Sven
On 03/27/2013 03:43 PM, Entropy wrote:
I had an ajaxbutton to add selected items from a multiple choice control to
another multiple choice control. This worked
AjaxLink doesn't submit the form, thus no input for FormComponents.
Sven
On 03/27/2013 06:34 PM, Entropy wrote:
Thanks Sven, that was what I needed.
Just for my learning, why doesn't AjaxLink report the user input? If it is
not meant to, it doesn't seem to serve a purpose, so I have
LookupService is probably coming from another class loader than the
Wicket classes.
Any particular reason, why you're using Wicket 1.4.x?
The code to resolve the class on deserialization has been improved with
Wicket 1.5.x to use the current thread's context class loader.
Regards
Sven
Hi Josh,
a stacktrace would help to identify the problem.
Sven
On 03/26/2013 02:51 AM, jchappelle wrote:
We have just upgraded from wicket 1.5.4 to 1.5.10 and we are getting a
NullPointerException in the constructor of all the pages. It is happening
because our
final DropDownChoice struct = (DropDownChoice) orgPanel.get(StructureL);
This way you're breaking the encapsulation of orgPanel :(.
Why doesn't orgPanel offer the #onOfficeChange() hook in the first place?
Sven
On 03/25/2013 04:18 PM, Entropy wrote:
I am Eugene's co-worker. The entire
You can ignore it for now.
Thanks
Sven
On 03/17/2013 11:08 PM, Marios Skounakis wrote:
Did so - WICKET-5104 https://issues.apache.org/jira/browse/WICKET-5104
I still don't understand what the problem is. Despite the error things seem
to be working. Is it safe to ignore it, or should I find
It seems UrlValidator chokes on parantheses.
Please open an Jira issue.
Thanks
Sven
On 03/21/2013 04:33 PM, Teresa Batista Neto wrote:
Dear all,
One of our users got an error message when trying to add a new URL:
'http://en.wikipedia.org/wiki/Genus_(mathematics)' is not a valid URL
I just
Wicket Application Design
Point your colleagues to the components in wicket-core and
wicket-extensions:
Is there a global .js file or many component specific ones?
*After* you've experienced performance problems, you should look into
ResourceBundles.
Hope this helps
Sven
On 03/20/2013 09
this helps
Sven
On 03/18/2013 10:23 PM, Lucio Crusca wrote:
I'm trying to use CompoundPropertyModel in a form I dynamically create with a
RepeatingView. I use the CompoundPropertyModel#bind method to bind each input
tag to the corresponding java bean property.
Binding from java bean to html does
However I'm curious to know if a possible solution would be to create the
DetailPage instance inside the onClick method of the Link, so that it becomes
a local variable that gets collected asap.
Sure, that's perfectly fine.
Sven
On 03/19/2013 11:39 AM, Lucio Crusca wrote:
In data Tuesday 19
tableTree.getTable().add*Toolbar()
Sven
On 03/19/2013 05:09 PM, Ramin wrote:
Hi
TableTree has been moved to wicket-core now and both
addTopToolbar(AbstractToolbar abstractToolbar) and
addBottomToolbar(AbstractToolbar abstractToolbar)
has been removed from TableTree in Wicket-tree.
I
Hi David,
it's not clear to me where you need help here.
Sven
On 03/19/2013 07:35 PM, david.li wrote:
hello. I use the wicket tree component in my project.I bind the tree node
with the modelbean class。I wang the treenode display the modelbean value and
get the treenode key via the nodeclick
Seems like this is caused by WICKET-4959.
Please file a Jira issue.
Sven
On 03/15/2013 09:56 PM, Marios Skounakis wrote:
Hi all,
I am using a modal window as a substitute for messageboxes. E.g. I have a
few forms with an ajax submit button, and I am using the modal window to
first display
Use AjaxFormSubmitBehavior
Regards
Sven
On 03/15/2013 03:01 PM, M Kili wrote:
Hi,
I have a simple filter form for a table, currently with one textfield, to
which this behavior is added:
new AjaxEventBehavior(keyup) {
protected void onEvent(AjaxRequestTarget target
Hi,
you're probably using #setReuseItems(true) ?
Show us your #populateItem() please.
Sven
On 03/15/2013 07:04 PM, N. Metzger wrote:
Hi all,
I'm looking at a strange behavior of my PageableListView.
I have a PageableListView with an AjaxPagingNavigator within a
WebMarkupContainer. Recently
What does your FilterForm's model object look like?
Sven
On 03/15/2013 09:04 PM, Delange wrote:
I use a datatable with FilterColumn. I specially made a IntegerColumn. It
works fine, but if the user enters a blank or nothing the table is not
refreshed. I can see that the old value is used
You should set up your nested components with appropriate models.
See DateTimeField for inspirations.
Regards
Sven
On 03/11/2013 04:16 PM, Patrick Davids wrote:
Hi all,
I'm implementing a FormComponent which devides Date from Time in two
input fields.
It results in a simple Date Object
,
getAutocompleteRenderer()) {
Sven
On 03/10/2013 02:41 PM, grazia wrote:
I have a panel containing an autocomplete. The autocomplete contains its own
converter.
The model of the page that contains the autocomplete-panel should be updated
to the converted object of the autocomplete
Hi,
if you keep style.css in your web root, you'll have to remove the
wicket:link tag in your markup.
Otherwise AutoLinkResolver will think yoy're keeping the css beside your
component.
Sven
On 03/08/2013 03:17 PM, David Beer wrote:
Hi All
I am new Wicket and like what I have found so far
Hi David,
if your post was a question, I didn't understand it.
Regards
Sven
On 03/08/2013 05:15 PM, David Beer wrote:
Hi Sven
Thanks for this so it is better to add the css outside of the wicket:head
like you would with normal html pages. Is it possible to get the navigation
to go up a level
of their last rendering time and add themself to the ART
automatically after a configurable duration.
Our customer can live with the limitations of this solution: As long as
the user doesn't do anything, he won't see any updated data.
Hope this helps
Sven
On 03/07/2013 11:20 AM, Martin
A FormComponentPanel might help, implement #convertInput() to set the
model object to null.
Sven
On 03/05/2013 12:17 PM, pureza wrote:
Hi,
I have a form with a few inputs to fill-in Address information. When
creating the form I pass it an IModel.of(new Address()) and then I use
for two applications, each
having their own context and both sharing a common web context.
Sven
On 03/05/2013 01:18 PM, MG wrote:
You can try with different interfaces for the different beans, or by using
@
Qualifier
I don't think I understand what do you mean here.
Do you propose I should
suggested)
would a better solution.
Sven
On 03/05/2013 03:46 PM, pureza wrote:
Hi Sven,
Thanks for your reply. Your solution works, but unfortunately I have too
many optional fields and the resulting code feels kind of unnatural.
The way I applied your solution was by creating the TextFields
Wicket's form handling with let the textfields write their values to
their models first. FormComponentPanel#updateModel() is called after that.
Sven
On 03/05/2013 04:12 PM, pureza wrote:
Just let the textFields work on their models as usual.
I can't do that, because if I set the Address
Works fine here:
http://www.wicket-library.com/wicket-examples/ajax/autocomplete
Check whether your model contains null.
Sven
On 03/05/2013 04:58 PM, grazia wrote:
Hi !
My AutoCompleteTextField displays null when no selection has been made. I
tried setConvertEmptyInputStringToNull(false
Hi Luis,
a custom PropertyModel ... would you recommend against this?
models are one of Wicket's key selling points. If it works for you, go
for it :).
Sven
On 03/05/2013 06:40 PM, pureza wrote:
Sven,
I was somehow able to get the behavior I want by implementing a custom
PropertyModel
What does AllPersonnel's #toString() look like?
Sven
On 03/05/2013 05:23 PM, grazia wrote:
my difficulty is that I am using a compoundpropertyModel this way:
private final CompoundPropertyModelAllPersonnel personnelModel = new
CompoundPropertyModelAllPersonnel(new AllPersonnel
Write your own IConverter that converts ListTag to comma separated
string and vice-versa.
Sven
On 03/05/2013 02:20 AM, Stephen Walsh wrote:
I have an object that has a ListTag which is a simple object with a name,
id, etc. I'm attempting to use wicketstuff tagit, and my form has
Do you have unrendered feedback messages?
Override #onError() and see if it gets invoked.
Sven
On 03/01/2013 06:53 PM, Richard W. Adams wrote:
I created an AjaxSubmitLink in a FormComponent Panel, and set a break
point in its onSubmit() method. For some reason, the breakpoint never gets
hit
What is your problem?
Usually you would use FormChoiceComponentUpdatingBehavior on the RadioGroup.
Sven
david.li lxw_fi...@hotmail.com schrieb:
Hi,I am unable to apply ajax behavior to radio button.
there are two radio button in radiogroup.but when click month radio button,i
can't check
() {
public Customer load() {
return new Customer();
}
};
Note however that this creates a new Customer for each incoming request.
For simple forms this might be sufficient though.
Hope this helps
Sven
On 03/01/2013 07:40 AM, yka wrote:
Ok,
but what exactly does that mean?
And how can I avoid
Perhaps you have defined WicketFilter *and* a WicketServlet in your web.xml?
Sven
On 02/26/2013 04:51 PM, Tom Norton wrote:
We use the SpringWebApplicationFactory.
Tom
On Tue, Feb 26, 2013 at 10:26 AM, Sven Meier s...@meiers.net wrote:
How do you create your Application? Do you have
You're responsible to add all components to be updated to the ART, i.e.
in onError():
target.add(feedback);
Sven
On 02/27/2013 12:50 PM, Ondrej Zizka wrote:
Hi all,
I have a Form, with .setOutputMarkupId(true); and with:
a FeedbackPanel added to it.
a RequiredTextField
Connect via remote debugger and see which stracktraces trigger #setName().
Sven
On 02/27/2013 03:28 PM, Tom Norton wrote:
I only have WicketServlets. You see the WicketFilter in the stack trace
because the WicketServlet calls the WicketFilter logic.
And as I said, I haven't changed anything
How do you create your Application? Do you have a custom
IWebApplicationFactory?
Sven
On 02/26/2013 03:35 PM, Tom Norton wrote:
We're upgrading from Wicket 1.5.4 to 1.5.9. The upgrade runs fine on our
local development machines, which run WebLogic 11g. However, our staging
server, which
Hi,
could you compare your case with DropDownChoicePage from wicket-examples?
If I add #setNullValid(true) true the dropDown, it works as expected:
form.add(new DropDownChoiceString(site,
SITES).setNullValid(true));
Sven
On 02/25/2013 01:21 PM, venkat wrote:
Hi ,
Anyone please
like {@link #setRenderBodyOnly(boolean)} and
* {@link #add(org.apache.wicket.behavior.Behavior...)} should be
invoked on the {@link ListItem}
* that is given in {@link #populateItem(ListItem)} method.
* /p
Sven
On 02/24/2013 02:40 AM, Gonzalo Aguilar Delgado wrote:
Hello,
I think I found
());
// force reload
imagesGroupsModel.detach();
target.add(imagesGroupsForm);
}
};
listItem.add(deleteImagesGroup);
}
};
Can you spot the difference?
Sven
On 02/24/2013 08:12 AM, meduolis wrote:
This does not solves the issue.
Heres my code:
--
View this message
You'll need to apply the OSIV pattern for that.
Sven
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Loadable-non-detachable-list-model-for-listView-tp4656216p4656734.html
Sent from the Users forum mailing list archive at Nabble.com
That should work.
Which Wicket version? Is this rendered on an Ajax request?
Sven
On 02/22/2013 05:07 PM, Martin Dietze wrote:
I've implemented a live search functionality where after
changes the search results get displayed in a flyout menu.
In the search results I add a css class
examples:
IModelString model = model(from(a).getB().getStrings().get(key));
new LazyColumnA, B(header, from(A.class).getB());
Read more here:
https://github.com/wicketstuff/core/wiki/LazyModel
Have fun
Sven
Since a Wicket WebPage has it's constructor invoked only one time in the
application lifecycle
Usually a new page instance is created each time you visit a bookmarkable url.
WebPages are never shared between clients.
Sven
On 02/18/2013 06:47 PM, Michael Chandler wrote:
Good morning
You can override Label#initModel():
protected IModel? initModel()
{
return new DefaultTextModel(defaultModel, super.initModel());
}
A simpler solution is to override Label#onComponentTagBody() and just
apply your default text there.
Sven
On 02/19/2013 06:29 AM, Ondrej
You could add a custom Behavior to your FormCompoments. Let this
Behavior implement IValidator and it will get notice of a form submit
via #validate().
Hope this helps
Sven
On 02/14/2013 07:05 AM, Alex wrote:
Hi. I have AjaxFallbackButton on the form with defined onSubmit handler.
There also
Use AjaxFormSubmitBehavior with #setDefaultProcessing(false).
Sven
On 02/15/2013 11:01 AM, Gonzalo Aguilar Delgado wrote:
Hello,
We have just a situation were the information of the form needs to be
updated before handling an ajax click event.
The page has a form, with a bean and some
been proposals already on how to improve this, see
WICKET-1826 and WICKET-3404 for inspirations.
Hopefully this is something we can address in Wicket 7 (i.e. this won't
be possible without API breaks).
Regards
Sven
On 02/15/2013 11:51 AM, mwwbf wrote:
Hi Everyone,
I'm using ModalWindows
#onConfigure() would be a good place to preselect something.
Sven
On 02/15/2013 05:21 PM, prasopes wrote:
I know I can preselect the value of DropDownChoice by setting the
corresponding value in the model.
My use case is this: I have several DropDownChoice with
OnChangeAjaxBehaviors
You are so f***ing smart :)
Sometimes :P.
Sven
On 02/15/2013 04:43 PM, Lucio Crusca wrote:
In data Thursday 14 February 2013 12:59:05, Sven Meier ha scritto:
Then the DropDownChoice should work fine.
Try to create a quickstart please.
You are so f***ing smart :)
The quickstart just
OpenSessionInView)
https://issues.apache.org/jira/browse/WICKET-4353 might give you more
information.
Best regards
Sven
On 02/14/2013 12:01 PM, Ernesto Reinaldo Barreiro wrote:
I don't know if this has anything to do... but make sure
class StreetAddress implements equals
On Thu, Feb 14, 2013
Then the DropDownChoice should work fine.
Try to create a quickstart please.
Sven
On 02/14/2013 12:53 PM, Lucio Crusca wrote:
In data giovedì 14 febbraio 2013 12:21:58, Sven Meier ha scritto:
On 02/14/2013 12:01 PM, Ernesto Reinaldo Barreiro wrote:
I don't know if this has anything to do
This I think is an error... as if eval fails... processing should continue.
Shall I create an issue for this?
Please create an issue for Wicket 6 (or 1.5.x). As you know, 1.4.x doesn't get
bug fixes any longer.
Sven
On 02/13/2013 10:25 AM, Ernesto Reinaldo Barreiro wrote:
Hi,
On Wed, Feb
Hi,
#convertInput() should not modify the current model object, because form
submission might still fail with a conversion error on another field.
Pushing the new input in the FormComponent's model is done later in
#updateModel().
Hope this helps
Sven
On 02/13/2013 03:33 PM, Richard W
How do you remove the option? Show us some code.
Sven
On 02/13/2013 08:22 PM, divad91 wrote:
More precisely, removing an option of a dropdown list with Internet Explorer
(IE7 - IE8) triggers the Wicket Onchange Behavior.
Any workaround too avoid this ?
--
View this message in context
Hi,
your code didn't come through with you initial post.
Regretfully I don't have an idea what's going wrong here: Removing an
option via Javascript shouldn't trigger any change event handler.
Sven
On 02/13/2013 08:56 PM, divad91 wrote:
The code is in my first post at the end.
With jQuery
Sure, with #getMarkup() you can get hold of the component's markup. With
a MarkupStream you can iterate over it.
Sven
On 02/10/2013 10:23 PM, Michael Jaruska wrote:
again with my question: is it possible to get markup in onRender() of
the component?
have found this article:
https
See BorderBehavior#beforeRender(Component) on how to iterate over the
markup.
Sven
On 02/10/2013 11:09 PM, Michael Jaruska wrote:
my quick test:
@Override
protected void onRender()
{
super.onRender();
System.out.println(this.getMarkup().toString());
}
get me just top-level tag in my
901 - 1000 of 1557 matches
Mail list logo