Re: Problem with Ajax Form Submit and invalid Response Status

2023-02-24 Thread JumpStart
Hi Michael, To date I’ve handled this more generally by letting the user know when the server cannot be reached. It’s detected by Offline.js (https://github.hubspot.com/offline/docs/welcome/), which is in in the of our layout component.

Re: Problem with Ajax Form Submit and invalid Response Status

2023-02-21 Thread Volker Lamp
Hi Michael > How i am able to recognized from the Tapestry Pages the failed > communication ? The (server-side) page class has no chance of knowing the communication failed, because the ajax request never makes it through. So the logic would have to be on the client. If the server doesn't send

Problem with Ajax Form Submit and invalid Response Status

2023-02-21 Thread Michael Helbig
H i am looking for some ways, how to handle failed requests or form submits when i am using a Ajax based communications from the client browser. The related request gets blocked by a firewall in between. The browser receives a not expected answer, but did not render or provide further informa

Re: null pointers after user hits enter in AJAX form

2016-08-19 Thread Nathan Quirynen
Hi, I'm not really sure what your problem is, but for disabling the enter key you might wanna try binding the following event in a javascript module: |$('#'+fieldId).bind('keypress',function(e){if(e.keyCode ==13){returnfalse;}}); | You can invoke this module from your component, or create a

null pointers after user hits enter in AJAX form

2016-08-18 Thread Qbyte Consulting
An unrecoverable error occurs after the user hits Enter key in a form rendered by an enclosed component. Is there a way to ignore the enter key and not submit the form? It's an AJAX search value input, not a regular form for submission, so Enter key hits should be ignored.

Re: prevent ajax form submit

2014-12-11 Thread Chris Poulsen
; >> Chris > >> > >> On Thu, Dec 11, 2014 at 5:15 PM, George Christman < > >> gchrist...@cardaddy.com> > >> wrote: > >> > > >> > Yes, you always wrap an ajax form with a zone and akshay is correct, > you > >> > need

Re: prevent ajax form submit

2014-12-11 Thread George Christman
gt; > wrote: > > > > Yes, you always wrap an ajax form with a zone and akshay is correct, you > > need to return multiple zones as he showed you. Sorry, I missed that. > > Unless your doing some sort of backend processing where you need to load > > some data withi

Re: prevent ajax form submit

2014-12-11 Thread George Christman
t;> a zone) >> >> -- >> Chris >> >> On Thu, Dec 11, 2014 at 5:15 PM, George Christman < >> gchrist...@cardaddy.com> >> wrote: >> > >> > Yes, you always wrap an ajax form with a zone and akshay is correct, you >> > need t

Re: prevent ajax form submit

2014-12-11 Thread Chris Poulsen
In 5.4 you can also use the async flag on the form (instead of wrapping in a zone) -- Chris On Thu, Dec 11, 2014 at 5:15 PM, George Christman wrote: > > Yes, you always wrap an ajax form with a zone and akshay is correct, you > need to return multiple zones as he showed you. Sorry,

Re: prevent ajax form submit

2014-12-11 Thread George Christman
Yes, you always wrap an ajax form with a zone and akshay is correct, you need to return multiple zones as he showed you. Sorry, I missed that. Unless your doing some sort of backend processing where you need to load some data within your second zone from the backend, I would avoid the round trip

Re: prevent ajax form submit

2014-12-11 Thread akshay
event.preventDefault(); Try it out. Regards Akshay On Thu, Dec 11, 2014 at 8:27 AM, Carlos Gómez Montiel wrote: > Any last question: > > Have you ALWAYS wrap an ajax form inside a zone like below? > > > > > > > > In my first example the form isn'

Re: prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
Any last question: Have you ALWAYS wrap an ajax form inside a zone like below? In my first example the form isn't wrapped but it works fine. I wonder if it is correct: Thanks in advance 2014-12-11 0:05 GMT-06:00 Carlos Gómez Montiel : > George, yes I'm u

Re: prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
t; > > > > > > > > > > > .java > > @Inject > > private AjaxResponseRenderer ajaxResponseRenderer; > > @InjectComponent > > private Zone zone2; > > > > void onSelected() { > > ajaxRespon

Re: prevent ajax form submit

2014-12-10 Thread George Christman
rer.addRender(zone2); > } > > > But the effect is the same, the ajax post is sent to server. Anyone can > help me how can I stop the ajax form submit? > > Thanks in advance > > 2014-12-10 22:25 GMT-06:00 George Christman : > > > Take a look at this pa

Re: prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
2; void onSelected() { ajaxResponseRenderer.addRender(zone2); } But the effect is the same, the ajax post is sent to server. Anyone can help me how can I stop the ajax form submit? Thanks in advance 2014-12-10 22:25 GMT-06:00 George Christman : > Take a look at this page, it will

Re: prevent ajax form submit

2014-12-10 Thread George Christman
; Your Content > > > > > > > > > > The .java file structure > > @InjectComponent > > private Zone zone1,zone2; > > @Inject > > private AjaxResponseRender > > OnSuccess(){ > > ajaxResponseRenderer.addRender(zone2) or zone2.getBody(

Re: prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
enderer.addRender(zone2) or zone2.getBody(); > } > > Regards > Akshay > > On Wed, Dec 10, 2014 at 11:25 PM, Carlos Gómez Montiel > wrote: > > > Thank you for your answer George. > > > > > Are you trying to create an ajax form submit? If so, you should be

Re: prevent ajax form submit

2014-12-10 Thread akshay
, 2014 at 11:25 PM, Carlos Gómez Montiel wrote: > Thank you for your answer George. > > > Are you trying to create an ajax form submit? If so, you should be > wrapping the form with the zone > > Yes, I'm trying to create an ajax form submit, I don't understand why

Re: prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
Thank you for your answer George. > Are you trying to create an ajax form submit? If so, you should be wrapping the form with the zone Yes, I'm trying to create an ajax form submit, I don't understand why I should be wrapping the form with the zone, what is the reason? as far

Re: prevent ajax form submit

2014-12-10 Thread George Christman
Are you trying to create an ajax form submit? If so, you should be wrapping the form with the zone. As far as the confirm dialog goes, you could either use a confirm mixin or if you chose to use a zone style approach, on submit return another zone for your confirm dialog. On Wed, Dec 10, 2014 at

prevent ajax form submit

2014-12-10 Thread Carlos Gómez Montiel
Hi there How can I prevent ajax form's event submit when the user clicks a submit button? I need to prevent the event for show an confirm dialog before it will be submited. My form: Thanks in advance

Re: A submit button block inside an ajax form causing problem with disabling the input.

2014-12-03 Thread Sumanth
Hi Chris, Thanks for this help. But we used a mixin, which always gets invoked and this solved the issue for me :) . On Wed, Dec 3, 2014 at 10:36 AM, Chris Poulsen wrote: > Normally you can fix the client id by specifying it yourself - but it seems > like the submit component does not honor thi

Re: A submit button block inside an ajax form causing problem with disabling the input.

2014-12-03 Thread Chris Poulsen
Normally you can fix the client id by specifying it yourself - but it seems like the submit component does not honor this? You could mark up the submit in another way (a data attribute or something else that allows you to find it in the DOM) -- Chris On Tue, Dec 2, 2014 at 7:54 PM, Sumanth wro

A submit button block inside an ajax form causing problem with disabling the input.

2014-12-02 Thread Sumanth
Hello Guys, Let me explain what I'm trying to achieve first, I have a table with select button and below the table a submit button "Add me to the table". If he adds himself, his name is shown on the table and the button is removed. He can delete himself from the table by selecting the select butt

Re: Ajax form not holding onto field values after validation error.

2014-10-15 Thread George Christman
Makes perfect sense, thanks for the suggestion Geoff. On Tue, Oct 14, 2014 at 9:20 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > IMHO, I think it's helpful to indicate when and why you're instantiating > UserProfile, rather than just conditioning by "is null". > > void o

Re: Ajax form not holding onto field values after validation error.

2014-10-14 Thread Geoff Callender
IMHO, I think it's helpful to indicate when and why you're instantiating UserProfile, rather than just conditioning by "is null". void onPrepareForRender() throws Exception { // If fresh start, make sure there's a UserProfile object available. if (form.isValid()) {

Re: Ajax form not holding onto field values after validation error.

2014-10-14 Thread George Christman
Yup, that's exactly what was happening. On Tue, Oct 14, 2014 at 11:35 AM, Lance Java wrote: > This makes sense. For validation errors, tapestry does NOT > redirect-after-post so the POST request is the same as the render request. > I can only assume that onPrepare() is called twice in the same r

Re: Ajax form not holding onto field values after validation error.

2014-10-14 Thread Lance Java
This makes sense. For validation errors, tapestry does NOT redirect-after-post so the POST request is the same as the render request. I can only assume that onPrepare() is called twice in the same request in the case of validation errors so your null check stops the POST values from being overridde

Re: Ajax form not holding onto field values after validation error.

2014-10-13 Thread George Christman
s="input-sm"/> >> //additional fields >> >> >> >> On Mon, Oct 13, 2014 at 1:43 PM, George Christman >> wrote: >>> I'm using 5.4 and for some reason I can not get my ajax form to hold >>> onto the field values after a validation

Re: Ajax form not holding onto field values after validation error.

2014-10-13 Thread George Christman
George Christman > wrote: >> I'm using 5.4 and for some reason I can not get my ajax form to hold >> onto the field values after a validation error has occurred. When a >> validation error occures all my fields are blanked out. Does anybody >> have any idea what might b

Re: Ajax form not holding onto field values after validation error.

2014-10-13 Thread George Christman
Odd behavior, I found if I removed the form from the zone it fixed the issue; however this does not make any sense to me though. //additional fields On Mon, Oct 13, 2014 at 1:43 PM, George Christman wrote: > I'm using 5.4 and for some reason I can not get my ajax form to hold &g

Ajax form not holding onto field values after validation error.

2014-10-13 Thread George Christman
I'm using 5.4 and for some reason I can not get my ajax form to hold onto the field values after a validation error has occurred. When a validation error occures all my fields are blanked out. Does anybody have any idea what might be causing this? I have the following code sn

tapestry kaptcha image does not refesh after an ajax form submit?

2014-09-10 Thread John
Hi, How do I get a kaptcha image to refresh when a zone is rerendered on an ajax request? At present this only happens for a form that submits for the page. Without a new code the next validation always fails. John --- This email is free from viruses and malware because avast! Antivirus protec

jquery events with ajax form submission of kaptcha code

2014-08-11 Thread John
I thought this problem was limited to dialogajaxlink but I see teh same thing now with ajax forms and jquery. The first time the form is used the submit event works, when it is rerendered it doesn't work the next time. In the example below the first time the forgot password process is started b

Re: Close modal dialog backdrop after ajax form submission.

2014-04-09 Thread Geoff Callender
}; >>>} >>> >>> } >>> >>> ...then change the third line of your tml to this... >>> >>> >>> >>> ...and in the associated java do something like this... >>> >>>

Re: Close modal dialog backdrop after ajax form submission.

2014-04-09 Thread George Christman
>> >> ...then change the third line of your tml to this... >> >> >> >> ...and in the associated java do something like this... >> >> @InjectComponent >> private ModalContainer dailyCommentModal; >> >>

Re: Close modal dialog backdrop after ajax form submission.

2014-04-09 Thread George Christman
rivate ModalContainer dailyCommentModal; > > void onSuccessFromTheBodyIGaveToModalContainer() { > > dailyCommentModal.hide(); > > // etc. > } > > Geoff > > On 09/04/2014, at 2:04 AM, George Christman wrote: > &g

Re: Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread Geoff Callender
} > }; > } > > } > > ...then change the third line of your tml to this... > > > > ...and in the associated java do something like this... > > @InjectComponent > private ModalContainer dailyCommentModal; > > void onSucce

Re: Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread Geoff Callender
Please disregard the answer below. Fat finger syndrome at work... On 09/04/2014, at 9:32 AM, Geoff Callender wrote: > Are you asking how to do this client-side without waiting for a server-side > response? > > If not, then you can do this... > > Add this to ModalContainer.java: > > public vo

Re: Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread Geoff Callender
dailyCommentModal.hide(); // etc. } Geoff On 09/04/2014, at 2:04 AM, George Christman wrote: > Hi guys, I'm using the bootstrap modal component and I have a tapestry ajax > form nested within it. When I submit the form I'm looking to close out the >

Re: Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread George Christman
Thanks Lance, attempting to figure it out now. On Tue, Apr 8, 2014 at 12:32 PM, Lance Java wrote: > I assume you could hook on to one of the clientside events published during > submit / validate > > http://tapestry.apache.org/5.4/coffeescript/events.html > -- George Christman www.CarDaddy.c

Re: Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread Lance Java
I assume you could hook on to one of the clientside events published during submit / validate http://tapestry.apache.org/5.4/coffeescript/events.html

Close modal dialog backdrop after ajax form submission.

2014-04-08 Thread George Christman
Hi guys, I'm using the bootstrap modal component and I have a tapestry ajax form nested within it. When I submit the form I'm looking to close out the modal dialog box assuming no clientside validation errors ocure long with the backdrop. I have it working with the exception of closi

Re: ajax form onSuccess not called

2013-08-27 Thread John
, 2013 4:48 AM Subject: Re: ajax form onSuccess not called In onSuccess, see whether bookingform.getHasErrors() returns true. To dig in further, try bookingform.getDefaultTracker().getErrors(). On 27 August 2013 07:26, John wrote: > I think I found a partial answer to this, some

Re: ajax form onSuccess not called

2013-08-26 Thread Geoff Callender
) are showing as invalid on the page? > > John > - Original Message - > From: John > To: users@tapestry.apache.org > Sent: Monday, August 26, 2013 10:11 PM > Subject: ajax form onSuccess not called > > > why is onSuccess not invoked but onValidat

Re: ajax form onSuccess not called

2013-08-26 Thread John
I think I found a partial answer to this, some of the input fields (ones marked disabled="true") are showing as invalid on the page? John - Original Message - From: John To: users@tapestry.apache.org Sent: Monday, August 26, 2013 10:11 PM Subject: ajax form onS

ajax form onSuccess not called

2013-08-26 Thread John
why is onSuccess not invoked but onValidate is? void onValidateFromBookingform() { log.debug("validate booking"); } Object onSuccessFromBookingform() { log.debug("submit booking"); booking = false; if (request.isXHR()) { return booki

Re: Using javascript to submit a ajax form breaks it

2013-06-25 Thread Boris Horvat
Quite nice, but mine should be attached to the form... Then again if I reconsider my design :) On Tue, Jun 25, 2013 at 9:24 AM, Lance Java wrote: > I've recently added an onEvent mixin to tapestry-stitch which might be > useful. > > It listens on a client event and sends a configurable list of c

Re: Using javascript to submit a ajax form breaks it

2013-06-25 Thread Lance Java
I've recently added an onEvent mixin to tapestry-stitch which might be useful. It listens on a client event and sends a configurable list of clientside field values to a serverside event. http://tapestry-stitch.uklance.cloudbees.net/oneventdemo

Re: Using javascript to submit a ajax form breaks it

2013-06-24 Thread Boris Horvat
Ok this appears to be wroking $('#form').submit(); Thanks so much Cheers On Mon, Jun 24, 2013 at 10:53 PM, Boris Horvat wrote: > By call I assume that you mean to use jquery to trigger an event? > > assuming that is what you meant then it wont work (or at least my code is > not working) > >

Re: Using javascript to submit a ajax form breaks it

2013-06-24 Thread Boris Horvat
By call I assume that you mean to use jquery to trigger an event? assuming that is what you meant then it wont work (or at least my code is not working) function trigger(){ $('#form').trigger('onsubmit'); }

Re: Using javascript to submit a ajax form breaks it

2013-06-24 Thread Lenny Primak
You can call onsubmit event exactly the same way you call submit now. It should just work. On Jun 24, 2013, at 4:40 PM, Boris Horvat wrote: > Hi, > > How do you mean use onsubmit? That is an event, right? > > I want to submit a from vie ajax on blur event so I dont see how onsubmit > event

Re: Using javascript to submit a ajax form breaks it

2013-06-24 Thread Boris Horvat
Hi, How do you mean use onsubmit? That is an event, right? I want to submit a from vie ajax on blur event so I dont see how onsubmit event will help me there :S Thanks :) On Mon, Jun 24, 2013 at 10:37 PM, Lenny Primak wrote: > Use onsubmit() instead of submit. Untested but it should work. > O

Re: Using javascript to submit a ajax form breaks it

2013-06-24 Thread Lenny Primak
Use onsubmit() instead of submit. Untested but it should work. Or look at how I do it in FlowLogix DisableAfterSubmit mixin On Jun 24, 2013, at 4:32 PM, Boris Horvat wrote: > Basically the code given bellow will throw an exception stating that this > is not an ajax request > > > >

Using javascript to submit a ajax form breaks it

2013-06-24 Thread Boris Horvat
Basically the code given bellow will throw an exception stating that this is not an ajax request value: ${value} - @Property @Persist private String value; @In

Re: Multiple Submits and Ajax Form

2012-06-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Jun 2012 11:30:04 -0300, afaque_khan_2...@yahoo.com wrote: I tried what you described. The functionality works. But, even though the event handler function of the submit button "bookTrade" returns other some page, I have an impression that it is an ajax form submi

Re: Multiple Submits and Ajax Form

2012-06-11 Thread afaque_khan_2...@yahoo.com
Thanks for the response. I tried what you described. The functionality works. But, even though the event handler function of the submit button "bookTrade" returns other some page, I have an impression that it is an ajax form submit. This is because on using the object Request defined i

Re: Multiple Submits and Ajax Form

2012-06-07 Thread Thiago H de Paula Figueiredo
On Thu, 07 Jun 2012 09:00:54 -0300, afaque_khan_2...@yahoo.com wrote: Hi, Hi! In short i want to do a normal submit to an ajax form. There's no such thing as an AJAX form in Tapestry. There are AJAX form submissions and non-AJAX form submissions. To force a non-AJAX form submi

Multiple Submits and Ajax Form

2012-06-07 Thread afaque_khan_2...@yahoo.com
directed to new page. I want to implement the first submit as ajax submit, and the second submit a normal submit. The two submit buttons are in the same form. In short i want to do a normal submit to an ajax form. Can someone please help me out giving an example of how this could be implemented

Re: T5.3 Component with AJAX Form?

2012-05-01 Thread Thiago H. de Paula Figueiredo
On Tue, 01 May 2012 15:58:36 -0300, Lenny Primak wrote: Don't all Ajax responses at least have a zone association? This is not correct. The Autocomplete mixin for example, doesn't, and so does any AJAX code that receives a JSON object as a response. -- Thiago H. de Paula Figueiredo Inde

Re: T5.3 Component with AJAX Form?

2012-05-01 Thread Lenny Primak
Perhaps an @Environmental object? Don't all Ajax responses at least have a zone association? Can't that be used to deduce all the other client IDs? On May 1, 2012, at 2:43 PM, Norman Franke wrote: > Thanks, that's a step in the right direction. Under Tapestry 5.3.3, at least, > that code t

Re: T5.3 Component with AJAX Form?

2012-05-01 Thread Norman Franke
Thanks, that's a step in the right direction. Under Tapestry 5.3.3, at least, that code throws a JavaScript exception because form.onsubmit() wants an event as a parameter and operates upon it. (Run it in Firebug.) I have an event, so I just passed that in. The other issues is that all of the c

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Arno Haase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks! This looks like what I was looking for. Looking forward to playing around with it ;-) Am 01.05.2012 06:29, schrieb Lenny Primak: > http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/D

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Arno Haase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have the same problem. Googling, the only thing I came up with was this: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-rc3-Page-must-be-specified-before-initializing-for-partial-page-render-td4966505.html It mentions creating an "AjaxLink" co

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Lenny Primak
http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/DisableAfterSubmit.js search for setSubmittingElement Perhaps you are missing that, if that's not the case, debugging Tap JS code might help On Apr 30, 2012, at 4:52 PM, Norman Franke

T5.3 Component with AJAX Form?

2012-04-30 Thread Norman Franke
I'm trying to make a lookup dialog that lets users lookup accounts by name. It obviously has a form where the user can enter a partial name. The form has a t:zone and the onSuccess handler either tries to return the zone or use AjaxResponseRenderer to return the content of the zone. which has th

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

Re: Ajax form submission, formfragments and wizards

2010-12-21 Thread Richard Hill
Hi Thiago, Thanks for the info, most helpful. Cheers. On Tue, 2010-12-21 at 12:56 -0200, Thiago H. de Paula Figueiredo wrote: > On Tue, 21 Dec 2010 12:21:05 -0200, Richard Hill > wrote: > > > Hi, > > Hi! > > > I'm trying to build a simple wizard - a 5 step process. I've been > > looking

Re: Ajax form submission, formfragments and wizards

2010-12-21 Thread Thiago H. de Paula Figueiredo
On Tue, 21 Dec 2010 12:21:05 -0200, Richard Hill wrote: Hi, Hi! I'm trying to build a simple wizard - a 5 step process. I've been looking at formfragment - which I think I could use for each step of the process, with the appropriate fragment visible for each step. Do you need to submit

Ajax form submission, formfragments and wizards

2010-12-21 Thread Richard Hill
Hi, I'm trying to build a simple wizard - a 5 step process. I've been looking at formfragment - which I think I could use for each step of the process, with the appropriate fragment visible for each step. But how can I submit the data added to a fragment with Ajax? The submit button triggers a no

Re: Ajax Form submission in T5.0

2010-08-27 Thread Pablo dos Reis
ok! 2010/8/27 Thiago H. de Paula Figueiredo > On Fri, 27 Aug 2010 10:16:22 -0300, Pablo dos Reis > wrote: > > Thank you Thiago, >> > > You're welcome! > > > I can submission by ajax using ActionLink and Zones, >> but I' m try upgrade T5 version before. >> I think it's better, because I would

Re: Ajax Form submission in T5.0

2010-08-27 Thread Thiago H. de Paula Figueiredo
On Fri, 27 Aug 2010 10:16:22 -0300, Pablo dos Reis wrote: Thank you Thiago, You're welcome! I can submission by ajax using ActionLink and Zones, but I' m try upgrade T5 version before. I think it's better, because I would like to use the componente AjaxFormLoop. You can try to get the s

Re: Ajax Form submission in T5.0

2010-08-27 Thread Pablo dos Reis
t; > We are studing the best way to upgrade the tapestry version. >> But while it isn't happens, I want know if there are a way to create a >> form submission using ajax in T5.0. >> > > Have you tried the same way as in 5.1 and 5.2? As far as I can remember, > Zone

Re: Ajax Form submission in T5.0

2010-08-26 Thread Thiago H. de Paula Figueiredo
n using ajax in T5.0. Have you tried the same way as in 5.1 and 5.2? As far as I can remember, Zones and AJAX form submissions haven't changed since them. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars M

Ajax Form submission in T5.0

2010-08-26 Thread Pablo dos Reis
Hi, I' m using T5.0.10 in my work. We are studing the best way to upgrade the tapestry version. But while it isn't happens, I want know if there are a way to create a form submission using ajax in T5.0. -- Pablo Henrique dos Reis

Re: FCKEditor Ajax Form Submit

2010-07-10 Thread Thiago H. de Paula Figueiredo
On Fri, 09 Jul 2010 20:13:46 -0300, raulmt wrote: To ensure that FCK updates the linked field before Tapestry sends the Ajax Request, you must listen the Tapestry.FORM_PREPARE_FOR_SUBMIT_EVENT, which is fired syncronously before the Ajax Request is generated. Hi! You're absolutely right

Re: FCKEditor Ajax Form Submit

2010-07-09 Thread raulmt
Thiago H. de Paula Figueiredo wrote: > > Em Tue, 01 Sep 2009 11:43:45 -0300, newtonik > escreveu: > >> Hey, > > Hi! > >> Has anyone been able to figure out a way to use the FCKEditor in a ajax >> form submission. It seems like the data in the editor doesn'

Re: cannot submit ajax form using form.submit javascript

2010-06-14 Thread Inge Solvoll
A simple and relatively clean solution: http://tinybits.blogspot.com/2009/10/missing-javascript.html On Mon, Jun 14, 2010 at 3:19 AM, Paul Stanton wrote: > I found Shawn Brownfield's post from aug 2009: > > > The short of this is that there doesn't appear to be a really clean way > > to do this

cannot submit ajax form using form.submit javascript

2010-06-13 Thread Paul Stanton
I found Shawn Brownfield's post from aug 2009: > The short of this is that there doesn't appear to be a really clean way > to do this, though I'd love to be proved wrong. Here are a few options > I see: > > Option1: The most straightforward way to submit a form with a zone via > Ajax would be to

Re: Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Greg Pagendam-Turner
Guys, The ajaxform loop fragment generates the following JSON on an add new row Returned from Object onActionFromRowInjector(EventContext context) ajaxResponse.elements contains: [Text[ ], ComponentPageElement[examples/tables/AjaxFormLoop1:ajaxformloop.delegate_1], Text[

Re: Does Ajax Form Loop render full form on addRow?

2010-03-15 Thread Greg Pagendam-Turner
|Thanks Thiago, When the Add Row works the following JSON is returned: {"content":"<\/input><\/td>\n\t\t\t\t\t\t\t<\/input><\/td>||\n\t\t\t\t\t\t\t<\/input><\/td>\n\t\t\t\t\t\t\t<\/input><\/td>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tremove<\/a><\/td>","scripts":["/jumpstart||/assets/datepicker/5.1.0.5/j

  1   2   >