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,
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
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".
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
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://
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.
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
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
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
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
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
('#%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
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
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
$(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
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
[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
<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/
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
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
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
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
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
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
/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
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.
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
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
28 matches
Mail list logo