Layout: updates don't work properly
See original GitHub issueI’m implementing an SPA (single page application) using the pe:layout component. I’m using Primefaces 8 and Primefaces extensions 8 So the content of the layoutPanes need to be updated using ajax requests while the application runs. So the whole construct looks more or less like that:
<h:form id="mainForm">
<pe:layout fullPage="true" id="layout">
<pe:layoutPane position="north">
</pe:layoutPane>
<pe:layoutPane position="west">
</pe:layoutPane>
<pe:layoutPane position="center">
<ui:include src="#{indexView.centerView}" />
</pe:layoutPane>
</h:form>
So now I want to update the center pane. I do that by updating the payoutPane element:
<p:menuitem value="User"
actionListener="#{indexView.showSettingsUser}"
update=":mainForm:center" />
When I do that, the center pane gets updated. But it gets moved to the top of the screen. Beeing displayed over the north pane.
So I try to update the whole layout component:
<p:menuitem value="User"
actionListener="#{indexView.showSettingsUser}"
update=":mainForm:layout" />
When I do that, absolutely nothing happns. The only way that seems to work is updating everything at once:
<p:menuitem value="User"
actionListener="#{indexView.showSettingsUser}"
update=":mainForm" />
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
My entire layout has changed after recent update……WHY?
I understand you have a problem with your entire layout has changed after recent update. Please check if you're in tablet mode.
Read more >2.3.4: Update "Custom Layout Update" doesn't work #27942
4: Update "Custom Layout Update" doesn't work #27942. Issue: needs update Additional information is require, waiting for response not-confirmed ...
Read more >Layout Viewport not updating? - SketchUp Community
There are two common reasons, though. First, the scene properties have been modified for the viewport in LayOut. This modification overrides the ...
Read more >Window layout problems after update - Community - Notepad++
Window layout is all messed up after updating to 7.9. 5 - can't figure out what's going on… Tried blowing away all local...
Read more >How to Fix Elementor after update - quick guide - YouTube
How to Fix Elementor after an update, sometimes when Elementor updates the page layout and images look broken.A quick guide on how to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

sorry. my fault… forgot to add the new files. they are commited now.
you’re way too fast in replying 😉.
I’ve just noticed. When I update everything (the whole form) and there is a west layoutPanel. Then It will be at once rendered between north and center panel, instead of being to the left of the center panel.
I’ve tried out the workaround, using the outputPanel. Like that it works like a charm. 😃 I should manage to provide a test case with the test case.