/mod_mbox/wicket-users/201301.mbox/%3c1358755750041-4655560.p...@n4.nabble.com%3E.
Could you tell me what's the best way of achieving this?
Thank you,
Luis Pureza
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-with-position-fixed-tp4668713.html
Sent
Sorry, I can't. It is way too much code and, as I said, I can't reproduce the
issue, so if I simplify the code it might go away.
I was just wondering if there is a simple way to make a
stateful-StatelessForm to produce the wrong behavior.
--
View this message in context:
Dear Wicket users,
I believe I have found the cause of a long standing issue in my application.
Basically, a form would submit with everything set to null or the default
values even when the user filled in all the information. The problem is that
this only happened once in a while and I was never
Nevermind, I think I got it.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormChoiceComponentUpdatingBehavior-CheckGroup-and-CheckGroupSelector-tp4641921p4667773.html
Sent from the Users forum mailing list archive at Nabble.com.
Martin Grigorov-4 wrote
I'd write a custom selector that changes the checkboxes's state to
'selected' and then uses ajax to make a batch update.
Hi,
Could you expand on this, please? I have the exact same problem.
Thanks,
Luis Pureza
--
View this message in context:
http://apache-wicket
Hi,
I have a form with a cancel button with type=submit as suggested here:
https://cwiki.apache.org/confluence/display/WICKET/Multiple+submit+buttons.
Since version 6.10.0, Wicket adds the HTML5 required attribute which causes
the browser validation to fail when the user clicks the Cancel
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-10-required-attribute-and-cancel-buttons-tp4661191p4661193.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
Hi,
I've fixed this. It seems I forgot to call #setReuseItems(true) in a
ListView :-)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Nested-forms-error-messages-of-the-inner-form-now-showing-up-tp4658166p4658202.html
Sent from the Users forum mailing list archive
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 because
the #onError() method of the inner form is being called. It is as if Wicket
creates a brand-new, error-free, inner form after the page refreshes.
Is
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, not in
its internal definition.
That is, the internal markup of the component looks like this:
And the component is used with:
So, for each
I don't think a Border should work, because the Border constructor calls
addToBorder(body), but I want my body to be added to each of the list items,
not to the border itself.
Anyway, I'm using #addToBorder() to add the button and the menu.
--
View this message in context:
I managed to make it work by using panels and fragments.
Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Component-containing-a-repeater-with-customizable-item-markup-tp4657895p4657899.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I am using a bootstrap dropdown
(http://twitter.github.io/bootstrap/javascript.html#dropdowns) and I want
its submenu to load only when the user clicks the dropdown, because its
contents are expensive to retrieve.
To be more concrete, this is the behavior that I'm looking for: when the
user
Thanks, that did it!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Loading-the-contents-of-an-expensive-panel-asynchronously-tp4657864p4657870.html
Sent from the Users forum mailing list archive at Nabble.com.
? Is there a nice way of defining application-wide validation
settings?
Thanks,
Luis Pureza
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Draft-mode-validation-tp4657252.html
Sent from the Users forum mailing list archive at Nabble.com
I just found out about Form.findSubmittingButton(). That should do it, but if
you know of any better way, please let me know :-)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Draft-mode-validation-tp4657252p4657253.html
Sent from the Users forum mailing list
like to
save NULL to the database, instead of the empty Address instance.
Any ideas on how to achieve this?
Thanks,
Luís Pureza
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Persisting-optional-fields-null-vs-empty-object-tp4656979.html
Sent from the Users forum
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 without any
model (or with an empty model, to be precise). Then, convertInput()
Just let the textFields work on their models as usual.
I can't do that, because if I set the Address to null the textfields will
try to update fields of a null object.
--
View this message in context:
Thanks Martin, I had just found
https://issues.apache.org/jira/browse/WICKET-2420 before reading your reply!
I guess that clears things.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upload-file-and-display-its-contents-using-AJAX-tp4654473p4654510.html
Sent from
Hi,
I need to upload a file, parse it and display its contents inside a
textarea, all this using ajax.
At first I tried to use jquery-file-upload, and I was able to upload the
file to an IResource as explained at
http://wicketinaction.com/2012/11/uploading-files-to-wicket-iresource/.
However, I
Nick,
As I said on my previous email, I can't access the file contents within an
AjaxBehavior, because FileInputField.getModelObject() is always null (maybe
I'm not setting it up correctly when I instantiate the FileInputField?).
--
View this message in context:
Hi again,
I was able to get the desired result by putting an AjaxButton on the form
containing the input type=file component. So, the user selects a file,
presses submit and everything works.
However, I'd prefer if the upload would start immediately after the user
selects a file. Can I get rid
Hi Martijn,
Thanks for your reply. I am currently using wicket-shiro. Do you know if it
is possible to mix auth-roles and wicket-shiro in the same project?
Regards,
Luis
--
View this message in context:
Hi,
How can I prevent access to certain pages (such as the sign-in page or the
account creation page) for logged-in users?
Right now I'm just adding a check to every such page and redirect to another
page if the user is signed-in, but I'd like to know if there is a cleaner
solution.
Thanks
Hi Michal,
In the end I opted for shiro instead. Much simpler and does everything I
need.
See this:
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/shiro-security/
--
View this message in context:
on this?
Thanks!
Luis Pureza
27 matches
Mail list logo