Validator Logs

2005-07-09 Thread tarek.nabil
Hi everyone, I'm using Struts 1.1 and log4j for logging. I'm setting the log level for the root logger to debug, and yet, I can not see the logs coming from the validation framework. I tried setting the log levels for the validation framework package explicitly and even the additivity but still I

Message arguments referencing variables

2005-07-09 Thread tarek.nabil
Hi everyone, I'm using Struts 1.1B2 and the the validation framework. I'm trying to use the maxlength validator that ships with Struts. According to chapter 12 in the Struts in Action book, one should do that following: field property=remarks depends=maxlength arg0

RE: Message arguments referencing variables

2005-07-09 Thread tarek.nabil
Sorry, that turned out to be a silly mistake :( -Original Message- From: tarek.nabil Sent: Saturday, July 09, 2005 4:39 PM To: Struts Users Mailing List Subject: Message arguments referencing variables Hi everyone, I'm using Struts 1.1B2 and the the validation framework. I'm trying

RE: Security in Struts

2005-05-29 Thread tarek.nabil
- Original Message - From: tarek.nabil [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, May 25, 2005 5:12 AM Subject: Security in Struts Hi everyone, We're building a project using Struts and are about to start on the security module. The requirements

RE: Security in Struts

2005-05-26 Thread tarek.nabil
mean by button level authentication??? Hope this helps, Aladin tarek.nabil wrote: Hi everyone, We're building a project using Struts and are about to start on the security module. The requirements are that security should be fine grained, which means that it can not be on the module level

RE: Security in Struts

2005-05-26 Thread tarek.nabil
Thanks David. But it seems that this framework only works with Spring, and we're not using Spring. -Original Message- From: Durham David R Jr Ctr 805 CSPTS/SCE [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 6:45 PM To: Struts Users Mailing List Subject: RE: Security in Struts

Security in Struts

2005-05-25 Thread tarek.nabil
Hi everyone, We're building a project using Struts and are about to start on the security module. The requirements are that security should be fine grained, which means that it can not be on the module level, but rather on the JSP or Action level. Actually, the users might ask for security on the

RE: JSP Buffer Size

2005-05-23 Thread tarek.nabil
] Sent: Sunday, May 22, 2005 4:13 PM To: Struts Users Mailing List Subject: Re: JSP Buffer Size assuming you can handle the exception when buffer overflows %@ page buffer=9kb autoFlush=false % Martin- - Original Message - From: tarek.nabil [EMAIL PROTECTED] To: Struts Users Mailing List

JSP Buffer Size

2005-05-22 Thread tarek.nabil
Hi everyone, Is there some way that I can set the buffer size for all JSPs to some value other than the default 8kb without having to do it in every JSP? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Date validator does not ignore nulls

2005-05-06 Thread tarek.nabil
Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 6:12 PM To: Struts Users Mailing List Subject: Re: Date validator does not ignore nulls tarek.nabil wrote: validator name=date classname=org.apache.struts.util.StrutsValidator

Date validator does not ignore nulls

2005-05-05 Thread tarek.nabil
Hi everyone, For some sort of reason, I'm using Struts version 1.1b2. I have a search screen where the user can search using some date fields. I put the following field declaration in my validations.xml file field property=endDate depends=date arg0 key=forms.project.endDate/ var

PropertyUtils

2005-04-25 Thread tarek.nabil
Hi everyone, I have some insert and update actions where I copy the data the user entered from the ActionForm to a DTO object which I send as a parameter to my business method. Since I can not conform the validity of the entered data before validation, all the attributes in my ActionForm are of

RE: requiredif

2005-04-23 Thread tarek.nabil
Subject: Re: requiredif tarek.nabil wrote: Thanks Erik. I like the idea of using the same action with different URLs but how do you do that? The only way I can think of is changing the action of the form when clicking any of the buttons using JavaScript, is that what you meant? Well

RE: requiredif

2005-04-20 Thread tarek.nabil
validator. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:50 AM To: Struts Users Mailing List Subject: Re: requiredif tarek.nabil wrote: Hi Erik, Actually after some reasoning about the application I came to a conclusion that I

requiredif

2005-04-19 Thread tarek.nabil
Hi, I'm stuck with Struts 1.1b2 and I need to do some conditional validation. AFAIK, the way to do this for this version is using the requiredif validator. The problem is, I cannot find any reference information on how to add this validator to the validator-rules.xml configuration file. Please

RE: requiredif

2005-04-19 Thread tarek.nabil
msg=errors.required/ Erik tarek.nabil wrote: Hi, I'm stuck with Struts 1.1b2 and I need to do some conditional validation. AFAIK, the way to do this for this version is using the requiredif validator. The problem is, I cannot find any reference information on how to add this validator

RE: requiredif

2005-04-19 Thread tarek.nabil
the documentation shipped in 1.1RC1. Thanks again for your help. -Original Message- From: tarek.nabil Sent: Tuesday, April 19, 2005 7:41 PM To: Struts Users Mailing List Subject: RE: requiredif Thanks Erik. I was wondering, is there a client side JavaScript part? Also, is it possible to use

RE: Which version of Validator was shipped with Struts 1.1b2

2005-04-08 Thread tarek.nabil
with struts 1.1b2. Can one of the struts committers pls confirm this? Also, is there an svn way to grab these sources or should they be checked out from the old cvs repo? Phil On Apr 4, 2005 3:02 AM, tarek.nabil [EMAIL PROTECTED] wrote: Hi, I'm using Oracle's BC4J framework which was shipped

Which version of Validator was shipped with Struts 1.1b2

2005-04-04 Thread tarek.nabil
Hi, I'm using Oracle's BC4J framework which was shipped with JDeveloper 9.0.3.4 and I can not upgrade to newer versions. This frameworks supports Struts 1.1b2 and not any other version. I'm currently facing a problem with getting the validation framework to work in my application and I need to

Form name collision

2005-03-30 Thread tarek.nabil
Hi, I'm facing a problem with having multiple forms that submit to the same action on the same page. I have a search page with a few search fields. The user does the search and gets the paged results in the *SAME* page. Now, the user can either change the search criteria and search again, or use

RE: REPOST: Relative URLs

2005-03-30 Thread tarek.nabil
Hi David, I'm afraid I don't understand your solution. I'm using Struts 1.1, but I don't know what you mean by contextRelative=false. It doesn't seem to be an attribute on the img or image tags. Also, I need a solution that will work with plain old html tags as well, not just with Struts html

RE: Form name collision

2005-03-30 Thread tarek.nabil
in the action that you use. I hope this helps. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: tarek.nabil [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 12:03 To: Struts Users Mailing List Subject: Form name collision Hi, I'm facing a problem with having multiple

RE: REPOST: Relative URLs

2005-03-30 Thread tarek.nabil
about: % String basePathVar = (String) application.getAttribute(myPathVar); % . . . img src=%= basePathVar %/restOfPath/image.jpg Erik tarek.nabil wrote: Thanks everyone. I really like the idea of using a ServletContext attribute, but I'm not using the EL, is there a way I can do

REPOST: Relative URLs

2005-03-29 Thread tarek.nabil
Hi everyone, I still can not find an answer to my question, so I thought I'd repost this and try to make it clearer. I really apreciate any help. How can I refer to resources that are outside my module in a way that will not mandate rewriting all the URLs in case I change the location of my

RE: REPOST: Relative URLs

2005-03-29 Thread tarek.nabil
startup. Erik tarek.nabil wrote: Hi everyone, I still can not find an answer to my question, so I thought I'd repost this and try to make it clearer. I really apreciate any help. How can I refer to resources that are outside my module in a way that will not mandate rewriting all the URLs in case I

RE: Re: Validation only occurs client side

2005-03-25 Thread tarek.nabil
-- I suggest you set a breakpoint in the ValidatorForm.validate() method (or you could override the method) to see if it gets called. If not, then I would look into your request processor (which I noticed was a custom one). -Bill Siggelkow On 2005-03-23 11:09:06 -0500, tarek.nabil [EMAIL PROTECTED

Validation only occurs client side

2005-03-23 Thread tarek.nabil
Hi, I'm having a really weird problem. This is the first time I use the Validator. I expected to have some problems with client side validations, but what I found was client side validations are working but server side validations aren't!! The fact that client-side validations work, I think,

List Archive

2005-03-23 Thread tarek.nabil
Hi, I think the List Archive link on the main page for the Struts project is broken. I tried it several times and it always gives me this message Error occurred Required parameter listId or listName is missing or invalid This has been the case for the past 2 weeks, I think. The current URL is

RE: Older Versions

2005-03-21 Thread tarek.nabil
, tarek.nabil [EMAIL PROTECTED] wrote: Hi everyone, How can I download older versions of Struts? I can only find the latest versions on the distribution servers. I want to download the 1.1 version. Thanks, Tarek Nabil

Older Versions

2005-03-19 Thread tarek.nabil
Hi everyone, How can I download older versions of Struts? I can only find the latest versions on the distribution servers. I want to download the 1.1 version. Thanks, Tarek Nabil - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Relative URLs

2005-03-18 Thread tarek.nabil
Hi everyone, Can someone please explain how to build relative URLs that are higher in the file hierarchy than the module. For example / /images/some-image.gif /some-action.do /folder/some-jsp.jsp I'm building this application inside an existing application that does not use Struts. I can not