Skip to main content
added 8 characters in body
Source Link
slim
  • 107
  • 2
  • 11

I am trying to break my page into multiple components so it can be reused on several pages. The component is essentially a form and after submission, would like the parent page to rerender a certain outputpanel block. This is the code I used to use:

<apex:actionFunction name="reRenderNewFeedPanel" action="{!afterSaveAttachment}" reRender="NewFeedPanel, FeedListPanel" />

<apex:actionFunction name="reRenderNewFeedPanel" action="{!afterSaveAttachment}" reRender="NewFeedPanel, FeedListPanel" />

but from within the component, the reRender on "FeedListPanel" doesn't seem to work, because it's not refreshing.

I am trying to break my page into multiple components so it can be reused on several pages. The component is essentially a form and after submission, would like the parent page to rerender a certain outputpanel block. This is the code I used to use:

<apex:actionFunction name="reRenderNewFeedPanel" action="{!afterSaveAttachment}" reRender="NewFeedPanel, FeedListPanel" />

but from within the component, the reRender on "FeedListPanel" doesn't seem to work, because it's not refreshing.

I am trying to break my page into multiple components so it can be reused on several pages. The component is essentially a form and after submission, would like the parent page to rerender a certain outputpanel block. This is the code I used to use:

<apex:actionFunction name="reRenderNewFeedPanel" action="{!afterSaveAttachment}" reRender="NewFeedPanel, FeedListPanel" />

but from within the component, the reRender on "FeedListPanel" doesn't seem to work, because it's not refreshing.

Source Link
slim
  • 107
  • 2
  • 11

Is it possible to rerender an outputpanel that's in the parent page from within a component?

I am trying to break my page into multiple components so it can be reused on several pages. The component is essentially a form and after submission, would like the parent page to rerender a certain outputpanel block. This is the code I used to use:

<apex:actionFunction name="reRenderNewFeedPanel" action="{!afterSaveAttachment}" reRender="NewFeedPanel, FeedListPanel" />

but from within the component, the reRender on "FeedListPanel" doesn't seem to work, because it's not refreshing.