RE: Structure Advice for logic:iterate

2002-10-15 Thread Sri Sankaran
Adam: Learn how to use the Nested extension. If you are using Struts 1.0 you can find it at http://www.keyboardmonkey.com/next/index.jsp. It is a part of Struts 1.1. Then, apply something like below. Create a form bean that has a collection of Day objects each of which in turn has a

RE: Structure Advice for logic:iterate

2002-10-15 Thread Sri Sankaran
. -Original Message- From: Adam Sherman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:44 PM To: Struts Users Mailing List Subject: RE: Structure Advice for logic:iterate On 10/15/02 16:25:32 -0400, Sri Sankaran wrote: (FYI: With the version in Struts 1.1 and indexed properties

RE: dynamic select box

2002-10-16 Thread Sri Sankaran
Please look at the html-select.jsp file that is part of the struts-exercise-taglib application that ships with Struts. It demonstrates different ways of specifying the options for the html:select. It should answer all your questions. Sri -Original Message- From: Marcus Biel

RE: Ending a session

2002-10-16 Thread Sri Sankaran
Session.invalidate() is one way. Sri -Original Message- From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:26 AM To: [EMAIL PROTECTED] Subject: Ending a session Hi everybody, Is there a way to end a user session after a action ? Typically, i

RE: Conditional colour cell with logic:iterate

2002-10-23 Thread Sri Sankaran
Message- From: Sri Sankaran Sent: Wednesday, October 23, 2002 12:30 PM To: Struts Users Mailing List Subject: RE: Conditional colour cell with logic:iterate style .warning { background-color: #FF8000; } .error { background-color: #FF; } .normal { background-color: #FF

RE: nested:text not being evaluated

2002-10-23 Thread Sri Sankaran
, Thanks, that worked! Any explanation on what the difference is between using single and double quotes? Mike -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Wednesday, October 23, 2002 2:29 PM To: Struts Users Mailing List Subject: RE: nested:text not being

RE: logic:equal within a nested logic:iterate

2002-10-18 Thread Sri Sankaran
Have you tried the following for line 6: logic:equal name=type property=cat_id value=%=category.getCat_id()% assuming that 'getCat_id()' is the getter for the cat_id property of category. Sri -Original Message- From: dave beres [mailto:daveberes99;hotmail.com] Sent: Wednesday, October

RE: Session timeout jsp

2002-10-18 Thread Sri Sankaran
I suppose you want to display a timeout page when the user performs an action on the displayed page after the timeout period has elapsed. This can be accomplished by testing if the session is new; if so, we have a timeout and the user can be re-directed accordingly. If you want the page to

RE: nested:iterate building columns

2002-10-18 Thread Sri Sankaran
My original reply to your post (http://marc.theaimsgroup.com/?l=struts-userm=103471355803751) should do what you need. I would suggest using nested tags from top down. Note that it simply *extends* normal Struts tags. The beauty is that it knows its position in the tree and so you don't

RE: Tomcat not extracting war

2002-10-18 Thread Sri Sankaran
Do you see anything in the logs? Sri -Original Message- From: Mark Silva [mailto:msilva;authenex.com] Sent: Friday, October 18, 2002 1:46 PM To: Struts Users Mailing List Subject: RE: Tomcat not extracting war i just checked. that property is set correctly. i believe it is a default

RE: nested:iterate building columns

2002-10-18 Thread Sri Sankaran
/nested:iterate HTH Sri -Original Message- From: Adam Sherman [mailto:adam;teachandtravel.com] Sent: Friday, October 18, 2002 2:15 PM To: Struts Users Mailing List Subject: Re: nested:iterate building columns Sri Sankaran wrote: My original reply to your post (http://marc.theaimsgroup.com/?l

RE: nested:select default value

2002-10-18 Thread Sri Sankaran
Have you ensured that the case of the strings match? Make sure that processResp is PMA and not pma. Sri -Original Message- From: Rea, Ron [mailto:rear;coramhc.com] Sent: Friday, October 18, 2002 5:07 PM To: '[EMAIL PROTECTED]' Subject: nested:select default value Hello, I need to

RE: nested:iterate building columns

2002-10-21 Thread Sri Sankaran
The value of the property attribute must be (in v1.1) something that implements the Map or List interface. I see that your getInformationSessionsIterator() method returns an Iterator. Also, the method corresponding to a property of 'informationsessionsiterator' *must* be

RE: struts Newbie - login screen

2002-10-21 Thread Sri Sankaran
What's wrong if the user navigates back and views the login screen? Your application can just discard the earlier session and re-initialize. Don't try to circumvent standard browser behavior. Sri -Original Message- From: deepank [mailto:deepank;sasken.com] Sent: Monday, October 21,

RE: Checkbox problem

2002-10-24 Thread Sri Sankaran
I suppose you have several checkboxes corresponding to the List of objects. Are you using the html:multibox tag? If not, you should. The Struts framework will save the selected values in a String array that you provide. The value stored will be the value of the checkbox. For example

RE: multibox : problem with preselected array

2002-10-25 Thread Sri Sankaran
How is the TestForm(boolean) constructor being invoked? The Struts framework will simply invoke the default constructor. How are you setting the selected string array in Action class? Are you creating this form bean in the Action class then setting the array? If so, are you persisting this

RE: Using Struts Taglib Outside of Struts

2002-10-25 Thread Sri Sankaran
Just use the struts jar and make the necessary taglib entries in your application's web.xml. Sri -Original Message- From: Vinh Tran [mailto:vinht;processintelligence.com] Sent: Friday, October 25, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: Using Struts Taglib Outside of Struts I am

RE: html:option with iterate

2002-10-28 Thread Sri Sankaran
It is much easier if you use the 'collection' attribute of the html:options tag. See http://jakarta.apache.org/struts/userGuide/struts-html.html#options. Also take a look at the html-select.jsp file that is in the struts-exercise-taglib application that ships with Struts. Sri -Original

RE: Huge action instance synchronization problem

2002-10-28 Thread Sri Sankaran
Mailing List' Subject: RE: Huge action instance synchronization problem Thank you, but what happens if I set the execute method from the action synchronized? I did that and it works fine. I have also run some tests to see if performance drops but it did not. -Original Message- From: Sri

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
A few suggestions: * Try setting the 'name' attribute in the action mapping to '/cultureForm' * Make sure you using a html:form in your culture.jsp file. * Make sure that the 'action' attribute value of the html:form is 'cultureForm.do' (assuming you are using the usual Struts convention) Sri

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
Oops! Major brain fart. Change the suggestions: Ignore the first suggestion. The third suggestion should read: * Make sure that the 'action' attribute value of the html:form is 'test.do' (assuming you are using the usual Struts convention) -Original Message- From: Sri Sankaran Sent

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
: Tuesday, October 29, 2002 9:50 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config Sri The third suggestion too did not work .. Any more suggestions.. Naga Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
class and jsp. Naga Vankineni Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, October 29, 2002 10:08 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config OK, so you have: form-bean name=cultureForm

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
with this one. Naga Vankineni Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, October 29, 2002 11:11 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config You cannot nest form tags. That isn't valid HTML

RE: Can Nested Tag lib go 2 Level Deep.

2002-10-30 Thread Sri Sankaran
Yes, this is very much doable. I would take a closer look at the getter in class B -- in particular the case, is it getHldC(). Is it working ok for the first level? That would indicate if you are getting the right *kind* of object. Sri -Original Message- From: Gopal Mukkamala

RE: Can Nested Tag lib go 2 Level Deep.

2002-10-30 Thread Sri Sankaran
.)Here is C http://desistar.no-ip.org:8080/strutshop/flowstepevent.txt Buds. Thanks for your help. Regards Gopal --- Sri Sankaran [EMAIL PROTECTED] wrote: Yes, this is very much doable. I would take a closer look at the getter in class B -- in particular the case, is it getHldC

RE: Nested properties of form bean not being updated !

2002-11-01 Thread Sri Sankaran
You have a clear description of what you are trying to accomplish but I don't know *how* you are going about it. Need a look-see at your code. In particular, how are your struts-config and JSP set up? Show the pertinent form-bean and action mapping from your config and a portion (at least)

RE: Requests and the stop button / links / etc...

2002-11-01 Thread Sri Sankaran
You are correct, 'Stop'ping is purely a client-side action. Sri -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, November 01, 2002 8:50 AM To: Struts Users Mailing List Subject: Requests and the stop button / links / etc... Just want to confirm

RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-11-01 Thread Sri Sankaran
With my browser (IE 6), a few seconds after the page loads, the download dialog window pops up. In fact there is also a link on the top of the page in case it doesn't. It is: http://unc.dl.sourceforge.net/sourceforge/solareclipse/net.sourceforge.solareclipse.web.ui_0.2.0.zip (which happens

[OT] static vs. application scope

2002-11-01 Thread Sri Sankaran
What is the difference between making a property available in application scope as opposed to making it static to a class? As a simple (contrived) example, I want to maintain a mapping of car model and manufacturer. This being, un-changing I could implement it as a static property of some

RE: [OT] static vs. application scope

2002-11-02 Thread Sri Sankaran
] static vs. application scope It's not going to be available to anything outside its class with the stated signature, static or not. Mark -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Friday, November 01, 2002 4:45 PM To: Struts-User Subject: [OT] static vs

RE: html:link with several dynamic parameters

2002-11-04 Thread Sri Sankaran
You *should* be able to use the Map approach. Simply build a map whose keys are the expected parameter names and the corresponding values are the data you wish to send. For example: html:link forward=foo property=paramsClick Me!/html:link In your form bean, the getter getParams() returns a

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Sri Sankaran
ya still with me ! # # -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Saturday, 2 November 2002 12

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Sri Sankaran
Oops! My second bullet should begin as: * Even though 64_eng_del.jsp is an included file, it ends with a /body/html. You probably want to leave that for the *includer* -- your top-level JSP -Original Message- From: Sri Sankaran Sent: Monday, November 04, 2002 10:12 AM To: Struts

RE: Nested Tags situation any light would be appreciated

2002-11-04 Thread Sri Sankaran
Your JSP looks ok. The fact that the data is displaying correctly in the first place suggests that the various elements in struts-config are ok as well. That brings us to what happens when the page is submitted. You *should* (as a test) be able to set up an action that does nothing and just

RE: Re[2]: Nested Tags situation any light would be appreciated

2002-11-04 Thread Sri Sankaran
: Rick Reumann [mailto:maillist;reumann.net] Sent: Monday, November 04, 2002 2:09 PM To: Struts Users Mailing List Cc: Sri Sankaran Subject: Re[2]: Nested Tags situation any light would be appreciated On Monday, November 4, 2002, 1:43:35 PM, Sri wrote: SS That brings us to what happens when

RE: html:link with multiple parameters

2002-11-04 Thread Sri Sankaran
This was just battled at quite some length earlier today. Please see http://marc.theaimsgroup.com/?l=struts-userm=103639896111848w=2. Sri -Original Message- From: Cindy Horn at SF x4874 [mailto:CHorn;matson.com] Sent: Monday, November 04, 2002 3:09 PM To: Struts (E-mail) Subject:

RE: Re[4]: Nested Tags situation any light would be appreciated

2002-11-04 Thread Sri Sankaran
your business needs better so Sri -Original Message- From: Rick Reumann [mailto:maillist;reumann.net] Sent: Monday, November 04, 2002 3:00 PM To: Sri Sankaran Cc: Struts-User Subject: Re[4]: Nested Tags situation any light would be appreciated On Monday, November 4, 2002, 2:33:26

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Sri Sankaran
Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, 5 November 2002 2:12 AM To: Struts Users Mailing List Subject: RE: Nested properties of form bean not being updated ! Holy cow! Yes, you gave enough details.. Looking at JSPs a few things jump out: * You aren't using

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Sri Sankaran
Re-initialize the form-bean to the way it was when the page was first invoked. If form was all blank fields, you can simply delete the form bean; it'll get re-created. Sri -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Tuesday, November 05, 2002 9:25 AM To:

RE: Don't want the ActionForm to refill my form.

2002-11-05 Thread Sri Sankaran
[mailto:Wendy.Smoak;asu.edu] Sent: Tuesday, November 05, 2002 9:41 AM To: 'Struts Users Mailing List' Subject: RE: Don't want the ActionForm to refill my form. Sri Sankaran wrote: you can simply delete the form bean; it'll get re-created. Can you clarify? You say the form been will get re-created

RE: Nested properties of form bean not being updated !

2002-11-06 Thread Sri Sankaran
-Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, 5 November 2002 2:26 PM To: Struts Users Mailing List Subject: RE: Nested properties of form bean not being updated ! Giles: I am sorry. Going from the subject line I assumed you were trying to use the nesting

RE: Missing Struts Form attributes in Action class

2002-11-06 Thread Sri Sankaran
To retain a form bean across requests, change your action mapping by setting the scope to 'session'. Sri -Original Message- From: Tuan H. Le [mailto:tuan.le;phsadc.com] Sent: Tuesday, November 05, 2002 4:30 PM To: Struts Users Mailing List (E-mail) Subject: Missing Struts Form

RE: empty form after errors

2002-11-07 Thread Sri Sankaran
Make sure that the scope of the form-bean (as defined in the action mapping) is 'session'. Sri -Original Message- From: [EMAIL PROTECTED] [mailto:meissa.Sakho;bpam.fr] Sent: Thursday, November 07, 2002 5:52 AM To: [EMAIL PROTECTED] Subject: empty form after errors When a submit my

RE: Set selected value

2002-11-11 Thread Sri Sankaran
Use an action to set the form-bean and then save it to the necessary scope under the name published in the action mapping corresponding to the form being displayed. Setting data to the bean via the action decouples the form and allows you to reuse the business logic that retreives the data from

[SIDEBAR] Form population (Was RE: request.setAttribute() form confusion)

2002-11-11 Thread Sri Sankaran
While that is true, other than in the case of blank forms, isn't it true that one rarely depends on Struts to auto-generate the form bean? If you are presenting data, the form is pre-populated with such data. This data is typically derived by an earlier action -- mediated by a business

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() form confusion)

2002-11-11 Thread Sri Sankaran
about letting struts manage the action form. Edgar -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Monday, November 11, 2002 2:51 PM To: 'Struts Users Mailing List' Subject: [SIDEBAR] Form population (Was RE: request.setAttribute() form confusion) While

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() form confusion)

2002-11-11 Thread Sri Sankaran
with the business layer. So, I guess the key difference is that for EditAction the form bean is populated/modified with data from the business layer but for SaveAction it's done with data from request params. In both cases, Struts handles the form bean creation/retrieval. Quoting Sri Sankaran [EMAIL

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-11 Thread Sri Sankaran
or where it goes to. You can pass data via a form from one action to another in about 2 ways that come to mind immediately: 1) session-scoped form 2) using hidden fields. I'm sorry, but I think you misunderstood my entire argument. My appologies for not having been clearer. Sri

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
said something that got misunderstood as what you're saying I apologize. You are exactly correct - the business logic is the only thing that can make the determination. Sri Sankaran wrote: Yes! Finally someone who sees what I am talking about! *That's* exactly the scenario I am talking about. I

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
Intermixed response... -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: Tuesday, November 12, 2002 2:34 PM To: Struts Users Mailing List Subject: Re: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion) Sri Sankaran wrote: No sweat

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
: request.setAttribute() for m confusion) -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, November 12, 2002 7:56 AM To: Struts Users Mailing List Subject: RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion

RE: [SIDEBAR] Form population (Was RE: request.setAttribute() for m confusion)

2002-11-12 Thread Sri Sankaran
mega-snip/ ... you've got two of these back-to-back: MstrLdActn - MstrJsp - MstrSbmtActn - - DtlLdActn - DtlJsp - DtlSbmtActn a redirect passing mastid=54 ^ Ah! Action chaining -- I realize that is an option. Just don't let Craig see you doing this... ;) snip/

[FYI] Visual Struts development

2002-11-12 Thread Sri Sankaran
Disclaimer: I have nothing to do with or gain from the following, heck it isn't even a plug. Caveat emptor. I am simply forwarding information that came my way. Thought you might be interested. ObjectAssembler (http://www.objectventure.com/objectassembler.html) provides the most

RE: Problem with logic:iterate using Vector?

2002-11-13 Thread Sri Sankaran
Make sure that your action is persisting the form bean in the manner that it is expected on the calling page (this is defined by the action mapping). Pay close attention to the name under which you save it. If your action mapping names the bean 'fooBean' and it is under request scope, you

RE: user manually changing local

2002-11-13 Thread Sri Sankaran
Intermixed... -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Wednesday, November 13, 2002 6:26 AM To: [EMAIL PROTECTED] Subject: OT: user manually changing local ARG! What the hell is wrong here ??? import java.util.Locale; import java.lang.*; import

RE: Struts Tags vs. JSTL

2002-11-14 Thread Sri Sankaran
Can Struts-EL be used with Struts 1.0.2? Of course, assuming I pull the necessary files from the nightly. Sri -Original Message- From: Madel,Kurt [mailto:kmadel;csmi.com] Sent: Thursday, November 14, 2002 10:03 AM To: 'Struts Users Mailing List' Subject: RE: Struts Tags vs. JSTL

RE: FormBean creation...

2002-11-14 Thread Sri Sankaran
Your analysis is all correct. The attribute name is how you refer to it in the action mapping -- compressedInfoForm in your case. So, if you save your form from action-1 to the request with this key, it won't be re-created. You can turn on logging by including a log4j.properties and log4j jar

RE: [FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer

2002-11-15 Thread Sri Sankaran
LOL! EEGAD! I am part Klingon -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, November 15, 2002 6:33 AM To: Struts Subject: [FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer 10. Specifications are for

RE: ArrayList disappeared in ActionForm

2002-11-15 Thread Sri Sankaran
Intermixed... -Original Message- From: Míguel Ángel Mulero Martínez [mailto:miguel-angel.mulero;mad.tecsidel.es] Sent: Friday, November 15, 2002 2:03 AM To: Lista Struts Subject: ArrayList disappeared in ActionForm Hi all! I've got a little problem with Struts 1.0.2. I've

RE: logic not picking session

2002-11-15 Thread Sri Sankaran
From your original message, it is not clear *what* is not working. Assuming it is the bean:write, based on your last message, what is the value of WebConstants.REPORT_ID. To be consistent, try coding your bean:write as bean:write name=%=WebConstants.REPORT_ID% property=reportID/ Sri

[OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
I'm being stymied by a classpath issue that occurs both on Tomcat 4.1.12 and JRun 3.1. I get a ClassNotFoundException while the classpath clearly displays the jar file that contains the missing class. I've even tried -- in desperation -- putting the jar file in Tomcat's bin common/lib and

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html That is, identify which classloaders your jar file should be visible to (system, shared, webapp, etc.) based on the directories you've put it in? Sri Sankaran [EMAIL PROTECTED] on 11/15/2002 11:41:40 AM Please respond to Struts Users

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
struts.jar on the tomcat classpath? That may be causing the problem. You should always put struts.jar in /WEB-INF/lib of each app that uses it. Your business logic jars should go in /WEB-INF/lib as well. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
...and the form bean is of session scope. Sri -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 15, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: Re: ActionForm manipulation within an Action Of course, this happens all the time in add/edit

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
because you seem to have the jar file whereit is visible. Can you see other classes or properties files in that particular jar file? Silly question - do you have the package and class names correct? Might be worth double checking. Sri Sankaran [EMAIL PROTECTED] on 11/15/2002 12

RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
be in the request scope as long as you're forwarding to the next resource and NOT redirecting. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: ActionForm manipulation within an Action Date: Fri

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Sri Sankaran
the case to your PC. You should find a power switch. - Turn the switch to the off position (sometimes shown as a 0). - Put your coat on. - Get your keys and wallet. Walk to your car. - Drive to nearest pub. The bartender there will provide you with your next instructions. K. Sri Sankaran

[OT] Tomcat Class loader (Was RE: [OT]Need magic incantation)

2002-11-15 Thread Sri Sankaran
Subject: RE: [OT]Need magic incantation Hi Sri, Is your class public? -Shakeel |- |(Embedded| |image moved | |to file: | |pic05836.pcx)| | | |- | |Sri Sankaran [EMAIL

[OT] Tomcat class loading

2002-11-15 Thread Sri Sankaran
It seems as if the class-loader that loaded a particular class maintains some kind of reference to the class. Any dependent class can be loaded only by this loader or any one up the Tomcat hierarchy Bootstrap | System |

RE: [OT] Tomcat class loading

2002-11-15 Thread Sri Sankaran
Intermixed... -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Friday, November 15, 2002 2:58 PM To: Struts Users Mailing List Subject: Re: [OT] Tomcat class loading On Fri, 15 Nov 2002, Sri Sankaran wrote: Date: Fri, 15 Nov 2002 14:38:40

RE: ArrayList disappeared in ActionForm

2002-11-18 Thread Sri Sankaran
Looking at your multibox logic, is the 'rol' property in the 'userDataBean' an array of Strings? This should represent the value(s) that the user selects -- so, if the initial setting is all boxes un-checked, this will be an empty String[]. Are you modifying/setting your ArrayList

RE: Newbie: Nested Tag Trouble

2002-11-18 Thread Sri Sankaran
You haven't said what is it that is the problem. I'll guess that lastName is not being displayed. Is there supposed to be a default lastName when a WebappUser object is created? As you know that is what will be created when the useBean is encountered. Or, is there already a WebappUser

RE: Newbie: Nested Tag Trouble

2002-11-19 Thread Sri Sankaran
nested:write property=person/ /nested:root Sri -Original Message- From: Seth Milder [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 5:40 PM To: Struts Users Mailing List Subject: Re: Newbie: Nested Tag Trouble Sri Sankaran wrote: You haven't said what

RE: Select boxes with multiple = true

2002-11-19 Thread Sri Sankaran
Please look at html-select.jsp that is in the struts-exercise-taglib application that ships with Struts. html:select property=multipleSelect size=10 multiple=true html:options name=multipleValues labelName=multipleValues/ /html:select multipleSelect is an array that holds the selected -- or

RE: Problem with html:option

2002-11-21 Thread Sri Sankaran
Have you tried bean:define id=foo name=cmp property=CMP_ID/ html:option value=%=foo% Sri -Original Message- From: Yann Verlynde [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 12:28 PM To: Struts Subject: Problem with html:option Hello, This code doesn't work. How can

RE: How pre-select an html:select?

2002-11-22 Thread Sri Sankaran
This question has been answered *numerous* times on the list. Here's one http://marc.theaimsgroup.com/?l=struts-userm=103376038703245w=2. As it says there, please take a look at the html-select.jsp that is part of the struts-exercise-taglib application that ships with struts. Sri

RE: Display a collection on several pages

2002-11-22 Thread Sri Sankaran
The display taglib at http://edhill.its.uiowa.edu/display-0.8/ should help Sri -Original Message- From: Christophe Vigouroux [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 10:09 AM To: 'Struts Users Mailing List' Subject: Display a collection on several pages Hi, I

[Taglib] A common taglibs file

2002-11-25 Thread Sri Sankaran
Do you know if there is any runtime overhead incurred by having unnecessary taglib directives in a JSP file? I am thinking of creating a monolithic taglibs.jsp file that just contains the taglib directives that *any* page in my application would need. Then when adding a page to the

RE: nested:iterator + multi-parameters passing

2002-11-25 Thread Sri Sankaran
Please look at http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It explains how to use a Map to send multiple parameters. Since nested:link simply extends html:link this information is applicable in your case as well. Sri -Original Message- From: Tran Fon

RE: Nested Iterate Tag and indexId problem

2002-11-25 Thread Sri Sankaran
I would try changing nested:text onchange=makeEditDirty('a','b','%=variable%'); / to nested:text onchange='%=makeEditDirty('a','b',' + variable + ');%' / Of course if 'variable' is a property of the object in the current iteration, you'd change it to nested:text

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
I wonder if this would work nested:root name=pageList nested:iterate property=this/ %-- etc --% /nested:iterate /nested:root Sri -Original Message- From: Sri Sankaran Sent: Wednesday, November 27, 2002 9:13 AM To: Struts Users Mailing List Subject: RE: [Nested Tags] Frustration

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
/ /nested:equal /nested:iterate Sri Sankaran [EMAIL PROTECTED] on 11/27/2002 08:16:06 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: [Nested Tags] Frustration..Should this work? I wonder if this would

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
.. Sri Sankaran [EMAIL PROTECTED] on 11/27/2002 09:09:59 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:RE: [Nested Tags] Frustration..Should this work? I suspected a problem to be with the iterate since

RE: nested:iterator + multi-level-parameters passing

2002-11-27 Thread Sri Sankaran
thoughts? Thanks again, Francis --- Sri Sankaran [EMAIL PROTECTED] wrote: Please look at http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It explains how to use a Map to send multiple parameters. Since nested:link simply extends html:link this information is applicable

RE: Multibox

2002-12-03 Thread Sri Sankaran
-Original Message- From: dlee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 8:57 AM To: Struts Users Mailing List Subject: Multibox Hello, I'm using struts 1.0.2. I would like to present an input form on a jsp and part of that would be to display a number of

RE: Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12

2002-12-03 Thread Sri Sankaran
Ah! The wonderful world of ClassLoaders! What you are seeing is expected behavior. The manual at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html should explain it all. Sri -Original Message- From: Jim Coble [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: problem with select tag

2002-12-03 Thread Sri Sankaran
Can you elaborate on : 1) Where is the data coming from for the working version? 2) What do you mean by not working? Does it display an empty list? Does it crash? Sri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 10:38 AM

RE: Réf. : RE: problem with select tag

2002-12-03 Thread Sri Sankaran
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 11:08 AM To: Struts Users Mailing List Subject: Réf. : RE: problem with select tag |-+ | | Sri Sankaran | | | Sri.Sankaran@sas

RE: Help with Multiple Input!

2002-12-03 Thread Sri Sankaran
-Original Message- From: Jana Navaneethan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 2:57 PM To: [EMAIL PROTECTED] Cc: Struts Users Mailing List Subject: Re: Help with Multiple Input! Hi Wendy, All I am trying to do is to avoid repeating

RE: logic:iterate question

2002-12-03 Thread Sri Sankaran
Dumb question: Is the object reference 'myObj' pointing at anything before set it to the name 'myObj'? That sounds confusing -- too many myObjs floating around. Suppose you had pageContext.setAttribute(myObj, foo, PageContext.PAGE_SCOPE); My question is whether 'foo' is set before this

[Tags]Sending multiple parameters to a window

2002-12-03 Thread Sri Sankaran
Using Struts 1.0.2 The gist of the problem is being able to send a variable number of parameters to a URL while using Javascript. Background: I have a list of hyperlinks on a page. When the user selects any link I would like to present the URL in another window. I can get this to work as

RE: Nested Tag

2002-12-04 Thread Sri Sankaran
I am not familiar with WebSphere however nested tags work just fine with Struts 1.0.2 and Struts 1.1bx or nightly. The only difference is that with Struts 1.0.2 it is a separate download from http://www.keyboardmonkey.com/next/index.jsp. Sri -Original Message- From: Shryock, Chad

RE: Nested Tag

2002-12-04 Thread Sri Sankaran
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 9:34 AM To: 'Struts Users Mailing List' Subject: RE: Nested Tag Sri wrote: I am not familiar with WebSphere however nested tags work just fine with Struts 1.0.2 and Struts

RE: 1.0.2 distro of nesting taglib (NeXt?)

2002-12-06 Thread Sri Sankaran
-Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: 1.0.2 distro of nesting taglib (NeXt?) I'm stuck on Struts 1.0.2 for the time being and would like to use nested tags. Should I download

RE: Best indexed reference/nested bean alternative for Struts 1.0.2 app?

2002-12-06 Thread Sri Sankaran
You can use the nested tags from keyboardmonkey as you had asked in another post to solve this issue. Note that due to outside limitations the nested tags with Struts 1.0.2 require you to provide an Object[] (as opposed to a Collection) to iterate over a collection. Your example with

RE: Best Practices for Logging?

2002-12-06 Thread Sri Sankaran
-Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 1:34 PM To: [EMAIL PROTECTED] Subject: Best Practices for Logging? I'm wondering what is considered the best practice for logging using commons-logging in a Struts app. My

RE: Using nested:link tag

2002-12-09 Thread Sri Sankaran
For this nested:link is no different from html:link. Please see http://jakarta.apache.org/struts/userGuide/struts-html.html#link. In particular look at the usage of the property attribute. It allows you to specify a Map of parameters. Sri -Original Message- From: A Stephen

RE: [Tiles]Wrong root element?

2002-12-11 Thread Sri Sankaran
, December 11, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: Re: [Tiles]Wrong root element? You need to use tiles-definitions as the root element. component-definitions is deprecated. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User

RE: [Tiles]Wrong root element?

2002-12-11 Thread Sri Sankaran
look in the dtd you'll note that you can use either root element. One of your errors seems to indicate Struts Console couldn't reach the internet. The other indicates you should be using the alternative root element. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users

  1   2   3   4   5   >