Hi again,

Well, I have not decided to use existing validation libraries because they were not enough to create the idea in my mind. That's why I've my own script.

I am not using pop-ups to tell users about the validation, actually I was planning to add an optional enablePopup attribute but did not have enough time to do it. The messages are shown as plain texts in the page, the validation error is displayed where you put the validator tag.

There is also a validator summary component that displays all the validation errors at one place. There are several attributes to customize each validation message.

As I mentioned, following link has more info and a screenshot as a demo,
http://www.jroller.com/page/cagataycivici?entry=jsf_client_side_validators

Regards,

Cagatay

On 4/17/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
What I like about ADF faces is that it uses existing validators for
the client side validation. What I don't like is that it notifies the
user with a popup box - not very interactive IMHO.

How do you tell the users that validation failed?

regards,

Martin

On 4/17/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
> Hi Martin,
>
> I haven't practiced the client side validation in adf so far but after
> checking the docs like;
> http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=af_avc_clientside_html
>
> Seems adf uses a flag in faces-config like enableClientScript and plays with
> the renderers. My approach uses pluggable validator components. I think
> there is a significant difference. More on my way;
> http://www.jroller.com/page/cagataycivici?entry=jsf_client_side_validators
>
> Also I've my own validator script, a simple .js actually, I'm not using
> commons-validator.
>
> Regards,
>
> Cagatay
>
>
>  On 4/17/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > the one thing which is keeping me is compatibility with adf-faces
> > client side validators.
> >
> > Have you looked at them so far? Is the mechanism the same/slightly
> > different/totally different? Are you using the standard validators, or
> > special ones?
> >
> > regards,
> >
> > Martin
> >
> > On 4/17/06, Cagatay Civici <[EMAIL PROTECTED] > wrote:
> > > Hi,
> > >
> > > No problem with that Martin but the thing is people keep asking me when
> they
> > > will be able to try client side validations and I keep telling them when
> the
> > > myfaces team commits to sandbox. :)
> > >
> > > Maybe I should release it at jsf-comp for now if it's gonna take more
> time,
> > > what do you think?
> > >
> > > Regards,
> > >
> > > Cagatay,
> > >
> > >
> > >
> > > On 4/16/06, Martin Marinschek < [EMAIL PROTECTED]> wrote:
> > > > Well,
> > > >
> > > > sigh, Catagay has already donated his client side validators to
> > > > MyFaces - and we haven't built them in so far, so I can totally
> > > > understand if he'd be reluctant to make another donation ;).
> > > >
> > > > Anyone having time to look at the client side validation stuff first?
> > > >
> > > > regards,
> > > >
> > > > Martin
> > > >
> > > > On 4/15/06, Cagatay Civici < [EMAIL PROTECTED] > wrote:
> > > > > Travis, never thought of something like that but yes it would be
> great
> > > to
> > > > > turn it on with a context param. I'll add this to my todo list,
> thanks
> > > for
> > > > > the feedback,
> > > > >
> > > > > Cagatay,
> > > > >
> > > > >
> > > > > On 4/14/06, Travis Reeder < [EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > And if you could make it so that it's a context parameter in
> web.xml,
> > > that
> > > > > would be even better so it could just show up on every page when
> it's
> > > turned
> > > > > on.
> > > > > >
> > > > > >
> > > > > > Travis
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 4/14/06, Travis Reeder < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > That is awesome Cagatay!  You have to give this to MyFaces.  ;)
> > > > > > >
> > > > > > >
> > > > > > > Travis
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 4/14/06, Cagatay Civici < [EMAIL PROTECTED] > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Hi again,
> > > > > > > >
> > > > > > > > I've checked weblets some time ago but I think writing a
> simple
> > > > > resourcephaselistener is a better and simpler alternative.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > >
> > > > > > > >
> > > > > > > > Cagatay,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 4/14/06, Jesse Alexander (KSFD 121)
> > > > > < [EMAIL PROTECTED] > wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Resource-loading from a jar?    .... check out weblets:
> > > > > <https://weblets.dev.java.net/>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ________________________________
> > > > >
> > > > > > > > > From: Cagatay Civici [mailto: [EMAIL PROTECTED]]
> > > > > > > > >
> > > > > > > > > Sent: Friday, April 14, 2006 3:24 PM
> > > > > > > > > To: MyFaces Discussion
> > > > > > > > > Subject: Re: Faces Trace
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I have not yet implemented the resource loading mechanism
> from
> > > the
> > > > > distribution jar. Thats the major job remaining, after it is done,
> I'll
> > > make
> > > > > a release next week.
> > > > > > > > >
> > > > > > > > > Also you can make a maven2 build for now, the build system
> of
> > > the
> > > > > project is based on maven2. Here is the project site.
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/facestrace
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > >
> > > > > > > > > Cagatay,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 4/14/06, Maxence Dewil < [EMAIL PROTECTED] > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hello,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Really a good idea!
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Can we try something ? ;-)
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Maxence Dewil
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ________________________________
> > > > >
> > > > > > > > > >
> > > > > > > > > > De : Cagatay Civici [mailto: [EMAIL PROTECTED]]
> > > > > > > > > >
> > > > > > > > > > Envoyé : vendredi 14 avril 2006 9:15
> > > > > > > > > > À : MyFaces Discussion
> > > > > > > > > >
> > > > > > > > > > Objet : Faces Trace
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > Me and my colleague created a JSF library called Faces
> Trace
> > > which
> > > > > you may find interesting.
> > > > > > > > > >
> > > > > > > > > > It brings a visual support for debugging JSF flows.
> > > > > > > > > >
> > > > > > > > > > More info and some screenshots are here;
> > > > > > > > > >
> > > > > > > > > >
> > > > >
> > >
> http://www.jroller.com/page/cagataycivici?entry=rise_of_the_faces_trace
> > > > > > > > > >
> > > > > > > > > > I'll be glad to receive feedback,
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > >
> > > > > > > > > > Cagatay Civici,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > http://www.irian.at
> > > >
> > > > Your JSF powerhouse -
> > > > JSF Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > >
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to