<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>You should wrap the gx_legendimage in a panel or even just wrap it in curly
braces which will essentially accomplish the same thing. An accordion layout’s
items need to be or inherit from Ext.Panel.</DIV>
<DIV>“Note: Only Ext.Panels and all subclasses of Ext.Panel may be used in an
accordion layout Container.”</DIV>
<DIV></DIV>
<DIV>Matt Priour</DIV>
<DIV>Kestrel Computer Consulting</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=John.C.Cartwright@noaa.gov
href="mailto:John.C.Cartwright@noaa.gov">John Cartwright</A> </DIV>
<DIV><B>Sent:</B> Thursday, October 13, 2011 11:02 AM</DIV>
<DIV><B>To:</B> <A title=users@geoext.org
href="mailto:users@geoext.org">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> [Users] problem w/</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hello
All,<BR><BR>I'm trying to use a GeoExt.LegendImage inside an Accordion like
this:<BR><BR>
{<BR>
region:
"east",<BR>
width:
200,<BR>
collapsible:
true,<BR>
layout:
"accordion",<BR>
items:[<BR>
{<BR>
xtype:
'gx_legendimage',<BR>
imgCls:
'legendImg',<BR>
url:<BR>'http://www.ngdc.noaa.gov/eog/maps/cgi-bin/public/ms/poverty?version=1.0.0&service=WMS&request=GetLegendGraphic&layer=Poverty_by_state&format=image/png&width=100&height=200'<BR>
}<BR>
]<BR>
}<BR><BR>However, I'm getting an error which I can't make sense
of:<BR><BR>a.header is
undefined<BR>http://maps.ngdc.noaa.gov/ext/ext-all.js<BR>Line 7<BR><BR>Can
someone please point out what I'm doing
wrong?<BR><BR>Thanks!<BR><BR>--john<BR><BR>_______________________________________________<BR>Users
mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>