문제

I am using the GXT MVC framework in my application. I have a toolbar and when I click on an item in the toolbar, the application redirects to a given page. (which is a ContentPanel I add to the View). The problem here is, that somehow the ContentPanel will not be removed after I navigate to another page (= View with Contentpanel). When navigating again to the first page, the onRender method of the contentPanel will NOT be called again and I get my old page.

So my question is, how can I force a ContentPanel to rerender? I tried with removing and adding to the parent and doing a layout().

도움이 되었습니까?

해결책

May be you should invoke method fireEvent(Events.Render) of ContentPanel object?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top