Re: How to disable URL rewriting for session id?

2005-07-04 Thread Julian Kerr
David G. Friedman wrote: I just skimmed through cvs and have this idea for you: Edit a copy of the Html Taglib's helper class, org.apache.struts.taglibs.TagUtils, so any methods that would pull in the session variable to append to the new URL don't do that. When it's built, put it under WEB-IN

RE: howto with validator

2005-07-04 Thread Nitesh Naveen
You could do this with validator and indexed properties. When using indexed properties, JavaScript validations doesn't work. However the server side validations does. This should suffice what you need... In case you have some validations that involve business logic, you could add more validations,

architecture of composite action forms - please help

2005-07-04 Thread Rivka Shisman
Hello Friends, I have a transfer object called FatherTO that contains a collection of ChildTO's. Can you please help me with how the relevant ActionForm (i.e. FatherForm ) should look like. How should the reset() & validate() methods look like? Should I use the same jsp form for the Father

RE: Marking fields having errors in struts 1.1

2005-07-04 Thread Kalra, Ashwani
Thanks Wendy, But I am working withd 1.1 , I think I have to customize the tags of 1.1, Or can I use struts 1.2 html tags in 1.1? Has any one faced this situation? -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 9:50 AM To: Struts Users Mailing

Re: Marking fields having errors

2005-07-04 Thread Wendy Smoak
From: "Kalra, Ashwani" <[EMAIL PROTECTED]> I want to highlight the field labels or show some marker text like '!', Not the error messages The form element tags (since 1.2.5) have 'errorKey' 'errorStyle' 'errorStyleClass' and 'errorStyleId' attributes. Some combination of those should do wha

RE: Marking fields having errors

2005-07-04 Thread Kalra, Ashwani
I want to highlight the field labels or show some marker text like '!', Not the error messages -Original Message- From: Rauf Khan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 9:43 AM To: Struts Users Mailing List Subject: Re: Marking fields having errors Hi, In ur application

Re: Marking fields having errors

2005-07-04 Thread Rauf Khan
Hi, In ur application resources file, u can add this errors.header=Error List errors.footer= here color = anycolor Regards Khan On 7/5/05, Kalra, Ashwani <[EMAIL PROTECTED]> wrote: > > > Hi, > Does struts has any facility to show fields having validation error in > red color or mark it in

RE: DynaActionForm with indexed property - not updating

2005-07-04 Thread Mark Rehbein
You are a champion Niall, thanks! I can't believe I overlooked the naming conventions. Thanks again. Mark -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 July 2005 1:42 PM To: Struts Users Mailing List Subject: Re: DynaActionForm with indexed propert

Marking fields having errors

2005-07-04 Thread Kalra, Ashwani
Hi, Does struts has any facility to show fields having validation error in red color or mark it in some way? Thanks Ashwani -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 3:44 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: St

Re: DynaActionForm with indexed property - not updating

2005-07-04 Thread Niall Pemberton
You have named your indexed property in the DynaActionForm "rows" - but on your jsp you are using a var of "row" Either change the property defined in the DynaActionForm to "row" or change your jsp to refer to "rows"... Author: Pick from known affiliations

Help: DynaActionForm with indexed property - not updating

2005-07-04 Thread Mark Rehbein
Hi, I've been trying to get the values in my dynaaction form to update. I have a "populator" Action that creates my TestRow[] object and adds it to the form. The dynaaction also has a simple String property which I also populate. I then forward to my HTML form that has the row fields indexed.

Re: struts-html.tld

2005-07-04 Thread Wendy Smoak
From: "Amin Mohd Sani" <[EMAIL PROTECTED]> When I use tomcat for the below line it can run perfectly. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Then I switch to jboss, it complains that it cannot find the file. Any idea what is wrong? Assuming a Servlet 2.3 or better container,

RE: struts-html.tld

2005-07-04 Thread Amin Mohd Sani
Dear All, When I use tomcat for the below line it can run perfectly. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Then I switch to jboss, it complains that it cannot find the file. Any idea what is wrong? TIA. ---

Re: ActionForm reset() and redirect.

2005-07-04 Thread Michael Jouravlev
On 7/4/05, Ben <[EMAIL PROTECTED]> wrote: > Hi > > My form has some boolean properties and I set them to false in the > reset method. The Action that handles the form has redirect attribute > as true, i.e if there is an error, it redirects to the same page that > has the form with errors. When it

Re: Struts vs .NET???

2005-07-04 Thread Dakota Jack
I didn't ask how Mono runs on Apple, did I? On 7/3/05, Gregory Seidman <[EMAIL PROTECTED]> wrote: > On Sat, Jul 02, 2005 at 11:34:44PM -0700, Dakota Jack wrote: > } And how does C# run on Apple? LOL > > See http://www.mono-project.com/ > > --Greg > > >

Re: Struts vs .NET??? -> Real Stats

2005-07-04 Thread Dakota Jack
Actually, this did not help me at all. I understand that differences, etc. I just wondered what you thought, since I thought your conclusions were contrary to the facts. On 7/3/05, Gregory Seidman <[EMAIL PROTECTED]> wrote: > On Sat, Jul 02, 2005 at 11:48:37PM -0700, Dakota Jack wrote: > } What

NoClassDefFoundError: DefineTag

2005-07-04 Thread nicole.wollgast
Hey all, I have a problem in my web application. It usually throws a NoClassDefFoundError about the bean:define tag. This only happens when Tomcat was newly started. Reloading the frame immediately fixes the problem. So I am not sure why this happens. The Stacktrace is: --snip-- javax.servlet.Se

Re: log4j log

2005-07-04 Thread Laurie Harper
Vijay K Anand wrote: Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4j.appender.A2.append=true log4j.appender.A2.layout=org.apache.log4j.PatternLayout

RE: Securityfilter persistent login

2005-07-04 Thread David Erickson
I'd consider changing to an implementation that is Filter based and opens/closes a session on every request... that way you could easily get the current session from the request scope. -David > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Neumann > Sent: Mo

Re: Securityfilter persistent login

2005-07-04 Thread Tobias Neumann
PPS: How can I access the servlets context in a securityfilter SecurityRealmInterface implementation? I use the struts HibernatePlugIn, and the hibernate session is stored in the servlets context. So I need to access hibernate this way in my Realm implementation for database verification.

Re: swith to struts-el

2005-07-04 Thread Dewitte Rémi
I have no error but it doesn't work. Thanks for your answer anyway. Le Lundi 4 Juillet 2005 17:30, Ivan Rodriguez a écrit : > So if it doesnt work for you, try > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For addit

Re: swith to struts-el

2005-07-04 Thread Dewitte Rémi
That's it ! Thanks ! Le Lundi 4 Juillet 2005 17:03, Wendy Smoak a écrit : > From: "Dewitte Rémi" <[EMAIL PROTECTED]> > > > Hum, I tried : > > Unable to find a value for "sex" in object of class > > "org.apache.struts.validator.LazyValidatorForm" using operator "." (null) > > Indeed, it's a DynaBe

Re: swith to struts-el

2005-07-04 Thread Ivan Rodriguez
So if it doesnt work for you, try - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IDE Wars (was Struts vs World)

2005-07-04 Thread netsql
Craig McClanahan wrote: to linking to it for entertainment value :-). Can anyone here remember any other case? Even if it's not the first, it is still ridiculous enough to be memorialized :-). Is there a shipping produciton app done w/ UI? > C'mon Vic ... you know the answer to that questi

Re: swith to struts-el

2005-07-04 Thread Wendy Smoak
From: "Dewitte Rémi" <[EMAIL PROTECTED]> Hum, I tried : Unable to find a value for "sex" in object of class "org.apache.struts.validator.LazyValidatorForm" using operator "." (null) Indeed, it's a DynaBean. http://struts.apache.org/userGuide/building_controller.html#dyna_action_form_classes Tr

Re: swith to struts-el

2005-07-04 Thread Martin Gainty
are you sure your variable is defined ? for example <% boolean b = true; pageContext.setAttribute("b",new Boolean(b)); %> b is TRUE Take a look at http://www.caucho.com/resin-3.0/jsp/el.xtp HTH, Martin- - Original Message - From: "Dewitte Rémi" <[EMAIL PROTECTED]> To: "Struts Users

Re: swith to struts-el

2005-07-04 Thread Dewitte Rémi
Hum, I tried : Unable to find a value for "sex" in object of class "org.apache.struts.validator.LazyValidatorForm" using operator "." (null) Indeed, it's a DynaBean. Have an idea ? Le Lundi 4 Juillet 2005 16:43, Ivan Rodriguez a écrit : > > > Dewitte Rémi escribió: > >I'd like to switch all my

Re: swith to struts-el

2005-07-04 Thread Ivan Rodriguez
Dewitte Rémi escribió: I'd like to switch all my callic struts tags to struts-el in order to not mix all tags. How do you switch logic.equal to c:if ? For example : Thanks again... - To unsubscribe, e-mail: [EMAIL PROTECTE

Securityfilter persistent login

2005-07-04 Thread Tobias Neumann
Hi Is securityfilter able to autologin users that have enabled their persitent login via cookies? In the moment these users have to push the login button again, although they do not have to enter their username and password. // process any persistent login information, if user is not alr

swith to struts-el

2005-07-04 Thread Dewitte Rémi
I'd like to switch all my callic struts tags to struts-el in order to not mix all tags. How do you switch logic.equal to c:if ? For example : Thanks again... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

howto with validator

2005-07-04 Thread Dewitte Rémi
Hello everybody ! I have some howto questions related to validator. I'd like to do some checks on my form : 1) in a multibox question, i'd like to check at least 2 are checked and at most 4. 2) I have a mapped property, I'd like to check every mymap(key) is answered. 3) I have a form property o

Re: AW: log4j log

2005-07-04 Thread Vijay K Anand
file is @ /logs directory but it is empty [EMAIL PROTECTED] wrote: Its the filename, but where is it stored on your harddisk? With Win2003 and Tomcat I found my log-file in C:\WINNT\SYSTEM32! Peter -Ursprüngliche Nachricht- Von: Vijay K Anand [mailto:[EMAIL PROTECTED] Gesendet: Mon

AW: SV: log4j log

2005-07-04 Thread Gehrer Helmut
Hi, If you just want to log your own messages, you 'll have to declare categories (see 1st line!): log4j.category.HighLevelAction=DEBUG, A2 log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4

AW: log4j log

2005-07-04 Thread Peter . Zoche
Its the filename, but where is it stored on your harddisk? With Win2003 and Tomcat I found my log-file in C:\WINNT\SYSTEM32! Peter -Ursprüngliche Nachricht- Von: Vijay K Anand [mailto:[EMAIL PROTECTED] Gesendet: Montag, 4. Juli 2005 14:58 An: Struts Users Mailing List Betreff: Re: log4j l

Re: log4j log

2005-07-04 Thread Vijay K Anand
Hi This is the file name i have specified below --> npi_log Vijay K Anand wrote: Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4j.appender.A2.a

Re: SV: log4j log

2005-07-04 Thread Vijay K Anand
Hi Thanks for replying if i say so , it logs everything that is happening behind I dont want anything except i say explictly by logger.debug("test"); [EMAIL PROTECTED] wrote: Hi log4j.rootLogger=ERROR, A2 <<<--- Change this one to Debug, A2 -Opprinnelig melding- Fra: Vijay K Anand

AW: log4j log

2005-07-04 Thread Martin Kindler
Where is the path to the log file specified? Something like this: log4j.appender.AccessLog.File= Martin > -Ursprüngliche Nachricht- > Von: Vijay K Anand [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 4. Juli 2005 14:48 > An: user@struts.apache.org > Betreff: log4j log > > > Hi > Here

SV: log4j log

2005-07-04 Thread hermod . opstvedt
Hi log4j.rootLogger=ERROR, A2 <<<--- Change this one to Debug, A2 -Opprinnelig melding- Fra: Vijay K Anand [mailto:[EMAIL PROTECTED] Sendt: 4. juli 2005 14:48 Til: user@struts.apache.org Emne: log4j log Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=o

log4j log

2005-07-04 Thread Vijay K Anand
Hi Here goes my log4j property file log4j.rootLogger=ERROR, A2 log4j.appender.A2=org.apache.log4j.DailyRollingFileAppender log4j.appender.A2.Threshold=DEBUG log4j.appender.A2.file=npi_log log4j.appender.A2.append=true log4j.appender.A2.layout=org.apache.log4j.PatternLayout log4j.appender.A2.layo

Re: dynamic parameter

2005-07-04 Thread Wendy Smoak
From: "Vijay K Anand" <[EMAIL PROTECTED]> I want to have attribute page be dynamically loaded from bean:message like " flush="true" /> Nesting JSP tags like that will not work. The usual workaround is to use expressions. Instead of putting the information in ApplicationResources.properties

Re: dynamic parameter

2005-07-04 Thread Vijay K Anand
Thanks indeedb basak , any other workaround . Afraid it is not helping my problem [EMAIL PROTECTED] wrote: If the problem is with the quotes, use " flush="true" /> vijay, size is of no help!! Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: ht

Re: dynamic parameter

2005-07-04 Thread amitava . basak
If the problem is with the quotes, use " flush="true" /> vijay, size is of no help!! Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain conf

RE: arraylist problem.

2005-07-04 Thread Venkata Krishna V.
Hi Amit, You can use the operator to check if the array list is null or not. Regards, Venkat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 3:29 PM To: user@struts.apache.org Subject: arraylist problem. I have a condition where

Re: arraylist problem.

2005-07-04 Thread Vijay K Anand
[EMAIL PROTECTED] wrote: I have a condition where I have an arraylist(must) containing a bean and i have to display it in my jsp. I cannot use logic:iterate since if the arraylist does not contain the bean, the controls are not displayed at all. (I have approx 40 controls to be displayed ).

Re: arraylist problem.

2005-07-04 Thread Vijay K Anand
Hi You can use size property to check the length of the Arraylist . [EMAIL PROTECTED] wrote: I have a condition where I have an arraylist(must) containing a bean and i have to display it in my jsp. I cannot use logic:iterate since if the arraylist does not contain the bean, the controls are

arraylist problem.

2005-07-04 Thread amitava . basak
I have a condition where I have an arraylist(must) containing a bean and i have to display it in my jsp. I cannot use logic:iterate since if the arraylist does not contain the bean, the controls are not displayed at all. (I have approx 40 controls to be displayed ). what is the way out? Am

dynamic parameter

2005-07-04 Thread Vijay K Anand
Hi All I want to have attribute page be dynamically loaded from bean:message like " flush="true" /> instead of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts - checkbox control

2005-07-04 Thread EROL TEZCAN
Hi , Your example is very clear. It works fine. Thanks a lot Rafael, Erol Rafael Taboada <[EMAIL PROTECTED]> wrote: Hi, in ur ActionForm define: String[] chkRecords; //with setter and getter In ur jsp define checkbox with a multibox: list: ArrayList that it has all the records in order to

RE: ActionForm reset() and redirect.

2005-07-04 Thread Nitesh Naveen
Try putting in some logic where ever you are assigning the value... like if it is not set then set it to false... if it is already set don't touch it! HTH Nitesh -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: Monday, July 04, 2005 1:05 PM To: Struts Subject: ActionForm rese

ActionForm reset() and redirect.

2005-07-04 Thread Ben
Hi My form has some boolean properties and I set them to false in the reset method. The Action that handles the form has redirect attribute as true, i.e if there is an error, it redirects to the same page that has the form with errors. When it redirects with errors, the form retains values for oth