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

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

RE: collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
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. Take a look at the HttpServletRequest API. If you need to get

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
. -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 night now and no progress has been made

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
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 help. Its night now

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

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
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 page and then I get the new, blank element

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

RE: Navigation: To popup and back

2002-01-29 Thread Jeff Oberlander
: Jeff Oberlander [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 8:07 PM To: Struts Users Mailing List (E-mail) Subject: Navigation: To popup and back 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

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: Basic (esoteric) Question

2002-01-29 Thread Jeff Oberlander
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 the API

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.something.tr %

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

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-

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 : %@ taglib

RE: action configuration

2002-01-17 Thread Jeff Oberlander
Are you using the html:base/ 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

RE: Application resources and logic:notPresent

2002-01-15 Thread Jeff Oberlander
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. This is basic stuff, but I haven't found an answer in the archives

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: webinf dir=${deploy.home}/WEB-INF/ / If that upper dir has extra things you don't want in the distribution, use includes: webinf dir=${deploy.home}/WEB-INF/ include name=pages/*.jsp/ /webinf -Original