hey guys,

just implemented partial page rendering, allowing for rendering of any number of components on the page.

see wicket-sandbox/users/ivaynberg/wicket-partial project in cvs for details.

it works by stuffing output of multiple components into an xml envelope. the only limitation is that the markup is stored under CDATA so if the markup contains ]]> it will break the envelope. maybe it makes sense to base64 or yenc the markup, or somehow escape ]]>

this also doesnt introduce any dependencies on existing libraries, i just wrote a tiny library myself.

it also allows you to add any _javascript_ you want executed to the envelope. i figured it might be useful for fx, like if you want to highlite the updated components or something.

maybe we can provide hooks for that directly in the wicket _javascript_ library, so users can register onComponentUpdated _javascript_ function listeners.


any feedback is greatly appreciated.

-Igor

Reply via email to