RE: form problem

2003-01-02 Thread Sunkara Maheswara Rao
Try this... U want to populate ur form bean before displaying the page so that those values should be displayed ur formif this is the case... Go to ActionBean class directly where u can populate ur form bean and forward to the jsp which u wantu can do this by making changes like this in

Re: form problem

2003-01-02 Thread Dan Tran
In your action: snippet -process your href value and generate report object -stick the Report object to request object -forward the action to an JSP page which will read out the Report object and display /snippet I dont think your sceniao need a form -Dan - Original Message

Refresh Problem

2003-01-02 Thread ashokd
Hi, In my application, I has a form, after submitting the form, success page is coming. When I refresh the success page, once again the previous form action is calling. Anyone has an idea about this. I tried in Action class putting some variable as false, even though i getting the same problem.

form problem

2003-01-02 Thread ss s ss
Hello agian, Thanks Dan. I think you understood my problem. Let me explain it further. Please send me ur comments... I have a home jsp and the report jsp. Home jsp has a href for report jsp. I'm using report form and report action for display and editting the values. The user information

nested radio button

2003-01-02 Thread Amit Badheka
Hi All, I have a requirement where I am generating a tree structure. And, with each node I have to generate one radio button. Now, I am able to generate the tree and radio buttons, but there are two problems I am facing - 1. The radio button name comes as beanName.someName.someArray[0..], if

popup window

2003-01-02 Thread Amit Badheka
Hi All, Is there any way to open new window from the action class. I have a requirement like when one from is submitted I have to pass values of that from to another jsp that will open in new window. please help. AB.

RE: popup window

2003-01-02 Thread du Plessis, Corneil C
If you want to open a new window when submitting a form you will have to set the target of the html:form or form using _blank will launch a new window. -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: 02 January, 2003 11:26 To: Struts Users Mailing List Subject:

Re: popup window

2003-01-02 Thread Puneet Agarwal
Did _blank not work ? or is it that you want response in both of the windows ? Regards Puneet - Original Message - From: Amit Badheka [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 9:26 AM Subject: popup window Hi All, Is there any

Re: popup window

2003-01-02 Thread Amit Badheka
Hi Puneet, It works fine, but my problem is that I am using templates. So, in the popup window whole template is displaying rather than a single jsp. Also, one more problem is that popup jsp contains a tree. so when we try to explore the tree structure on each event it calls same action(that

RE: [OT] IntelliJ sale

2003-01-02 Thread Justin Ashworth
IDEA's brilliant use of hotkeys caused me to switch from Eclipse initially, but its overwhelming ease of use has kept me using it for over 6 months now. Also, IDEA allows for a much more flexible project directory structure than Eclipse. It seemed like I was always fighting with Eclipse to get

Re: popup window

2003-01-02 Thread Puneet Agarwal
This has nothing to do with action class. You have JSP -1, which has target defined as _blank. when you do some operation on this page, it opens a child window this child window has a tree structure. it invokes same action class, but the jsp does not have target as blank in the child window.

Beta3: Log4j gone mad

2003-01-02 Thread Davor Cengija
I just upgraded from b2 to b3 and since then Log4j (1.2.6) is acting strangelly: it ignores the settings and sends everything on stderr. Here's the log4j.properties (the interesing part): #log4j.rootLogger=WARN, A1 log4j.logger.com.mycompany=DEBUG, A1 log4j.logger.JBO=WARN, JBO

Generating html:option tags with JSTL

2003-01-02 Thread Eric Jain
I'm trying to generate a list of options: html:select property=year jstl:forEach var=y begin=1986 end=2003 html:option value=${y}jstl:out value=${y}//html:option /jstl:forEach /html:select But this produces the following output: option value=${y}1987/option ... Any

RE: Generating html:option tags with JSTL

2003-01-02 Thread ROSSEL Olivier
I'm trying to generate a list of options: html:select property=year jstl:forEach var=y begin=1986 end=2003 html:option value=${y}jstl:out value=${y}//html:option /jstl:forEach /html:select But this produces the following output: option value=${y}1987/option

RE: popup window

2003-01-02 Thread ROSSEL Olivier
If you want to open a new window when submitting a form you will have to set the target of the html:form or form using _blank will launch a new window. Newbie question: can you make this new window a modal window? can this window appear when you click the Select (submit) button, but not

Prepopulating DynaActionForm

2003-01-02 Thread Senthivel U S
Greetings, I am using DynaAction Form. I want to pre populate Form with multiple rows. In the form property , I specified form-bean name=exampleForm type=org.apache.struts.action.DynaActionForm form-property name=name type=java.lang.String/ form-property name=address type=java.lang.String/

RE: Updating collections of information

2003-01-02 Thread pqin
1.1b2 Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Greg Bearth [mailto:[EMAIL PROTECTED]] Sent: December 31, 2002 6:01 PM To: 'Struts Users Mailing List' Subject: RE: Updating collections of information PQ, can

Re: Generating html:option tags with JSTL

2003-01-02 Thread Eric Jain
I think you should use html-el as the namespace for your JSTL tags. Thanks, replacing struts-html with struts-html-el in my application fixed the problem. -- Eric Jain -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread Toni Charlot
I would like to have a setter method called before another. What's the best way to do that in the ActionForm Thank you. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: datasource problem

2003-01-02 Thread David M. Karr
Steven == Steven Dahlin [EMAIL PROTECTED] writes: Steven I am a little unclear what you mean by using modules? If you don't know what they are, then you probably aren't using them :) . It's a mechanism that allows you to subdivide your Struts application into pieces, each with their own

Is Struts-EL in Beta 3 release working properly?

2003-01-02 Thread Hohlen, John
Does anyone know if the Struts-EL subproject is working in the Struts 1.1 beta 3 release? I tried using this subproject in the 12/7 nightly build and encountered a JSP compilation problem with the HTML-EL tag library. I'm not sure if this ever got fixed.

RE: REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread James Mitchell
You could do it yourself within your action, but you cannot depend on the framework to do it in any particular order. (that probably explains why there is nothing related to 'order' in the dtd) Hope that helps!! -- James Mitchell Software Engineer/Open Source Evangelist

Re: REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread Rick Reumann
On Thursday, January 2, 2003, 10:10:32 AM, Toni wrote: TC I would like to have a setter method called before another. TC What's the best way to do that in the ActionForm Do you mean in a FormBean you are using with an Action that is populated when you submit? If so I'm not certain how you would

Re: form problem

2003-01-02 Thread Dan Tran
Yes that is the way I am using now. There may be another way but I never try it before. Use an forward action (to your query.jsp) and have your reportForm's reset method to initialize the data. snippet action forward=/report.jsp scope=request path=/startReport / /snippet before report.jsp

DynaActionForm change with 1.1-beta3 download

2003-01-02 Thread Hemanth Setty
Hello, Well I just downloaded 1.1 beta 3 today and updated my application with the new libraries. There seems to be a difference in the way DynaActionForm gets initialized. Before beta 3...and as late as around dec 10th nightly build..DynaActionForm properties would get initialized to

Page Anchoring using Tiles Def

2003-01-02 Thread Bhamani, Nizar A TL56E
My struts config is using Tiles definition to forward to a Page instead of jsp. i.e. I am using the following : forward name=DoSomething path=.tilesdef.doSomething redirect=false contextRelative=true / instead of :

Multiple message-properties

2003-01-02 Thread ROSSEL Olivier
I wish to have my message resources in several files: message-resources parameter=java.resources.application / message-resources parameter=language / message-resources parameter=database / When I launch Tomcat, I have realized that the LAST message-resources is read, but not the

Re: REPOST: Forcing the ActionForm to populate a field before theother

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Toni Charlot wrote: Date: Thu, 2 Jan 2003 10:10:32 -0500 From: Toni Charlot [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: REPOST: Forcing the ActionForm to populate a field before the

Re: Multiple message-properties

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, ROSSEL Olivier wrote: Date: Thu, 02 Jan 2003 17:47:46 +0100 From: ROSSEL Olivier [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Multiple message-properties I wish to have my message resources

Re: struts-related exception on tomcat startup

2003-01-02 Thread Craig R. McClanahan
On Wed, 1 Jan 2003, Darrel Riekhof wrote: Date: Wed, 01 Jan 2003 20:19:15 -0800 From: Darrel Riekhof [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: struts-related exception on tomcat startup I'm getting the exception below whenever

Re: How to connect a database in SQL Server ?

2003-01-02 Thread aswath satrasala
Following may help resource-ref res-ref-namejdbc/test/res-ref-name res-typejavax.sql.DataSource/res-type init-param driver-name=com.inet.tds.TdsDriver/ init-param url=jdbc:inetdae7:VARSHA:1433?database=artimus/ init-param user=artimus/ init-param

defeating caching

2003-01-02 Thread Caoilte O'Connor
Hi, Can anyone tell me exactly what options I should set for struts1.1 to defeat web caching. I found the option in the dtd and a few mentions of it in the archives, but no information anywhere on how to set it for all pages the webapp returns. much appreciated, caoilte -- To unsubscribe,

problems getting new taglib instructions working with tomcat 4.1.x

2003-01-02 Thread Kirby Vandivort
Hello, Referring to: http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_taglib_23 I am running struts 1.1 beta 3, tomcat 4.1.18, and I have a simple JSP page that starts out like: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib

Re: problems getting new taglib instructions working with tomcat 4.1.x

2003-01-02 Thread Kirby Vandivort
I'll answer my own question (from finding the right subject line in some of the list archives) Apparently from beta 3 on, the -version.number is no longer in the URI. So, I changed it to: %@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html % %@ taglib

RE: defeating caching

2003-01-02 Thread Siggelkow, Bill
Add the following stanza to your struts-config.xml ... controller nocache=true/ -Original Message- From: Caoilte O'Connor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 10:36 PM To: [EMAIL PROTECTED] Subject: defeating caching Hi, Can anyone tell me exactly what

commons-*.jar file Version numbers within Struts Beta 3 Release?

2003-01-02 Thread Scott Reisdorf
I was wondering if anyone knows the version numbers associated with the commons-*.jar files that are packaged within the new Struts Beta 3 release? If you do have the version number to any of the jar files listed below, it is much appreciated. commons-beanutils.jar commons-collections.jar

Re: commons-*.jar file Version numbers within Struts Beta 3 Release?

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Scott Reisdorf wrote: Date: Thu, 02 Jan 2003 11:03:37 -0800 From: Scott Reisdorf [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: commons-*.jar file Version numbers within Struts Beta 3 Release? I was wondering if

Re: struts-related exception on tomcat startup

2003-01-02 Thread Darrel Riekhof
Thanks, that was it. I put the xercesImpl.jar that came with tomcat 4.1.18 back into its common/endorsed dir instead of the xercesImpl-2.2.1.jar that came with fop 2.0.5rc. The startup exception went away, all my webapps work, and I can use validation someday! I didn't realize that tomcat

Re: struts-related exception on tomcat startup

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Darrel Riekhof wrote: Date: Thu, 02 Jan 2003 11:24:46 -0800 From: Darrel Riekhof [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: struts-related exception on tomcat startup Thanks,

2nd field doesn't validate, first one does

2003-01-02 Thread Michelle Harris
Hi all, I've been trying to get data validation working. Many thanks for earlier responses. I did get a sample login app up and running. However, the oddest thing happens. The first field, username, validates correctly. However, the second one, password, doesn't validate at all. I'm including

RE: REPOST: Forcing the ActionForm to populate a field before the other

2003-01-02 Thread Toni
Thank you Rick, James and Craig for your inputs. The answers is exactly what I was looking for in order to get off my lazy a** and break things apart. I was trying to set a quantity field do indicate how many child forms to display in one step without using an action with the nested tag lib.

ArrayDescriptor - GenericConnection exception

2003-01-02 Thread yupingw
Hi, Folks: Happy New Year! I am having the same problem Eva had. Anyone has a solution? Many thanks. Patrick [Mail Archive] struts-user Chronological -- Find Thread -- ArrayDescriptor - GenericConnection exception * From: Eva Garabedian * Subject: ArrayDescriptor -

Actions invoked by links have more flexibility than those driven byforms?

2003-01-02 Thread John Munsch
With an html:link I can embed a reference to a parameter or multiple parameters: html:link paramId=id paramName=myBean paramProperty=id forward=/testClick Me/html:link Note that this will call whatever /test maps to with ?id=some # after it. And if I create /test as a global forward and map

Re: Actions invoked by links have more flexibility than those driven by forms?

2003-01-02 Thread Kris Schneider
For a single parameter: html:hidden name=myBean property=id/ But there's no direct way to use a Map of parameters ala html:link. One possibility (with JSTL): c:forEach var=entry items=${paramMap} input type=hidden name=c:out value='${entry.key}'/ value=c:out

RE: Actions invoked by links have more flexibility than those driven by forms?

2003-01-02 Thread mech
On the other hand, with html:form I don't seem to have the same functionality. I don't see a way to refer to a parameter or set of parameters in the html:form tag so that I can pass through parameters that way. So I pretty much have to pass through anything I want to send to an action

Re: Actions invoked by links have more flexibility than those driven by forms?

2003-01-02 Thread Richard Yee
John, You are missing the fact that form parameters cannot be submitted using both the HTTP Post and Get methods simulaneously. The method that is used by the html:form tag is POST. This means that the form contents are submitted as name-value pairs in the contents of the HTTP message as opposed

Ye olde html:options tag?

2003-01-02 Thread Michael P
I apologize for this basic question, but I'm new to struts and Java web programming in general, and I really can't get the html:options tag to work... The error I'm getting, specifically, is: javax.servlet.jsp.JspException: No getter method available for property email for bean under

Re: Is Struts-EL in Beta 3 release working properly?

2003-01-02 Thread David M. Karr
John == John Hohlen Hohlen writes: John Does anyone know if the Struts-EL subproject is working in the Struts 1.1 John beta 3 release? I tried using this subproject in the 12/7 nightly build and John encountered a JSP compilation problem with the HTML-EL tag library. I'm John

Problem reloading resources with Beta 3

2003-01-02 Thread David Morris
I just did a quick rebuild of a project using the new Beta 3 version of Struts and started getting an error loading a plugin. The project worked OK with Beta 2. I probably missed something -- here is what I did: 1. Replace Struts Beta 2 related jars in Tomcat 1.1.12 based container with Beta 3

RE: ArrayDescriptor - GenericConnection exception

2003-01-02 Thread pqin
Oracle requires an explicit OracleConnection. Thus you have to get the underlying connection of struts/tomcat connection by ((PoolableConnection) getConnection()).getDelegate() Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original

RE: Ye olde html:options tag?

2003-01-02 Thread Siggelkow, Bill
Try using the 'collection' attribute instead of 'name' ... otherwise, the tag interprets the name/property combination as identifying the collection. html:options collection=users property=email labelProperty=email/ \-Original Message- From: Michael P [mailto:[EMAIL PROTECTED]]

multi row / multi col input forms

2003-01-02 Thread Mike Ash
Is there a way to get the inputs from an html form that has something like: col1col2col3 row x x x row x x x row x x x where x may or may not be entered and the input boxes are named like col1, col2, col3. So if a user

Re: multi row / multi col input forms

2003-01-02 Thread Khalid K.
please read the post below from Craig(he answered a similar question..see question/answer below) On Thu, 2 Jan 2003, Toni Charlot wrote: Date: Thu, 2 Jan 2003 10:10:32 -0500 From: Toni Charlot [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL

Struts v1.1b3 download?

2003-01-02 Thread ajTreece
I went to the apache site - milestone build for the subject mentioned release, but get a requested url not found error... Where is the milestone build? Later, ajTreece -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

(http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved

2003-01-02 Thread Daniel Grey
I am trying to deploy a .ear file to JBOSS and canNot get around this error: org.apache.jasper.JasperException: null(-1,-1) This absolute uri (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved in either web.xml or the jar files deployed with this application There are a bunch

RE: Struts v1.1b3 download?

2003-01-02 Thread Carl Schwarcz
I get the same message. You've got the correct url, just the site seems broken. -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 2:19 PM To: Struts Users Mailing List Subject: Struts v1.1b3 download? I went to the apache site - milestone

Re: Struts v1.1b3 download?

2003-01-02 Thread David M. Karr
ajTreece == ajTreece [EMAIL PROTECTED] writes: ajTreece I went to the apache site - milestone build for the subject mentioned release, ajTreece but get a requested url not found error... ajTreece Where is the milestone build? I don't know why the link is broken, but you can get

Re: Struts v1.1b3 download?

2003-01-02 Thread Martin Cooper
On 2 Jan 2003, David M. Karr wrote: ajTreece == ajTreece [EMAIL PROTECTED] writes: ajTreece I went to the apache site - milestone build for the subject mentioned release, ajTreece but get a requested url not found error... ajTreece Where is the milestone build? I don't

RE: multi row / multi col input forms

2003-01-02 Thread Mike Ash
I understand what he is saying about setter methods perhaps I am not explaining the problem correctly The exact example is I am trying to display a listing of a dynamic number of projects with hours assigned to them by day for a given week, the user can then update any of those fields to make

RE: Is Struts-EL in Beta 3 release working properly?

2003-01-02 Thread Hohlen, John
Here was the original problem: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg51370.html Thanks, JOHN -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 3:18 PM To: [EMAIL PROTECTED] Subject: Re: Is Struts-EL in Beta 3

FYI: Struts in Action Unavailable at Amazon

2003-01-02 Thread James Watkin
I tried to place an order for Struts in Action just prior to Christmas. Here's Amazon's response: Greetings from Amazon.com. We are sorry to report that we will not be able to obtain the following item from your order: Ted Husted, et al Struts in Action: Building Web Applications

RE: multi row / multi col input forms

2003-01-02 Thread James Turner
Here's one way to do it: Let's say you want to be able to record the grades of some students across a number of classes. First define a Bean called StudentGrades: Package example; public StudentGrades { private String name, biology, chemistry, physics, english, math; public String

Re: Is Struts-EL in Beta 3 release working properly?

2003-01-02 Thread David M. Karr
John == John Hohlen Hohlen writes: John Here was the original problem: John http://www.mail-archive.com/struts-user@jakarta.apache.org/msg51370.html I can only guess that there's some problem with WL 6.1SP2. Have you actually tried it yet with 1.1B3? Are you able to try it with newer

RE: multi row / multi col input forms

2003-01-02 Thread Mike Ash
OOPs! If I were to RTFM I would have found it, the tags have the indexed attribute. Thanks! -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 3:51 PM To: Struts Users Mailing List Subject: Re: multi row / multi col input forms please read

Re: Struts v1.1b3 download?

2003-01-02 Thread Martin Cooper
The links have been fixed. -- Martin Cooper On Thu, 2 Jan 2003, Martin Cooper wrote: On 2 Jan 2003, David M. Karr wrote: ajTreece == ajTreece [EMAIL PROTECTED] writes: ajTreece I went to the apache site - milestone build for the subject mentioned release, ajTreece but

ELFormTag.getFocusIndex() no such method

2003-01-02 Thread Brian Moseley
for some reason, almost every time i start up my app server (jboss 3.0.4 w/ tomcat 4.1.12) and click to a jsp with an html:form element, i get the following exception: java.lang.NoSuchMethodError: org.apache.strutsel.taglib.html.ELFormTag.getFocusIndex()Ljava/lang/String; at

absolute uri cannot be resolved

2003-01-02 Thread Daniel Grey
I am trying to deploy a .ear file (created by someone else) to JBOSS and canNot get around this error: org.apache.jasper.JasperException: null(-1,-1) This absolute uri (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be resolved in either web.xml or the jar files deployed with this

Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-02 Thread Paul Hodgetts, Agile Logic
I have a tiles application that was running fine on a nightly build from 2002-12-03. I just installed the nightly build from 2003-01-01. My tiles:insert sections are now being inserted at the top of the HTML document instead of at the point of the insert. E.g., instead of: head body table

RE: Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-02 Thread James Mitchell
That certainly does sound strange. I don't recall hearing anything like this in the past. Can you describe your settings with a bit more detail? Have you made any configuration changes recently? (or using another container) -- James Mitchell Software Engineer/Open Source Evangelist

Re: ELFormTag.getFocusIndex() no such method

2003-01-02 Thread David M. Karr
Brian == Brian Moseley [EMAIL PROTECTED] writes: Brian for some reason, almost every time i start up my app server (jboss 3.0.4 w/ Brian tomcat 4.1.12) and click to a jsp with an html:form element, i get the Brian following exception: Brian java.lang.NoSuchMethodError:

Re: ELFormTag.getFocusIndex() no such method

2003-01-02 Thread Brian Moseley
David M. Karr wrote: On December 13th, the focusIndex attribute was added to the form tag in the base library. Later that day, I added focusIndex to the form tag in Struts-EL. If you're getting this error, then the version of strutsel.jar that you have does not match the version of struts.jar

Re: Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-02 Thread Paul Hodgetts, Agile Logic
James Mitchell wrote: That certainly does sound strange. I don't recall hearing anything like this in the past. Can you describe your settings with a bit more detail? Have you made any configuration changes recently? (or using another container) All I did was download the 2003-01-01

Database access

2003-01-02 Thread sreejith
Dear all, I have done an application using Struts MVC pattern. In that i am creating the database connection using the following statements javax.sql.DataSource dataSource = (javax.sql.DataSource)servlet.getServletContext().getAttribute(Action.DATA_SOURCE_KEY); Connection

RE: Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-02 Thread James Mitchell
What settings would be helpful for you to see Well, you've peaked my interest enough to try and replicate this. Certainly its worth taking a whack at before submitting a bug. If you ask 5 developers how to implement a webapp that utilzes Tiles, you'll get 7 different answers. Could you

Iterate help

2003-01-02 Thread Mark Minnie
Let me try to explain this a quickly and clearly as possible. I want to make my struts application have a calendar. The user can add notes to each day on the calendar. I made a class that will contain all the information for the note (see the ANote class below). The note class contains a

ApplicationResources.properties

2003-01-02 Thread Jimmy Oh
Hi, I am new to Struts. I want to know whether is there a way (or is it possible at all?) to put the `ApplicationResources.properties' file in another directory other than in the `WEB-INF/classes' directory onwards? That is, I do not want `ApplicationResources.properties' to be in

Re: ApplicationResources.properties

2003-01-02 Thread Dan Tran
Consult your servlet container to add additional classpath (ie your property file path) -D - Original Message - From: Jimmy Oh [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 9:27 PM Subject: ApplicationResources.properties Hi, I am new to Struts.

Does not work to use SaveToken to avoid duplicated submit if I use the same jsp as the form and also as the resulting page?

2003-01-02 Thread Jason Yam
Hi everyone, I try to use Struts 1.0.2's SaveToken function to avoid duplicated submit. However I try to use the following logic to make it work: Action = JSP (show the submit form without the data) = (click submit) = Action with populated form = JSP (show the same jsp page to show the

multiple parameters for dispatchaction

2003-01-02 Thread usha
Hi can we pass multiple parameters for dispatchaction. for example i wanted to go to the details page on click of link i wanted to pass the primary key value along with the dispatch action parameter value. how can i pass the both the dispatchaction parameter and the primary key value. Thanks

Re: multiple parameters for dispatchaction

2003-01-02 Thread Dan Tran
set your primary key as a hidden field. This way you dont have to pass it in the query string -D - Original Message - From: usha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 10:41 PM Subject: multiple parameters for dispatchaction Hi can we pass

Re: multiple parameters for dispatchaction

2003-01-02 Thread usha
Hi Dan Tran i cannot set as hidden field because in that page all the primary keys list will be there upon clicking on the on of the primary key the key has to passed to the dispatchaction class Thanks usha Dan Tran wrote: set your primary key as a hidden field. This way you dont have to

Re: Iterate help

2003-01-02 Thread Martijn Lindhout
Hi Mark, I think there is no direct 'struts way' to call the getNotes method. The iterate tag iterates over collections and arrays, so you may use the bean:define tag to define the collection bean. Then, use that bean in the iterate tag. You still have the problem of calling the getNotes

Re: multiple parameters for dispatchaction

2003-01-02 Thread Dan Tran
So you start out with a list of items and upon clicking on the item (your primary key), it will invoke a dispatch action? In another word, the initial screen does not have a form.? -D - Original Message - From: usha [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: Control Flow Errors

2003-01-02 Thread Matthias Bauer
Hi Jerry, sorry for responding this late, but I did not check my mails between christmas and new year. Concerning your question: There is not very much support in the workflow extension to deal with your situation. The workflow extension allows you to define a controlflowexception forward

Struts 1.1 Beta 3 now available from mirror sites

2003-01-02 Thread Martin Cooper
The Struts 1.1 Beta 3 release is now available for download from more than 20 mirror sites worldwide. To download, follow this link: http://jakarta.apache.org/site/binindex.cgi Under Release Builds, select the mirror site you desire, click Change, and then click on Struts 1.1 Beta 3. Happy

RE: Struts in Action Unavailable at Amazon

2003-01-02 Thread Sterin, Ilya
That's funny, it's available at most bookstores in US, Borders and BN, I've seen it everywhere. Ilya -Original Message- From: James Watkin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 6:33 PM To: [EMAIL PROTECTED] Subject: FYI: Struts in Action Unavailable at Amazon I

Re: defeating caching

2003-01-02 Thread Taylor Cowan
besides the struts feature I thought someone might find this of interest. Jason Hunter covers servlets and web caching here: http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index2.html Taylor - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: