two fix for the permalink
It seems to work nicely in the project that I have used to test this change.
@elemoine I try to implement all your recommendation but we are not a Ext.Component than I implement the more direct way.
This may mean this was time to extract out a component/widget from this plugin.
For me it introduce some complexity for not a big service, but finally why not !
add state in MapOpacitySlider
fix permalink with layer group without any layer
create a widgets for MapOpacitySlider
New version with a widget !
fix widget namespace, not consistent with other GXP/CGXP widgets name…
fix translations indexes
The namespace ("cgxp.widgets") used in the new widget class was not consistent with the one generally used by other GXP and CGXP widgets (simply "cgxp"). In addition the translations files had not been updated accordingly. I have commited some fixes.
The new way works fine in the project I have tested it in and tests passed. For me it's OK to merge.