afaik both of these should already support isrequired
-igor
On 1/10/07, jan_bar <[EMAIL PROTECTED]> wrote:
Hi,
it would be nice if setRequired(true) works on RadioGroup or
DropDownChoice
and similar controls. For instance, radio group with initial state that
has
no radio "checked", user is r
alrighty
the problem is in page.renderpage()
// First, give priority to IFeedback instances, as they have to
// collect their messages before components like ListViews
// remove any child components
visitChildren(IFeedback.class, new IVisitor() {...
((
On 11/15/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
could you attach the proper index.java or the quickstart?
Oops, you're right. I attached the wrong file.
Here is the complete zip again.
-igor
On 11/15/06, Erik Brakkee <[EMAIL PROTECTED] > wrote:
>
> On 11/14/06, Igor Vaynberg <[EMAI
could you attach the proper index.java or the quickstart?
-igor
On 11/15/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
On 11/14/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> just rename the .zip into .iamzip :)
Ok, didn't think of that.
Anyway, what do you think of the example. Is it a va
you dont gotta tell me, i guess they are trying to prevent the spread of
viruses or some such.
you could just use a better zip, i dont think they block rars
-igor
On 11/15/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
On 11/15/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
>
> On 11/14/06, Ig
On 11/15/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
On 11/14/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> just rename the .zip into .iamzip :)
thats a bit stupid that you have to do that by the way.
johan
-
Take Sur
On 11/14/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
just rename the .zip into .iamzip :)
Ok, didn't think of that.
Anyway, what do you think of the example. Is it a valid example or am I
solving the problem in the wrong way?
-igor
On 11/14/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
>
just rename the .zip into .iamzip :)-igorOn 11/14/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
On 11/13/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:> why dont you create a quickstart so one of the devs can walk the code and> see what is going on(second try, the mailing list does not like zip files)
On 11/13/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> why dont you create a quickstart so one of the devs can walk the code and
> see what is going on
(second try, the mailing list does not like zip files)
And, I have... .
Take the wicket 1.2.2 quickstart application and unzip the archive
int
why dont you create a quickstart so one of the devs can walk the code and see what is going on-igorOn 11/13/06, Erik Brakkee <
[EMAIL PROTECTED]> wrote:If I understand correctly, this explains the problem but does not
solve it. Anyway, I have a simple workaround to display the message asa Label or
If I understand correctly, this explains the problem but does not
solve it. Anyway, I have a simple workaround to display the message as
a Label or some other component, overriding getModel() to return the
appropriate information. That way I am certain that I am seeing the
correct results.
All it
These methods were introduce specially for situations where you have
to render messages at some other page than the current. The messages
are deleted right after they are rendered. Try it, I think it solves
your problem.
Eelco
On 11/9/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> No I didn't bec
No I didn't because the scope of the messages is of the page only. What would be the correct point in the lifecycle of the page to use warn(), info(), or error()? Apparently I am too early in invoking these methods.
On 11/8/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Did you try info/warn/error
Did you try info/warn/error on Session?
Eelco
On 11/8/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> I am still stuck with this problem. What I try to do is to use info(),
> error(), and warn() to add messages to the page, and I want to do this
> as soon as another page returns to my pa
Hi,
I am still stuck with this problem. What I try to do is to use info(),
error(), and warn() to add messages to the page, and I want to do this
as soon as another page returns to my page using
setResponsePage(pageObject). Somehow, the messages I set in onAttach()
or
onBeforeRender are lost.
An
it is still the same as the TypeValidator we had before:"TypeValidator" + "." + Classes.simpleName(type)So TypeValidator.DoubleOn 7/24/06,
Renaut, Jonathan E CTR DISA GIG-CS <[EMAIL PROTECTED]> wrote:
I need to check that the entry in a text field is a double. I see that NumberValidato
We have a lot of standard validation classesfor the basic types the all start with the basic type name:NumberValidator or DateValidatorthose validators do all standaard stuff (min,max or range) and yes the property files are still used. And the are explaind in the javadoc:
* If that is not the cas
t-user@lists.sourceforge.net
Subject: RE: [Wicket-user]
Validation
That is great.
However our client has
some specific requirements towards the look of the selectbox and of course
texts needs to be changed to our locale, I guess this is not possible without
modification or extension of the p
?
-regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 27. marts 2006 11:16
To:
wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user]
Validation
That is great.
However our client has
some specific requirements towards the look of the
@lists.sourceforge.net
Subject: Re: [Wicket-user]
Validation
yes, the palette takes
care of everything for you. thats the point of encapsulation :)
check out component reference in wicket examples for 1.2
-Igor
On 3/27/06, Nino
Wael <[EMAIL PROTECTED]>
wrote:
Well, because it was th
TECTED]] On Behalf Of
Igor Vaynberg
Sent: 27. marts 2006 10:10
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
Validation
why are you doing a round
trip when you press > and < ? you can do this all nicely via some very
basic _javascript_. see Palette component in extensi
do
that for me?
-Regards Nino
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: 27. marts 2006 10:10
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
Validation
why are you doing a round
trip when you press > and < ? you
why are you doing a round trip when you press > and < ? you can do this all nicely via some very basic _javascript_. see Palette component in extensions, it does exactly what you want and more.-Igor
On 3/27/06, Nino Wael <[EMAIL PROTECTED]> wrote:
Hi
Might be me which has'nt been
use a regexp see PatternValidator.johanOn 3/22/06, ketan gote <[EMAIL PROTECTED]> wrote:
hi
i am looking for validation of the username wich will take only character's.
wating for reply...
ketan
TED]> wrote:> >> >> > I wonder if mine are blowing up because I've added ChoiceRenderers...
> >
> >> > > From: Johan Compagner [mailto:[EMAIL PROTECTED]
]> > Sent: Thursday, March 09, 2006 9:06 AM> > To:
wicket-user
__> From: Johan Compagner [mailto:[EMAIL PROTECTED]
]> > Sent: Thursday, March 09, 2006 9:06 AM> > To:
wicket-user@lists.sourceforge.net> > Subject: Re: [Wicket-user] Validation of SingleSelectChoice components
> >> >> >> > If you add a
onder if mine are blowing up because I've added ChoiceRenderers...
> >
> >> > > From: Johan Compagner [mailto:[EMAIL PROTECTED]
]> > Sent: Thursday, March 09, 2006 9:06 AM> > To:
wicket-user@lists.sourceforge.net> > Subject: Re: [Wicket-user] Validation of SingleS
_> From: Johan Compagner [mailto:[EMAIL PROTECTED]]> > Sent: Thursday, March 09, 2006 9:06 AM> > To:
wicket-user@lists.sourceforge.net> > Subject: Re: [Wicket-user] Validation of SingleSelectChoice components> >> >> >> > If you add a required validator to
AIL PROTECTED]
> > Sent: Thursday, March 09, 2006 9:06 AM
> > To: wicket-user@lists.sourceforge.net
> > Subject: Re: [Wicket-user] Validation of SingleSelectChoice components
> >
> >
> >
> > If you add a required validator to the radiochoice doesn't that work if
> you d
lto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 9:28
AMTo: wicket-user@lists.sourceforge.netSubject: Re:
[Wicket-user] Validation of SingleSelectChoice components
what does a choicerenderer have to do with a required
validator?johan
On 3/9/06, Bennett,
Timothy (JIS - Applications) &
t: Thursday, March 09, 2006 9:06
AMTo: wicket-user@lists.sourceforge.netSubject: Re:
[Wicket-user] Validation of SingleSelectChoice components
If you add a required validator to the radiochoice doesn't that
work if you don't select anything?A dropdown is can be tricky because
I wonder if mine are blowing up because I've added
ChoiceRenderers...
From: Johan Compagner
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 9:06
AMTo: wicket-user@lists.sourceforge.netSubject: Re:
[Wicket-user] Validation of SingleSelectChoice components
If yo
If you add a required validator to the radiochoice doesn't that work if you don't select anything?A dropdown is can be tricky because there is most of the time a selection.So if the value of that is "" then required should also work fine. And by default our nothing selected
values are "" so then th
yes, that is a bug
Juergen
On 11/8/05, Ingram Chen <[EMAIL PROTECTED]> wrote:
> I check out latest CVS HEAD, but find strange behavior:
>
> If a MyPage.properties as below:
>
> RequiredValidator = ${label} is required
> myForm.bookId = Book ID
>
> then validation message work well and is "Book ID
It works on my side. I created unit tests and I think they are ok. I
enabled logging for the package and it doesn't happen. I tested the
formInput example and it works without changes. Did you update
AbstractValidator as well?
Juergen
On 11/7/05, Sven Meier <[EMAIL PROTECTED]> wrote:
> Hello Juer
Hello Juergen,
maybe it shouldn't - but currently it does ;).
I debugged the new algorithm of ComponentStringResourceLoader today. As
I already suspected, the id of the validated component is duplicated in
the prefixKey, since both DefaultValidatorResourceKeyFactory and
ComponentStringResour
It shouldn't. I guess the important point is that
ComponentStringResourceLoade does not get the FormComponent (text1)
You don't start looking for text1 in the formComponents properties
file, do you? You start with the parent component containing text1. A
key text1 expresses that text1 is a child of
Hello Juergen,
I've taken a short look on your code in the CVS :
DefaultValidatorResourceKeyFactory.java:
* public* String newKey(IValidator validator, FormComponent formComponent)
{
*return* formComponent.getId() + *"."* + Classes.name(validator.getClass());
}
ComponentStringResourceLo
Repetition: Message retrieval for the following scenario -
form->panel->textfield - is currently not supported
Let's say that we have the following component hierarchy:
APage
->BForm id="b"
-->XPanel id="x"
>RequiredTextField id="foo"
-->YPanel id="y"
>RequiredTextField id="foo"
I've opened a bug, see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1339904&group_id=119783&atid=684975
Sven
Juergen Donnerstag wrote:
Did you open a bug or RFE already? If not, please do so, otherwise
there is always a risk that it'll be forgotten.
Juergen
On 10/27/05, Martijn
Did you open a bug or RFE already? If not, please do so, otherwise
there is always a risk that it'll be forgotten.
Juergen
On 10/27/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> +1, if it doesn't break stuff.
>
> Martijn
>
>
> On 10/27/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> >
> >
+1, if it doesn't break stuff.
MartijnOn 10/27/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
Would you please open a bug for it. Thanks.As long as long as no one else on the list is against fixing it thatway, I'll try and put it into 1.1.JuergenOn 10/27/05,
[EMAIL PROTECTED] <[EMAIL PROTECTED
Would you please open a bug for it. Thanks.
As long as long as no one else on the list is against fixing it that
way, I'll try and put it into 1.1.
Juergen
On 10/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >Looks to me you are right. We didn't think about a Panel being a child
> >of a
>Looks to me you are right. We didn't think about a Panel being a child
>of a Form. I guess it was our assumption that FormComponents are
>always a direct child of a Form.
Nested panels inside the same form was the first thing I checked when
evaluating Wicket. It's a very handy solution to break
Looks to me you are right. We didn't think about a Panel being a child
of a Form. I guess it was our assumption that FormComponents are
always a direct child of a Form.
I'm currently not able to look into the code. Do we traverse up the
component tree already, like you do? Isn't there a risk that
2, 2005 6:57 AM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Validation order
>
> There is actually no gueranteed ordering in the validation
> process. Just what the HashMap (where the childs are nested
> in) returns.
>
> For the ordering of the feedba
There is actually no gueranteed ordering in the validation process. Just
what the HashMap (where the childs are nested in) returns.
For the ordering of the feedback panel messages, you can provide a
comparator to the FeedbackPanel.
It is hard to come up with a schema for sorting that would wo
47 matches
Mail list logo