Yeah, I seem to be setting up struts-config correctly as it works fine
if I change the scope to "session". Here is the config:
Form-bean related config:
<form-bean name="servicesForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="serviceSets" type="java.util.Vector" />
<form-property name="services" type="java.util.Vector" />
<form-property name="serviceSet" type="java.lang.String" />
<form-property name="service" type="java.lang.String" />
<form-property name="announcementStartDate"
type="java.lang.String" />
<form-property name="announcementEndDate"
type="java.lang.String" />
</form-bean>
Action mapping related config:
<action path="/services" type="prwp.action.ServicesAction"
name="servicesForm" scope="session" validate="true" parameter="task"
input="/services.jsp">
<exception type="com.nokia.ipdc.ss.prwp.service.DjapiException"
key="error.dberror" />
<forward name="Success" path="/services.jsp" />
</action>
Thanks,
Suresh
>-----Original Message-----
>From: Rick Reumann [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 17, 2003 8:44 PM
>To: Struts Users Mailing List; [EMAIL PROTECTED]
>Subject: Re: Validator and Form Bean
>
>
>On Friday, January 17, 2003, 8:42:11 AM, Suresh wrote:
>
>SA> But now, my whole form is not getting displayed because I am not
>SA> getting the form bean back. Any thing I am missing? **Must the
>SA> form bean be in session scope if I want this functionality?**
>
>No, the FormBean can have request scope. How are you setting up the
>form bean into the page initially? Are you sure you are setting it up
>correctly in the struts-config.xml file? Maybe you could paste that
>part of the code here.
>
>
>--
>
>Rick
>mailto:[EMAIL PROTECTED]
>
**************************Disclaimer**************************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to which it
is
addressed. You are notified that any use, copying or dissemination of the information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.
****************************************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>