Re: AccordionPanel works on web page but not in another panel

2010-08-23 Thread cole

Example of valid markup (component on a page):

wicket:panel
dl class=accordion-menu
 

wicket:panel
dt class=a-m-t 
wicket:id=titleMenuItem1/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=titleMenuItem2/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-tMenuItem1/dt 
dd class=a-m-d
div class=bd

Give it some content!
 
/div 
/dd




dt class=a-m-tMenuItem2/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



Re: AccordionPanel works on web page but not in another panel

2010-08-23 Thread nino martinez wael
did you take a look at these:

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-contrib-accordion-examples/

?

2010/8/21 cole cmilli...@comcast.net


 Example of valid markup (component on a page):

wicket:panel
dl class=accordion-menu


wicket:panel
dt class=a-m-t
 wicket:id=titleMenuItem1/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=titleMenuItem2/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-tMenuItem1/dt
dd class=a-m-d
div class=bd

Give it some
 content!

/div
/dd




dt class=a-m-tMenuItem2/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




AccordionPanel works on web page but not in another panel

2010-08-20 Thread cole

Wicket 1.4 and using the AccordionPanel/AccordionPanelItem src from the
wicket-contrib-accordion area. I can place this component on a web page via 
and it works fine. When I try to place this same component in another tab
panel it fails. The page actually hangs with no output. I used fiddler to
view the output and the markup is missing the leading  and some of the other
markup is also missing. I looked at a post where another user had wrapped
the AccordionPanel in a WebMarkupContainer but when I do that the browser
complains that I am missing all the markup for the panel. It almost appears
that the markup isn't being generated. 
Failed to render.
[MarkupContainer [Component id = accordionMenu]]
[MarkupContainer [Component id = 0]]
[MarkupContainer [Component id = item]]
[Component id = title]
[MarkupContainer [Component id = content]]
[MarkupContainer [Component id = 0]]
[MarkupContainer [Component id = item]]
[Component id = label]
[MarkupContainer [Component id = 1]]
[MarkupContainer [Component id = item]]
[Component id = title]
[MarkupContainer [Component id = content]]
[MarkupContainer [Component id = 0]]
[MarkupContainer [Component id = item]]

I tried adding container.setOutputMarkupId(true); but this doesn't have any
effect.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AccordionPanel-works-on-web-page-but-not-in-another-panel-tp2333034p2333034.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



Re: AccordionPanel works on web page but not in another panel

2010-08-20 Thread nino martinez wael
if you make a quickstart I can take a look at it.

2010/8/20 cole cmilli...@comcast.net


 Wicket 1.4 and using the AccordionPanel/AccordionPanelItem src from the
 wicket-contrib-accordion area. I can place this component on a web page via
 and it works fine. When I try to place this same component in another tab
 panel it fails. The page actually hangs with no output. I used fiddler to
 view the output and the markup is missing the leading  and some of the
 other
 markup is also missing. I looked at a post where another user had wrapped
 the AccordionPanel in a WebMarkupContainer but when I do that the browser
 complains that I am missing all the markup for the panel. It almost appears
 that the markup isn't being generated.
 Failed to render.
 [MarkupContainer [Component id = accordionMenu]]
 [MarkupContainer [Component id = 0]]
 [MarkupContainer [Component id = item]]
 [Component id = title]
 [MarkupContainer [Component id = content]]
 [MarkupContainer [Component id = 0]]
 [MarkupContainer [Component id = item]]
 [Component id = label]
 [MarkupContainer [Component id = 1]]
 [MarkupContainer [Component id = item]]
 [Component id = title]
 [MarkupContainer [Component id = content]]
 [MarkupContainer [Component id = 0]]
 [MarkupContainer [Component id = item]]

 I tried adding container.setOutputMarkupId(true); but this doesn't have any
 effect.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/AccordionPanel-works-on-web-page-but-not-in-another-panel-tp2333034p2333034.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