Hi Xihui,
How are you ? To develop my own library of widget for Spiral2, I need to change the behavior of OpenOPIinView action. I hooked a OpenOPIinView action when I click on Widget (position = Right).
When I have several widget in aaa.opi I would like the new open view replaces the old one. The picture below show the standard behavior of OpenOPIinView action.
This is an example of the behavior that I will wish to obtain :
- Fisrt step : click on AR-GT7-PC3 => View AR-GT7-PC3 open
- Second step : click on AR-G-Q11 => View AR-GT7-PC3 close and then open AR-G-Q11
- Next steps : Whenever a widget is clicked the old open view closes and the new open
It is possible to add a new boolean property called “Replace view” to the OpenOPIinView action ? If the answer is Yes, I have already developed the new property. These changes do affect the behavior of CSS.
Thanks
Charles-Henry.