Attach a web markup container to the body tag. Override isTransparentResolver and return true. This gets you a component that you can add to the ajax request target to repaint the entire body.
Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Nov 20, 2010 8:57 AM, "Wilhelmsen Tor Iver" <[email protected]> wrote: In the portlet context it is advantageous to just repaint one particular portlet instead of the whole page when interacting with it. However, Pages do not have Ajax-able DOM ids to use, since a Page generally handles the whole HTML page in the non-portlet case. Calling target.addComponent(getPage()) leads to a "normal" repaint of the whole portal page. Is there a way to tell it to repaint just the body of the Page? Is it possible to use a WebMarkupContainer for the body element and possibly override add()/get() etc. to delegate to that container? Otherwise we can rewrite to use one "portlet page" and use (Ajax-able) panels for what we use pages for today... some portlets already use Panels for state switching already (e.g. portlets using a BreadCrumbBar) so specifying a "regime" for portlet writing here where we have a standard replacable panel container. Med vennlig hilsen TOR IVER WILHELMSEN Senior systemutvikler Arrive AS T (+47) 48 16 06 18 E-post: [email protected] http://www.arrive.no http://servicedesk.arrive.no
