On 12/15/05, Mike Duffy <[EMAIL PROTECTED]> wrote:
> I am using the MyFaces <t:div> tag to layout my pages, which works fine. 
> However, because the
> <h:message> tags are not contained in an h:panelGroup or h:panelGrid tag, 
> errors like the
> following are generated when the page loads:
>
> 00:01:52,097 ERROR [HtmlMessageRendererBase] Could not render Message. Unable 
> to find component
> 'estimatedStartDate' (calling findComponent on component
> 'issueCreateForm:estimatedStartDateError'). If the provided id was correct, 
> wrap the message and
> its component into an h:panelGroup or h:panelGrid.
>
> Why do h:message tags need to be enclosed in h:panelGroup or h:panelGrid tags.
>
> Does anyone else think this is a bug? Any suggestions?

For an explanation on why JSF works like this, see this article.

http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html

The section "Creating and Rendering Components in Parallel" explains
the problem as well as why enclosing solves the problem.

Reply via email to