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
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-tp49053

Re: ajax validation with css_xhtml theme

2011-10-22 Thread serge nana
s message in context: > http://struts.1045723.n5.nabble.com/ajax-validation-with-css-xhtml-theme-tp4905398p4913082.html > Sent from the Struts - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail:

Re: ajax validation with css_xhtml theme

2011-10-18 Thread Mano Pájaro
- > 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 list archive at Nabble.com. >

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

ajax validation with css_xhtml theme

2011-10-15 Thread Mano Pájaro
Hello list! I have an issue using ajax validation with a form that uses the css_xhtml theme. Simply is not working! I've checked the interceptor and the extra js files that you have to add and it is all fine, when I change to xhtml theme it works! but i dont know what is happening wit

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 fol

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
("span"); for(i = 0; i < elems.length; ++i ) { if (elems[i].className && elems[i].className.match(/(wwlbl|wwctrl)/)) return elems[i]; } return enclosingDiv.getElementsByTagName("span")[0]; } On Sun, Feb 21, 2010 at 7:28 AM, Stephen

ajax validation with IE8

2010-02-21 Thread Stephen Ince
Hi, I am trying to do client-side ajax validation and I am failing. IE throws an error alert, "invalid argument". It seems that the error is really struts2. I also get weird behaviour with ff. The error message comes after the tag. I have a few questions. 1) How do you do client-side

How to handle global Errors with AJAX Validation

2010-02-16 Thread Johannes Geppert
I try out the AJAX Validation for xhtml theme similar like in the docs. http://struts.apache.org/2.1.8.1/docs/ajax-validation.html This works fine for fieldErrors but when i have an ExpressionValidator I get an global error and not an fieldError. But this Error was not showing with

Ajax validation to open a conditional popup

2009-12-06 Thread Raj Malhotra
Hi My current functionality is to send the form values as request parameteres to server where it will be first validated using xml and then Action will process the request to save the values in the database. Now i want to add the 'download to excel' functionality.User can key in the values in form

答复: AJAX Validation example

2009-10-25 Thread karen
Hi,Wes I'm using struts2.1.8 -邮件原件- 发件人: Wes Wannemacher [mailto:w...@wantii.com] 发送时间: 2009年10月26日 12:26 收件人: Struts Users Mailing List 主题: Re: AJAX Validation example On Saturday 24 October 2009 12:33:49 am shenxiaojing wrote: > Hello, all > > Is anybody using the examp

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

AJAX Validation example

2009-10-23 Thread shenxiaojing
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 - To unsubscribe, e-mail: user-u

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
privilégié. Si vous n'êtes pas le > 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 pas

ajax validation problem in IE8

2009-08-29 Thread Mitch Claborn
Struts 2.1.6 I have a form that uses ajax validation before a non-ajax POST. In IE8, if the ajax validation call returns a field error (like a missing field), I get the error in a pop up box in IE8: "An exception occurred: Error. Error message: Invalid argument." Only happens when

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
t offers much greater flexibility. I know of others who > >> > use dojo, mootools and prototype without any issues. > >> > > >> > Z. > >>> > > > >>> > > Hi everybody, > >>> > > > >>> > > I&#x

Re: AJAX Validation

2009-07-28 Thread Wes Wannemacher
who >> use dojo, mootools and prototype without any issues. >> >> Z. >> > >> > Hi everybody, >> > >> > I'm currently working on a project based on Struts 2.0.11. We're planning >> to >> > migrate to the last 2.1.x version

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
of others who >> > use dojo, mootools and prototype without any issues. >> > >> > Z. >>> > > >>> > > Hi everybody, >>> > > >>> > > I'm currently working on a project based on Struts 2.0.11. We're &

Re: AJAX Validation

2009-07-28 Thread Nicolas Baron
1.x version but I've just seen that the Dojo plugin > > has been deprecating. Consequently, what's your recommandation to perform > > proper AJAX validation since the example on the Wiki is still based on > the > > Dojo plugin ? Which plugin will be the

Re: AJAX Validation

2009-07-28 Thread Zoran Avtarovski
n that the Dojo plugin > has been deprecating. Consequently, what's your recommandation to perform > proper AJAX validation since the example on the Wiki is still based on the > Dojo plugin ? Which plugin will be the next standard for Ajax tags in Struts > 2 ? JQuery plugin ? >

AJAX Validation

2009-07-28 Thread Nicolas Baron
Hi everybody, I'm currently working on a project based on Struts 2.0.11. We're planning to migrate to the last 2.1.x version but I've just seen that the Dojo plugin has been deprecating. Consequently, what's your recommandation to perform proper AJAX validation since the ex

Ajax Validation has bug with tag when Form is "simple" theme

2009-07-14 Thread Yuan12345
version:2.1.X Ajax Validation has bug with tag when Form is "simple" theme when below jsp is submited,a alert box will be show with text:Could not validate:

Re: Struts 2.0.11 and AJAX validation

2009-04-17 Thread Wes Wannemacher
On Friday 17 April 2009 03:26:49 NR031 wrote: > Hi, > >Can anyone tell me how to do AJAX validation using Struts 2.0.11. I am > using NetBeans 6.1. What are all the jars required to do so? > > > Thanks in advance, http://struts.apache.org/2.x/docs/ajax-validation.html

Struts 2.0.11 and AJAX validation

2009-04-17 Thread NR031
Hi, Can anyone tell me how to do AJAX validation using Struts 2.0.11. I am using NetBeans 6.1. What are all the jars required to do so? Thanks in advance, -- View this message in context: http://www.nabble.com/Struts-2.0.11-and-AJAX-validation-tp23092458p23092458.html Sent from the

Struts 2.1 utf-8 validation messages (in Arabic, Chinese etc) displayed in "?" when using Ajax validation, a bug or wrong setting?

2009-03-03 Thread Qunhuan Mei
Hi all, I am going to use Struts-blank-2.1.6 to demonstrate a localisation problem when doing Ajax validation in maybe 10 minutes. I am not sure if it is a bug (from dojo-plugin?) or just a wrong setting somewhere. Hope some expert could shed some light here. Much appreciated. Steps to

Re: S2 + Ajax Validation + JQuery

2009-02-11 Thread Sonny Gill
On Thu, Feb 12, 2009 at 8:11 AM, Jaarthy wrote: > > Hi alvin, > Please send them to my mail id aarthyj...@yahoo.com > > Thanks, > Aarthy Seriously guys! Why would you want or expect him to email it to you? Alvin is offering to share it with the community. Doesn't it make more sense

Re: S2 + Ajax Validation + JQuery

2009-02-11 Thread Jaarthy
of it in action here - > http://www.truelocal.com.au/secure/submissions/submission-addBusiness.do. > > Cheers, > Alvin > -- View this message in context: http://www.nabble.com/S2-%2B-Ajax-Validation-%2B-JQuery-tp21953155p21967416.html Sent from the Struts - Use

Re: S2 + Ajax Validation + JQuery

2009-02-11 Thread Nuwan Chandrasoma
alvins wrote: Hi guys, We recently implemented the above and it is quite funky. If anyone is interested I can post some of the pieces needed. You can see some of it in action here - http://www.truelocal.com.au/secure/submissions/submission-addBusiness.do. Cheers, Alvin any blogs where we c

Re: S2 + Ajax Validation + JQuery

2009-02-11 Thread Subhash Reddy P
02/11/2009 05:14 PM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject S2 + Ajax Validation + JQuery Hi guys, We recently implemented the above and it is quite funky. If anyone is interested I can post some of the pieces needed. You can see som

S2 + Ajax Validation + JQuery

2009-02-11 Thread alvins
: http://www.nabble.com/S2-%2B-Ajax-Validation-%2B-JQuery-tp21953155p21953155.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Dave Newton
Christopher Maloof wrote: Solved; it turns out that the tags in the form were somehow causing this problem. Yeah, the S2 form tags put everything in a table by default, so you would have had some funky HTML there... different browsers handle malformed HTML in different ways. Yay browsers.

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Solved; it turns out that the tags in the form were somehow causing this problem. Chris On 2/2/2009 11:06 AM, Christopher Maloof wrote: Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the in

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Musachy Barroso
page? >> >> musachy >> >> On Mon, Feb 2, 2009 at 11:06 AM, Christopher Maloof >> wrote: >> >>> >>> Hello, >>> >>> I've just installed Struts 2.1.6, and I'm converting a form to use Ajax >>> validation. It's m

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
and they get cleared, is there any javascript error on the page? musachy On Mon, Feb 2, 2009 at 11:06 AM, Christopher Maloof wrote: Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fi

Re: clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Musachy Barroso
I just tried in showcase and they get cleared, is there any javascript error on the page? musachy On Mon, Feb 2, 2009 at 11:06 AM, Christopher Maloof wrote: > Hello, > > I've just installed Struts 2.1.6, and I'm converting a form to use Ajax > validation. It's mo

clearing errors and input fields after Ajax validation in 2.1.6

2009-02-02 Thread Christopher Maloof
Hello, I've just installed Struts 2.1.6, and I'm converting a form to use Ajax validation. It's mostly working nicely, except that the input fields and errors don't clear after a submission. (Ideally, errors should always clear, and input fields should clear if validat

showcase ajax validation example

2008-11-04 Thread Frank Maritato
Hi, I noticed the struts-2.0.11.2 showcase ajax validation example doesn't give an error if you load the page, do nothing and just click submit. This a bug? -- Frank Maritato - To unsubscribe, e-mail: [EMAIL PROTECTED

S2 AJAX validation article

2008-10-07 Thread Oleg Mikheev
Hi all, I've written an article on Struts 2 validation. http://www.javaworld.com/javaworld/jw-10-2008/jw-10-struts2validation.html Any comments are welcome, especially on the 'hack' proposed there in 'advanced' section. W/o that hack S2 AJAX validation would requir

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

Struts 2.0.11.2 + Ajax validation using DWR...

2008-09-11 Thread bjorkman
Hi! Been searching for answers, and although I see lots of similar questions, none of them has helped me. Running Struts 2.0.11.2 and DWR 2 I'm not able to get AJAX validation working. DWR is correctly setup (I've tried exposing beans and the communication works fine). My action looks

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
estack doesn't contain something you're expecting (such as the list for the select). Can you confirm whether "crud.Group.listAll" is invoked after a validation failure? Knowing ajax validation will only work with xhtml/css_html theme is helpful, I've been using ajax all

RE: ajax validation issue

2008-09-10 Thread Gawain Hammond
ter validation returns the form, does anyone know if I can I get these action tags to work in such circumstances? Knowing ajax validation will only work with xhtml/css_html theme is helpful, I've been using ajax all along which may explain some issues. You said to use the default inte

Re: ajax validation issue

2008-09-09 Thread Jeromy Evans
ver-side validation settings. It'll only works with xhtml or css_xhtml theme'd forms with validate=true. If it fails in individual tags it's possible there's something wrong with the markup. When you isolate it to certain fields your browser can help you work this out. If you

ajax validation issue

2008-09-09 Thread Gawain Hammond
are skipped, but are then validated if the form submits), and it only triggers after clicking the submit button (rather than from the onblur event as in 2.0.11.x). So I decided to try the ajax validation (seen on this page): http://struts.apache.org/2.1.2/docs/ajax-validation.html I've

Re: S2 Ajax validation & actionErrors

2008-08-22 Thread Musachy Barroso
Don't remember about 2.0, but it was done with DWR for sure. On Fri, Aug 22, 2008 at 12:14 PM, Oleg Mikheev <[EMAIL PROTECTED]> wrote: > Musachy Barroso wrote: >> >> I think I misunderstood your question, it does serializes the action >> errors, but it doesn't show them on the page for you. > > Bu

Re: S2 Ajax validation & actionErrors

2008-08-22 Thread Oleg Mikheev
Musachy Barroso wrote: I think I misunderstood your question, it does serializes the action errors, but it doesn't show them on the page for you. But it doesn't serialize them in 2.0.x right? I understand that 2.1 is very promising, but it is still in beta... And since 2.1 doesn't display actio

Re: S2 Ajax validation & actionErrors

2008-08-22 Thread Musachy Barroso
I think I misunderstood your question, it does serializes the action errors, but it doesn't show them on the page for you. On Fri, Aug 22, 2008 at 11:32 AM, Oleg Mikheev <[EMAIL PROTECTED]> wrote: > Hello > > To put it straight: > do I understand it right that S2 AJAX va

Re: S2 Ajax validation & actionErrors

2008-08-22 Thread Musachy Barroso
[2.1] No, it also serializes action errors: http://struts.apache.org/2.x/docs/ajax-validation.html musachy On Fri, Aug 22, 2008 at 11:32 AM, Oleg Mikheev <[EMAIL PROTECTED]> wrote: > Hello > > To put it straight: > do I understand it right that S2 AJAX validation doesn'

S2 Ajax validation & actionErrors

2008-08-22 Thread Oleg Mikheev
Hello To put it straight: do I understand it right that S2 AJAX validation doesn't take care of action errors, only the field ones? So that action errors are displayed only on submit. Thanks - To unsubscribe, e-mail: [

ajax validation - how to tell the user where is the problem?

2008-03-24 Thread xianwinwin
etHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the proxy server %> you have an error in the date entry! -- View this messa

Re: Struts 2.0.11 + DWR 2.0 + ajax validation

2008-02-05 Thread Filipe David Manana
Well, thanks for the reply My problem is not setting up DWR. I have DWR 1.1.3 working with struts 2.0.11 ajax form validation. I just want to migrate to dwr 2.0. But if I replace dwr 1.1.3 with dwr 2.0, my form ajax validation no longer works. Whenever one required form field looses focus, I get

Re: Struts 2.0.11 + DWR 2.0 + ajax validation

2008-02-05 Thread ravi_eze
yaa, in struts shwocase check the web.xml and dwr.xml. wou would require dwrxxx.jar for this in web-inf/lib and struts theme="ajax" in the jsps. hope this helps. Filipe David Manana-2 wrote: > > Hi, > > Has anyone been able to put dwr 2.0 working with struts 2.

Struts 2.0.11 + DWR 2.0 + ajax validation

2008-02-05 Thread Filipe David Manana
Hi, Has anyone been able to put dwr 2.0 working with struts 2.0.11 ajax validation? -- Filipe David Manana, [EMAIL PROTECTED] Obvious facts are like secrets to those not trained to see them. - To unsubscribe, e-mail: [EMAIL

Re: Changing the location of the ajax validation error

2008-01-28 Thread j alex
e DWR validator ; not the Dojo one since i was using 2.0.9 at that time. Thanks, Joseph On Jan 24, 2008 4:14 AM, Mark Levitsky <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am stating the use of struts 2 and I would to know how can I customize > the ajax validation errors. &g

RE: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-28 Thread Wei, Mei
Is there anyway to work around this bug for now? Thanks, Mei -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday, January 27, 2008 8:25 AM To: Struts Users Mailing List Subject: Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11 appears

Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-27 Thread Martin Gainty
appears to be a bug in s:component not loading the /template/${theme}/tabbedpanel:ftl Anyone else? M- - Original Message - From: "Wei, Mei" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, January 27, 2008 1:10 AM Subject: RE: how to make

RE: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-26 Thread Wei, Mei
I'm the other Tab!!! Thanks, Mei -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Saturday, January 26, 2008 8:26 AM To: Struts Users Mailing List Subject: Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11 http://struts

Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-26 Thread Martin Gainty
y 26, 2008 2:02 AM Subject: how to make ajax validation works with s:tabbedPanel in struts 2.0.11 Hi, I would like to make a page has ajax validation and also display as tabbedPanel. I am using struts 2.0.11, and learned from http://java-x.blogspot.com/2006/11/struts-2-validation.html that

how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-25 Thread Wei, Mei
Hi, I would like to make a page has ajax validation and also display as tabbedPanel. I am using struts 2.0.11, and learned from http://java-x.blogspot.com/2006/11/struts-2-validation.html that to use ajax validation, in the jsp file, I can not have . But to display tabbedPanel, I need

Changing the location of the ajax validation error

2008-01-24 Thread Mark Levitsky
Hi, I am stating the use of struts 2 and I would to know how can I customize the ajax validation errors. I know how to customize the style but I would like to customize the location of the error that will appear At the moment it appears only at the op of the textfield, I would like to change

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
: orshoe [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 5:41 PM To: user@struts.apache.org Subject: Ajax validation example on Apache Struts website Hi Can anyone please fix the example page at http://struts.apache.org/2.0.6/docs/ajax-validation.html I am having to implement ajax validation

Ajax validation example on Apache Struts website

2007-08-07 Thread orshoe
Hi Can anyone please fix the example page at http://struts.apache.org/2.0.6/docs/ajax-validation.html I am having to implement ajax validation with Struts 2, and not only is there a lack of concrete resources on the web, the existing one - like the one above are either incomplete or do not

Re: Struts 2 Dojo tld struts-dojo-tags issue for Ajax validation

2007-08-07 Thread Musachy Barroso
The dojo plugin will be available on version 2.1 which has not been released yet. To do ajax validation on the 2.0.x family you would have to use DWR. regards musachy On 8/7/07, orshoe <[EMAIL PROTECTED]> wrote: > > Hi, > I am trying to set up Struts 2 ajax-validation for my appli

Struts 2 Dojo tld struts-dojo-tags issue for Ajax validation

2007-08-07 Thread orshoe
Hi, I am trying to set up Struts 2 ajax-validation for my application, but the application is not finding the struts-dojo-tags tld. Can anyone tell me where I can find the tld jar, or if there is a dojo plugin for struts2 that is shipped separately from the core. I am using Struts 2.0.9, and

[S2] css_xhtml theme & ajax validation

2007-08-06 Thread TuomoS
Dear all, Is it possible to use the css_xhtml theme template and ajax validation together with forms? Since ajax theme extends xhtml theme .. is the only option to modify the ajax theme by hand? Regards, TuomoS -- View this message in context: http://www.nabble.com/-S2--css_xhtml-theme

Re: [S2 Snapshot] Ajax-Validation with XHTML-theme

2007-07-31 Thread Musachy Barroso
That's weird as it seems to work for me (but I'm using svn head anyway) musachy On 7/31/07, Sandro Giessl <[EMAIL PROTECTED]> wrote: > On Monday 30 July 2007 19:12:45 Musachy Barroso wrote: > > Look at the ajax validation example in showcase. > > Are you sure

Re: [S2 Snapshot] Ajax-Validation with XHTML-theme

2007-07-31 Thread Sandro Giessl
On Monday 30 July 2007 19:12:45 Musachy Barroso wrote: > Look at the ajax validation example in showcase. Are you sure that the AJAX validation in the showcase is working properly? In struts2-showcase/nodecorate/quizAjax.action (S2.1 snapshot), the first example puts a strange response in

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-30 Thread Musachy Barroso
You are right, there is no notion of validating one field only, that logic should then be on the client (you know the field you are validating so just show the errors for that field). This ajax validation thing is not written in stone :), we can add more stuff to cover more use cases, so

Re: [S2 Snapshot] Ajax-Validation with XHTML-theme

2007-07-30 Thread Musachy Barroso
Look at the ajax validation example in showcase. musachy On 7/30/07, Sandro Giessl <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder if anyone here has successfully used Struts 2.1 ajax-validation > (http://struts.apache.org/2.x/docs/ajax-validation.html) with a s:form tag > t

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-30 Thread Sandro Giessl
Hi Musachy, On Wednesday 25 July 2007 03:47:58 Musachy Barroso wrote: > It would be easy to implement: > > http://struts.apache.org/2.x/docs/ajax-validation.html What would be the basic approach to implement this? One possible solution I see is to fire validation on every "onblur" event in the

[S2 Snapshot] Ajax-Validation with XHTML-theme

2007-07-30 Thread Sandro Giessl
Hi, I wonder if anyone here has successfully used Struts 2.1 ajax-validation (http://struts.apache.org/2.x/docs/ajax-validation.html) with a s:form tag that is 'xhtml'-themed. I tried it, but I only get a bunch of javascript popup messages like "do not validate:registerForm_log

Re: [s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Musachy Barroso
It would be easy to implement: http://struts.apache.org/2.x/docs/ajax-validation.html musachy On 7/24/07, Piero Sartini <[EMAIL PROTECTED]> wrote: I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a "realtime" validator that is fired when the user switche

[s2.1] Real-Time AJAX Validation when filling out the form?

2007-07-24 Thread Piero Sartini
I want to use s2.1 for a new project. Now I try to figure out how it is possible to make a "realtime" validator that is fired when the user switches fields. With 2.0.8 there was DWR and the ajax theme. Now I do have the dojo plugin and the interceptor. sx:submit tag .. but there are no sx:form

Re: [S2] Ajax validation

2007-06-19 Thread Musachy Barroso
By the way, remember there is a javascript validation (validate="true" on form), and an "ajax" validation (DWR on 2.0, and interceptor+dojo on 2.1), if that is not confusing enough, you can used them together :) regards musachy On 6/19/07, Dave Newton <[EMAIL PROTECTE

Re: [S2] Ajax validation

2007-06-19 Thread Dave Newton
Never mind :/ During editing the form's ajax theme got deleted and I didn't notice. Actually leads to another problem regarding a form with validation errors that updates a different div on success, though, but that's a new topic :) d. --- Dave Newton <[EMAIL PROTECTED]> wrote: > Hi, > > If I'

[S2] Ajax validation

2007-06-19 Thread Dave Newton
Hi, If I'm using the Ajax theme and an where are the messages being built into the JavaScript coming from, can I change them, and to what extent (i.e., action-alias level properties etc.)? Thanks, Dave ___

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Jeromy Evans
to globally/manually include those scripts? Musachy Barroso wrote: I don't see the tabPanel, assuming this is the jsp without it. Compare the generated html with/without the tabPanel, there should be a validation function in both. musachy On 5/22/07, jdemic <[EMAIL PROTECT

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread jdemic
Additionally, how >> bad >> of an idea is it to globally/manually include those scripts? >> >> >> >> >> Musachy Barroso wrote: >> >>> I don't see the tabPanel, assuming this is the jsp without it. Compare >>> the >>

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Jeromy Evans
he jsp without it. Compare the generated html with/without the tabPanel, there should be a validation function in both. musachy On 5/22/07, jdemic <[EMAIL PROTECTED]> wrote: Hey All, I'm attempting to perform ajax validation in a tabbedPanel and I'm getting the following JS e

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Musachy Barroso
Those scripts are included by the head tag if I don't remember wrong, so set theme="xhtml" or "css_xhtml" (on the head tag). I haven't use DWR before so I can't help you much. Did you configure it on web.xml? Rest assured that ajax validation is way easier in 2

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread jdemic
is the jsp without it. Compare the > generated html with/without the tabPanel, there should be a validation > function in both. > > musachy > > On 5/22/07, jdemic <[EMAIL PROTECTED]> wrote: >> >> >> Hey All, >> >> I'm attempting to perfo

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Musachy Barroso
I don't see the tabPanel, assuming this is the jsp without it. Compare the generated html with/without the tabPanel, there should be a validation function in both. musachy On 5/22/07, jdemic <[EMAIL PROTECTED]> wrote: Hey All, I'm attempting to perform ajax validation in a

  1   2   >