H
hrpreets
Hi All,
I have a form which has objects and list of objects.
public class TimeIntervalCategoryForm extends ActionForm{
private IntervalCategoryVO intervalCategoryVO;
private List timeIntervalVOCol; -- list of value objects
Now in the jsp i have
<html:form name="timeIntervalCategoryForm" action="/
suggestivesalesconfig/timeIntervalCategory.do"
type="com.fast.cfm.suggestivesalesconfig.TimeIntervalCategoryForm">
<bean:define id="intervalcatvo" name="timeIntervalCategoryForm"
property="intervalCategoryVO"
type="com.fast.cfm.db.vo.IntervalCategoryVO" scope="request" />
----
---
<table border="0" cellpadding="0" cellspacing="2">
<tr><td class="caption" valign="top" nowrap>
<bean:message
key="suggestivesales.timeintervalcategory.label.timeintervalcat"/></
td>
<td class="detail" colspan="3" nowrap><html:text name="intervalcatvo"
property="intervalCatDesc" size="50" maxlength="30"/></td>
</tr>
---
---
After feeding i the values on the jsp when i click ok button, then in
the Action class when i try to fetch the object from the
Form(TimeIntervalCategoryForm) it reurns null.
TimeIntervalCategoryForm timeIntervalCategoryForm =
(TimeIntervalCategoryForm)form;
timeIntervalCategoryForm.getIntervalCategoryVO() ==> is null ???
I have a form which has objects and list of objects.
public class TimeIntervalCategoryForm extends ActionForm{
private IntervalCategoryVO intervalCategoryVO;
private List timeIntervalVOCol; -- list of value objects
Now in the jsp i have
<html:form name="timeIntervalCategoryForm" action="/
suggestivesalesconfig/timeIntervalCategory.do"
type="com.fast.cfm.suggestivesalesconfig.TimeIntervalCategoryForm">
<bean:define id="intervalcatvo" name="timeIntervalCategoryForm"
property="intervalCategoryVO"
type="com.fast.cfm.db.vo.IntervalCategoryVO" scope="request" />
----
---
<table border="0" cellpadding="0" cellspacing="2">
<tr><td class="caption" valign="top" nowrap>
<bean:message
key="suggestivesales.timeintervalcategory.label.timeintervalcat"/></
td>
<td class="detail" colspan="3" nowrap><html:text name="intervalcatvo"
property="intervalCatDesc" size="50" maxlength="30"/></td>
</tr>
---
---
After feeding i the values on the jsp when i click ok button, then in
the Action class when i try to fetch the object from the
Form(TimeIntervalCategoryForm) it reurns null.
TimeIntervalCategoryForm timeIntervalCategoryForm =
(TimeIntervalCategoryForm)form;
timeIntervalCategoryForm.getIntervalCategoryVO() ==> is null ???