Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
$("#" + spec.zoneId).tapestryZone("update", specs); }); } return { mySubmit: init }; }); }) ( jQuery ); -- View this message in context: http://tapestry.1045711.n5.nabble.com/Rel

Re: Reloading zone from custom event handler

2012-03-02 Thread François Facon
ot;click", function(){ >                $.ajax({ >                    url: spec.url, >                    data: {value : $("#" + spec.idInput).val()} >                }); >            }); >        } > > tml > > > Test Link > > -- > View th

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 15:29:21 -0300, George Christman wrote: Would you mind elaborating a bit more on "It should be created inside the component itself. " Thanks Thiago. You shouldn't worry at all about event URLs, just use ComponentResources.createEventLink() to create them. If you're cre

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
Would you mind elaborating a bit more on "It should be created inside the component itself. " Thanks Thiago. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reloading-zone-from-custom-event-handler-tp5531638p5531787.html Sent from the Tapestry - User mailing li

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 15:08:37 -0300, George Christman wrote: Thiago, is that a better solution than what I just recently posted as a solution? I guess they're equivalent. Also, I can't figure out how to generate a url with the component in it. Link link = resources.createEventLink("mySubm

Re: Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
t I need /eprs/testtemplate.vendorzone:mysubmit Any Suggestions? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reloading-zone-from-custom-event-handler-tp5531638p5531713.html Sent from the Tapestry - User mailing list archiv

Resolved: Re: Reloading zone from custom event handler

2012-03-02 Thread George Christman
params : {value : $("#" + spec.idInput).val()} }; $('#vendorZone').tapestryZone("update", specs); }); -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reloading-zone-from-custom-event-

Re: Reloading zone from custom event handler

2012-03-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Mar 2012 14:35:04 -0300, George Christman wrote: Hello, I'm using Tapestry-Jquery and I'm trying to get the zone to reload. I'm able to get the request parameter values without issue, just won't reload the zone. Hi! Your JavaScript must have something like this: Tapestry.find

Reloading zone from custom event handler

2012-03-02 Thread George Christman
script to handle the ajax function init(spec) { $("#" + spec.id).bind("click", function(){ $.ajax({ url: spec.url, data: {value : $("#" + spec.idInput).val()}