Example of valid markup (component on a page):

        <wicket:panel>
                <dl class="accordion-menu">
                         
                                
                                        <wicket:panel>
                                                <dt class="a-m-t" 
wicket:id="title">MenuItem1</dt> 
                                                <dd class="a-m-d">
                                                        <div class="bd" 
wicket:id="content">
                                                                
                                                                        
<wicket:panel>
                                                                                
Give it some content!

                                                                        
</wicket:panel>
                                                                 
                                                        </div> 
                                                </dd>
                                        </wicket:panel>
                                
                        
                         
                                
                                        <wicket:panel>
                                                <dt class="a-m-t" 
wicket:id="title">MenuItem2</dt> 
                                                <dd class="a-m-d">
                                                        <div class="bd" 
wicket:id="content">
                                                                
                                                                        
<wicket:panel>
                                                                                
Give it some content!
                                                                        
</wicket:panel>
                                                                 
                                                        </div> 
                                                </dd>
                                        </wicket:panel>
                                
                        
                </dl>
                        <wicket:child/>
        </wicket:panel>



Example of invalid (component within another panel)
<dl class="accordion-menu">
                
                        
                                <dt class="a-m-t">MenuItem1</dt> 
                                <dd class="a-m-d">
                                        <div class="bd">
                                                
                                                        Give it some content!
                                                 
                                        </div> 
                                </dd>
                        
                
                
                        
                                <dt class="a-m-t">MenuItem2</dt> 
                                <dd class="a-m-d">
                                        <div class="bd">
                                                
                                                        Give it some content!

                                                 
                                        </div> 
                                </dd>
                        
                
        </dl>
                        
as you can see I'm missing some key elements that are required to make the
markup complete. I'm missing something simple, I'm just not competent enough
to find it.



-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AccordionPanel-works-on-web-page-but-not-in-another-panel-tp2333034p2333185.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to