I have been trying to do the following: <form-bean name="searchForm" type="com.mckesson.eig.actions.search.patient.SearchForm"> <form-property name="facilities" type="java.util.ArrayList"/> <form-property name="sexes" type="java.util.ArrayList"/> <form-property name="age" type="java.lang.String"/> <form-property name="admissionDate" type="java.lang.String"/> <form-property name="admissionDays" type="java.lang.String"/> <form-property name="ageRange" type="java.lang.String"/> <form-property name="dateOfBirth" type="java.lang.String"/> <form-property name="dischargeDate" type="java.lang.String"/> <form-property name="dischargeDays" type="java.lang.String"/> <form-property name="encounterNumber" type="java.lang.String"/> <form-property name="mrn" type="java.lang.String"/> <form-property name="ssn" type="java.lang.String"/> <form-property name="gpi" type="java.lang.String"/> <form-property name="firstName" type="java.lang.String"/> <form-property name="lastName" type="java.lang.String"/> <form-property name="patients" type="java.util.ArrayList" className="com.mckesson.eig.common.struts.NullInitialPropertyConfig"/> <form-property name="selectedSex" type="java.lang.String"/> <form-property name="selectedFacilityCode" type="java.lang.String"/> <form-property name="currentPatientIndex" type="java.lang.Integer"/> <form-property name="selectedEncounters" type="java.util.ArrayList"/> <form-property name="selectedEncounter" type="java.lang.String"/> <form-property name="chartSelectedEncounters" type="java.lang.String[]"/> <form-property name="chartSelectedMrn" type="java.lang.String"/> <form-property name="chartSelectedFacility" type="java.lang.String"/> <form-property name="popupProperties" type="com.mckesson.eig.common.presentation.properties.WindowPopupProperties" /> </form-bean>
<action path="/remoteParam" type="com.mckesson.eig.actions.RemoteParameterAction"> attribute="searchForm" scope="session" validate="false"> </action> Based on the following struts documentation this should have worked? <action path="/editRegistration" type="org.apache.struts.webapp.example.EditRegistrationAction" attribute="registrationForm" scope="request" validate="false"> <forward name="success path="/registration.jsp"/> </action> When the /editRegistration action is invoked, a registrationForm is created and added to the request, but its validate method is not called. The default value of the validate attribute is true, so if you do not want an action to trigger form validation, you need to remember to add this attribute and set it to false. So now when I print off the session values when the action is fired these attributes are the only ones that exists: [02 Jan 2004 13:40:58,699] [RemoteParameterAction] Scope: session [02 Jan 2004 13:40:58,699] [RemoteParameterAction] searchForm must be null in session [02 Jan 2004 13:40:58,709] [RemoteParameterAction] name: SWIM_USER [02 Jan 2004 13:40:58,779] [RemoteParameterAction] name: SWIM_FACILITY [02 Jan 2004 13:40:58,789] [RemoteParameterAction] name: SESSION_MANAGER [02 Jan 2004 13:40:58,789] [RemoteParameterAction] name: SWIM_MRN [02 Jan 2004 13:40:58,789] [RemoteParameterAction] name: org.apache.struts.action.LOCALE [02 Jan 2004 13:40:58,789] [RemoteParameterAction] Our Form is null........ [02 Jan 2004 13:40:58,789] [RemoteParameterAction] Controller contains Mrn: [032599] I was expecting to see a searchForm in the session based on the documentation also that the form would not be null that was passed to execute. -Ben --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]