tag:blogger.com,1999:blog-5874979429188093780.post5026155765838470628..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Managing Persisted State for Oracle JET Web Component Variable with Writeback PropertyAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5874979429188093780.post-85457879786255042222018-12-28T15:13:07.249+01:002018-12-28T15:13:07.249+01:00Yes, this makes sense.
AndrejusYes, this makes sense.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-57847355236016411362018-12-28T12:35:37.961+01:002018-12-28T12:35:37.961+01:00Andrejus,
An observation: I see that writeback is...Andrejus,<br /><br />An observation: I see that writeback is required only for primitive data types. If we pass an object (e.g. { rows: 'single' }) as a CCA property and we change the object from inside the CCA on the context (e.g. <i>context.properties.selection.rows = 'multiple'</i>) then we don't need a writeback true for that CCA property. The object on the parent module gets updated even without writeback. This probably makes sense since primitives are passed by value, and objects are passed by reference.<br /><br />Let me know your thoughts on this.<br /><br />Best Regards.<br />AnirbanAnirban Mukherjeehttps://www.blogger.com/profile/17372831534341263143noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-26441012603312072182018-12-27T08:03:00.977+01:002018-12-27T08:03:00.977+01:00Hi,
In JET you need to reset variables manually. ...Hi,<br /><br />In JET you need to reset variables manually. If you want declarative development in JET, similar to ADF - then need to use VBCS.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-17118015441088803072018-12-26T17:57:13.937+01:002018-12-26T17:57:13.937+01:00Hi Andrejus,
Is there any configuration approach ...Hi Andrejus,<br /><br />Is there any configuration approach to reset all observables when we re-enter a module? One way I can think of is to make use of the connected or disconnected methods and manually reset all observables to their original states. But for a large module with a large number of such variables, this is quite a big task. I was wondering if there is something equivalent to isolated scope of an ADF task-flow.<br /><br />Regards.Anirban Mukherjeehttps://www.blogger.com/profile/17372831534341263143noreply@blogger.com