unusable
except on a dedicated form (i.e. a form used only for uploading files). In
that case, I'm better off manually validating upload size.
On Tue, Jul 20, 2010 at 5:13 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Tue, Jul 20, 2010 at 1:22 PM, Ray Weidner
ray.weidner.develo
separate form. Is this supposed to be standard practice?
On Wed, Jul 21, 2010 at 2:25 AM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
I haven't done that before, so I'll have to figure out how to do it.
Thanks for the adviceI'll look into doing that, because I have seen
Hi all,
I have what I would think to be a fairly common usecase that I'd like to
solve. I have a form with a model that is a LoadableDetachableModel wrapped
in a CompoundPropertyModel. I wouldn't expect that to be unusual. However,
when a form submit is failing validation for , all changes to
at 2:59 AM, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Tue, Jul 20, 2010 at 1:55 AM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Hi all,
I have what I would think to be a fairly common usecase that I'd like to
solve. I have a form with a model
Back to the original question, when you say all changes to the form
are lost - do you mean that the form rerenders with absolutely no values
filled out? Only the fields that failed conversion or validation should be
blank.
See, that throws me off, too. Yes, the supposedly valid fields are
...@wickettraining.com wrote:
If you need to validate after the data has been pushed to the model, then
just validate in the onSubmit and call error on the individual components
for the form. Leave the form validator out of it.
On Tue, Jun 29, 2010 at 11:03 PM, Ray Weidner
ray.weidner.develo
Thanks, Igor, I now see the methods you are talking about, and your
explanation makes perfect sense.
On Tue, Jun 29, 2010 at 1:16 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
On Mon, Jun 28, 2010 at 9:27 PM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Hi all,
The application
(fieldName)) { Component field = theForm.get
(fieldName); if (field != null) { field.error (fieldErrorMessage); } else {
theForm.error (fieldErrorMessage); } } } return false; } }*
On Tue, Jun 29, 2010 at 10:29 AM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Thanks, Igor, I now see the methods
my actual error strings, so how do I skip around the
resource logic to just set the error message?
- What should I do with my generalErrorMessages, which aren't tied to
any specific field?
Any help would be appreciated, thanks!
Ray Weidner
I haven't had any success storing anything other than Strings in
PageParameters objects. It makes sense, since these are supposed to
represent bookmarkable (i.e. GET) parameters. If you're hoping to throw
arbitrary Maps into a PageParameters, you're going to be disappointed. But
if you have an
, Jun 16, 2010 at 1:17 AM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Hi all,
Forgive my ignorance if this is too obvious. I'm using DefaultDataTable
to
display search results, and that's working fine. What I'd like to do is
make each row of the table a hyperlink to the view
Hi all,
Forgive my ignorance if this is too obvious. I'm using DefaultDataTable to
display search results, and that's working fine. What I'd like to do is
make each row of the table a hyperlink to the view/edit page of the record
in question. How can I do this?
I was able to add links to a
as expired,
while reloading others.
So how can I do this? And why are stale pages now showing up as expired in
the first place, when previously, reloading a stale page worked fine?
Ray Weidner
Nobody seems to have mentioned it, but I have been developing with Eclipse's
Dynamic Web Projects, and it has greatly shortened my development cycle from
when I was loading the project into Tomcat through the manager web
interface. Basically, a DWP is able to run the server itself, and it
I have a question about how to approach a certain kind of problem. Let me
first explain what I'm doing, and then what the problem is with that.
For the web app I'm creating, a user can, using a web form, edit data which
is backed by a model that fetches the persistent object being modified.
Hi All,
Does anyone have any good suggestions for date/time entry components? Does
Wicket offer a standard solution for this common case?
Thanks,
Ray Weidner
file (the key of the component).
And date defined in java like :
private Date date = new Date();
2010/4/19 Ray Weidner ray.weidner.wic...@gmail.com
Hi All,
Does anyone have any good suggestions for date/time entry components?
Does
Wicket offer a standard solution for this common case
advice is much appreciated.
Thanks,
Ray Weidner
ben rhouma
benrhouma.m...@gmail.comwrote:
Try to change the type of selectedParties from set to List selectedParties
= new ArrayList();
2010/4/19 Ray Weidner ray.weidner.wic...@gmail.com
Hi All,
I'm trying to do something pretty simple: create a choice list with
multi-select, which I
Hi,
I'm pretty new to Wicket and trying to get a better understanding of how
models work. That's probably why this is such a tricky problem for me.
On my site, users are submitting a form for a new Issue to be created. One
of the fields of this Issue is affectedParties; in the data model, this
you're
returning in #getObject().
Either you should return a copy of your collection in #getObject() or just
do nothing in #setObject(). Your current call to #clear() is effectively
clearing the new selection (i.e. affectedParties and arg0 are identical).
Regards
Sven
Ray Weidner wrote
21 matches
Mail list logo