PDA

View Full Version : Not applied a plugin aux config from Config Panel on Architect Design View.



kobayashi.masashi
9 Aug 2017, 7:51 PM
Hi

We create a plugin aux that extend Ext.plugin.Abstract.
In SA 4.2.1 and 4.2.2, SA Design View's instance isn't recognize configs that is set from Config Panel.
It seems that config won't pass to Design View.

I already know config will set correctly in output JS files. but, we need customize Design View to load some resources files.
This bug is not appeared older version.

Regards,
Kobayashi

petr.vecera
9 Aug 2017, 11:46 PM
Hi

It's very hard to reproduce the issue without any detailed steps. There is many things which could be different. Also are you saying that it worked with older SA but does not work with newer SA in the same framework? The framework change could play a big role in this.
Would you be able to share the aux with us ?

Or create a simple steps ?

Thank you
Petr

kobayashi.masashi
13 Aug 2017, 7:06 PM
We use SA 4.2.1 and Modern 6.5.1.

Could you try below steps?

1. Create a plugin aux package
2. Add someProperty to plugin class. That property should have some default value.
3. Write a code that use someProperty in plugin class's init method ( ex. Ext.Msg.alert('', this.someProperty); )
4. Define someProperty in Definition File
5. Create aux
6. Use plugin in SA
7. Set some value to someProperty on ConfigPanel
7. Design View will show default value of someProperty