Details
Description
If "Development" javax.faces.PROJECT_STAGE is configured in web.xml, then using a composite component that bases on a backingclass results in this error message being displayed: "The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>"
the problem rises only when we use a "componentType" as backingclass e.g.
<cc:interface componentType="org.jboss.seam.faces.SeamContainerTest"> </cc:interface> <cc:implementation> </cc:implementation>
@FacesComponent(UISeamContainer.COMPONENT_TYPE) public class UISeamContainer extends UIComponentBase implements NamingContainer { public static final String COMPONENT_TYPE = "org.jboss.seam.faces.SeamContainerTest"; public UISeamContainer() { } @Override public String getFamily() { return UINamingContainer.COMPONENT_FAMILY; } }
Still an issue in 2.1.3