[Kss-devel] Replacing the content region
Hedley Roos
hedley at upfrontsystems.co.za
Thu Sep 18 13:35:15 CEST 2008
I'm going to answer my own question here. Yes, replaceContentRegion uses
BeautifulSoup and a simpler main_template to render any content and
extract the relevant html.
Hedley Roos wrote:
>
> Is there a way to redraw the content region? My use case is I do some
> ajax action while on folder_contents, and then I want the folder listing
> to re-render since some titles may have changed.
>
> I see there is a replaceContentRegion but I don't know if it will help me.
>
> For folder listing there is a DOM node with id folderlisting-main-table,
> so I can render a macro and replace that node's content, but my code
> must then have knowledge of the template in use.
>
More information about the Kss-devel
mailing list