RE: bean:message

2003-02-20 Thread Sri Sankaran
them. - Mark Twain (1835-1910) -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 1:38 PM To: Struts Users Mailing List Subject: RE: bean:message You can't nest as you have shown. Here's an alternative

RE: html:hidden

2003-02-20 Thread Sri Sankaran
to call the getPname ( ) method on the WorkForm and get the value foo. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:30 AM To: Struts Users Mailing List Subject: RE: html:hidden The hidden field is just a input type=hidden... So

RE: Struts-el

2003-02-20 Thread Sri Sankaran
Please read the readme.txt that ships with struts-el. It explains the dependency on JSTL. Sri -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 3:11 PM To: Struts Users Mailing List Subject: Struts-el I am currently using the jstl c

RE: Where are my ActionForm's changes?

2003-02-20 Thread Sri Sankaran
. Marwan --- In [EMAIL PROTECTED], Sri Sankaran [EMAIL PROTECTED] wrote: I'm not sure I understand completely. Are you returning to the same page after the form is submitted? What are you doing in the reset() and Action? That notwithstanding, here are some possibilities: * The text fields

RE: question about logging

2003-02-19 Thread Sri Sankaran
Struts itself uses commons logging. So you can simply include the necessary jars from commons logging and say, log4j/jdk1.4 in conjunction with the respective properties files in your classpath to control how the messages are output. You can learn a lot more about it at

RE: Displaying a collection as comma separated values

2003-02-19 Thread Sri Sankaran
nested:iterate property=someCollection indexId=index logic:notEqual property=index value=0,/logic:notEqual /nested:iterate . This should allow you to display commas between each word and then a dot. Sri -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]

RE: Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread Sri Sankaran
It's possible. However as the DTD says, the input is: Module-relative path of the action or other resource to which control should be returned if a validation error is encountered. And not (necessarily) where you came from. Sri -Original Message- From: Michael Mattox

RE: Displaying a collection as comma separated values

2003-02-19 Thread Sri Sankaran
-Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 2:15 PM To: 'Struts Users Mailing List' Subject: RE: Displaying a collection as comma separated values nested:iterate property=someCollection indexId=index

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Sri Sankaran
Nothing out of the ordinary jumps out from what you have sent. That being said, following are a few points; a list which you have probably already checked and double-checked: * Have you set the validator plug-in element in the struts-config? * Is the name of the form-bean in the action

RE: forwarding to another action ..

2003-02-14 Thread Sri Sankaran
You haven't given enough information below (seems like a continuation of some previous thread). I *think* what you are trying to do is go forward from one action to another [*] but before so doing removing a attribute from the request. If so, some obvious checks would be - ensure that the

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Sri Sankaran
The only thing I can come up with is that the MASK processing is screwing things up some way One way to confirm that would be to remove the mask test. Jerry Sri - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: iterate tag

2003-02-14 Thread Sri Sankaran
Following is based on connecting the dots of information you have provided (remember, not everyone on the list is seeing what you are seeing or is conversant with your business domain; so please introduce your problem more clearly) I *think* what you have is a collection of gdids each of which

RE: Keep getting bean error

2003-02-14 Thread Sri Sankaran
What does your action mapping with path /mdxQuery look like? Sri -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Keep getting bean error I was wondering if anyone could help me. I keep

RE: forwarding to another action ..

2003-02-14 Thread Sri Sankaran
Disclaimer:Not knowing your application I realize that the following may be prescribing something you are already doing. I wonder if you can avoid some of the problems you are having with re-entrant pages by using lightweight action classes. Say you have business services to - retrieve

RE: Using the html:message tag

2003-02-14 Thread Sri Sankaran
You have to set the 'message' attribute of html:messages to 'true'. The docs at http://jakarta.apache.org/struts/userGuide/struts-html.html#messages explain it all. Sri -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 1:26 PM To:

RE: Using the html:message tag

2003-02-14 Thread Sri Sankaran
Use the property attribute. html:messages property=success message=true/ Also take a look at the html-messages.jsp file that is part of the struts-exercise-taglib application that ships with Struts. Sri -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED]] Sent:

RE: logic:iterate does not iterate more than once, although collection definitely contains more elements

2003-02-13 Thread Sri Sankaran
The reason is that you are closing out the logic:iterate too soon! Look at the code you have sent, the logic:iterate ... ends with a /. What you need, as you know, is logic:iterate id=... property=... !-- whatever -- /logic:iterate Sri -Original Message- From: mech [mailto:[EMAIL

RE: logic:empty and logicnotEmpty with a Collection

2003-02-13 Thread Sri Sankaran
Looking at the docs it seems like it is the *notEmpty* that works with both Strings and Collections. The title for notEmpty at http://jakarta.apache.org/struts/userGuide/printer/struts-logic.html#notEmpty reads Evaluate the nested body content of this tag if the requested variable is

RE: How to create dropdown box in Struts

2003-02-13 Thread Sri Sankaran
Please look into the usage of html:select. You can look at * html-select.jsp that is part of the struts-exercise-taglib application that ships with Struts * the online documentation for the tag * search the archives of this list * read the numerous books on Struts From these resources you can

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Sri Sankaran
There's probably a cute way of doing it with JSTL...somebody chime in, however, here's how you could do it with Struts tags and scriptlet nested:define property=width id=width/ nested:define property=depth id=depth/ % float w = new Float(width).floatValue(); float d = new

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Sri Sankaran
: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 3:10 PM To: Struts Users Mailing List Subject: RE: how to calculate A*B in jsp, where A and B are from nested:write There's probably a cute way of doing it with JSTL...somebody chime in, however, here's how you could

RE: html:options selected attribute

2003-02-12 Thread Sri Sankaran
Take your pick of http://marc.theaimsgroup.com/?l=struts-userm=103416927522003w=2 http://marc.theaimsgroup.com/?l=struts-userm=103313043614360w=2 http://marc.theaimsgroup.com/?l=struts-userm=103254783510467w=2 http://marc.theaimsgroup.com/?l=struts-userm=102406536726794w=2 Or just look at the

RE: Is html:message Valid?

2003-02-12 Thread Sri Sankaran
And finally, it seems you are looking at the Struts 1.0.2 version of the user guide. The current one is at http://jakarta.apache.org/struts/userGuide/index.html. Sri -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003

RE: Searching the Archives?

2003-02-12 Thread Sri Sankaran
Marc does the best job IMO. Try it out at http://marc.theaimsgroup.com/?l=struts-user. Sri -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 2:48 PM To: Struts Users Mailing List Subject: RE: Searching the Archives? anyone have a

RE: Searching the Archives?

2003-02-12 Thread Sri Sankaran
; it is much faster. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 3:09 PM To: Struts Users Mailing List Subject: RE: Searching the Archives? Marc does the best job IMO. Try it out at http://marc.theaimsgroup.com/?l=struts-user. Sri

RE: [OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-12 Thread Sri Sankaran
. The servlet 2.3 specification file (a pdf file) shows both versions (2.2 and 2.3). If you look at version 2.2 there is no reference to 'resource-env-ref' too. I have no solution to fix this yet. If you find a solution, let me to know. I hope it helps, Marcelo -Mensagem original- De: Sri

RE: Nested Tags Problem .... Urgent

2003-02-11 Thread Sri Sankaran
The code you have presented isn't very clear. Your Action, for example seems to declare the controlVO1 reference twice -- won't compile. Are you trying to say that you have a list of objects within the ActionForm? Is it being placed in the session/request under the key formList -- 'cos that's

RE: Question on embedding tags

2003-02-11 Thread Sri Sankaran
Here's one way: Define a bean called, say size as follows: bean:define id=size name=editList property=fieldLength/ Then use it in your html:text : html:text name=editList property=value size=%=size%/ Sri -Original Message- From: [EMAIL PROTECTED]

[OT] Resin 2.1.6 doesn't like resource-env-ref

2003-02-11 Thread Sri Sankaran
I am having trouble deploying to Resin 2.1.6. When I try to access the application URL, I get the response: 500 Servlet Exception C:\resin-2.1.6\webapps\qs\WEB-INF\web.xml:102: unknown element unknown element `resource-env-ref' in web-app I checked the web-app_2_3.dtd and resource-env-ref

RE: Is anyone using tomcat 4.1.18 with nested tags?

2003-02-11 Thread Sri Sankaran
Jeff: I have seen your several posts in the last day or so but haven't commiserated since you had indicated haven't read my posting (http://www.mail-archive.com/struts-user@jakarta.apache.org/msg57884.html). After debugging the problem, I had rephrased the problem in

RE: ActionForm methods Naming Conventions - Urgent

2003-02-10 Thread Sri Sankaran
I don't see how the *name* of a method can lead to an exception. Secondly why are you getting a *NumberFormatException*. Aren't all your ActionForm properties String types? (Refer to the countless discussions on this subject for its virtues) All that being said, remember that unless

RE: nested:multibox broken? in 1.1b3?

2003-02-09 Thread Sri Sankaran
The value attribute or the nested body of a multibox tag represents the *value* for the checkbox; i.e. the value to be sent on form submission. Please look at http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox. Any label that you wish displayed must be specified independent

FW: nest sytax.. looks cool but does it work? :)

2003-02-09 Thread Sri Sankaran
, February 07, 2003 7:17 PM To: Sri Sankaran; [EMAIL PROTECTED] Subject: Re: nest sytax.. looks cool but does it work? :) Hi, Sri: Thanks much for responding to my post. You write.. nested:form action=3D/someAction.do %-- print the userFormName property of UserForm --% nested:write

RE: [OT] Jasper's TagHandlerPool and reusing tag handlers

2003-02-07 Thread Sri Sankaran
wonder if this was just recently fixed in the nightly build. I remember a problem with the nested tags getting the wrong name value, and I believe Aaron committed a fix for this in the last day or so. -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Using

RE: nested taglibs / Struts 1.1 beta 3

2003-02-05 Thread Sri Sankaran
I faced a similar error in porting my application from Struts 1.0.2 to 1.1b3. Problem persists on nightly (as late as Jan 31) as well. I have even written to Arron to see if he is aware of a problem. You *may* be able to work around this problem by including the nested_1_0.jar -- the jar

RE: html:select validation

2003-02-05 Thread Sri Sankaran
Since none of the items in your html:options collection is (or can be) null [*], even if the user does not make a selection, there is a default value and therefore the validation is successful. You could try to add a dummy default value (such as Please select one) and use a NOTEQUAL test.

RE: nested taglibs / Struts 1.1 beta 3

2003-02-05 Thread Sri Sankaran
: I don't have any problem, could you post your code so we can have a look? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: February 5, 2003 9:32 AM To: Struts Users

RE: How do i keep the commons-*.jar files from being required? (Weblogic 5.1)

2003-02-05 Thread Sri Sankaran
I am not familiar with the WebLogic environment but I would recommend reading the instructions on using Struts at http://jakarta.apache.org/struts/userGuide/installation.html. In particular read the section following the line To use Struts in your own application, you will need to follow

RE: Struts Tools

2003-02-05 Thread Sri Sankaran
Last week's meeting of the local WebSphere Users' Group (WUG) included a demonstration of the WebSphere Studio Site Developer (WSSD) including Struts tooling. It is quite impressive. Through the use of wizards and other intuitive aids WSSD eases the process of developing a Struts-enabled

RE: Struts Tools

2003-02-05 Thread Sri Sankaran
-Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:58 PM To: 'Struts Users Mailing List' Subject: RE: Struts Tools Last week's meeting of the local WebSphere Users' Group (WUG) included a demonstration of the WebSphere

RE: redirect=true not working

2003-02-05 Thread Sri Sankaran
What *are* your symptoms? Do you know if the action at UserList is executing? What is the URL read after the page loads? Sri -Original Message- From: Campbell, Kevin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 3:37 PM To: Struts Users Mailing List Subject: RE:

RE: html:multibox and arrays in the ActionForm

2003-02-04 Thread Sri Sankaran
I don't understand why you say you can't use logic:iterate to populate cells in a table logic:iterate id=item property=items tr td html:multibox property=selectedItems bean:write name=item/ /html:multibox bean:write name=item/ /td !-- Maybe more cells --

RE: Checked/Radio Button

2003-02-04 Thread Sri Sankaran
A radio-button displays selected (checked) if the property attribute equals the value attribute. So, html:radio property=color value=#ff/Red will display selected if the 'color' property of your form-bean is #ff. This topic has been addressed countless times on this forum. As

RE: When i18n isn't Needed

2003-02-03 Thread Sri Sankaran
I agree. However, if you are so inclined, the monster hack below should help: ApplicationResources.properties anything.goes={0} In your Action/ActionForm: new ActionError(anything.goes, The literal text) Sri -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent:

RE: Multiple radio buttons and an ActionForm

2003-01-31 Thread Sri Sankaran
Radio buttons are shown selected if the property and value attributes are equal. So, html:radio property=gender value=m/Male will display selected if the gender property of the form-bean is m. public class MyFormBean extends ActionForm { private String gender; // getters and setters

RE: Question about struts-example struts-config.xml

2003-01-31 Thread Sri Sankaran
/snip Confused again. (I will need a custom validate method.) How does Struts know to start with my class that extends DynaWhateverForm and add the stuff in the form-bean tag to it, rather than creating a new one? Would it be: form-bean name=logonForm

RE: Basic questions on ActionForm Session time-out

2003-01-31 Thread Sri Sankaran
Intermixed... -Original Message- From: Brahme, Supriya (ENJ) [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:43 PM To: [EMAIL PROTECTED] Subject: Basic questions on ActionForm Session time-out Hi, I am new to Struts. I have some simple basic questions.. 1. If

RE: after update to Struts 1.1 beta 3 Tomcat is throwing an exception

2003-01-30 Thread Sri Sankaran
Make sure that your struts-config has the correct DOCTYPE declaration and that the DTD is in the appropriate location. You can look at the sample applications for hints. Sri -Original Message- From: Knut Herhold [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 8:02 AM

RE: nested iteration

2003-01-30 Thread Sri Sankaran
Yes -Original Message- From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:51 AM To: Struts Users Mailing List Subject: nested iteration Can I use nested iteration on a page?

RE: Problem with checkboxes

2003-01-30 Thread Sri Sankaran
Please look at html-multibox.jsp and related files that are in the struts-exercise-taglib application that ships with Struts. Sri -Original Message- From: Uday [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:47 AM To: [EMAIL PROTECTED] Subject: Problem with

RE: I Frames

2003-01-30 Thread Sri Sankaran
Setting the target attribute to the name of the IFrame will route the results to the IFrame. Of course, the IFrame itself needs to be made visible. This can, typically, be accomplished via the onclick attribute. Sri -Original Message- From: vinay singh [EMAIL PROTECTED]

RE: Validator Problems

2003-01-30 Thread Sri Sankaran
Your struts-config doesn't have a plug-in element for the Validator. Sri -Original Message- From: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:33 PM To: Struts Users Mailing List Subject: Validator Problems Hey all, i've

RE: Reload after forward executes the previous action.

2003-01-30 Thread Sri Sankaran
You can redirect instead of forwarding. Of course, as you know, this creates a new request and so you can't expect to use anything that is in request scope in the list page. Sri -Original Message- From: carlos list [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:54

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Sri Sankaran
Man, that looks convoluted. Sri -Original Message- From: PILGRIM, Peter, FM [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:03 PM To: 'Struts Users Mailing List' Subject: RE: [VALIDATOR] requiredif ?? In the Struts User Guide there is a large example with

RE: [VALIDATOR] requiredif ??

2003-01-30 Thread Sri Sankaran
Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:39 PM To: 'Struts Users Mailing List' Subject: RE: [VALIDATOR] requiredif ?? From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:30 PM To: Struts Users Mailing

RE: Reload after forward executes the previous action.

2003-01-30 Thread Sri Sankaran
. How can I do that? From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Reload after forward executes the previous action. Date: Thu, 30 Jan 2003 14:29:24 -0500 You can redirect

RE: [OT] VOTE to help Naveen.Dhotre Unsubscribe permanently

2003-01-29 Thread Sri Sankaran
I haven't ever received any mail from Naveen Dhotre. I think he has targeted his emails to Mark and few other good men. Sri -Original Message- From: David Bolsover [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:42 AM To: Struts Users Mailing List Subject: RE: [OT]

RE: Auto execution of an action on page display

2003-01-29 Thread Sri Sankaran
So, if I understand your question correctly, when a user accesses your application, you want a set of tasks to be performed. One way to do this would be to have your application url be a call to some action: http://www.foo.com/myapp/start.do. Here the action mapped to 'start.do' will do your

RE: DynaValidatorForm with validate()

2003-01-29 Thread Sri Sankaran
Did you try setting the type attribute of the form-bean to full.qualified.ProfileForm? Sri -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 2:44 PM To: [EMAIL PROTECTED] Subject: DynaValidatorForm with validate() Can you

RE: [OT] Synchronizing Session Objects

2003-01-28 Thread Sri Sankaran
The one at http://marc.theaimsgroup.com/?l=struts-userm=99715571123697w=2 is little more than a year old but it's a good one. Sri -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 9:14 AM To: 'Struts Users Mailing List' Subject: RE: [OT]

[Validator]Stop validation upon first error

2003-01-28 Thread Sri Sankaran
Using : Struts 1.1b3 Is it possible to stop the validation of a DynaValidatorForm when the Validator framework encounters the first error? I have the following form in my validation.xml form name=qualForm field property=access depends=required msg name=required key=error.qualify/

[Struts-src] Creating a form-bean

2003-01-28 Thread Sri Sankaran
I was wading through the source code to figure out the process of creation of a form bean and found the following snippet in o.a.s.u.RequestUtils in the method createActionForm (line 654 in the 1/28 nightly source): (beginning at line 709) if (configClass.isAssignableFrom(instance.getClass()))

RE: How to assign form bean value in my JSP!

2003-01-27 Thread Sri Sankaran
If your form-bean is saved to the session scope under the key 'foo' the following is how you can access it in a scriptlet (assuming the class name of the form-bean is SearchResultForm) % SearchResultForm srf = (SearchResultForm)session.getAttribute(foo); int currPage = srf.getPageNumber();

RE: session size and struts

2003-01-27 Thread Sri Sankaran
See http://marc.theaimsgroup.com/?l=struts-userm=104205761322672w=2. Sri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:26 AM To: [EMAIL PROTECTED] Subject: session size and struts I know the implementation of session is

[Nested] Issues in 1.1b3

2003-01-24 Thread Sri Sankaran
Using Struts 1.1b3 I am porting my application from Struts 1.0 to 1.1. One of the pages does not load and reports the error No getter method for property prodsNotInstalled[0].software_code of bean sitebean' The error goes away if nested_jars_10.jar happens to be in WEB-INF/lib. Have you

RE: How to handle a multiple select tag

2003-01-23 Thread Sri Sankaran
Is this setter being called at all? If the 'permissions' property of your form-bean is some kind of List (as it seems looking at the setter you have shown) I don't think this setter will be invoked at all. Struts will look for a void setPermissions(List x) method. Likewise when you

RE: How to handle a multiple select tag

2003-01-23 Thread Sri Sankaran
for your help Jordan -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, 23 January 2003 3:27 PM To: Struts Users Mailing List Subject: RE: How to handle a multiple select tag Is this setter being called at all? If the 'permissions' property

RE: reset a request parameter to null

2003-01-21 Thread Sri Sankaran
PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3

RE: ClassCastException problem

2003-01-21 Thread Sri Sankaran
See intermixed -Original Message- From: Jeremy Cavagnolo [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:31 PM To: [EMAIL PROTECTED] Subject: ClassCastException problem I am using struts 1.0.2 and tomcat 4.1.12. I have an Action that contains the following code:

RE: validate

2003-01-20 Thread Sri Sankaran
I assume that you are referring to the ActionForm class' validate() method. If so, you *must* further have specified an 'input' attribute for the action mapping in question. The framework will forward the request to the path that is the value of the 'input' attribute. So, if you have action

RE: Nested:equal inside a tile.

2003-01-20 Thread Sri Sankaran
Have you tried to do the following in inside.jsp : nested:root nested:equal property=field.subfield value=AAA toto /nested:equal /nested:root The empty root tag lets the nested tags pick up its context from the container page (around.jsp). Sri P.S. BTW, your email has two trailing

RE: getter doesn't work in scriplet

2003-01-20 Thread Sri Sankaran
The id attribute gives page-scope bean of type java.lang.Object. Your options are * specify the 'type' attribute with the fully qualified class name * Cast your call in the scriptlet to the appropriate type Sri -Original Message- From: rajiv ahuja [mailto:[EMAIL PROTECTED]]

RE: reset a request parameter to null

2003-01-20 Thread Sri Sankaran
It isn't clear what you are trying to achieve; however one thing that jumps out is your use of request *attributes* as opposed to request *parameters*. When you append a URI thusly: foo?operation=barbaz=gak you are providing *parameters* and not attributes. Sri -Original Message-

RE: reset a request parameter to null

2003-01-20 Thread Sri Sankaran
PROTECTED]] Sent: Monday, January 20, 2003 3:30 PM To: Struts Users Mailing List Subject: RE: reset a request parameter to null thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL

RE: Axis/SOAP proposal for Struts

2003-01-17 Thread Sri Sankaran
...and on the email below it's one day ahead! -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:13 PM To: 'Struts Users Mailing List' Subject: RE: Axis/SOAP proposal for Struts Your calendar is 2 days behind -Original

RE: changing ActionForm to be a Java interface

2003-01-16 Thread Sri Sankaran
The logic validate method is so closely coupled with the form-bean properties that it wouldn't help to look at a sample. What I do in form-bean-X's validate() is nothing like the validate() for form-bean-Y. If you still want to look at sample code you should be able to find it in the sample

RE: A form with a List

2003-01-15 Thread Sri Sankaran
I don't know what you mean by professionals. However, treating it as some java.lang.Object you can easily accomplish this with a form-bean that has a List of professionals and display the contents of the list in your JSP using a logic:iterate. Am I missing something? Sri -Original

RE: A form with a List

2003-01-15 Thread Sri Sankaran
(or something else) but many. As you said, I understand that I can have an attribute that can store these professionals. Can you give me a simple example? This attribute is an array of java.lang.Object? Thanks, Joao Paulo. Sri Sankaran [EMAIL PROTECTED] wrote:I don't know what you mean

RE: A form with a List

2003-01-15 Thread Sri Sankaran
that store the list of professionals (or anything else). Thanks, Joao Paulo. Sri Sankaran [EMAIL PROTECTED] wrote:Look at the file logic-iterate.jsp in the struts-exercise-taglib application that ships with Struts. It demonstrates several uses of . It would also help to look at the documentation

RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Sri Sankaran
he says strutting proudly ...oops pardon the pun. Sri -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 10:48 AM To: 'Struts Users Mailing List' Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation

RE: bean:write and embedded html tag

2003-01-15 Thread Sri Sankaran
Have you tried setting the filter attribute of bean:write to false? Sri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: bean:write and embedded html tag My ActionForm is public class

[OT] Struts Poetry (Was RE: [REQUEST] Corrections for Struts Kick Start)

2003-01-14 Thread Sri Sankaran
The ode from James Turner http://marc.theaimsgroup.com/?l=struts-userm=104070407822408w=2 is a classic. Sri -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 3:01 PM To: 'Struts Users Mailing List' Subject: RE: [REQUEST] Corrections for

RE: logic:iterate -tag

2003-01-13 Thread Sri Sankaran
You *can* use bean:define. Be sure to look at the docs at http://jakarta.apache.org/struts/userGuide/struts-bean.html#define; it explains how this tag differs from jsp:useBean. Sri -Original Message- From: Matthias Weßendorf [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003

RE: Display an option of a list with Nested

2003-01-13 Thread Sri Sankaran
This works the same way as it does with the html tags. The default value (value that is shown selected when the page is loaded) is determined by the value of the nested:select's property attribute. So, if 'rechercheInstancier.agent' is i1 and i1 is one of the values of the nested:options, it

[OT] RE: It lives....

2003-01-13 Thread Sri Sankaran
Mark.. The [OT]meister... Doing the [OT] -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 11:36 AM To: 'Struts Users Mailing List' Subject: It lives Hey guys! Been away from the list for awhile. Got sick of working in a

RE: session scope ActionForm

2003-01-09 Thread Sri Sankaran
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:51 PM To: [EMAIL PROTECTED] Subject: session scope ActionForm I am a bit confused about session scope of ActionForm. For example, in my ActionForm testForm private

RE: A form with unknown number of checkboxes.

2003-01-09 Thread Sri Sankaran
The html:multibox tag will serve this purpose. See http://jakarta.apache.org/struts/userGuide/struts-html.html#multibox. Sri -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 10:54 AM To: '[EMAIL PROTECTED]' Subject: A form with

RE: Problems with nested tags

2003-01-09 Thread Sri Sankaran
Your nested:root isn't what you expect it to since you are closing it immediately. Look closely, you have nested:root name=permissionteset/ ^^ You probably meant nested:root name=permissionteset .. /nested:root Sri -Original Message- From:

RE: action from an Interface

2003-01-09 Thread Sri Sankaran
html:link page='%=/glAccount.do?action=+MyInterface.ACTION%' Sri -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 5:33 PM To: Struts Users Mailing List Subject: action from an Interface html:link page=/glAccount.do?action%=

RE: html:link tag

2003-01-09 Thread Sri Sankaran
Please read the docs at http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It explains how to set up a Map to provide multiple parameters. Sri -Original Message- From: Damm, Gary [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:44 PM To: Struts Users

RE: 'collection' dropdown trouble

2003-01-08 Thread Sri Sankaran
If you look at the docs for html:options and in particular for its 'collection' attribute you will note that the value of the 'collection' attribute must be a java.util.Collection of JavaBeans. Each bean in this java.util.Collection must have the properties named by the 'property' and

RE: 'collection' dropdown trouble

2003-01-08 Thread Sri Sankaran
Oh! And one other thing, the 'property' attribute of the html:select represents the user's selection(s). So your form-bean should set up an String[] (since you want to allow multiple selections) where these can be stored. Sri -Original Message- From: Sri Sankaran Sent: Wednesday

RE: How should I pass an exposed bean variable as custom tag parameter?

2003-01-08 Thread Sri Sankaran
The reason nested:nest property=submission nested:iterate property=attributes .. works is because the nested tags keep track of the context in which they are in; i.e. the call to the 'attributes' property by nested:iterate is made relative to the parent bean which is 'submission'. For

RE: html:link Help

2003-01-07 Thread Sri Sankaran
Please read http://jakarta.apache.org/struts/userGuide/struts-html.html#link. It explains how you can set up a Map to pass multiple parameters to a link. Sri -Original Message- From: Mark Minnie [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 11:57 PM To: [EMAIL

RE: Getter/Setter for properties with multiple values (newbie)

2003-01-07 Thread Sri Sankaran
By setting up an action mapping with an associated form-bean, the process of setting the form-bean properties with value(s) the client provides is an implicit feature of the Struts framework. Going by your question, and your sample code snippet, I would encourage you to take a close look at

RE: a couple of questions

2003-01-06 Thread Sri Sankaran
-Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 10:57 AM To: Struts Users Mailing List Subject: a couple of questions hey guys, using struts 1.1 beta 3 here with tomcat 4.1.18. pretty much a newbie with struts ...

RE: Repopulating a form after an error in Validate

2003-01-06 Thread Sri Sankaran
-Original Message- From: Samir Shah [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Repopulating a form after an error in Validate Hi I have a very frustrating problem. I have a form where I use a bean to prefill a form

RE: Need help for java IDE

2003-01-03 Thread Sri Sankaran
The thing I like about IDEA is that because it is so intuitive to use it gets out of the way of coding. If you find yourself thinking I *should* be able to do xyz by, say, right-clicking... chances are that's how it is done. Since it is written for Java application development, its feature

RE: nestedtag, iterate and multibox

2003-01-03 Thread Sri Sankaran
-Original Message- From: Jose Luis [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 1:30 PM To: Struts Users Mailing List Subject: nestedtag, iterate and multibox I´m testing the nested tags, and i found some troublesome in the way i used to do things and with

RE: Getting a Bean

2002-12-24 Thread Sri Sankaran
One approach is to use the nested tag library (if you are using Struts 1.0.2 it's a separate download from www.keyboardmonkey.com/next/index.jsp). Using it you can display questionText for example as : nested:form action=foo nested:write property=pageObject.questionObject.text/ /nested:form

<    1   2   3   4   5   >