There it is, the Ajaxified version of contrib:Table, working ;)

Have fun!

--
Ing. Leonardo Quijano Vincenzi
DTQ Software


Leonardo Quijano Vincenzi wrote:
Hi there,

As you may have noticed, contrib:Table doesn't work in Tacos when used inside an AjaxForm. It seems that this:

// Used by LinkSubmit components to force the form to submit
Tapestry.submit_form = function(form_id, field_name)
{
   var form = this.find(form_id);
     form.events.submit(field_name);
}

doesn't work for a Tacos form.

Now, there are 2 possibilities, AFAIK, to solve this:

1) Provide a "form.events.submit" object that works for AjaxForms.
2) Create a custom Ajaxified Tacos Table, with custom header links and paging links that use Ajax requests to update only the table section of the page.

Now, solution (1) could be a simple JS fix that someone more familiar with the form submission mechanism can actually see on the spot. But in any case, it doesn't solve a subtler problem: when you use a standard Tapestry form and click on a header link or a page one, you might want the Table to be updated in an Ajax way, instead of redisplaying the whole page. For that, I guess the only solution, for now, is to implement (2). I'm currently working on it, but in any case, have you guys thought of a better way to solve this?

The bug's at: http://tacoscomponents.jot.com/BugReporter/Bug73






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to