rsisted data to the new session.
>>>
>>>
>>> void onActivate() {
>>> System.out.println("onActivate " + this.pr);
>>>
>>> if (this.pr == null) {
>>> this.pr = prPersist !=
sist = null;
> > }
> >
> > }
> >
> >Class onActivate(Long prId) {
> >
> >PurchaseRequest purchaseRequest = prPersist != null ? prPersist :
> > (PurchaseRequest) session.get(PurchaseRequest.class, prId);
> >}
> >
> > If
> (PurchaseRequest) session.get(PurchaseRequest.class, prId);
>}
>
> If you have any better solutions, please feel free to share.
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p
PurchaseRequest.class, prId);
}
If you have any better solutions, please feel free to share.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5586509.html
Sent from the Tapestr
;m using the prPersist to extract and
> populate my current lineItem objects before immediately disregarding. Be
> sure to implement the value encoder in a similar fashion.
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-V
urrent lineItem objects before immediately disregarding. Be
sure to implement the value encoder in a similar fashion.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5578227.html
Sent from the Tapestry - User mailing
lineItem == null ? new LineItem() : lineItem;
>
>if (!request.isXHR()) {
>lineItem.setPurchaseRequest(pr);
>pr.getLineItems().add(lineItem);
> }
>
>return lineItem;
>}
>};
>}
>
&g
}
};
}
Hope this helps.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5577886.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
ption stating the
other table couldn't be eager fetched.
Does anybody know how to update a session object with data from a persisted
object without getting the hibernate exception? Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax
Hi David, I created a jira issue related to this bug.
https://issues.apache.org/jira/browse/TAP5-1875
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5565297.html
Sent from the Tapestry - User mailing list archive at
tp?type=node&node=5548672&i=0>>
>
>
> > Sounds good to me. Do you want to file the jira issue, or would you like
> me
> > to?
> >
> > --
> > View this message in context:
> >
> http://tapestry.1045711.n5.nabble.com/S
; Sounds good to me. Do you want to file the jira issue, or would you like me
> to?
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5540927.html
> Sent from the Tapestry - User mailing
Sounds good to me. Do you want to file the jira issue, or would you like me
to?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5540927.html
Sent from the Tapestry - User mailing list archive at Nabble.com
would be nice to get
> server side working properly.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5487493.html
> Sent from th
David have you figured out how to get around this issue? I'm using clientside
validation to over come it for the short term, but it would be nice to get
server side working properly.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form
you ever had a chance to look at this issue
> again?
> Thanks
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5451139.html
> Sent from the Tapestry - User mailing li
Hi Geoff, just curious if you ever had a chance to look at this issue again?
Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5451139.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Hi Geoff, Implemented your suggestion with the same set of results. My pr
object seems to be returned null resulting in the loss of data.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5125845.html
Sent from the
lineItem = (LineItem) session.get(LineItem.class, id);
>}
>
>// AjaxFormLoop will overwrite several fields of the obj
> returned.
>// AjaxFormLoop can't handle null obj, so if null we return
> a new empty obj.
&
= lineItem == null ? new LineItem() : lineItem;
lineItem.setPurchaseRequest(pr);
return lineItem;
}
};
}
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp51205
20 matches
Mail list logo