Hi 
I am also a newbie in struts 2 ,I dont know how to use this forum so
replying on this thread.
I also have lookalike problem with Iterator tag
My JSP is 
<s:iterator value="selllog" var="selllog" id="selllog"  status="selllog">
                                <tr align="left" valign="top">
                                        <s:hidden value="%{selllog.idSellLog}"
name="selllog[%{#selllog.index}].idSellLog"  disabled="true" theme="simple" 
/>
                                        <s:hidden 
value="%{selllog.shopbrandmaster.brandmaster.idBrandMaster}"
name="shopbrandmaster.brandmaster.idBrandMaster" disabled="true"
theme="simple"  />
                                        <td><s:textfield 
value="%{shopbrandmaster.brandmaster.brandsName}"
disabled="true" theme="simple"  /></td>
                                        <td><s:textfield 
value="%{openingBalence}" name="openingBalence"
id="openingBalence"     disabled="true"  theme="simple" /></td>
                                        <td><s:textfield value="%{receive}" 
name="receive" id="receive" " 
theme="simple" /></td>
                                        <td><s:textfield 
value="%{transfer}"name="transfer" id="transfer" " 
theme="simple" /></td>
                                        <td><s:textfield 
value="%{transferToComment}"name="transferToComment"
id="transferToComment" theme="simple" /></td>
                                        <td><s:textfield id="TotalDayStock" 
disabled="true" theme="simple"
/></td>
                                        <td><s:textfield 
value="%{dayBrandRate}"name="dayBrandRate"
id="dayBrandRate" disabled="true"  theme="simple"/></td>
                                        <td><s:textfield 
value="%{closingBalance}"name="closingBalance"
id="closingBalance"     theme="simple" /></td>
                                        <td><s:textfield id="sell" 
disabled="true" theme="simple" /></td>
                                        <td><s:textfield id="totalBrandSale" 
disabled="true" theme="simple"
/></td>
                                </tr>
                                </s:iterator>

In my Action I have 
public class shopLogEntry extends ActionSupport {
private List<Selllog> selllog;
//getter and setter
}
and in action class I have getter and for setter selllog.it works fine when
I am trying to get value in JSP.
but after submitting it, i am not able to access the selllog List in my
action .It is returning me as a null list.
can anyone tell me where I am wrong.


-- 
View this message in context: 
http://old.nabble.com/Struts2-iterator-tag-tp18258667p30987224.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to