The interesting part is not visible in your source,
the Method: vehicleTypeModel(position)
You could use some kind of readOnlyModel here -> Please check
ReadOnlyPropertyModel for example.
regards
Martin
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-a-TextField
https://issues.apache.org/jira/browse/WICKET-4112
I will provide a patch this evening.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startComponentInPage-and-tester-assertModelValue-tp3874269p3877347.html
Sent from the Users forum mailing list archive a
Hi,
I have a rather strange behavior, and I don´t know what I´m doing wrong.
Before I open a Bug, I would like to hear some opinions, why this works this
way.
I try the following (in Pseudocode):
tester = new WicketTester();
tester.startComponentInPage(new Label("test","hello");
tester.assertMo
Hi,
sure I can, I just wanted to make sure, that I haven´t overseen
an already implemented solution.
Thank you Martin.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp3871781p3874199.html
Sent from the Users forum mail
Hi,
in 1.5 the Method toRequestParameters in class PageParameters, which returns
all Parameters as Map is gone, what to use instead?
Thanks
Marti
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp387178
ah there you go, got it.
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850659.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I´m just upgrading a quire large Application to Wicket 1.5.
I just saw that the Method
public final Panel startPanel(final ITestPanelSource testPanelSource)
is marked deprecated with the hint:
@deprecated since 1.5 use {@link #startComponentInPage(Class,
IMarkupFragment)} instead
But that
Congratulations, it's a Wicket!
Great work!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-releases-Wicket-1-5-tp3797412p3799758.html
Sent from the Users forum mailing list archive at Nabble.com.
hi,
well could it be that you keep some references to the panels somewhere?
Maybe in the Session?
References to Componentes are garbage collected as every other class as soon
as no reference
to them is available to the GC.
Regards
Martin
--
View this message in context:
http://apache-wicket.
It´s not as if I have a choice, whether this requirement should be
implemented or not:(...
I´m not a big ajax fan, i like the application the way it is today, but ajax
is hype today,
and every customer wants more of it...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.c
Hi James, yes, thats exaclty what I meant.
The Problem is, we have an existing infrastructure, that depends on pages.
The idea to change everything to a "setResponsePanel"-Method seems to be
very good, I think we could realize that very cheaply, thanks for the hint!
Would that be something that
Hi,
i have a general question,
we have an exisiting application, that now needs to be ajaxified (no page
reloads etc..).
This has never been a requirement, so the application is not prepared at all
for this.
The biggest problem we see is that we have many different pages, but how
shall we do page
I Got mine today,
well done and thank you for all the great work!
Regards
Martin
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3445604.html
Sent from the Users forum mailing list archive at Nabble.com.
-
hi,
omg, thank you for the hint on variations, i did not know it could be so
simple!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313461.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
why dont you just extend your Panel and just add another Markup?
The extended Panel doesnt do anything, but can have another Markup. We
have done this often.
Regards
Martin
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3
Hi,
some days ago, I experimented with exactly the same usecase (letting
webdesigners place components on a Wicket Page), i wrote a small BlogEntry
(unfortunately in German, but maybe Google could translate).
http://splitshade.wordpress.com/2011/01/27/wicket-markup-komponenten-braucht-man-das/
well,
attaching a validator to a specific id could possibly work, but this is not
very usable, because thus i would need to know about the internal structure
of a component.
But i do not have any better idea either, so thanks for the hint!
--
View this message in context:
http://apache-wicket.
Hi,
a general Question, and I am interested in how you would solve that?
I have a couple of form elements, that I want to submit.
I send some values to a backend and get an error code back - say an Enum
with errorcode and Message "Error, User-ID already registered".
What I want to do now is, i
Hi,
we just upgraded from 1.4.9 to 1.4.10 and the error seems fixed, although i
cant find something in the release notes, but thank you for your help!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2991641
Hi,
yes exactly.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2989706.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi,
i have spent some time researching this strange behaviour.
I have a Page with some Panels, that contain DropDownChoices.
These Panels are initially disabled on the Page.
If a validationError occurs on this page, ALL dropdownchoices that are in
disabled panels
lose their values.
Is this a k
hi, wow, this is great, thank you so much!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Enable-FormFields-on-Error-tp2966341p2967462.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi All!,
we have a Problem here.
We have a Page, where lots of Panels are added.
These Panels should be individually enabled, as soon as a ValidationError is
available for one of them.
We have overridden isEnabled() for all Panels to return true, whenever an
Errormessage is registered for a Panel
Hi,
ok, that sounds pretty good...
If that is not uncommon to do, I'll try that.
I'm really impressed, how fast you helped me here, thank you very much!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Inter-Component-Validation-or-how-to-marry-two-strangers-tp2550
Hi again,
well, i think the validator would be applied to the form, to which both
panels are added, but you are right, there is nothing that is aware of both
components (or more exactly on the inner components of the panels).
Model-Validation sounds good, but the Model itself is updated after
va
Hi,
thanks for the reply,
well.. good question, this would propably be the validator, i need to check
the validity of the personal data fields before the form gets submitted.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Inter-Component-Validation-or-how-to-marry-
Hi,
this seems a rather simple question on the first sight, but I can't seem to
find a clean solution to this.
Image you have a Panel A that allows the User to input his Passport-Data,
further image you have another Panel B, that allows you to input the
Personal Data (like Birthday), now image
27 matches
Mail list logo