COMPANY
COMMUNITY
BLOG
HELP
MY ACCOUNT
EN PT ES

pppxtool290

PXTools: Improving the Pattern of Patterns

Due to the creative request of a customer, PuntoExe was challenged to change the operative behavior of the WorkWith Pattern. Read about it in Mario Bustamante’s statements.
Mario Bustamante, Director of Punto Exe.

A significant part of the GeneXus paradigm as a language is based on its simplicity for handling transactional structures and the modeling of its operational treatment through the renowned “Work with” dialogs.

This behavioral pattern has been efficiently adapted in the web platform to the new environment rules, by including the transfer to “View” of each record, directly from the grid of the “WorkWith”, in order to minimize browsing options in the browser.

But we have continued with the maintenance of grid’s records in the transaction’s Form. This could be necessary in complex Transactions, but is not in line with the standard of the new platform, and it proves scarcely efficient in cases of ABM with many simultaneous records.


A new behavior for the WorkWith Pattern

The issue was mentioned to us at the last GeneXus Meeting, and finally, an important new customer undertook the responsibility and made the request. The development was to propose a new change to the behavior of the traditional WorkWith pattern, for solving the issue.

It was a matter of searching for the way in which the records ABM could be done directly from the grid, without the need to go to the transaction’s Form. For this, it was necessary to work on the Business Component concept and update it in a batch process.

But soon came the things that needed to be solved, for changing the Grid itself to Edition mode implied having to consider treating certain particular attributes:

• Key
• Auto-numbered key
• Formula
• Inferred
• Redundant

It was also necessary to implement the sample of errors in entering data, the support of Edition Controls in the Grid, and for the case of Dynamic Controls, there was also the need to consider preloading of values, depending on other elements in the grid, etc.

The results attained encouraged us so much as to believe we have revealed a new contribution to the very core of the Pattern of Patterns. We hope that, after watching the video with the demo by its creator, the Engineer Juan Marcelo Bustamante, the whole GeneXus Community will fully agree with us.


Transaction as Business Component for Data Grid Capture from PuntoExe Consultores on Vimeo.

Related
Video: Patterns fully integrated into GeneXus
How to: Transform the pattern templates into dll and make them available to the client
How to: My first pattern
Heurys Pattern: productivity and usability for your GeneXus applications
CP 2.0: WorkWith Pattern with security
CP 2.0: Automatic Pattern Generator
Special Edition #GeneXusTheBestOf2014 :: Cloud Computing, the Internet of Things, GeneXus X Evolution 3, Success Stories, Smart Devices and ... Much More!
Release of U2 of GeneXus Evolution 3
Chopo Mobile introduces successful app in Mexico, developed with GeneXus and used for medical studies
GeneXus™ ERP Explorer and Connector for SAP® ERP Now Live on SAP Store
We have a new Download Center! The GeneXus download center has an enhanced appearance at its new location
Demand for Apple TV apps expected to double in 2016
What we've learned about GeneXus by working with Gartner (by Gabriel Simonet)
Agile or Waterfall development? (by Breogán Gonda)
We are pleased to share an interesting white paper about GeneXus, written by Kapil Ambwani from India!