RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1?

2004-05-14 Thread Takhar, Sandeep
I believe we are using it no problem. Let me check... yep. sandeep -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 12:12 AM To: 'Struts Users Mailing List' Subject: RE: Repost: Anybody Using Commons-Lang 2.0 With Struts 1.1? You might want to as

RE: Why cancel throw Action.execute ?

2004-05-10 Thread Takhar, Sandeep
Are you sure data is not populated? I think it is, but validate is not called because html:cancel sends a specific parameter in the request. sandeep -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 8:02 AM To: Struts Users Mailing List Subject

RE: Storing global data in the servletContext

2004-05-10 Thread Takhar, Sandeep
You still can, because for example you will have a servlet that will loaded up more than once. Or if you have a pre-check that checks for null and then loads it up in app context, it will work once per jvm (not sure exactly if it is once per server or jvm). Internationalization may be an issue

RE: Building Wizard navigation using Struts

2004-05-06 Thread Takhar, Sandeep
What about osworkflow? Or does that not work with struts? sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 3:58 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Building Wizard navigation using Struts have a look at st

RE: Setting html:text readonly attribute

2004-05-04 Thread Takhar, Sandeep
maybe you need to use custom tags. sandeep -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:07 PM To: Struts Users Mailing List Subject: RE: Setting html:text readonly attribute At 16:09 03/05/2004, Paul McCulloch wrote: >1) Use an html (rather

RE: newbie struts-el best practices question

2004-05-03 Thread Takhar, Sandeep
Thanks Craig, that was helpful to understand. sandeep -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 3:13 AM To: Struts Users Mailing List Subject: Re: newbie struts-el best practices question Takhar, Sandeep wrote: >Where d

RE: Array Validation

2004-05-03 Thread Takhar, Sandeep
Highlighting the error line (even though only the first error is returned). The input field in error's name will be returned with the error including the index I presume since no change was made to the 'hightlighting' code and it works. sandeep -Original Message- From: Niall Pemberton

RE: Advantages/Disadvantages of One Action for each Use Case

2004-04-23 Thread Takhar, Sandeep
Do you use subclasses for common methods or do you use helper classes or neither? sandeep -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 3:54 PM To: Struts Users Mailing List Subject: RE: Advantages/Disadvantages of One Action for each Use

RE: checkbox and DynaActions

2004-04-22 Thread Takhar, Sandeep
I should know this, but does the initial property in struts-config work for this (Is this actually what it is set to when reset() is called?) I know that dynaforms have an initialize() method that should be called that takes all the initial properties. Hopefully overriding is not your only opti

RE: newbie struts-el best practices question

2004-04-22 Thread Takhar, Sandeep
Where does Struts-Faces fit into this picture? It is getting quite complicated to make decisions now. sandeep -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 10:33 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: newbie stru

RE: ActionErrors in my JSP: how can I rewrite this RT snippet as EL?

2004-04-22 Thread Takhar, Sandeep
Craig McLanahan wrote something about this recently. I may be wrong since I haven't done this, but you may need '' quotes around the property since there are '.'s in it. sandeep -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 8:52 PM To

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
rivial one. -Original Message----- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 1:33 PM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForms I couldn't think of one. sandeep -Original Message- From: Natha

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
ormal DynaActionForms. It would certainly be a lot simpler. :( Nathan -Original Message- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 7:44 AM To: Struts Users Mailing List Subject: RE: Creating an indexed property of DynaActionForms Us

RE: Problem with

2004-04-21 Thread Takhar, Sandeep
---Original Message- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: Miércoles, 21 de Abril de 2004 09:11 a.m. To: Struts Users Mailing List Subject: RE: Problem with Hmmm... That is interesting because I was always under the assumption that the setter is never called when there is no

RE: Problem with

2004-04-21 Thread Takhar, Sandeep
Hmmm... That is interesting because I was always under the assumption that the setter is never called when there is no value and the only read world use of reset() is to set checkboxes to false? Am I wrong? sandeep -Original Message- From: Marc L. Veary [mailto:[EMAIL PROTECTED] Sent:

RE: Creating an indexed property of DynaActionForms

2004-04-21 Thread Takhar, Sandeep
Use the lazyValidatorActionForm, which allows you to keep things request scope when using arrays. http://www.niallp.pwp.blueyonder.co.uk/ Unfortunately I haven't tried this, but am pretty sure it works. sandeep -Original Message- From: Natha

RE: Indexed Properties DynaValidatorForm

2004-04-20 Thread Takhar, Sandeep
I don't think this is there. Not sure about the nightly builds. sandeep -Original Message- From: Amin Lalji [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 5:16 PM To: 'Struts Users Mailing List' Subject: Indexed Properties DynaValidatorForm I am trying to use a DynaValidatorFor

RE: Logic:iterate with html:text indexed properties

2004-04-15 Thread Takhar, Sandeep
se I'm using the property exported by the iterator. -----Original Message- From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 5:35 AM To: Struts Users Mailing List Subject: RE: Logic:iterate with html:text indexed properties You can manually create th

RE: when not to use an ActionForm

2004-04-15 Thread Takhar, Sandeep
Excellent link! There is another option: 1) LazyValidatorActionForm: http://www.niallp.pwp.blueyonder.co.uk sandeep -Original Message- From: Oswald Campesato [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 11:39 PM To: Struts Users Mailing List Subject: Re: when

RE: Logic:iterate with html:text indexed properties

2004-04-15 Thread Takhar, Sandeep
You can manually create the property or use nested beans. sandeep -Original Message- From: Scherger, Derek [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 5:33 PM To: '[EMAIL PROTECTED]' Subject: Logic:iterate with html:text indexed properties I'm having a bit of a problem wit

RE: Date validator and I18N

2004-04-14 Thread Takhar, Sandeep
will be getting s put to bed, I can tell you that. -Joe > -Original Message- > From: Takhar, Sandeep [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 7:39 AM > To: Struts Users Mailing List > Subject: RE: Date validator and I18N > > > I have coded

RE: Validator

2004-04-14 Thread Takhar, Sandeep
will do a submit but doesn't do a validate. Populate will still work. sandeep -Original Message- From: Zakaria khabot [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 7:41 AM To: Struts Users Mailing List; Struts Developers List Subject: Validator Hi all, In my JSP I have man

RE: Date validator and I18N

2004-04-14 Thread Takhar, Sandeep
I have coded LocaleBeanUtils, but had to subclass the whole thing since it seems like it is a version behind. In the subclass I changed a couple of lines in some methods to make it work with some converters I created. Someone else has a solution that I haven't had time to look at yet: http://w

RE: Dispatch Action Questions

2004-04-12 Thread Takhar, Sandeep
I would have a problem in the sense that you are limiting what your users can designate as use cases. Or can you add on top of this (i.e. override default behaviour?). For example I may want to update the table as a list (I know that there are many issues, but let's say this is valid). Meanin

RE: [DisplayTag]How to avoid 'context switching' when sorting columns

2004-04-12 Thread Takhar, Sandeep
I haven't tried this, but somewhere on their site they say you should use a uri="" on the table. I haven't tested it is what I should say because that is the way I have coded it. It might be in their faq's.. sandeep -Original Message- From: Frank Schaare [mailto:[EMAIL PROTECTED] Sent

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Takhar, Sandeep
definition will come from the config file for sure. Not sure about page? sandeep -Original Message- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 12:54 PM To: Struts Users Mailing List Subject: RE: 'Can't insert page' Error - But it's a tile! Avinash t

RE: Need advice on design decisions and architecture issues.

2004-04-08 Thread Takhar, Sandeep
Anyone know if the lazy dynabean mentioned works on lists or not? I can't imagine how it would. Same with nested beans. I guess I might have to take a look and see what happens. sandeep -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004

RE: Application Context Variables

2004-04-08 Thread Takhar, Sandeep
If you have filters this might be an option. sandeep -Original Message- From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 6:52 PM To: Struts Users Mailing List Subject: Application Context Variables Hello, I need to instantiate some objects and sto

RE: tiles confusion

2004-04-07 Thread Takhar, Sandeep
I am not sure, but there is a type attribute in the config file. Maybe the suffix of the what you put there is how it defaults? sandeep -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 8:45 AM To: Struts Users Mailing List Subject: Re: ti

RE: validation.xml

2004-04-07 Thread Takhar, Sandeep
and the validate="true" or was that so obvious it didn't need mentioning... sandeep -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 7:08 AM To: 'Struts Users Mailing List' Subject: RE: validation.xml did you subclass from ValidatorF

RE: LIst v/s Collection

2004-04-07 Thread Takhar, Sandeep
should be anything to iterate over. It may work for vectors as well. It works for arrays for sure. sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 6:39 AM To: [EMAIL PROTECTED] Subject: LIst v/s Collection Hello All, W

RE: Question about logic:iterator, indexId and hidden fields

2004-04-06 Thread Takhar, Sandeep
something about having forms in forms that I don't think is correct, but I may be completely wrong. sandeep -Original Message- From: Eric Hodges [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 2:47 PM To: 'Richard Yee'; Struts Users Mailing List Subject: RE: Question about logic:

RE: Action Class - No of instances

2004-04-06 Thread Takhar, Sandeep
Should be one per classloader... A user could create one in the code base as well if the wanted to. sandeep -Original Message- From: Senthivel U S [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 1:58 AM To: 'Struts Users Mailing List' Subject: Action Class - No of instances Gr

RE: 1JSP and multiple forms ,which have session scope

2004-04-06 Thread Takhar, Sandeep
I don't think this will work or mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 12:26 AM To: Struts Users Mailing List Subject: 1JSP and multiple forms ,which have session scope Hi, all Can 1 JSP change submit point(action map which means action and form bean) under some conditio

RE: Creating value objects using reflection class

2004-04-05 Thread Takhar, Sandeep
org.apache.commons.beanutils.BeanUtils In the jakarta-commons sandeep -Original Message- From: walkrustin [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 12:37 PM To: [EMAIL PROTECTED] Subject: Creating value objects using reflection class Hi, After receiving the form, I have

RE: Calling one action from another - removing request parameters

2004-04-05 Thread Takhar, Sandeep
This is the same request so the parameters are still there. In the struts-config you can use redirect="true" which means use a new request (on the forward), but I rarely use this personally. (Default is false) sandeep -Original Message- From: James MacKenzie [mailto:[EMAIL PROTECTED] Se

RE: DynaValidatorFom with checkbox properties

2004-04-02 Thread Takhar, Sandeep
there have been tonnes of posts on why you cannot instantiate a dynaform like that. http://www.javablogs.com/ViewEntry.jspa?id=128211 here is one example of how you can sandeep -Original Message- From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 2:42 P

RE: Form submit in JavaScript

2004-04-02 Thread Takhar, Sandeep
you've spelt it sumbit and submit sandeep -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: Form submit in JavaScript Hi, I have the following block of code in my jsp

RE: TokenProcesor and synchronization

2004-04-02 Thread Takhar, Sandeep
e synchonization is for the same user, isn´t it? > > > -Mensaje original- > > De: Takhar, Sandeep [mailto:[EMAIL PROTECTED] > > Enviado el: jueves, 01 de abril de 2004 14:29 > > Para: Struts Users Mailing List > > Asunto: RE: TokenProcesor and synchronization &g

RE: [OT] UI Suggestion Request

2004-04-02 Thread Takhar, Sandeep
200 doesn't seem that much to me. sandeep -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 6:03 PM To: '[EMAIL PROTECTED]' Subject: [OT] UI Suggestion Request Hello All, I have a field in a form which expects a predefined set of da

RE: Unhandled Exception in the Validator?

2004-04-01 Thread Takhar, Sandeep
I am curious, how do you create your dynabean and do you have a class for it that you have to create? sandeep -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 7:32 AM To: [EMAIL PROTECTED] Subject: Unhandled Exception in the Validator? I'm usi

RE: TokenProcesor and synchronization

2004-04-01 Thread Takhar, Sandeep
I read this, but isn't the action used by many different people and not just one? Seems like the wrong approach, but I may be missing something. sandeep -Original Message- From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 4:28 AM To: 'Struts Users Mailing Li

RE: feeding custom actionForm to a jsp page?

2004-04-01 Thread Takhar, Sandeep
one thought (I didn't follow the email exactly)... use the same form names... sandeep -Original Message- From: Max Kovalenkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 6:08 PM To: [EMAIL PROTECTED] Subject: feeding custom actionForm to a jsp page? Hello, I have a form

RE: validator and dispatch action

2004-03-31 Thread Takhar, Sandeep
I thought there used to be a way in the struts-config to say "use this form name even though we are using the same class" name="" property=""?? It would still require a different mapping...if it is true sandeep -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Wednes

RE: validator indexed properties

2004-03-30 Thread Takhar, Sandeep
you'll get other replies, but I think it should be indexedListProperty="stockItems" property="colour" sandeep -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 8:42 AM To: Struts Users Mailing List Subject: validator indexed properties I've hear