As far as i can see it is currently not....

if you are on page 2 and press a update/delete button, the system will
show page one again....

Regards,
Hans

On Wed, 2010-12-15 at 13:51 +0100, Bruno Busco wrote:
> Why is this needed for this particular form?
> Isn't this automatically managed by the from widget?
> 
> -Bruno
> 
> 2010/12/15 <[email protected]>
> 
> > Author: hansbak
> > Date: Wed Dec 15 08:15:49 2010
> > New Revision: 1049451
> >
> > URL: http://svn.apache.org/viewvc?rev=1049451&view=rev
> > Log:
> > preserve viewindex and size in multipage lists
> >
> > Modified:
> >    ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
> >
> > Modified: ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
> > URL:
> > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml?rev=1049451&r1=1049450&r2=1049451&view=diff
> >
> > ==============================================================================
> > --- ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml (original)
> > +++ ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml Wed Dec 15
> > 08:15:49 2010
> > @@ -355,6 +355,8 @@ under the License.
> >                if(quantity == null || quantity.compareTo(BigDecimal.ZERO)
> > == 0) quantity = BigDecimal.ONE;
> >                return(quantity.multiply(amount));}"/>
> >        </row-actions>
> > +       <field name="viewSize"><hidden value="${viewSize}"/></field>
> > +       <field name="viewIndex"><hidden value="${viewIndex}"/></field>
> >        <field name="invoiceId"><hidden/></field>
> >        <field name="invoiceItemSeqId" widget-style="buttontext">
> >            <hyperlink target="listInvoiceItems"
> >  description="${invoiceItemSeqId}">
> > @@ -384,6 +386,8 @@ under the License.
> >             <hyperlink description="${uiLabelMap.CommonRemove}"
> > target="removeInvoiceItem">
> >                 <parameter param-name="invoiceId"/>
> >                 <parameter param-name="invoiceItemSeqId"/>
> > +                <parameter param-name="viewIndex"/>
> > +                <parameter param-name="viewSize"/>
> >             </hyperlink>
> >        </field>
> >     </form>
> > @@ -467,6 +471,8 @@ under the License.
> >             <hyperlink description="${uiLabelMap.CommonRemove}"
> > target="removeInvoiceApplication">
> >                 <parameter param-name="paymentApplicationId"/>
> >                 <parameter param-name="invoiceId"/>
> > +                <parameter param-name="viewIndex"/>
> > +                <parameter param-name="viewSize"/>
> >             </hyperlink>
> >         </field>
> >     </form>
> > @@ -523,6 +529,8 @@ under the License.
> >                 <parameter param-name="invoiceId"/>
> >                 <parameter param-name="partyId"/>
> >                 <parameter param-name="roleTypeId"/>
> > +                <parameter param-name="viewIndex"/>
> > +                <parameter param-name="viewSize"/>
> >             </hyperlink>
> >         </field>
> >     </form>
> >
> >
> >

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Myself on twitter: http://twitter.com/hansbak
Antwebsystems.com: Quality services for competitive rates.

Reply via email to