Dear all,
I need your help.
I have table like the following .
1
2
Here is my jsp file.
<TABLE >
<TBODY>
<TR>
<TD>No</TD>
<TD>Price</TD>
</TR>
<t:dataList id="parentList" layout = "simple"
value="#{pr00604Bean.tariffInfo.tenderCommodityList}"
var="tenderGroupCommodity" rowIndexVar="parentIndex">
<t:dataList id ="commodityList" layout="simple"
value="#{tenderGroupCommodity.childCommodities}" var="tenderCommodity"
rowIndexVar="childIndex">
<t:htmlTag value="TR">
<h:outputText value="<TD height='42' align='center' rowspan='"
escape="false" rendered="#{childIndex ==0}" />
<h:outputText value="#{tenderGroupCommodity.size}"
rendered="#{childIndex ==0}"/>
<h:outputText value="'><FONT size='-1'>#{parentIndex+1}"
rendered="#{childIndex ==0}" escape="false"/>
<h:inputHidden id="childSize" value="#{tenderGroupCommodity.size}"
rendered="#{childIndex ==0}"/>
<h:outputText value="</FONT></TD>" escape = "false"/>
<h:outputText value="<TD height='42' align='right'>" escape="false"/>
<t:inputText value="#{tenderCommodity.price}" forceId="true"/>
<h:outputText value="<BR><FONT size='-1'>円" escape="false"/>
<h:outputText value="</FONT></TD>" escape="false"/>
</t:htmlTag>
</t:dataList>
</t:dataList>
</TBODY>
</TABLE>
My problem is when I input data into the table, it can't bind exactly to
my model.
For the above inputted data (6,7,8). 6 can't bind, 8 can't bind. 7 can
bind but it can't bind exactly to its model.
Anyone met the problem before , plz help me?
Thanks in advance,