I have a form with an button in a html cell:
<button type="button" onclick="AwareApp.startProcessFromForm('MyProcess',AwareApp.getPanelId('main','Main','TEST'),this,true)">Test</button>
Process 'MyProcess' display a form in panel 'TEST' of tab 'Main' of frame 'main' in a Visual Perspective called 'MyVP'
This works Ok until I use DISPLAY LAYOUT Main FROM_VP MyVp to redisplay all the panels. After this the button don't work anymore.
I have inspected the html code and I view this:
Before using DISPLAY LAYOUT the panel id is: BAS_FRAME_CONTENT_main_Main_TEST
After is: BAS_FRAME_CONTENT_main_Main_TEST_2
I think the name of the panel has changed and so getPanelId don't work.