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

2006-12-06 Thread Tarek Nabil
I haven't had any response on the user's list for this question. Since
I'm actually asking on how to modify or override some of Struts 2
functionality, I thought that it would be acceptable to post this here.

If it's not, then please accept my apologies.

Thanks

-Original Message-
From: Tarek Nabil 
Sent: Monday, December 04, 2006 2:28 PM
To: Struts Users Mailing List
Subject: REPOST: Internationalized messages for pure JavaScript client
side validations


-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

quote
Errors are reported using the default validation message, not the
internationalized version that the server-side might be aware of. This
is a known issue. You may want to try the AJAX Client Side Validation
for messages that are fully internationalized.
/quote

Is this feature impossible to implement using the current framework? I
don't want to go to the server for simple client side validations and
the internationalized messages are a must for me.

I looked at the code and it seems that this expression is the one that
yields the message
${validator.getMessage(action)?js_string}

I'm not into freemarker but it seems to be calling something on the
validator object. Is there a way we can enhance the validation object in
some way so that it exposes the internationalized message or is this
object not aware of the user's current 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 you are not the intended recipient you must not copy,
distribute or use this email
or the information contained in it for any purpose other than to notify
us of the receipt thereof.
If you have received this message in error, please notify the sender
immediately, and delete this
email from your system.

Please note that e-mails are susceptible to change.The sender shall not
be liable for the improper
or incomplete transmission of the information contained in this
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that
this material is free from
viruses or any other defects although due care has been taken to
minimise the risk.

**
DISCLAIMER
This email and any files transmitted with it are confidential and contain 
privileged or copyright 
information. If you are not the intended recipient you must not copy, 
distribute or use this email
or the information contained in it for any purpose other than to notify us of 
the receipt thereof.
If you have received this message in error, please notify the sender 
immediately, and delete this
email from your system.

Please note that e-mails are susceptible to change.The sender shall not be 
liable for the improper
or incomplete transmission of the information contained in this 
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that this 
material is free from
viruses or any other defects although due care has been taken to minimise the 
risk.
**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problems checking out the source

2006-11-22 Thread Tarek Nabil
Thanks Alexandru and Ted for your support.

Actually, it turned out I had to configure the proxy in the SVN client's
configuration files. It was the first time I use SVN with a public
repository, and I thought that it was smart enough to detect the proxy
settings from IE; my bad.

Actually, I needed the source to submit a patch as I didn't know how to
create a patch using source files that have not been originally checked
out using SVN.

The file that I wanted to patch was web.xml in the blank application,
but it turned out the part I wanted to fix was already removed in the
latest revision :)

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 21, 2006 9:36 PM
To: Struts Developers List
Subject: Re: Problems checking out the source

If there's not a particular reason why you need the latest code, the
source code bundled with the Struts 2.0.1 beta is current as of last
month.

* http://struts.apache.org/download.cgi#struts201

Perhaps that will be enough to get started on whatever it is you want to
do.

-Ted.

On 11/20/06, Tarek Nabil [EMAIL PROTECTED] wrote:
 I hope this is the right place to ask this question. If not, then
please
 accept my apologies.

 I've been trying to check out the Struts 2 source tree, but with no
 luck. I'm able to browse up to the trunk folder using the Tortoise
SVN
 repository browser, but but for any subfolder of trunk, I get the
error
 message

 svn: PROPFIND request failed on '/repos/asf/struts/struts2/trunk'
 svn: PROPFIND of '/repos/asf/struts/struts2/trunk': could not connect
to
 server (http://svn.apache.org)

 The same thing happens when I try to use the command line version of
the
 client

 C:\Sources\Struts2svn co
 http://svn.apache.org/repos/asf/struts/struts2/trunk
 svn: PROPFIND request failed on '/repos/asf/struts/struts2/trunk'
 svn: PROPFIND of '/repos/asf/struts/struts2/trunk': could not connect
to
 server (http://svn.apache.org)

 Is this a firewall issue or do I need to do some sort of
configuration?

 Every help is appreciated.
DISCLAIMER
This email and any files transmitted with it are confidential and contain 
privileged or copyright 
information. If you are not the intended recipient you must not copy, 
distribute or use this email
or the information contained in it for any purpose other than to notify us of 
the receipt thereof.
If you have received this message in error, please notify the sender 
immediately, and delete this
email from your system.

Please note that e-mails are susceptible to change.The sender shall not be 
liable for the improper
or incomplete transmission of the information contained in this 
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that this 
material is free from
viruses or any other defects although due care has been taken to minimise the 
risk.
**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problems checking out the source

2006-11-21 Thread Tarek Nabil
 
Thanks Tm, but it's giving me the same error message :(

Does any one know the cause of such a problem?

-Original Message-
From: tm jee [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 20, 2006 4:23 PM
To: Struts Developers List
Subject: Re: Problems checking out the source

Hi Tarek,

Try it with this https://svn.apache.org/repos/asf/struts/struts2/trunk
instead and see if it works

rgds

Tarek Nabil [EMAIL PROTECTED] wrote: I hope this is the right
place to ask this question. If not, then please accept my apologies.

I've been trying to check out the Struts 2 source tree, but with no
luck. I'm able to browse up to the trunk folder using the Tortoise SVN
repository browser, but but for any subfolder of trunk, I get the error
message

svn: PROPFIND request failed on '/repos/asf/struts/struts2/trunk'
svn: PROPFIND of '/repos/asf/struts/struts2/trunk': could not connect to
server (http://svn.apache.org)

The same thing happens when I try to use the command line version of the
client

C:\Sources\Struts2svn co
http://svn.apache.org/repos/asf/struts/struts2/trunk
svn: PROPFIND request failed on '/repos/asf/struts/struts2/trunk'
svn: PROPFIND of '/repos/asf/struts/struts2/trunk': could not connect to
server (http://svn.apache.org)

Is this a firewall issue or do I need to do some sort of configuration?

Every help is appreciated.
DISCLAIMER**
**
This email and any files transmitted with it are confidential and
contain privileged or copyright information. If you are not the intended
recipient you must not copy, distribute or use this email or the
information contained in it for any purpose other than to notify us of
the receipt thereof.
If you have received this message in error, please notify the sender
immediately, and delete this email from your system.

Please note that e-mails are susceptible to change.The sender shall not
be liable for the improper or incomplete transmission of the information
contained in this communication,nor for any delay in its receipt or
damage to your system.The sender does not guarantee that this material
is free from viruses or any other defects although due care has been
taken to minimise the risk.

**

-
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]



 Send instant messages to your online friends
http://uk.messenger.yahoo.com 
DISCLAIMER
This email and any files transmitted with it are confidential and contain 
privileged or copyright 
information. If you are not the intended recipient you must not copy, 
distribute or use this email
or the information contained in it for any purpose other than to notify us of 
the receipt thereof.
If you have received this message in error, please notify the sender 
immediately, and delete this
email from your system.

Please note that e-mails are susceptible to change.The sender shall not be 
liable for the improper
or incomplete transmission of the information contained in this 
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that this 
material is free from
viruses or any other defects although due care has been taken to minimise the 
risk.
**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dispatcher

2006-11-21 Thread Tarek Nabil
I've been going through the documentation and the source and trying to
understand the architecture of Struts 2.

In the documentation for the createDispatcher method in
FilterDispatcher, it says

quoteCreate a default [EMAIL PROTECTED] Dispatcher} that subclasses can 
override
with a custom Dispatcher, if needed./quote

But when checking out the Dispatcher class, it seems that it does not
implement any interface. How can one go about implementing a different
Dispatcher if there's no defined interface? Or is there something that
I'm missing?

Thanks,
Tarek Nabil
DISCLAIMER
This email and any files transmitted with it are confidential and contain 
privileged or copyright 
information. If you are not the intended recipient you must not copy, 
distribute or use this email
or the information contained in it for any purpose other than to notify us of 
the receipt thereof.
If you have received this message in error, please notify the sender 
immediately, and delete this
email from your system.

Please note that e-mails are susceptible to change.The sender shall not be 
liable for the improper
or incomplete transmission of the information contained in this 
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that this 
material is free from
viruses or any other defects although due care has been taken to minimise the 
risk.
**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]