This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
UIInput in = new UIInput(); in.setId("test"); in.setValue(f.getValue()); in.setRequired(true); in.setParent(somePanelGrid); in.setRendered(true); somePanelGrid.getChildren().add(in);
The root view build as expected and the page displays perfectly on the initial request. If I force process validation to fail by submitting an empty string value for the inputText which is defined as required then I see the following. By implement PhaseListener and examining the tree in the beforePhase where phase is render response I see that the HtmlPanelGrid is there with all of the childeren that were added to it. Examining the tree again in the afterPhase I see that all of the childeren are null.
Any ideas would be appreciated.
Mark Rausch
Greenhorn
Joined: Apr 10, 2003
Posts: 4
posted
0
I should also mention that I am using facelets and myfaces 1.1.0. When I run this without the facelets, everything works as expected.
Mark Rausch
Greenhorn
Joined: Apr 10, 2003
Posts: 4
posted
0
Fixed!
Changed from release version of facelets.jar to version 1.0.2 and the problem went away.