Hi Francesco,

On 9-Dec-08, at 11:56 PM, Francesco Romano wrote:

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"/>

Is this inside a form? What are the bindings you're using?

There are at least four variations of this component to choose from if you're using Wonder as well.
WOBatchNavigationBar - needs to be in a form
ERXBatchNavigationBar - needs to be in a form (you may want to try this variation)
ERXBatchNavigationBarInForm - self contained in a form (I believe)
ERXFlickrBatchNavigation - I am not sure if it needs a form

                <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:

I've seen this warning but it doesn't seem to have any ill effects when I ignore it.

David


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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx %40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to