jw.endObject();
jw.endArray();</BUG>
if ( details )
{
gatherComponentDetails( jw, component );
<BUG>}
jw.endObject();</BUG>
}
private void gatherComponentDetails( JSONWriter jw, Component component ) throws JSONException
{

jw.endObject();
}
private void action( JSONWriter jw, boolean enabled, String op, String opLabel, String image ) throws JSONException
{
jw.object();
jw.key( "enabled" ).value( enabled );
jw.key( "name" ).value( opLabel );
jw.key( "link" ).value( op );
jw.key( "image" ).value( image );
jw.endObject();
}
private void gatherComponentDetails( JSONWriter jw, Component component ) throws JSONException
{
