Closed GoogleCodeExporter closed 9 years ago
here it is struts.xml action used for retrieving and manipulating grids
<action name="scaglione*"
class="eu.reply.configuratore.web.actions.FormatoAction" method="{1}">
<result name="json" type="json"></result>
<result name="success">jsp/caratteristiche.jsp</result>
<result name="{1}">jsp/scaglione{1}.jsp</result>
</action>
and this is the affected grid
<sjg:grid id="formato"
dataType="json"
shrinkToFit="false"
caption="Formato prodotto"
hidegrid="false"
width="1025"
href="%{listScaglione}"
editurl="%{listScaglione}"
cellurl="%{listScaglione}"
gridModel="gridModel"
rowNum="-1"
navigator="true"
pager="true"
pagerInput="false"
pagerButtons="false"
navigatorCloneToTop="true"
navigatorAdd="false"
navigatorSearch="false"
navigatorRefresh="true"
navigatorEdit="false"
editinline="true"
navigatorAddOptions="{width:480,reloadAfterSubmit:true}"
navigatorEditOptions="{width:480,reloadAfterSubmit:false}"
navigatorDeleteOptions="{width:280,reloadAfterSubmit:true}"
>
<sjg:gridColumn editable="true" sortable="false" width="190" name="name" align="center"
index="name" id="name" title="Formato" edittype="select" editoptions="%{formatoList}"/>
<sjg:gridColumn width="70" name="lunghezza.min" editable="true" align="center"
title="Lunghezza Min (mm)" formatter="integer" edittype="text"/>
<sjg:gridColumn editable="true" width="70" name="lunghezza.max" formatter="integer" align="center"
index="lunghezza.max" title="Lunghezza Max (mm)" edittype="text" />
<sjg:gridColumn editable="true" width="70" name="altezza.min" formatter="integer" align="center"
index="altezza.min" title="Altezza Min (mm)" edittype="text" />
<sjg:gridColumn editable="true" width="70" name="altezza.max" formatter="integer" align="center"
index="altezza.max" title="Altezza Max (mm)" edittype="text"/>
<sjg:gridColumn editable="true" width="70" name="spessore.min" formatter="integer" align="center"
index="spessore.min" title="Spessore Min (mm)" edittype="text"/>
<sjg:gridColumn editable="true" width="70" name="spessore.max" formatter="integer" align="center"
index="spessore.max" title="Spessore Max (mm)" edittype="text"/>
<sjg:gridColumn width="120" name="note" index="note"
title="Altre Limitazioni" editable="true" edittype="textarea"/>
<sjg:gridColumn editable="true" width="70" name="peso.min" index="peso.min" formatter="integer" align="center"
title="Peso Singolo Invio Min (gr)" edittype="text"/>
<sjg:gridColumn editable="true" width="70" name="peso.max" index="peso.max" formatter="integer" align="center"
title="Peso Singolo Invio Max (gr)" edittype="text"/>
<sjg:gridColumn editable="true" width="100" index="meccanizzabile" name="meccanizzabile" formatter="checkbox" align="center"
title="Meccanizzabile" edittype="checkbox" />
</sjg:grid>
Original comment by massimo....@gmail.com
on 21 Aug 2013 at 10:54
It's working fine in the showcase app.
Please check your code, the delete action and your result after delete action
was submitted. (Firefox -> Firebug -> Network)
Original comment by johgep
on 24 Sep 2013 at 6:26
Original issue reported on code.google.com by
massimo....@gmail.com
on 21 Aug 2013 at 10:45