Hi Rishi,
Thanks for the clear explanation
Jacques
From: "Rishi Solanki" <[email protected]>
Hi Jacques,
As in the ServiceMultiEventHandler *beganTrans = false *is set in invoke.
Now if we got error in Nth line then it will return error as list of error
of N number of items, error.jsp will show all the errors in the list.
By AJAXfying the request now we are able to show the user friendly error
"Total amountPercentage is not equal 100."
Still one more improvement remains,need to show error at the line where it
occurs for first time, will do it in the next phase of implementation.
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Fri, Nov 13, 2009 at 7:20 PM, Jacques Le Roux <
[email protected]> wrote:
Hi Rishi,
No worries, I was just curious. We can do the same thing without AJAX and
the "jsonservice-multi", isn'it ?
So I wondered what it adds, because I guess there is something more adding
them, at least there (CostCenters)
Thanks
Jacques
From: "Rishi Solanki" <[email protected]>
Hi Jacques,
Sorry, some how I missed your question.
Your question is not clear to me. Please Explain.
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Thu, Nov 5, 2009 at 4:04 PM, Jacques Le Roux <
[email protected]> wrote:
Hi Rishi,
What using Ajax and jsonservice-multi adds to a form of type multi ?
Thanks
Jacques
From: "Rishi Solanki" <[email protected]>
Hi Stephen,
Have look at - https://demo.ofbiz.org/accounting/control/CostCenters
Here the form submit use the AJAX and handled using the
"jsonservice-multi"
handler of org.ofbiz.webapp.event.JSONServiceMultiEventHandler.
HTH !
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Wed, Nov 4, 2009 at 11:04 PM, Stephen Rufle <[email protected]>
wrote:
I am looking for an example of a screen that has a list of edits, but
only
a single save function. I have seen examples [1] of a list that has
update
and delete buttons on each row.
[1]
https://localhost:8443/catalog/control/EditProductPrices?productId=GZ-1004
More generally what would be the best way to deal with this concept. My
thought is that I would still have a form on each row (as it is now for
EditProductPrices), but the global save function would use javascript
to
submit each for in turn. I thinking in the correct direction?