Posts

DEMO2

Image
In this post we are going to delve into the JavaScript code that Pega uses to execute action sets in a control. Before we start For this post, let's create a very simple section with the following configuration: Create a .YesNo property with "Yes" and "No" as accepted values that are defined in a local list. Add a dropdown with the .YesNo property as its source. Add an Action set to the dropdown on "Change" event: A Post value action, and a Run Script action that will show an alert dialog box when the .YesNo property has the "Yes" value. As a result, a message will appear when the "Yes" option is selected. Also, the selected value will be posted to the server. Now, let's start our study 😀. Descriptors Before we go through the action processing, let's define two concepts: The Event descriptor and the Control descriptor . The Event descriptor The...

Demo post 2

Image
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ut eros accumsan ex ultricies lobortis in nec lacus. Praesent nec nisl efficitur ex mollis dignissim. Ut mi enim, ultricies a ipsum nec, blandit convallis nunc. Duis tristique, nulla vel ultrices venenatis, leo nunc tempus velit, sed semper est felis nec odio. Curabitur orci sem, consectetur nec quam et, porttitor tincidunt orci. Nam eget ultricies purus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque accumsan iaculis justo vel laoreet. Nunc ac justo ut purus euismod blandit. This is a simple paragraph with a code text. The rules can be formatted with <code class="rule">...</code> . For example, you know the @baseclass.pyActionStub activity. The following pre > code block was generated using the hljs JavaScript library. <pre><code class="language-javascript"> <!-- This is a long line 0123456789...

Demo post

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ut eros accumsan ex ultricies lobortis in nec lacus. Praesent nec nisl efficitur ex mollis dignissim. Ut mi enim, ultricies a ipsum nec, blandit convallis nunc. Duis tristique, nulla vel ultrices venenatis, leo nunc tempus velit, sed semper est felis nec odio. Curabitur orci sem, consectetur nec quam et, porttitor tincidunt orci. Nam eget ultricies purus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque accumsan iaculis justo vel laoreet. Nunc ac justo ut purus euismod blandit. Maecenas dolor ante, mattis vitae tellus ut, consectetur volutpat elit. Nam eu massa a odio sodales sodales placerat eget augue. Donec vitae molestie neque. Ut lectus sapien, lacinia sit amet libero in, tempus varius tortor. Donec dapibus risus sit amet ligula eleifend, at volutpat metus aliquam. Sed nibh nunc, luctus eget lectus nec, rutrum egestas ligula. Proin elit urna, dignissim non ex n...