Hi Borut,
This works, now T5 and JQuery is getting interesting, still can't figure out
something as of now, example: this url, 'myPage', if the context is 'myapp',
then have to hardcode it like '/myapp/myPage', also if I want to pass a
parameter. anyway your tip makes my day productive:) Thanks,
Hello Angelo,
in case you stil need a hint - here it is (off the top of my head)
** TEMPLATE *
function asyncCall () {
$.ajax({
url: "myPage", // i think case doesn't matter
success: function(msg){
Hi Borut,
Your tip works well, thanks. now this jQuery really make Ajax an easy task
in T5. in another case, say, i would like to do this:
$('#stats').load('Stats1.html');
this is easy if Stats1.html is just a plain html, if It's a T5 page, exampe,
I'd like T5 to render a page and the result w
Hello Angelo,
look how variable url is constructed.
TEMPLATE (tml)
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
AjaxJQueryTask2
AjaxJQueryTask2
status
function validate() {
Try this!
LoadMore
2007/10/6, Angelo Chen <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have a very simple Ajax need, here is the situation:
>
> My page will display a blog, when user click 'more comments', I'd like to
> load a T5 page into a DIV provided, so basica
Hi,
I have a very simple Ajax need, here is the situation:
My page will display a blog, when user click 'more comments', I'd like to
load a T5 page into a DIV provided, so basically, the page is like this:
my blog's text goes here
the js will be like this:
$('#more_comments').click(function(