Re: ajax validation with css_xhtml theme

2011-10-22 Thread Mano Pájaro
Guess so :/ any help though? -- Manolo Pájaro Santander Ingeniero de Sistemas IX Semestre (Actual) <> CUSOL-UAC Linux Registered User # 522026

Re: ajax validation with css_xhtml theme

2011-10-22 Thread Brian Thompson
Cat-keyboard? Brian On Sat, Oct 22, 2011 at 6:28 AM, serge nana wrote: > sqtdqtqzstzatsarvqsqqNqYc@aRTqtxa1qq!qqAqqq1 > On Oct 18, 2011 3:44 AM, "Johannes Geppert" wrote: > > > Is there any Error Message in the JavaScript Console? > > > > Johannes > > > > - > > web: http://www.jgeppert.com

Re: ajax validation with css_xhtml theme

2011-10-22 Thread serge nana
sqtdqtqzstzatsarvqsqqNqYc@aRTqtxa1qq!qqAqqq1 On Oct 18, 2011 3:44 AM, "Johannes Geppert" wrote: > Is there any Error Message in the JavaScript Console? > > Johannes > > - > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > -- > View this message in context: > http://struts.10

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Mano Pájaro
Thank you for answer Johannes, I have no errors but warnings in the JS Console, it tells me sth about smoothness jquery theme (I setted it once but I'm not using it anymore, I have looking thorugh all my JSP and there are no theme="smoothness" or jquerytheme="smoothness") It throws me several repea

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Johannes Geppert
Is there any Error Message in the JavaScript Console? Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html Sent from the Struts - User mailing

Re: AJAX Validation (calls to action methods work on submit, but messages not displayed nor page redirected)

2010-03-08 Thread Alex Rodriguez Lopez
I'm thinking this might be related to the AJAX Theme thing... is this required to work with AJAX validation? Any other requeriments aside from including the sx:head tag? Em 08-03-2010 11:11, Alex Rodriguez Lopez escreveu: Hi! I'm updating validations on my app to use AJAX. I followed this: h

Re: ajax validation with IE8

2010-02-22 Thread Stephen Ince
IE8 is a little stubborn, you have to delete temporary files. On Mon, Feb 22, 2010 at 6:12 AM, Stephen Ince wrote: > Does anyone know how I can I patch /struts/css_xhtml/validation.js?  I > tried replacing template/css_xhtml/validation.js in struts-core but > that does not seem to work. > I added

Re: ajax validation with IE8

2010-02-22 Thread Stephen Ince
Does anyone know how I can I patch /struts/css_xhtml/validation.js? I tried replacing template/css_xhtml/validation.js in struts-core but that does not seem to work. I added in my own validation.js to the end of the file but I don't like this solution. Steve On Mon, Feb 22, 2010 at 5:52 AM, Ste

Re: ajax validation with IE8

2010-02-22 Thread Stephen Ince
Here is the link. https://issues.apache.org/jira/browse/WW-3393 On Mon, Feb 22, 2010 at 1:05 AM, Lukasz Lenart wrote: > 2010/2/21 Stephen Ince : >> Okay I found the problem. I find it hard to believe that anyone is >> using css_xhtml theme with this bug. It doesn't work in IE8 and it >> does not

Re: ajax validation with IE8

2010-02-21 Thread Lukasz Lenart
2010/2/21 Stephen Ince : > Okay I found the problem. I find it hard to believe that anyone is > using css_xhtml theme with this bug. It doesn't work in IE8 and it > does not work properly in any other browser. > > problem > struts/css_xhtml/validation.js: function findWWCtrlNode needed to be > rew

Re: ajax validation with IE8

2010-02-21 Thread Stephen Ince
Okay I found the problem. I find it hard to believe that anyone is using css_xhtml theme with this bug. It doesn't work in IE8 and it does not work properly in any other browser. problem struts/css_xhtml/validation.js: function findWWCtrlNode needed to be rewritten. function findWWCtrlNode(enclos

Re: AJAX Validation example

2009-10-25 Thread Wes Wannemacher
On Saturday 24 October 2009 12:33:49 am shenxiaojing wrote: > Hello, all > > Is anybody using the example from > http://struts.apache.org/2.1.8/docs/ajax-validation.html ? > It doesn't work at all. > > Or anybody can send a successful example to me? > > Thank you > > -Karen I've used that off and

Re: ajax validation problem in IE8

2009-08-31 Thread Mitch Claborn
Some more info: The generated HTML is below. validation.js (in the css_xhtml theme) uses this line to find the element before which to insert the new error div. var firstCtrNode = findWWCtrlNode(enclosingDiv); // either wwctrl_ or wwlbl_ That function looks for a child div or span whose c

Re: ajax validation problem in IE8

2009-08-30 Thread Dave Newton
Martin Gainty wrote: you can take all your JS scripts and run it thru RhinoScript thats what i did for Dojo http://www.rhinoscript.org be sure to toss in plenty of alert statements! What in the name of Bumba's porcelain alter are you talking about? Unless IE8 runs RhinoScript I don't see how

RE: ajax validation problem in IE8

2009-08-29 Thread Martin Gainty
accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 29 Aug 2009 18:34:38 -0500 > From: mi...@claborn.net > To: mgai...@hotmail.com; user@struts.apache.org > Subject: Re: ajax validation problem in IE8 > > I'll give that a try. I thought I remembered seein

Re: ajax validation problem in IE8

2009-08-29 Thread Mitch Claborn
I'll give that a try. I thought I remembered seeing instructions for a way to extract those .js files to somewhere so that I can put in some debugging statements. Do you know about that? Mitch Martin Gainty wrote: > /template/css_xhtml/validation.js > > function addErrorCSS(e, errorText) { >

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
>> > destinataire prévu, nous te demandons avec bonté que pour satisfaire >> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie >> > de ceci est interdite. Ce message sert à l'information seulement et n'aura >> >

Re: AJAX Validation

2009-07-28 Thread Dale Newfield
Wes Wannemacher wrote: why don't you put in a JIRA Done: https://issues.apache.org/struts/browse/WW-3206 (although it's more a documentation fix than anything else) -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.ap

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
Very clear. I'll check what you've just mentionned and try to find the best strategy related to our context. Thanks a lot your help. Nicolas On Tue, Jul 28, 2009 at 1:54 PM, Wes Wannemacher wrote: > On Tue, Jul 28, 2009 at 9:48 AM, Nicolas Baron wrote: > > @Wes : Thanks for the samples, I'll ch

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
On Tue, Jul 28, 2009 at 9:48 AM, Nicolas Baron wrote: > @Wes : Thanks for the samples, I'll check it. The struts2-jquery-plugin you > are talking about is the same as the one released in 1.0 last night ? No, this is different. When I started this one (many moons ago), I knew of at least a few othe

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
On Tue, Jul 28, 2009 at 9:48 AM, Dale Newfield wrote: > Wes Wannemacher wrote: >> >> There is an interceptor called JSONValidation (or something like >> that). If you cruise to the bottom of this page, you will see an >> example of using it with Prototype - >> >> http://struts.apache.org/2.x/docs/a

Re: AJAX Validation

2009-07-28 Thread Dale Newfield
Wes Wannemacher wrote: There is an interceptor called JSONValidation (or something like that). If you cruise to the bottom of this page, you will see an example of using it with Prototype - http://struts.apache.org/2.x/docs/ajax-validation.html That's fairly slick, but I wonder if there's a wa

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Tue, 28 Jul 2009 21:51:44 +1000 > > Subject: Re: AJ

RE: AJAX Validation

2009-07-28 Thread Martin Gainty
message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 28 Jul 2009 2

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
There is an interceptor called JSONValidation (or something like that). If you cruise to the bottom of this page, you will see an example of using it with Prototype - http://struts.apache.org/2.x/docs/ajax-validation.html I started a JQuery plugin that is sitting in the sandbox right now waiting

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
It depends on the approach you want to take in validation. For security reasons we run two layers of validation, a simple model using jQuery checking mandatory fields and limits checks and then a more rigorous model server side. As for setting up, we looked at how it was done with S2 and dojo, in

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
Hi Zoran, Thank you for your answer. Since you are using JQuery directly, how do you perform data validation ? Is it possible to use the XML Files or annotations provided by Struts ? Cheers, Nicolas On Tue, Jul 28, 2009 at 11:26 AM, Zoran Avtarovski wrote: > From what I can tell Dojo has been

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
>From what I can tell Dojo has been moved out into a plugin, but still exists. Honestly though, I¹d take the opportunity move away from an integrated solution to using a javascript framework directly. We use jQuery and it integrates with Struts without any major issues and more often than not off

RE: ajax validation issue

2008-09-11 Thread Dave Newton
--- On Thu, 9/11/08, Gawain Hammond wrote: > 1.) validation.js was missing in my html, I wasn't > using which seems to be the only tag that > generates a src path to it, I was using > which afaik was my only choice in 2.0.11.1. > Upgrading to 2.1.2 resolved this. > > I had to put this in manua

RE: ajax validation issue

2008-09-11 Thread Gawain Hammond
Right, that has been an interesting romp around in struts. Jeromy, thanks for pointing me in the right direction and making me think. I went back to basics, bit the bullet and improved my javascript jedi abilities by installing firebug. That has really helped. If this might help anyone else one d

RE: ajax validation issue

2008-09-10 Thread Gawain Hammond
ECTED] Sent: 10 September 2008 13:00 To: Struts Users Mailing List Subject: Re: ajax validation issue Gawain Hammond wrote: > A really nice solution so far has been to an action tag to populate > forms, which has worked nicely the rest of the time. I've really liked > using this

Re: ajax validation issue

2008-09-10 Thread Jeromy Evans
Gawain Hammond wrote: A really nice solution so far has been to an action tag to populate forms, which has worked nicely the rest of the time. I've really liked using this approach to fill drop-downs, like so: ... list="%{#groupAction.list}" listKey="id" listValue="name"/> That's a n

RE: ajax validation issue

2008-09-10 Thread Gawain Hammond
[EMAIL PROTECTED] Sent: 10 September 2008 01:19 To: Struts Users Mailing List Subject: Re: ajax validation issue Gawain Hammond wrote: > > ... > That's a lot of problems, and to work-around each problem you've moved to a more sophisticated and complicated solution hoping

Re: ajax validation issue

2008-09-09 Thread Jeromy Evans
Gawain Hammond wrote: ... That's a lot of problems, and to work-around each problem you've moved to a more sophisticated and complicated solution hoping for the best. You'll need to get the plain-old-validation working first. If validation fails, your action's execute method is not invoke

RE: Ajax validation example on Apache Struts website

2007-08-07 Thread orshoe
JIRA issue WW-2091 created for this. -- View this message in context: http://www.nabble.com/Ajax-validation-example-on-Apache-Struts-website-tf4232972.html#a12046419 Sent from the Struts - User mailing list archive at Nabble.com.

RE: Ajax validation example on Apache Struts website

2007-08-07 Thread James Holmes
The best way to get the docs updated or fixed is to create a ticket in JIRA so that the work can be prioritized. It would be even better if you were to contribute some documentation to help get the page up to date. http://issues.apache.org/struts/ James -Original Message- From: orsh

Re: AJAX validation

2007-04-20 Thread Felipe Rodrigues
Try take the theme="ajax" of your form. Put theme="ajax" in your submit button. Then, you can remove any DWR reference of your project if you're not using to anything else. Should work, at least until we got fixed the ajax validation. Regards, Felipe Musachy Barroso wrote: > > Ajax is experim

Re: AJAX validation

2007-04-20 Thread Musachy Barroso
Ajax is experimental on the 2.0 releases, and we are working to improve it for 2.1, that being said, I'm not sure that ajax validation was working on 2.0.6. What do you mean by "AJAX fields"? regards musachy On 4/20/07, King, Leon C <[EMAIL PROTECTED]> wrote: Hi all, I'm using str