[JIRA] Closed: (OFBIZ-573) Prev/Next links in multi forms are messed up after form is submitted

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (OFBIZ-573) Prev/Next links in multi forms are messed up after form is submitted

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-573?page=all ]
     
Jacopo Cappellato closed OFBIZ-573:
-----------------------------------

    Resolution: Duplicate

https://issues.apache.org/jira/browse/OFBIZ-222

> Prev/Next links in multi forms are messed up after form is submitted
> --------------------------------------------------------------------
>
>          Key: OFBIZ-573
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-573
>      Project: [OFBiz] Open For Business
>         Type: Bug
>   Components: widget
>     Reporter: Jacopo Cappellato
>     Assignee: Jira Administrator
>  Attachments: proposed-prev-next-multiform.patch
>
>
> Prev/Next links in multi forms are messed up after form is submitted.
> For example, in the ManageQuotePrices, this is the prev/next link before the multi form is submitted:
> https://localhost:8443/ordermgr/control/ManageQuotePrices?quoteId=10060&VIEW_SIZE=2&VIEW_INDEX=1
> (good);
> and this is the link after the form is submitted:
> https://localhost:8443/ordermgr/control/ManageQuotePrices?
> submitButton=Submit&
> quoteItemSeqId_o_1=00003&
> quoteItemSeqId_o_0=00004&
> averageCost_o_1=0&
> quoteId_o_1=10060&
> averageCost_o_0=0&
> quoteId_o_0=10060&
> quoteUnitPrice_o_1=59.99&
> quoteUnitPrice_o_0=2%2C799.99&
> _useRowSubmit=Y&
> _rowSubmit_o_1=Y&
> costToPriceMult_o_1=1&
> _rowSubmit_o_0=Y&
> _rowCount=2&
> costToPriceMult_o_0=1&
> productId_o_1=WG-1111&
> productId_o_0=GZ-1005&
> quantity_o_1=80&
> quantity_o_0=10&
> defaultQuoteUnitPrice_o_1=0&
> quoteId=10060&
> defaultQuoteUnitPrice_o_0=0&
> VIEW_SIZE=2&
> VIEW_INDEX=1
> (wrong).
> Probably, the problem is that the queryString variable in the HtmlFormRenderer.renderNextPrev() method, after the form is submitted, contains the form fields needed to call the multi-service.
> Any hints on how I could fix the issue?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira