RE: [Shale] Backingbean beeing created twice

2006-03-30 Thread hermod.opstvedt
Hi And you are absolutly right : 1st Pass: Class.newInstance0() line: 350 Class.newInstance() line: 303 ClassUtils.newInstance(Class) line: 274 ClassUtils.newInstance(String) line: 265 ManagedBeanBuilder.buildManagedBean(FacesContext, ManagedBean) line: 49 VariableResolverImpl.resolveVariable(Fac

Internationalized Validation

2006-03-30 Thread Vinit Sharma
Hi, I've an Internationalized application and my requirement is to support validation based on the locale selected. For eg, I've a user input form, which is displayed in some particular locale. Suppose use enters the data in its own locale format (1,234,567 or 1,234.567). When this is submitted, t

Re: Open Source Motivations (Re: I Apologize)

2006-03-30 Thread Dakota Jack
Are the insiders the ones that coded Struts out the door or the ones that are bringing new code to the table? If you meant the ones that coded Struts out the door then if they refuse to do anything about lessons learned, I would not listen to them. I would listen to the outsiders who told them th

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
Yah, Bart. You are right. I apologized and I meant it. On 3/30/06, Bart Busschots <[EMAIL PROTECTED]> wrote: > > Dakota Jack wrote: > > >I disagree. From this discussion I have to assume that Dion knows he is > not > >in a position to argue this point and the point is pretty fundamental in > th

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
I did not say you cannot write decent tests for Struts. You can write decent tests for almost anything. I said one of the main problems with Struts is the difficulty in testing it. I don't think that is debatable. If it is, then I don't want to debate it. The reasons for that are crystal clear

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
Yes. I know what stability means and what changing means, Alexandre. I don't have to go to a dictionary. I only go to a dictionary when I don't know what a word means. Let me try and get you to see the context. I was saying that getting the questions answered about what went wrong was importan

Re: Replacing Validator 1.2 with 1.3?

2006-03-30 Thread Julian Tillmann
Oh that sounds great, thanks :) Julian > --- Ursprüngliche Nachricht --- > Von: "Niall Pemberton" <[EMAIL PROTECTED]> > An: "Struts Users Mailing List" > Betreff: Re: Replacing Validator 1.2 with 1.3? > Datum: Thu, 30 Mar 2006 14:32:07 +0100 > > It worked just fine - in fact it works better IM

SV: [Shale] Backingbean beeing created twice

2006-03-30 Thread Hermod Opstvedt
Hi I'll look at the trace from the debugger for both instance creations and confirm this. Hermod -Opprinnelig melding- Fra: Gary VanMatre [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2006 00:47 Til: Struts Users Mailing List Emne: Re: [Shale] Backingbean beeing created twice >From: "Craig

Re: Why did Struts development stagnate?

2006-03-30 Thread Dion Gillard
On 3/31/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > > Dion Gillard wrote: > > On 3/31/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > > >>I am sorry you took this personally, Dion. I meant nothing about you > >>personally. I am just saying that what you are advocating is well-known > >>in >

Re: The Mytical stagnation

2006-03-30 Thread Vinny
What are the popular technologies in your area? On 3/30/06, Joel Alejandro Espinosa Carra <[EMAIL PROTECTED]> wrote: > Konstantin Priblouda wrote: > > > > > --- Jonathan Revusky <[EMAIL PROTECTED]> wrote: > > > > > >> Since I don't see that, I have to conclude that most > >> people don't grok what

Re: [java:Conditional Operators]

2006-03-30 Thread Martin Gainty
its a ternary operator e.g. boolean-exp ? value0 : value1 if vIsForm is NOT NULL then vIsForm is "form" else vIsForm is "Task" if the result of (aActionMapping.findForward(vWorkForwardName) == null) then assign vForwardName to vIsForm(from above) else ass

Re: Why did Struts development stagnate?

2006-03-30 Thread Jonathan Revusky
Dion Gillard wrote: On 3/31/06, Dakota Jack <[EMAIL PROTECTED]> wrote: I am sorry you took this personally, Dion. I meant nothing about you personally. I am just saying that what you are advocating is well-known in the literature and in fact to be a problem. This is a main reason why Struts

Re: Why did Struts development stagnate?

2006-03-30 Thread Bart Busschots
Dakota Jack wrote: I disagree. From this discussion I have to assume that Dion knows he is not in a position to argue this point and the point is pretty fundamental in the community. I tried being soft on that but he just returns expecting to be hand fed. I am not going to do it. No one sa

Re: [Shale] Backingbean beeing created twice

2006-03-30 Thread Gary VanMatre
>From: "Craig McClanahan" <[EMAIL PROTECTED]> > > On 3/30/06, Hermod Opstvedt wrote: > > > > Hi > > > > I am seeing some odd behaviour in my Shale/Clay application. My > > backingbean > > (ie ViewController) is being created twice, meaning I have 2 instances of > > it. I was wondering if th

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
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

problem on url rewriting and cookies ,

2006-03-30 Thread Legolas Woodland
Hi Thank you for reading my post I have a problem with my hosted application , when i click on some of my links in the web application the server return an exception like : java.lang.IllegalArgumentException: Path http://www.mysite.com/ does not start with a "/" character org.apache.struts

Re: [Shale] Backingbean beeing created twice

2006-03-30 Thread Craig McClanahan
On 3/30/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote: > > Hi > > I am seeing some odd behaviour in my Shale/Clay application. My > backingbean > (ie ViewController) is being created twice, meaning I have 2 instances of > it. I was wondering if this is expected behaviour or if this is a bug. > From

Re: The Mytical stagnation

2006-03-30 Thread Joel Alejandro Espinosa Carra
Konstantin Priblouda wrote: --- Jonathan Revusky <[EMAIL PROTECTED]> wrote: Since I don't see that, I have to conclude that most people don't grok what is going on, or at least the full implications. If one does understand the full implications, one ought to be quite wary about continuing to

SV: [Shale] Backingbean beeing created twice

2006-03-30 Thread Hermod Opstvedt
Hi To further augment that, I also noticed that my QueryObject (as taken from the rolodex example) is fully populated the for the first object, but not for the second. Med vennlig hilsen Hermod Opstvedt Webmaster Seiling.org/Norlys.org -Opprinnelig melding- Fra: Hermod Opstvedt [mailto:

[Shale] Backingbean beeing created twice

2006-03-30 Thread Hermod Opstvedt
Hi I am seeing some odd behaviour in my Shale/Clay application. My backingbean (ie ViewController) is being created twice, meaning I have 2 instances of it. I was wondering if this is expected behaviour or if this is a bug. From the stacktrace: ResultatPage.() line: 71 NativeConstructorAccessorIm

Re: Why did Struts development stagnate?

2006-03-30 Thread Dion Gillard
On 3/31/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > > I am sorry you took this personally, Dion. I meant nothing about you > personally. I am just saying that what you are advocating is well-known > in > the literature and in fact to be a problem. This is a main reason why > Struts 1.x is being

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Gary VanMatre
>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

Re: [java:Conditional Operators]

2006-03-30 Thread Michael Jouravlev
On 3/30/06, temp temp <[EMAIL PROTECTED]> wrote: > I did not understand the following code with multiple conditional operators. > boolean vIsForm=true; > String vForwardName = (aActionMapping.findForward(vWorkForwardName) > == null) > ? (vIsForm) ? "form" : "task"

RE: [java:Conditional Operators]

2006-03-30 Thread Slattery, Tim - BLS
> I did not understand the following code with multiple > conditional operators. > boolean vIsForm=true; > String vForwardName = > (aActionMapping.findForward(vWorkForwardName) == null) > ? (vIsForm) ? "form" : "task" > : vWorkForwardName; > >

[java:Conditional Operators]

2006-03-30 Thread temp temp
I did not understand the following code with multiple conditional operators. boolean vIsForm=true; String vForwardName = (aActionMapping.findForward(vWorkForwardName) == null) ? (vIsForm) ? "form" : "task" : vWorkForwardName; Can some body expla

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
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

Re: Open Source Motivations (Re: I Apologize)

2006-03-30 Thread Hubert Rabago
Al, Not everyone who posts on the lists are insiders. If you want some insider info, go to the actual people doing the work, like Don Brown. http://marc.theaimsgroup.com/?l=struts-dev&m=114369603519450&w=2 Hubert On 3/30/06, Al Eridani <[EMAIL PROTECTED]> wrote: > On 3/29/06, Craig McClanahan <

Re: The Mytical stagnation

2006-03-30 Thread Al Eridani
On 3/30/06, Konstantin Priblouda <[EMAIL PROTECTED]> wrote: > but now there is serious demand (in germany). Not in the San Francisco Bay Area; in craigslist, Struts: 80, WebWork: 2. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Open Source Motivations (Re: I Apologize)

2006-03-30 Thread Al Eridani
On 3/29/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > You need to pay attention to the credibility of who is doing the > "describing" that you are referring to. I just go by what the insiders have published here. If the insiders have no credibility, let's turn off the lights and go home. Whe

RE: href in a table column

2006-03-30 Thread fea jabi
can anyone suggest if this is the right way to do? thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: href in a table column Date: Wed, 29 Mar 2006 15:08:02 -0500 This is struts related question itself. using displaytag too.

Re: The Mytical stagnation

2006-03-30 Thread Jonathan Revusky
Konstantin Priblouda wrote: --- Jonathan Revusky <[EMAIL PROTECTED]> wrote: Since I don't see that, I have to conclude that most people don't grok what is going on, or at least the full implications. If one does understand the full implications, one ought to be quite wary about continuing

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Rafael Nami
God, if I had this in my project a year ago :( 2006/3/30, Michael Jouravlev <[EMAIL PROTECTED]>: > > On 3/30/06, vasumathi <[EMAIL PROTECTED]> wrote: > > Hi > > i like to know the difference between DispatchAction and > > LookupDispatchAction in struts 1.2. anyone can help me... > > They bot

Re: Getting list of values from checkboxes

2006-03-30 Thread Dan Jas
I doubt this is optimized and was done in Struts 1.1. I used a map with each entry holding the key for given record in the database. Then all the check boxes mapped to the same map, each checkbox with a unique key. My input form in the JSP has There is probably a way to get this to work as

Re: Why did Struts development stagnate?

2006-03-30 Thread Alexandre Poitras
Stability : Relatively unchanging, permanent; firmly fixed or established, Of course, it usually only refers to the framework API. It doesn't have anything to do with improvements or not, changing is changing for the best or the worst. "There is nothing incompatible between being -->stable<-- and

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
Again, Alexandre, how are these contradictory? Oh, LOL, I see what you are thinking, if I can guess. You think that code improvement and migration are unstable. Unstable is when you cannot count on a product for the long run. This means stability embraces change and improvement, keeping up with

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Gary VanMatre
>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

Re: Why did Struts development stagnate?

2006-03-30 Thread Alexandre Poitras
Yesterday : "The stability of a platform like Struts is a big deal" Today : "Backward compatibility is never a reason to trash a product. You go through a process of deprecation." On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I have no idea, Alexandre, why you think this is a contradiction

[Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
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

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
I have no idea, Alexandre, why you think this is a contradiction. Could you please point that out? On 3/30/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > You lack memory Dakota, here's what you just wrote yesterday : > > "The hullabaloo, Larry, is about the stability of the platform with a

Re: Getting list of values from checkboxes

2006-03-30 Thread Gary Feidt
I had used a javascript function to gather all the checked checkbox ids on the Form into a pipe delimited string and saved that in a hidden field. And then pulled that apart in the Action to deside which ones I needed to delete. It worked for me. Gary chuanjiang lo wrote: > Hi all, > > I have t

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
Dion, I have taken another look at my response. I see that it is too emotionally laden. My apologies. However, on the substantive issues, this really is a matter of just reading the literature. If you find any reason to debate the issue, then I would be happy to do that. But, to see what it t

Re: Why did Struts development stagnate?

2006-03-30 Thread Alexandre Poitras
You lack memory Dakota, here's what you just wrote yesterday : "The hullabaloo, Larry, is about the stability of the platform with a bunch of committers who don't appear to be up to the job and who are not willing to look at what went wrong. The stability of a platform like Struts is a big deal.

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
I disagree. From this discussion I have to assume that Dion knows he is not in a position to argue this point and the point is pretty fundamental in the community. I tried being soft on that but he just returns expecting to be hand fed. I am not going to do it. On 3/30/06, Jonathan Revusky <[EM

Re: Why did Struts development stagnate?

2006-03-30 Thread Alexandre Poitras
And we go throught personnal attacks again On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > So, Alexandre, do you think there are testing problems with Struts 1.x? Do > you think I have the obligation to teach the foundation of this well-known > fact to these folks? If you know the answe

Re: indexed property validation: how to keep the value the user entered

2006-03-30 Thread Carl Smith
Your comments make great sense... I moved the initializing part from the displayAction to the reset method in the form bean as you suggested and it works as expected. Thanks. Laurie Harper <[EMAIL PROTECTED]> wrote: OK, so when validation fails Struts forwards to displayTesting w

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
So, Alexandre, do you think there are testing problems with Struts 1.x? Do you think I have the obligation to teach the foundation of this well-known fact to these folks? If you know the answer and you are so all-mighty, why don't you take the reins? You are the troll. That is the fact. I have

Re: The Mytical stagnation

2006-03-30 Thread Konstantin Priblouda
--- Jonathan Revusky <[EMAIL PROTECTED]> wrote: > Since I don't see that, I have to conclude that most > people don't grok > what is going on, or at least the full implications. > If one does > understand the full implications, one ought to be > quite wary about > continuing to invest in buil

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
The literature is replete on these issues. Struts 1.x is designed without interfaces and is difficult to test. I don't owe you anything. Dion asked me to note something really wrong with Struts 1.x and I did. Now he wants me to teach him about testing and design. I have to refuse. I refuse wi

Re: Why did Struts development stagnate?

2006-03-30 Thread Dakota Jack
I am sorry you took this personally, Dion. I meant nothing about you personally. I am just saying that what you are advocating is well-known in the literature and in fact to be a problem. This is a main reason why Struts 1.x is being abandoned. I am not going to take the time to show you someth

Re: Getting list of values from checkboxes

2006-03-30 Thread Bharathi Kattamuri
It is trivial with multibox. below examples is an example of usage. name="acontact" property="id"/> where contIds is defined as Interger[] in a DynaActionForm. more details you can found here. http://husted.com/struts/tips/007.html Hope it is useful Bharathi chuanjiang lo wrote: Hi all, I

Re: response.addHeader problem

2006-03-30 Thread A Amarakoon
By the way my struts.config looks like this. http://localhost:8080/HeadSimulator/checker.do"; redirect="true" contextRelative="false" /> - Original Message - From: A Amarakoon <[EMAIL PROTECTED]> Date: Thursday, March 30, 2006 9:14 am Subject: response.addHeader problem > >

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Michael Jouravlev
On 3/30/06, vasumathi <[EMAIL PROTECTED]> wrote: > Hi > i like to know the difference between DispatchAction and > LookupDispatchAction in struts 1.2. anyone can help me... They both have their deficiencies. If you are looking for a good dispatching action, use EventActionDispatcher from Struts

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Frank W. Zammetti
A DispatchAction contains a number of different methods other than the standard execute(). These methods are executed based on some request parameter. Your action mapping in struts-config specifies the request parameter to examine. Then, whatever the value of that parameter is for a given reques

response.addHeader problem

2006-03-30 Thread A Amarakoon
Struts 1.2.7 on windows. I am trying add cutom http header within action. The I do redirect to a another web app. Problem I have is that web app does not see the headers I added. Am I missing something? my action class: response.addHeader("header1","myFirstHeader"); response.ad

Re: The Mytical stagnation

2006-03-30 Thread Jonathan Revusky
Vinny wrote: Jon, I think most of use were well aware of the merger. See : http://marc.theaimsgroup.com/?l=struts-user&m=113321040221316&w=2 We've hashed over this before you showed up: and this : http://marc.theaimsgroup.com/?t=11334881332&r=1&w=2 You might want search our archive a bit.

Getting list of values from checkboxes

2006-03-30 Thread chuanjiang lo
Hi all, I have this list of students display on a table. Every record would have a checkbox beside it. If the checkbox is checked and user press delete, the action form is suppose to collect all the checkbox values and delete the records in the database. Can anyone enlighten me on getting the lis

Re: New to Struts

2006-03-30 Thread Ted Husted
On 3/30/06, Naveen Sharma <[EMAIL PROTECTED]> wrote: > Hi all, > Can any one help me with Struts as I am new to it and I am supposed to learn > Struts. > Thanx in advance > Navin The short answer is * http://struts.apache.org/struts-doc-1.2.9/index.html For a longer answer, I just updated the FA

Re: Why did Struts development stagnate?

2006-03-30 Thread Jonathan Revusky
Michael Jouravlev wrote: On 3/29/06, Graham Reeds <[EMAIL PROTECTED]> wrote: Think of it this way: Would you prefer Struts 2.0 to be written from scratch looking much like WebWork but with all the usual teething problems/bugs or have the WebWork and Struts merge, gaining a larger user-developer

Re: Replacing Validator 1.2 with 1.3?

2006-03-30 Thread Niall Pemberton
It worked just fine - in fact it works better IMO because there are a number of bugs fixed :-) Niall On 3/30/06, Julian Tillmann <[EMAIL PROTECTED]> wrote: > Hi again, > > just a quick question: what's your experience with replacing Validator V1.2 > with V1.3, what problems did occur, what did yo

Re: Why did Struts development stagnate?

2006-03-30 Thread Jonathan Revusky
Dakota Jack wrote: Sigh .. Dion, I am sorry, but I am not going to stoop this low. Come back later when you are grown up in this business. I hate to do this but I am not going to start at 101 with you. Someone else can. I am not going to. You DON'T have a clue about these issues and do

RE: Struts Validation

2006-03-30 Thread Sahil Gupta
Thanks Bart, I will try and do as you said. Thanks a lot Regards, Sahil Gupta -Original Message- From: Bart Busschots [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 5:51 PM To: Struts Users Mailing List Subject: Re: Struts Validation The reason you can use a space is beca

Re: Struts Validation

2006-03-30 Thread Bart Busschots
The reason you can use a space is because you have . in there which does NOT mean the character . but 'anything', that is matching your spaces. Having a - in a character class un-escaped is definitely incorrect syntax as it's the range opperator for things like A-Z and a-z. The & thing is wrong

RE: Struts Validation

2006-03-30 Thread Sahil Gupta
Bart, the mask that I have been using is ^[a-zA-Z]{1}[a-zA-Z0-9\n_,;?!;:[EMAIL PROTECTED]/\\()&$%#*+=-]*$ And this allows me to use spaces, & , - and other special characters mentioned above. Just that \n does not work here. Regards, Sahil Gupta -Original Message- From: Bart Busscho

Re: [Shale] When to create a database Connection?

2006-03-30 Thread Alexandre Poitras
If you need to finish this project quickly, Spring JDBCTemplate is your friend. It will take care of this messy exception handling code for you. Trust me, it doesn't take more then 1 or 2 hours to learn it and you will save tons of time. Plus, it makes your code easier to migrate to a ORM tool if y

Re: Extending DynaActionForm

2006-03-30 Thread Ted Husted
In Struts Action 1.2 and prior, you could define a DynaActionForm and use it's name in more than one action mapping, just like you can with any ActionForm.You can also extend DynaActionForm as base class and add convetional properties, and resuse those in the usual way. But that *was* it. In Strut

Re: Struts Validation

2006-03-30 Thread Dion Gillard
Bart, the ( and ) may need to be escaped too. On 3/30/06, Bart Busschots <[EMAIL PROTECTED]> wrote: > > Hi Sahil, > > I'm 90% sure the problem here is that some more of the special > characters in your large character class need to be escaped out. Thing > is I can't find any details of the syntax

Re: Struts Validation

2006-03-30 Thread Bart Busschots
Hi Sahil, I'm 90% sure the problem here is that some more of the special characters in your large character class need to be escaped out. Thing is I can't find any details of the syntax for REs in the struts validator docs so I'm not sure exactly which ones. At a guess I'd suggest the followi

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Ted Husted
The LookupDispatchAction * http://struts.apache.org/struts-extras/apidocs/org/apache/struts/actions/LookupDispatchAction.html is designed for use in localized applications that will have different labels on buttons in different locales. People will sometimes want to give multiple button the same

Re: Why did Struts development stagnate?

2006-03-30 Thread Alexandre Poitras
Don't bother about him Bart. I said it and I will say it again, he is a troll. I tried to have a constructive discussion with him several times. It always ends up in personal attacks (go read some books and come back...) but he is the one never backing up his claims. I am all for freedom of speech

Replacing Validator 1.2 with 1.3?

2006-03-30 Thread Julian Tillmann
Hi again, just a quick question: what's your experience with replacing Validator V1.2 with V1.3, what problems did occur, what did you have to keep an eye on or did it just work fine? ciao 4 now Julian -- Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! Kostenlos downloaden: http://www.

Extending DynaActionForm

2006-03-30 Thread vasumathi
Hi Anyone can help, how to use the properties of a DynaActionForm in other DynaActionForm with example. with regards vasu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts Validation

2006-03-30 Thread Sahil Gupta
The current mask that I am using is: mask ^[a-zA-Z]{1}[a-zA-Z0-9\n_,;?!;:[EMAIL PROTECTED]/\\()&$%#*+= -]*$ maxlength 250 And if

Re: Struts Validation

2006-03-30 Thread Bart Busschots
Can you show me the current version of your mask and a sample of an input it is rejecting? Bart. Sahil Gupta wrote: Thanks Bart, Yes, what you said was right, so I have changed \ to \\ to match \. But still I am unable to allow \n in my Validation. Regards, Sahil Gupta -Original Me

RE: Struts Validation

2006-03-30 Thread Sahil Gupta
Thanks Bart, Yes, what you said was right, so I have changed \ to \\ to match \. But still I am unable to allow \n in my Validation. Regards, Sahil Gupta -Original Message- From: Bart Busschots [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 3:39 PM To: Struts Users Mailing

Re: Struts Validation

2006-03-30 Thread Bart Busschots
OK, so your Regular expression is trying to match everything between the start (^) and the end ($) of your input and no where in it do you allow a new line character, hence it is failing. You need to allow \n in which ever part of the RE you are happy to have new lines appear in. At a guess I'd

RE: Struts Validation

2006-03-30 Thread Sahil Gupta
Here is an example of the mask that I am using. mask ^[a-zA-Z]{1}[a-zA-Z0-9_,;?!;:[EMAIL PROTECTED]/\()&$%#*+= -]*$

Re: Struts Validation

2006-03-30 Thread Bart Busschots
Can you show us the mask you currently use and then we will have a better chance of being able to help. Bart. Sahil Gupta wrote: Hi, I have used Masking in Validations. I have a text area in which I have only restricted some special characters. But still if I press Enter while adding some te

Re: Why did Struts development stagnate?

2006-03-30 Thread Bart Busschots
Dakota Jack wrote: Dion, you are obviously really green. Please read a bit and then come back. Do you have any idea about architecture and design and testing issues? This is an example of the kind of post this list could do without. The above post basically boils down to: "you disagree

Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread vasumathi
Hi i like to know the difference between DispatchAction and LookupDispatchAction in struts 1.2. anyone can help me... with regards vasu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Problem opening application in more than one browser

2006-03-30 Thread Hey Nony Moose
Shasirekha Engala wrote: > There is a struts application. If the application is opened in more than >one browser and is tested it is throwing exception. Is there any solution >for this. > (Can anyone check me on this and fix up my more grievous technical errors?) Yes, there are many solutions

Re: Problem opening application in more than one browser

2006-03-30 Thread rajasekhar . cherukuri
Hi, Are you using the new browser instance or getting a new window by using the 'RightClick - Open in new Window' ? If you are using a different browser instance, you might get error if you are not using the context related information properly. If you are using 'RightClick - Open in