, September 29, 2004 3:27 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Client Side Validation using a pure JSF Only Application
Hi All,
There is a pure web application that uses only jsf as model, view,
controller. How do we achieve a reusable client-side validations
framework likes
Check out the Oracle Faces components set which you can get an Early
Access version of from:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html
This implemenation has client side validators built-in
Regards
Duncan Mills
babloosony wrote:
Hi All,
There i
http://issues.apache.org/bugzilla/show_bug.cgi?id=17667
try the latest nightly build.
Niall
- Original Message -
From: "Berke, Wayne [IT]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 5:26 PM
Subject: Multiple ActionForms on a page -
Client side validation is not currently supported in portlets. You
might get it to work, but there are unresolved issues with
escaping/namespaces etc of javascript function names and variables.
You can register it as a JIRA issue, and hopefully we'll be able to
resolve it in a future re
Hi, I'm using Struts Validator Framework (Struts 1.3).
Server-side validation works well.
The problem is in client-side validation.
The form name I have to validate is: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1)
2)
and the following form declaration:
Moreover I have en
I tried using the commons validation features of Shale. The application is
using Myfaces 1.1.1. The validation javascript is being written back to the
browser. The server side validation is working fine but a javascript `field
error occurs during the . However there is a problem with the client
Hi:
When I use the commonsValidator for required on the client side, the name of
the component
is not being picked up and the alert says "null is required". This happens with
both h:inputText
and h:selectOneListbox, the only two I have tried.
...
function required() {
this[0] = new
arunabh wrote:
hi,
If somebody have some information about client side validation in Stutrs2. 0
then send me .I am in a desperate need of the same .
thanks
Arunabh
Well, you could start with the documentation:
http://struts.apache.org/2.x/docs/validation.html
http://struts.apache.org/2.x
Brian,
To answer your question:
> Both the client-side and the server-side validation
> are executing instead of just the client-side.
Set your action in struts-config.xml to validate="false".
Your html:javascript will still work for the client-side
validation but NOTHING wil
k="document.forms[0].Dispatch.value='Save';document.forms[0].submit();
>
> > " src="/images/btn_primary_action_save.gif" align="right"
> > onmouseover="src='/images/btn_primary_action_save_roll.gif'"
> >
Hi All,
How do I do client side validation(using struts) in jsf+struts
integrated application which uses jsf-struts libary provided by
CraigMc. ?
Thanks & Regards,
Kumar.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
m.
I hope you can help me.
Thanks.
cacodemon79 wrote:
>
> Hi, I'm using Struts Validator Framework (Struts 1.3).
> Server-side validation works well.
> The problem is in client-side validation.
>
> The form name I have to validate is: RegistrazioneUt
Hi,
Maybe you should install Firebug for Firefox (not working with 3.0)
and debug the JavaScript?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
m is submitted but I can't see any
javascript alerts.
I can't understand where is the problem.
I hope you can help me.
Thanks.
cacodemon79 wrote:
Hi, I'm using Struts Validator Framework (Struts 1.3).
Server-side validation works well.
The problem is in client-side val
form is submitted but I can't see any
>> javascript alerts.
>>
>> I can't understand where is the problem.
>>
>> I hope you can help me.
>>
>> Thanks.
>>
>>
>>
>> cacodemon79 wrote:
>>> Hi, I'm using Str
Hi,
2008/6/23 cacodemon79 <[EMAIL PROTECTED]>:
>
> Bingo!
> Now it works!
> Thanks a lot.
> However i can't understand why the onsubmit handler is not triggered by the
> submit() function!
>
Maybe it depends on Web Browser, did you try with others?
Regards
--
Lukasz
http://www.lenart.org.pl/
emon79 wrote:
Hi, I'm using Struts Validator Framework (Struts 1.3).
Server-side validation works well.
The problem is in client-side validation.
The form name I have to validate is: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1)
2)
and the following form declaration:
Moreover I ha
esult is the same. The form is submitted but I can't see any
>>>> javascript alerts.
>>>>
>>>> I can't understand where is the problem.
>>>>
>>>> I hope you can help me.
>>>>
>>>> Thanks.
>>>&
Hi
Did I hear forceId? - You need to use this attribute to force the name to be
what you want.
Hermod
-Opprinnelig melding-
Fra: Paul Devine [mailto:[EMAIL PROTECTED]
Sendt: 29. mars 2006 22:47
Til: user@struts.apache.org
Emne: [Shale] commons client side validation not working inside
t;[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Did I hear forceId? - You need to use this attribute to force the name to
> be
> what you want.
>
> Hermod
>
>
> -Opprinnelig melding-
> Fra: Paul Devine [mailto:[EMAIL PROTECTED]
> Sendt: 29. mars 2006 22:47
> Ti
>From: Mark Shifman <[EMAIL PROTECTED]>
> Hi:
> When I use the commonsValidator for required on the client side, the name of
> the
> component
> is not being picked up and the alert says "null is required". This happens
> with
> both h:inputText
> and h:selectOneListbox, the only two I hav
Thanks Gary:
I am now getting a much more insidious exception thrown.
I using the following:
arg="#{msgs.validate_s_id}"/>
arg="#{msgs.validate_s_id}" />
I now get when I submit a float.
java.lang.NullPointerException
at
org.apache.shale.validator.CommonsValidator.validate(CommonsVa
>From: Mark Shifman <[EMAIL PROTECTED]>
>
> Thanks Gary:
> I am now getting a much more insidious exception thrown.
> I using the following:
>
>
> arg="#{msgs.validate_s_id}"/>
> arg="#{msgs.validate_s_id}" />
>
>
>java.lang.NullPointerException
>at
>org.apache.shale.validator.Co
Thanks!!
I will submit a bug ticket tomorrow.
Looking at the validator-rules.xml it looks like a double validator has
been completely omitted.
mas
Gary VanMatre wrote:
From: Mark Shifman <[EMAIL PROTECTED]>
Thanks Gary:
I am now getting a much more insidious exception thrown.
I using the f
On Fri, 24 Sep 2004 11:38:56 +0530, babloosony <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> How do I do client side validation(using struts) in jsf+struts
> integrated application which uses jsf-struts libary provided by
> CraigMc. ?
You enable client side validation with Struts
I'm using 2.0.8 and using client side validation which its almost
working perfectly.
Unfortunately the only obstacle is that i can't put hidden fields in my
form. The validation works correctly the problem is that the second time
i validate the same form (without sending it to the s
Lukasz Lenart wrote:
Maybe you should install Firebug for Firefox (not working with 3.0)
and debug the JavaScript?
A beta version of firebug does work with 3.0 :
http://getfirebug.com/releases/index.html
-Dale
-
To unsubscr
> A beta version of firebug does work with 3.0 :
> http://getfirebug.com/releases/index.html
Thanks!
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
t.
Hermod
-Opprinnelig melding-
Fra: Paul Devine [mailto:[EMAIL PROTECTED]
Sendt: 29. mars 2006 22:47
Til: user@struts.apache.org
Emne: [Shale] commons client side validation not working inside a dataList
I tried using the commons validation features of Shale. The application is
using Myfaces 1
] commons client side validation not working inside a
dataList
Why would that be needed? The s:commonsValidator tag should render
Javascript referencing the actual rendered ID of the component it's
attached to. I haven't played much with validators, much less validators
for components inside
stvedt wrote:
> > Hi
> >
> > Did I hear forceId? - You need to use this attribute to force the name to
> > be
> > what you want.
> >
> > Hermod
> >
> >
> > -Opprinnelig melding-
> > Fra: Paul Devine [mailto:[EM
SP and, if possible, copy/paste the
> > rendered HTML as well, in a Bugzilla ticket so the issue gets tracked?
> >
> > L.
> >
> > Hermod Opstvedt wrote:
> > > Hi
> > >
> > > Did I hear forceId? - You need to use this attribute to force the nam
gt;
> > > L.
> > >
> > > Hermod Opstvedt wrote:
> > > > Hi
> > > >
> > > > Did I hear forceId? - You need to use this attribute to force the name
> > to be
> > > > what you want.
> > > >
> &g
Hi All,
would like to know if there is any way to customize the client side
validation popup window ? i am using struts client side validator.
thanks
lixin
Thanks Max, I've just been looking at exactly the same area and I can
replicate the same error. It works fine in IE but fails in firefox.
I think you should enter it in JIRA.
Cheers
Theo
maxmil wrote:
>
> I'm using 2.0.8 and using client side validation which its almost
>
heers
Theo
maxmil wrote:
I'm using 2.0.8 and using client side validation which its almost
working perfectly.
Unfortunately the only obstacle is that i can't put hidden fields in my
form. The validation works correctly the problem is that the second time
i validate the same form (wit
there any way to customize the client side validation popup
window
Hi All,
would like to know if there is any way to customize the client side
validation popup window ? i am using struts client side validator.
thanks
lixin
-
To
Hi
I have a model object thas has a list containing a model object. How do I
configure my Action-validator.xml file to validate each model inside the
list?
Regards,
Néstor Boscán
101 - 138 of 138 matches
Mail list logo