Re: Server Side Validation with ajax form loop work around

2012-04-18 Thread Geoff Callender
rsisted data to the new session. >>> >>> >>> void onActivate() { >>> System.out.println("onActivate " + this.pr); >>> >>> if (this.pr == null) { >>> this.pr = prPersist !=

Re: Server Side Validation with ajax form loop work around

2012-04-17 Thread David Canteros
sist = null; > > } > > > > } > > > >Class onActivate(Long prId) { > > > >PurchaseRequest purchaseRequest = prPersist != null ? prPersist : > > (PurchaseRequest) session.get(PurchaseRequest.class, prId); > >} > > > > If

Re: Server Side Validation with ajax form loop work around

2012-04-12 Thread Geoff Callender
> (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

Re: Server Side Validation with ajax form loop work around

2012-03-22 Thread George Christman
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

Re: Server Side Validation with ajax form loop work around

2012-03-21 Thread David Canteros
;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

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread George Christman
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

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread David Canteros
lineItem == null ? new LineItem() : lineItem; > >if (!request.isXHR()) { >lineItem.setPurchaseRequest(pr); >pr.getLineItems().add(lineItem); > } > >return lineItem; >} >}; >} > &g

Re: Server Side Validation with ajax form loop work around

2012-03-19 Thread George Christman
} }; } 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.

Re: Server Side Validation with ajax form loop

2012-03-16 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-03-14 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-03-08 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-03-08 Thread David Canteros
; 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

Re: Server Side Validation with ajax form loop

2012-03-06 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-03-05 Thread David Canteros
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

Re: Server Side Validation with ajax form loop

2012-02-15 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-02-06 Thread David Canteros
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

Re: Server Side Validation with ajax form loop

2012-02-02 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-01-06 Thread George Christman
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

Re: Server Side Validation with ajax form loop

2012-01-05 Thread Geoff Callender
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. &

Server Side Validation with ajax form loop

2012-01-04 Thread George Christman
= 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