[ 
https://issues.apache.org/jira/browse/WICKET-4615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4615.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.8
                   6.0.0-RC1
         Assignee: Martin Grigorov
    
> checkRendering message should also mention XHTML tags as a possible cause
> -------------------------------------------------------------------------
>
>                 Key: WICKET-4615
>                 URL: https://issues.apache.org/jira/browse/WICKET-4615
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Derek E
>            Assignee: Martin Grigorov
>            Priority: Minor
>              Labels: documentation, newbie
>             Fix For: 6.0.0-RC1, 1.5.8
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When working in development mode with warnings turned on, it's not uncommon 
> to get an error message like the one below when components are added in code, 
> but not found in markup.
> "org.apache.wicket.WicketRuntimeException: The component(s) below failed to 
> render. A common problem is that you have added a component in code but 
> forgot to reference it in the markup (thus the component will never be 
> rendered)."
> This is useful, but doesn't go far enough when assisting new developers.  
> Another common cause that I've seen often is a component is defined and added 
> in a parent class (e.g. AbstractBasePanel), but the child class markup file 
> is missing the <wicket:extend> elements.
> I would like to see the messaging include a statement like: "If your 
> components were added in a parent Page or Panel, make sure the markup for 
> your child MarkupContainer includes the appropriate Wicket XHTML tags such as 
> <wicket:extend>."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to