InvokeAction (action chaining)

2002-02-07 Thread Jeff Oberlander
I am working with the 1/31/02 nightly build. The release notes show that the following was added: "Add InvokeAction and CreateActionForm methods to allow direct chaining of Actions." Yet neither method shows in the javadoc or binaries. Does anyone know the status of these methods? Thanks mu

RE: collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
ject: Re: collecting parameters from a dynamic form Em Seg, 2002-02-04 às 14:11, Jeff Oberlander escreveu: > request.getParameter("name")); > request.getParameter("value")); > > works, but of course only returns one of the sets of data - the first in the > form.

collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
I have a dynamic form that is built from an ArrayList of objects (see below (b) ). Building the form works great. I get multiple rows of widget names and values. However, I can't seem to collect the data in my Action. The HTML that is rendered just repeats the same named input fields (see belo

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
of forwarding to the editPhoneNumbers.do action, directly re-display the jsp. -Original Message- From: Jeff Oberlander Sent: Friday, February 01, 2002 7:39 AM To: 'Struts Users Mailing List' Subject: RE: dynamic form action flow I've tried going straight to the display

RE: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-02-01 Thread Jeff Oberlander
Vector has been refactored to implement List (which extends Collection) - so it is part of the Collection classes. The differnece is just synchronization, which may be necessary in certain cases. They both have their place. -Original Message- From: Borislav Iordanov [mailto:[EMAIL PROTE

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
ight to the display page? -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Jeff Oberlander wrote: > > Ok, I've wasted an embarrassing amount of time on this and would appreciate > any he

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
download, under webapps. Jon. -----Original Message- From: Jeff Oberlander [mailto:[EMAIL PROTECTED]] Sent: 01 February 2002 06:08 To: '[EMAIL PROTECTED]' Subject: dynamic form action flow Ok, I've wasted an embarrassing amount of time on this and would appreciate any help. Its n

dynamic form action flow

2002-01-31 Thread Jeff Oberlander
Ok, I've wasted an embarrassing amount of time on this and would appreciate any help. Its night now and no progress has been made. This is another action flow question. Maybe there is a sample somewhere that does this? I apologize that this is long. I have an action form that contains an Ar

RE: Basic (esoteric) Question

2002-01-29 Thread Jeff Oberlander
atch block? -Original Message----- From: Jeff Oberlander [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 12:20 PM Indirectly yes. A declared exception (Checked) forces the caller to implement code to check for that exception. So there is overhead to the client and it can make th

RE: Basic (esoteric) Question

2002-01-29 Thread Jeff Oberlander
Indirectly yes. A declared exception (Checked) forces the caller to implement code to check for that exception. So there is overhead to the client and it can make the API more complex for the client. Generally, throw a checked exception for conditions the caller can expect to recover. Unchecked

RE: Navigation: To popup and back

2002-01-29 Thread Jeff Oberlander
: Navigation: To popup and back have the action forward to a page that loads a document containing a javascript handler in the body tag: As long as you opened the popup from another page via javascript, you won't get any nasty messages about closing the window. Lee -Original Message

Navigation: To popup and back

2002-01-28 Thread Jeff Oberlander
Hi all. Here's what I want to do: >From a current active session: Popup a new browser window that contains an ActionForm, and keeps the current session. Submit the form to the Action servlet. Close the popup window. Return to the main browser and original window. I have a javascript that pops

RE: Instantiating a Java Class

2002-01-25 Thread Jeff Oberlander
You need an import statement for the class in the page tag. <%@ page language="java" import="tr" %> if there is no further package structure, it will look for tr.class in web-inf/classes if there is a package structure, then the import needs it: <%@ page language="java" import="com.acme.somethi

RE: How to redirect to login page

2002-01-24 Thread Jeff Oberlander
Set a session variable in first.jsp, then create a custom tag that checks for that session variable and place the custom tag in second.jsp and third.jsp. If the session variable isn't there, forward to first.jsp. The sample app does this exact process with the CheckLogonTag. Go look at how that

RE: resources location

2002-01-23 Thread Jeff Oberlander
It needs to be somewhere in the classpath. Each app server uses their own implementation of the classloader, so it will be dependent on the classpath of your app based on the server. web-inf/classes is in the classpath, but the directory above that typically isn't. -Original Message- Fr

iterate tag problems

2002-01-22 Thread Jeff Oberlander
Been through the archive, and the logic-present.jsp in the sample distributions but nothing has solved this yet. I am simply adding an ArrayList of String to a request in my action. I've added 3 Strings to oMessages: request.setAttribute("messages",oMessages); RELEVANT JSP : <%@ tagli

RE: action configuration

2002-01-17 Thread Jeff Oberlander
Are you using the tag? -Original Message- From: Henrik Chua [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 3:14 PM To: Struts Users Mailing List (E-mail) Subject: action configuration Hi! I am having a problem with struts. I am running an iPlanet web server 6 sp1. The p

RE: JSPs under WEB-INF/pages/ -- how to include in WAR file using ANT?

2002-01-15 Thread Jeff Oberlander
You need to move your input directory up a level like: If that upper dir has extra things you don't want in the distribution, use includes: -Original Message- From: Barry L. Kline [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 11:19 AM To: [EMAIL

RE: Application resources and logic:notPresent

2002-01-15 Thread Jeff Oberlander
the messages when you should specify the attribute name that class has been stored under? (It'll be defined as a constant somewhere but I don't know where off-hand). Keith. --- Jeff Oberlander <[EMAIL PROTECTED]> wrote: > I am seeing conflicting behavior with application resources.

Application resources and logic:notPresent

2002-01-14 Thread Jeff Oberlander
I am seeing conflicting behavior with application resources. This is basic stuff, but I haven't found an answer in the archives. First, in my index.jsp I can do the following: It successfully displays my test text message from my ApplicationResources file. But, when I also try to execute the