Looking at your datepattern you should be using LocalDate instead of
DateTime, as you don't have a time or a timezone anyway. IMVHO this should
solve all your problems.
--
View this message in context:
http://www.nabble.com/Converter-Problem-tp24378227p24391721.html
Sent from the Wicket - User m
I'm looking to make an improvement to the generic busy indicator. I believe
the showBusysign() script should also be triggered by the onchange method of
choice components (non ajax) with wantOnSelectionChangedNotifications set to
true. Any idea's how to tackle this?
I am currently facing an issue for which I would appreciate the input of
more experienced wicket developers. As they are sparse in the company I work
for I turn to this mailinglist.
I have in my implementation a classic master-detail page. The master part is
a RefreshingView, the detail view is a
Thanks Igor,
But I would really like to avoid the extra methodcall everywhere I change
the modelobject, especially if it means exposing the form outside of the
Panel. I'm looking more for a solution that allows the panel/form to detect
whenever someone else has changed its model. This way the rest
Thanks Martin,
You're right, a Model that calls ModelObjectChangedListener is basically
what I am looking for, but I don't think it exists. I'll write one myself,
but I just wanted to check first to make sure I wasn't reinventing the wheel
or missing something obvious.
Kind regards,
Stijn
2010/
super.onModelChanged()
> }
>
> Your form is still managed by your detail panel only.
>
> kind regards
> Janning
>
> On Tuesday 05 January 2010 11:03:59 Stijn Maller wrote:
> > Thanks Martin,
> >
> > You're right, a Model that calls ModelObjectChangedListene
ds,
Stijn
2010/1/5 Stijn Maller
> Hi Janning,
>
> That's definately better then exposing the form, but it still makes me have
> to insert an extra methodcall everywhere I update the modelobject. Here's
> what I implemented a couple of seconds ago and it seems to be doi
Why not upgrade to 1.3.7? AFAIK there shouldn't be any differences in API or
functionality between 1.3.4 and 1.3.7, so you might as well benefit from the
other bugfixes as well. It's only if you should decide to upgrade to the 1.4
releases, that you will have to do some coding. (And even that shoul
I assume you're actually talking about stubbing rather then mocking. Mock
frameworks belong more in unit testing then in integration testing.
If you are in fact talking about stubs then Ilja is right, just use a
different applicationContext to inject the stubbed version of your
validation service.
Hmmm, I seem to have inserted that "Hi Liam" in entirely wrong place! Hope
it doesn't distract you from the content of the message though ;o)
2010/1/8 Stijn Maller
> I assume you're actually talking about stubbing rather then mocking. Mock
> frameworks belong mo
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/AbstractSingleSelectChoice.html#setNullValid%28boolean%29
Kind regards,
Stijn
2010/1/8 Norman Elton
> I'm using a DropDownChoice to select one of a number of items loaded
> from my DAO:
>
> DropDownChoice train_drop_down = new
I can if others agree that this is an accepted approach to tackle the
problem.
It's not because it was working for me that it's automatically suitable as a
recommendation to everyone using wicket. :o)
2010/1/5 Steve Swinsburg
> Good stuff, can you put this up on in Confluence with some code samp
InjectorHolder.getInjector().inject(this);
2010/1/11 smallufo
> Hi
>
> Do you mean override newRequestCycle() in WebApplication , and in the
> returning WebRequestCycle, override onBeginRequest() ?
>
> If so , how do I inject spring beans into Application ?
> The SpringComponentInjector is injec
Simply WOW! What's not to like? :o)
Just out of interest, did you use WiQuery?
2010/1/12 Daniel Frisk
> Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to be
> released. What do you think so far?
>
> http://jalbum.net/beta/camelot/
>
> // Daniel Frisk
> jalbum.net
>
>
> -
It's a cool feature, but would be much more useful if:
1) You could stop/start the scrolling (maybe even set the pace)
2) You could actually link through to those albums and see them
2010/1/12 Daniel Frisk
> Damn, you found one of the few remaining jsp-pages :-)
> The map scrolls around to show
Just use http://your.other.site"";> instead of a wicket form
component, good old html... :o)
2010/1/13 Afsaneh Abouie
> Hello everyone,
> I want to post my form to an external and non wicket site and as I read in
> mail list, it can be done with ajax but my form and panels are stateless so
> I
Or you could do that... :o)
Depends on who has to treat the response from the external site. Your
Server? Or Your client?
2010/1/13 Ernesto Reinaldo Barreiro
> I haven´t tried it myself but can´t you use
>
> WebRequestCycle.get().setRequestTarget(new
> RedirectRequestTarget("URL..."));
>
> Ernes
In the form's onSubmit() handler you can use findSubmittingButton() for your
check instead.
2010/1/13 Sumit Raja
> Hi,
>
> Beginner question with Form handling: I have a panel that accepts name
> value
> pairs in text fields.On the form there is an ajax button to add a value, an
> ajax button to
This is how it's supposed to work. ClearInput will only clear the user
input, not the model.
I think it will all become clear once you have written you first form that
updates an existing modelobject with validation on the new inputvalues, but
that's clearly not required for your use case here.
2
Doesn't help with your date picker problem, but to set the application-wide
format you can call this in your application's init method:
((ConverterLocator)getConverterLocator()).set(Date.class, new
PatternDateConverter(DATE_PATTERN, true))
On 5 February 2010 09:25, Josh Kamau wrote:
> Hi guys;
Sorry to come back to this old issue, but we are struggling with it too and
unfortunately the solutions mentioned do not seem to work for us. Our app
already specified the doctype for html 4, and I also tried the html 5
doctype after reading your mails, but to no avail.
Our page is being rendered
I think there is a bug with page expiry in wicket 1.5 but I wanted to
quickly check on the list before making a JIRA issue. I have made a
quickstart where the sessions expire after 1 minute. In the application is
just a simple page with some state, 1 label that displays the state and 1
link that ch
I'm a bit late in responding so I don't know if this is still useful to
you, but here is how we solved your requirement in our project. I'd still
like to find a more elegant approach, but it is the least intrusive
approach I could come up with and it sure beats the bazooka one. (which
could really
Alexander,
I'm facing the same issue and I'm convinced it is a bug.
When a FileUploadField in a nested form causes an error, then:
- The ErrorMessage is registered on the outer form (instead of the inner
form)
- The outer form's onError method is called (instead of that of the inner
24 matches
Mail list logo