I was wondering if I can do this in s开发者_运维问答truts 2:
<h4>Select Category</44>
<s:form id="Step01Page" action="Step01Page">
    <s:select name="nombreCategoria" list="categorias" 
        listKey="nombre" listValue="nombre" label="Categorias"
        headerKey="Crear" headerValue="Crear Nueva"/>
</s:form>
<h4>Name of Category</h4>
<s:form id="Step01Page" action="Step01Page">
    <s:textfield label="Nombre de la Categoria"/>
</s:form>
<sx:submit formId="Step01Page" value="Siguiente" cssStyle="float:right;"/>
I'm doing the DOJO plugin ofr Struts 2.
I don't think that breaking up the form in that way would work. Since Struts by default formats the form in a table, you can insert lines into the table in the middle of your form like so:
<s:form id="Step01Page" action="Step01Page">
    <s:select name="nombreCategoria" list="categorias" 
        listKey="nombre" listValue="nombre" label="Categorias"
        headerKey="Crear" headerValue="Crear Nueva"/>
</s:form>
<tr><td colspan="2"><h4>Name of Category</h4></td></tr>
<s:form id="Step01Page" action="Step01Page">
    <s:textfield label="Nombre de la Categoria"/>
</s:form>
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论