Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

Mojarra 2.3 regression: Component rendered in wrong DOM level #21

@erickdeoliveiraleal

Description

@erickdeoliveiraleal

I already reported in PrimeFaces side issue 1 and issue 2 but @tandraschko said it maybe a Mojarra 2.3 problem.

Sample XHTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions">

<h:head>

</h:head>

<h:body>

	<h:form>

		<p:selectOneMenu id="presidio">

			<f:selectItem itemLabel="Nenhum" noSelectionOption="true" />

		</p:selectOneMenu>

	</h:form>

	<h:form id="form">

		<p:commandButton process="@this"
			oncomplete="PF('dlgFolha').show('#{component.clientId}')"
			value="Folha de Ponto" ajax="true" />

	</h:form>

	<p:overlayPanel widgetVar="dlgPdf">
		<h:form id="dlgPdfIn">
			<p:outputPanel>
				<p:panelGrid columns="2" columnClasses="label,value">

					<p:commandButton value="Movimentações" process="@this" />

				</p:panelGrid>
			</p:outputPanel>
		</h:form>
	</p:overlayPanel>
	<p:overlayPanel widgetVar="dlgFolha">
		<h:form id="dlgfolhaIn">
			<p:outputPanel>

				<p:commandButton value="Gerar" ajax="false" />

			</p:outputPanel>
		</h:form>
	</p:overlayPanel>
</h:body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions