Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-12 Thread George Christman
Thanks Geoff, We ended up going with your first suggestion as it seems easier to work. I may have a different issue related to it, so I'll keep you posted. Once again thanks for the help. On Tue, Mar 11, 2014 at 10:47 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Hi George,

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-11 Thread Geoff Callender
Hi George, As I said, I prefer to restrict JS to handling client-user interactions, not client-server interactions, and leave Tapestry to do the client-server stuff. However, if you really want your JS to initiate AJAX calls, you can do so and still avoid burdening the client with writing mark

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-11 Thread Geoff Callender
Hi George, Writing the modal with Tapestry can go something like this (none of this has been tested)... (It builds on the work at http://readyareyou.blogspot.com.au/2012/11/tapestry5-bootstrap-modal-dialog.html) Create a component that does its work in a modal. Eg. "PersonCreateModal".

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-11 Thread George Christman
Hi guys, if there is a better way to do it, I'm all ears. I wasn't aware of a way to use zones inside of a js module. Here is a code snippet of what I'm trying to accomplish. As you can see I'm using pure js, "may be alternate solutions", and I'm trying to inject content into my bootstrap modal com

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-11 Thread Geoff Callender
I share Lance's preference for generating markup server-side. Have you considered putting a Zone in the modal and having the server-side return that instead of a JSONObject? On 11/03/2014, at 7:24 AM, Lance Java wrote: > I'm not entirely sure what you're doing but this might help. > > http://

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Thiago H de Paula Figueiredo
hing with the value returned in your event handler method window.alert('New title: ' + data.title); }); Here's the jQuery AJAX documentation: http://api.jquery.com/jQuery.ajax/ // I completely do not understand how to return a response without the use of a tapestry zone.

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Lance Java
I'm not entirely sure what you're doing but this might help. http://tapestry-stitch.uklance.cloudbees.net/capturedemo As you can see, I render a block in an AJAX action and call alert(...). You could do anything you like with the rendered markup. Note: I hate rendering dom in javascript and alwa

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Dragan Sahpaski
I'd > like to dynamically inject those warnings via ajax, however I do not know > how to write a custom ajax request in tapestry. > > What I think I know, > > I'm assuming I need to create an event link and pass it into my js like so > and then setup a jquery ajax

5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread George Christman
o not know how to write a custom ajax request in tapestry. What I think I know, I'm assuming I need to create an event link and pass it into my js like so and then setup a jquery ajax request. I do not know how to properly set up the request so that it returns a response. In my little demo

Re: Tapestry-jquery ajax validation

2013-01-20 Thread rosecorp
Hello, do you still have that problem? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946p5719394.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Tapestry-jquery ajax validation

2013-01-09 Thread fmaylinch
ry only validates the built in validations like "required" and so. Do I need to use the CustomForm and CustomError components to use the AjaxValidator? Thank you very much for your help, Ferran -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-aja

Re: Tapestry-jquery ajax validation

2012-12-25 Thread rosecorp
('#%s').configureValidators('%s')", clientId, link.toURI()); } } Thanks, R -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946p5718980.html Sent from the Tapestry - User mailing list archive at Nabb

Re: Tapestry-jquery ajax validation

2012-12-24 Thread Lenny Primak
ors1 > in tapestry-jquery manner please let me know or ask question in this topic I > will surely help. > > Thanks, > R. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946p5718949.html &g

Re: Tapestry-jquery ajax validation

2012-12-24 Thread rosecorp
this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946p5718949.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Tapestry-jquery ajax validation

2012-12-23 Thread rosecorp
$(field).unbind(Tapestry.FIELD_VALIDATE_EVENT); } } }); }); }; })(jQuery); Than you for help!!! As always!!! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946.html Sent from the

Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Thiago H. de Paula Figueiredo
On Tue, 14 Feb 2012 12:10:45 -0200, sommeralex wrote: Hi Thiago! Hi! Importing the jQuery-JavaScript is one approach i was mentioning before. The question is: What is the name of the reference path? where is jquery located, if it is coming from a maven dependency? It seems that the lib

RE: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Demey Emmanuel
[mailto:alexander.som...@gmail.com] Envoyé : mardi 14 février 2012 15:20 À : users@tapestry.apache.org Objet : Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/ last question: how can I get the order-information back to java? After sorting, i need to know how it was sorted

Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread sommeralex
<http://user/SendEmail.jtp?type=node&node=5482560&i=0>] > > Envoyé : mardi 14 février 2012 15:18 > À : [hidden email] <http://user/SendEmail.jtp?type=node&node=5482560&i=1> > Objet : Re: How to use the jQuery Ajax examples from > http://jqueryui.com/demos/

RE: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Demey Emmanuel
Or you can also contribute to our Library ? ;) -Message d'origine- De : sommeralex [mailto:alexander.som...@gmail.com] Envoyé : mardi 14 février 2012 15:18 À : users@tapestry.apache.org Objet : Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/ THANK YOU!! Bu

RE: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Demey Emmanuel
ralex [mailto:alexander.som...@gmail.com] Envoyé : mardi 14 février 2012 15:13 À : users@tapestry.apache.org Objet : Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/ Hi Emmanuel! THIS WAS IT!!! THANK YOU @ImportJQueryUI({"jquery.ui.mouse", "jquery.ui.sortable"}) pub

RE: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Demey Emmanuel
Hi You are totally right, Tapestry includes Prototype and Script.aculo.us JavaScript libraries by default. You can use JavaScript : - Directly in the template, inside a

Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread sommeralex
em 5 Item 6 Item 7 -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-use-the-jQuery-Ajax-examples-from-http-jqueryui-com-demos-tp5482269p5482347.html Sent from the Tapestry - User mail

Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Emmanuel DEMEY
I did not see your JavaScript code ! Do you have any JavaScript error ? Is your JavaScript code executed ? Is it executed after generating all the HTML ? Manu -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-use-the-jQuery-Ajax-examples-from-http-jqueryui-com-demos

Re: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Emmanuel DEMEY
not interactive. also the GUI elements are > shown correctly (like the orange arrow / so, it seems there is a reference, > but something i am doing wrong...) > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-use-the-jQuery-Ajax-examples-fr

RE: How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread Demey Emmanuel
/How-to-use-the-jQuery-Ajax-examples-from-http-jqueryui-com-demos-tp5482269p5482269.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For

How to use the jQuery Ajax examples from http://jqueryui.com/demos/

2012-02-14 Thread sommeralex
m doing wrong...) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-use-the-jQuery-Ajax-examples-from-http-jqueryui-com-demos-tp5482269p5482269.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Jquery + Ajax

2009-03-27 Thread Thiago H. de Paula Figueiredo
I can't think of any problem. Is there any one you're imagining? Thiago -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Jquery + Ajax

2009-03-27 Thread iberck
Hi, I'm newbie in tapestry and I'm using asynchronous ajax request to a class page method: var $jq = jQuery.noConflict(); /* $jq(document).ready(function() { });*/ function enviaAjax(idOpcion) { aler