RE: REPOST: Internationalized messages for pure JavaScript client side validations

2006-12-10 Thread Tarek Nabil
: > Seems to me that if it returned a key instead of a message that you could > use to retrieve the appropriate > internationalized message cooresponding to the error. > (*Chris*) > > On 12/4/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: >> >> >> -

REPOST: Internationalized messages for pure JavaScript client side validations

2006-12-04 Thread Tarek Nabil
-Original Message- From: Tarek Nabil Sent: Wednesday, November 29, 2006 10:17 AM To: Struts Users Mailing List Subject: Internationalized messages for pure JavaScript client side validations Hi, I read the following in the documentation Errors are reported using the default

RE: Parameters not being set on Action in Struts 2

2006-12-01 Thread Tarek Nabil
Looks like it is that issue indeed :( From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Fri 12/1/2006 4:34 PM To: Struts Users Mailing List Subject: Re: Parameters not being set on Action in Struts 2 On 12/1/06, Tarek Nabil <[EMAIL PROTECTED]> wrote:

RE: Parameters not being set on Action in Struts 2

2006-12-01 Thread Tarek Nabil
ion in Struts 2 I dropped in the JARS from the the 2.0.1 showcase, and it seemd to work just fine. You might want to try deploying it on another workstation there. -Ted. On 11/29/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: > > Thanks Ted. > > I sent the WAR file and zip file co

RE: Does Struts 2 solve the action chaining problem?

2006-11-30 Thread Tarek Nabil
one for your help. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 5:36 PM To: Struts Users Mailing List Subject: Re: Does Struts 2 solve the action chaining problem? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek, Tare

Internationalized messages for pure JavaScript client side validations

2006-11-28 Thread Tarek Nabil
t locale at all? Could it be enhanced so that it is aware of it? Thanks, Tarek Nabil DISCLAIMER This email and any files transmitted with it are confidential and contain privileged or copyright information. If

Does Struts 2 solve the action chaining problem?

2006-11-28 Thread Tarek Nabil
roblem in an elegant way? I remember coming across something about using Interceptors for that, but that would mean creating an Interceptor for almost every action of that type. I also noticed that there are some warnings in the documentation against using action chaining in Struts 2 as well.

RE: Parameters not being set on Action in Struts 2

2006-11-28 Thread Tarek Nabil
pplication, so we can work out what's wrong. (The list doesn't accept attachments.) -Ted. On 11/28/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: > It exhibits the same behavior even after converting the "param" > field/parameter to a String. > >

RE: Parameters not being set on Action in Struts 2

2006-11-27 Thread Tarek Nabil
ubject: Re: Parameters not being set on Action in Struts 2 Try it again using a String property, to be sure it is not a problem with the type conversion. On 11/27/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: > To clear my doubts, I re-built this application using WW 2.2.4. I > expe

RE: Parameters not being set on Action in Struts 2

2006-11-27 Thread Tarek Nabil
work with WW 2.2.4 is minimal, so I won't go ahead and copy all the files here. -Original Message- From: Tarek Nabil Sent: Monday, November 27, 2006 5:29 PM To: Struts Users Mailing List Subject: RE: Parameters not being set on Action in Struts 2 Thanks Peter and Ted. I'm afraid

RE: Parameters not being set on Action in Struts 2

2006-11-27 Thread Tarek Nabil
ge- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Sunday, November 26, 2006 6:07 PM To: Struts Users Mailing List Subject: Re: Parameters not being set on Action in Struts 2 On 11/26/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: > I was pretty sure that the correct method was

RE: Parameters not being set on Action in Struts 2

2006-11-25 Thread Tarek Nabil
ct with using wildcards. To use the Check the struts.properties file for the line "struts.enable.DynamicMethodInvocation", and set it to true. We're working on some new code for Struts 2 that will extend the "!" syntax so that it can happily coexist with wildcards. -Ted. On 11/23/06, T

Parameters not being set on Action in Struts 2

2006-11-23 Thread Tarek Nabil
ameters()); In the URL, I call the following http://server/application/namespace/dod1!setup.action?type=1 The result is that the parameters map is logged as {} and in my method when I attempt to access the type field, I find it to be null! Could someone please point me to what could be wrong? Than

Extending Themes

2006-11-22 Thread Tarek Nabil
tributes exposed by "parameters". Could some one please point me to such a reference if one exists? Thanks, Tarek Nabil DISCLAIMER This email and any files transmitted with it are confidential and co

RE: Is Action Chaining Strongly Discouraged?

2006-05-06 Thread Tarek Nabil
sers Mailing List Subject: Re: Is Action Chaining Strongly Discouraged? Tarek Nabil wrote: > Do you mean that you're doing a redirect after processing the post? > Who, me? If no, ignore the following. I'm not sure I understand the question. In a nutshell: for a GET I do what

RE: validation breaks my form prepopulation

2006-05-03 Thread Tarek Nabil
If you don't associate your setup action with a form bean, the reset method will not be called, and whatever was in the form will be retained. -Original Message- From: Kyle W. Cartmell [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 2:39 AM To: Struts Users Mailing List Subject:

RE: Is Action Chaining Strongly Discouraged?

2006-05-02 Thread Tarek Nabil
Dave, Do you mean that you're doing a redirect after processing the post? I've been thinking about this action chaining issue for some time since I used it in my last project and it resulted in some code duplication. The reason is, I was storing the setup data in my form (which I still think is b

RE: FW: mapping.getInput()

2006-05-02 Thread Tarek Nabil
Actually, I wasn't indicating it should be any different, I just meant that it's an easier and more straightforward way of doing it. From: Pat Slater [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 7:35 PM To: Struts Users Mailing List; T

FW: mapping.getInput()

2006-05-01 Thread Tarek Nabil
Not that it has anything to do with your problem, but why are you doing it this way? Why don't you do return mapping.getInputForward(); -Original Message- From: Pat Slater [mailto:[EMAIL PROTECTED] Sent: Sunday, April 30, 2006 7:22 PM To: user@struts.apache.org Subject: mapping.getInput

Re: Validation Configuration for Multiple Modules

2005-10-13 Thread tarek . nabil
Thanks Adam. I'm sure no one will be able to verify whether this was a bug in 1.1b2 (why I'm using b2 is a looong story, but I'm stuck with it). Is there a way I can find out from Bugzilla whether this was a bug that was fixed in later versions? - Original Message - >From Adam Hardy

Validation Configuration for Multiple Modules

2005-10-10 Thread tarek . nabil
Hi everyone, I'm using *Struts 1.1* to build an application with multiple Struts modules. I put my validations for each module in a seperate validations.xml file. For example, I have validations-a.xml for module a and validations-b.xml for module b. I then found out that although the validati