That's good news. Thanks for letting me know.
Geoff
On 18/04/2012, at 2:31 AM, David Canteros wrote:
> I have done a quick test and it works perfectly!
> Thanks Geoff!
>
>
> --
> David Germán Canteros
>
>
> 2012/4/12 Geoff Calle
I have done a quick test and it works perfectly!
Thanks Geoff!
--
David Germán Canteros
2012/4/12 Geoff Callender
> Hi all,
>
> I've taken on board all the suggestions and observations here about
> AjaxFormLoop problems and fixes
Hi all,
I've taken on board all the suggestions and observations here about
AjaxFormLoop problems and fixes, and done a complete rewrite of the JumpStart
examples. I've put a beta on the demo site. Is every corner case handled now? I
sure hope so. See if you can find a hole in it.
http
Hi David, after some testing I wanted to provide you with some updates based
on some scenarios I ran into.
You'll notice in the !request.isHXR condition, I'm checking for a null
lineItem id. This prevents duplicate objects from being added to the
collection.
@SuppressWarnings("unchecked")
Hi George, finally it worked! Thank you for the help!
Before I was using the ajaxformloop like as Geoff example, with the tree
arrays XXXtoCreate, XXXToChange and XXXtoDelete and the same encoder. That
made me think, probably the problem was caused by Geoff's example and not
by the loop compone
Hi David, I'm using the pr object like so
It seems to be working perfectly for me. I'm only using the prPersist object
to hold a temporary copy of the current pr at validation. When the page
reloads with the validation errors, I'm using the prPersist to extract and
populate my current lineItem o
Hi George,
i've done a quick test and it doesnt work on my code, but i will do a full
test by tomorrow. Only one question: which object are you using in the
ajaxformloop (in the tml code)? pr or prPersist?
Regards and thanks!
--
Dav
David, I have a working work around, I'm sure it's not the best, but does
work. See code below.
@Persist
private PurchaseRequest prPersist;
private PurchaseRequest pr;
private final String NEW_OBJ = "new";
void onActivate() {
if(prPersist != null) {
for(