I've some problems with the Insert() method of WODisplayGroup.
It adds another row, but if I edit that row and I don't commit the EditingContext, if I insert another row the previous is been cleared.
Another thing... I inserted a WOBatchNavigationBar. I use it in this way:
<wo name = "BatchNavigationBar"/> <table> <tr><th> Merceologia </th> <th>Descrizione</th> <th>Prezzo</th></tr> <wo:loop list = "$prodottiDisplayGroup.displayedObjects" item = "$aProdotto"> <tr> <td><wo:WOPopUpButton list = "$merceologia" item = "$aMerceologia" selection = "$aProdotto.merceologia" displayString = "$merceologiaCompoundString"/></td> <td><wo:textfield value = "$aProdotto.descrizione" /></td> <td><wo:textfield value = "$aProdotto.prezzo" numberformat = "#,##0.00" /></td> <td><wo:link action = "$showProductDetails">Mostra Dettagli</wo:link></td> <td><wo:link action = "$deleteProdotto">Elimina</wo:link></td> </tr> </wo:loop> </table>
Is this correct? Because when I've more than one batch this appeared on the debug:
Dec 10 08:45:13 iPN[5100] (ERXWOForm.java:435) WARN er.extensions.components._private.ERXWOForm - This form is embedded inside another form, so the inner form with these bindings is being omitted: <er.extensions.components._private.ERXWOForm name: null id: null action: null actionClass: null directActionName: null href: null multipleSubmit: <com.webobjects.appserver._private.WOConstantValueAssociation: value=true> queryDictionary: null otherQueryAssociations: null > Dec 10 08:45:13 iPN[5100] (ERXWOForm.java:436) WARN er.extensions.components._private.ERXWOForm - page: <com.ipn.components.EditProduct name: com.ipn.components.EditProduct subcomponents: null > Dec 10 08:45:13 iPN[5100] (ERXWOForm.java:437) WARN er.extensions.components._private.ERXWOForm - component: <com.webobjects.woextensions.WOBatchNavigationBar name: com.webobjects.woextensions.WOBatchNavigationBar subcomponents: null >
Francesco
|