Double thanks!

On 10/16/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> http://www.wicket-wiki.org.uk/wiki/index.php/Validation_Messages
>
> -Igor
>
>
>
>  ________________________________
>  From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Martijn Dashorst
> Sent: Sunday, October 16, 2005 9:40 AM
>
> To: [email protected]
> Subject: Re: [Wicket-develop] Use case: Form validation without messages
>
>
> Igor,
>
> Could you write a wiki page on that?
>
> Martijn
>
>
> On 10/16/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > But you can provide the proper label for the formcomponents. Thats what
> sparked the entire implementation. You can call
> FormComponent.setLabel(IModel) and pass in a model that contains the label,
> or have a property key with the path of the form component, ie
> person.name=Name. Then just use ${label} is required instead of ${name} is
> required.
> >
> > -Igor
> >
> >
> >
> > ________________________________
>  From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Martijn Dashorst
> > Sent: Sunday, October 16, 2005 6:20 AM
> > To: [email protected]
> > Subject: Re: [Wicket-develop] Use case: Form validation without messages
> >
> >
> >
> > On 10/16/05, Ralf Ebert <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >
> > > > Interesting approach. I don't think we'll support this out of the
> > > > box, as  it is very basic, and your approach is very easy to implement
> by other
> > > > users.
> > > hmm, I think the approach of having no messages by default could be
> > > more suitable, because the default messages will (if I get it right)
> > > show the internal id which could be not very helpful to the user
> > > (because the label before the form component could be entirely
> > > different).
> >
> >
> > I see what you mean. The 'label' should be i10n or i18n (I can't keep them
> apart)  -ized
> > as well. No point in a Chinese application showing 'person.name' next to
> some chinese
> > traditional characters.
> >
> >
> > > > If you don't mind, I've created a wiki page with your description
> > > > for your usecase.
> > > No problem at all with that; although I'm not sure if my code is
> > > written well-enough for general usage (I was very solution focused
> > > when writing this) - I'm especially unsure about adding the
> > > AttributeModifier in the onBeginRequest method of the form...
> >
> >
> > When someone has a better idea (or you yourself) the wiki can be altered.
> That's why it is a wiki!
> >
> > Martijn
> >
> >
> >
>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to