i found the solution myself, it's easy once you know it, but i share
it anyway since it might be usefull for noobs like myself:

in order to get the tablesorter to work after you update your table
you need to re-call the ("#table").tablesorter()  method.
so my update-function inside my cometactor now looks like this:

def updateTable(news : News) = {
    partialUpdate( SetHtml("allNewsTableInsertDiv", (<lift:embed
what="/news/tableTemplates/_allNewsTable" />)));
    partialUpdate( JsRaw("""$("#table").tablesorter();"""));
}

now everything works fine

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to