I have a displaytag column with a struts 2 form, in the form:

<display:column class="table"  title="Batch">   
<s:form action="product" theme="simple">
        <s:hidden name="id" value="%{#attr.current.id}" />
        <s:select  theme="simple" label="Batch" list="%{#attr.current.batchs}"
name="batchid" listKey="id" listValue="batch" cssClass="button"
headerValue="Choose Batch" headerKey="-1"></s:select>
                <s:submit method="getOne" value="Details" ></s:submit>
</s:form>                       
</display:column>

However, I would also like another column to have either a s:submit or an
s:url that would fetch the value from the s:select.

However, I cannot seem to span the s:form between two columns, like:

<s:form>
   <display:column/>
   <display:column/>
</s:form>

or


<display:column>
    <s:form>
</display:column>

<display:column>
    </s:form>
</display:column>

How can I achieve this cross-column display of a struts form?

(bare in mind that the general idea in struts' irc channel is "why use the
display tag in the first place?)

Thank you for your help.
-- 
View this message in context: 
http://www.nabble.com/How-to-span-struts%27-forms-accross-columns-tp17232207p17232207.html
Sent from the DisplayTag - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to