You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Prashant Singh <pr...@gmail.com> on 2009/05/17 09:22:17 UTC

please advise how to use the

Hi,

I have put the following code in my jsp but its not generating any rows
where I can enter data:

<tr>
        <th>#</th>
        <th>Product</th>
        <th>Qty</th>
        <th>Unit Price</th>
        <th>Allocation Instructions</th>
        <th>Label Instructions</th>
        <th>Description</th>
        <th>Override Reason</th>
    </tr>

    <s:iterator value="lineItems" status="status">
        <s:component template="/components/textcell.ftl"
value="%{#status.index}" />
        <s:select name="termsId" list="genericList" listKey="id"
listValue="name" />
        <s:textfield name="test" size="1"/>
        <s:textfield name="test" size="1"/>
        <s:textfield name="test" size="1"/>
        <s:textfield name="test" size="1"/>
        <s:textfield name="test" size="1"/>
        <s:textfield name="test" size="1"/>
    </s:iterator>

    <s:submit value="Create Sales Order" align="center">
        <s:param name="colspan" value="%{8}" />
        <s:param name="align" value="%{'center'}" />
    </s:submit>
</s:form>


Please advise.

Re: please advise how to use the

Posted by Dave Newton <ne...@yahoo.com>.
Prashant Singh wrote:
> I have put the following code in my jsp but its not generating any rows
> where I can enter data:
> 
>     <s:iterator value="lineItems" status="status">

Without knowing anything about the "lineItems" property it's difficult 
to help.

Dave


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