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

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: maxlength 1000 Now, I tried this, and the key="${var:maxlength}"

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

Sending dynamic parameters to a forward

2005-06-14 Thread tarek.nabil
Hi Everyone, I have an action (Action1) which when completed successfully, forwards to another action (Action2). I need to be able to send dyanamic parameters to Action2. I thought about putting the parameters as request attributes, but the problem here is that Action2 can be called directly using

RE: Security in Struts

2005-05-29 Thread tarek.nabil
That may not be the case for you. Hope that helps! Eddie Bush - Original Message - From: "tarek.nabil" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 25, 2005 5:12 AM Subject: Security in Struts Hi everyone, We're building a projec

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

RE: Security in Struts

2005-05-25 Thread tarek.nabil
n they are of no use to you. Quick question... what do you 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 requireme

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-22 Thread tarek.nabil
ECTED] 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&qu

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 commands

RE: Date validator does not ignore nulls

2005-05-06 Thread tarek.nabil
hanks -Original 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: > classname="org.apache.struts.util.StrutsValid

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 datePattern ${dateFormat} The date validator is declare

PropertyUtils

2005-04-24 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 t

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

RE: requiredif

2005-04-20 Thread tarek.nabil
in as a custom 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

RE: requiredif

2005-04-19 Thread tarek.nabil
uld write a custom validator plugin that basically does the same thing? tarek.nabil wrote: > Hi Erik, > >I tried it and it didn't work. I checked out the validator and struts >jar files and it turned out that the >org.apache.struts.validator.FieldChecks class does no

RE: requiredif

2005-04-19 Thread tarek.nabil
e I'm using 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, i

RE: requiredif

2005-04-19 Thread tarek.nabil
Users Mailing List Subject: Re: requiredif 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 canno

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 ad

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 BC

Which version of Validator was shipped with Struts 1.1b2

2005-04-03 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 deb

RE: REPOST: Relative URLs

2005-03-30 Thread tarek.nabil
How about: <% String basePathVar = (String) application.getAttribute("myPathVar"); %> . . . 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 that >wi

RE: Form name collision

2005-03-30 Thread tarek.nabil
ct's value, pick that up as part of the form, and then use it as a flag 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 Lis

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 ta

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-29 Thread tarek.nabil
set at app 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 th

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 modu

RE: Re: Validation only occurs client side

2005-03-25 Thread tarek.nabil
looks okay -- 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

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

REPOST: Relative URLs

2005-03-23 Thread tarek.nabil
Can someone please advise me on this issue. Thanks -Original Message- From: tarek.nabil Sent: Saturday, March 19, 2005 10:14 AM To: user@struts.apache.org Subject: Relative URLs Hi everyone, Can someone please explain how to build relative URLs that are higher in the file hierarchy

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, mean

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

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 a

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 cha