Association Selection

The pattern object tree for "Grid Association (CompanyCurrency1)" is expanded showing TableMain, Error viewer, TableHeader with TableActions and TableFilters (Dynamic Filters with StartsWith/Contains operators), a Grid with CurrencyId and CurrencyDescription, and an Action Group with Confirm/Cancel. The right pane previews the "Associated to Company :: Value" grid-selection screen with a search bar and paged Id/Description columns.

Association Selection node has the following properties:

Category Property  
General Properties Caption The Properties panel for "associationSelection: Grid Association (CompanyCurrency1)" shows Description set to "Associated to Company", Page <default>, Is Main False, Master Page <default>, Name CompanyCurrency1, and Generation options with Update Object "Create default", Web User Experience and Base Web Form both set to "Use model property".
Description
Page
Is Main
Master Page
Name
Generation Options Update Object
Web User Experience
Base Web Form
Advanced Security Security Functionality Key

General Properties:

Caption:

Specifies the title that will be set to the Association Selection object's web page. If we want to set certain fixed value to it we must recover the value with the symbol '. For example: if we want to show Currencies as the title of the form, we must set 'Currencies'. If this property is empty, the webpage's title will be taken from Description property of this node.


Description:

Specifies description's node, but it will not assign it to the property Description of the object. 


Page:

Specifies the number of rows per page that its grid will display. This property can be '<default>', '<unlimited>', 'Page.Rows' or directly the number of rows that we want the grid to display. If this property is '<default>' then the value will be taken from WorkWithPlus Configuration > Grid node > property Page. If this property is '<unlimited>' the grid will not have paging (all records will be displayed within a grid page).


Is Main:

Specifies whether the web panel generated (Association Selection) will be set as Main Program.


Master Page:

Specifies the master page that will be assigned to the Association Selection object. If we assign <default> means that this value will be taken from property Selectionof node Master Pages of the WorkWithPlus setting. If we assign <none> means that the Selection will not have Master Page.


Name:

Specifies the name which will identify the Association Node. The value of this property will be concatenated as a sufix in the object's name.

Properties Of Category Generation Options

Update Object:

Specifies the way in which the Association object will be updated after re applying the pattern. The alternatives are:

  • Do not update:
    It won't update any of the association's elements (webForm, Events, Rules) when re applying the pattern. It is like the Association object was no more linked to the pattern, unlike the other objects of the instance.
     
  • Create default:
     Each time we apply the pattern, the form will be created and the Rules and Events updated according to the pattern instance. The user code and the content inside user tables will remain intact after re applying it.
     
  • Only events and rules:
    Each time we apply the pattern, the Rules and Events will be updated according to the pattern instance, but the Association form will not be created from the instance, it will remain as it was before.
     
  • Overwrite:
    Each time we apply the pattern, the Rules, Events and the form will be overwritten. All the content inside user table and the user code will be cleaned.
     

Web User Experience:  

Specifies the the web user experience of the Association Selection object. The options for this property are 'Use model property', 'Smooth' or 'Previous versions compatible'. When the property has the value 'Use model property', it will take its real value from the property 'Web User Experience' of the actual version of the KB:

In the Preferences tree (WikiEjemplos06 node selected), a red arrow points to the Properties panel's User interface section, highlighting Web User Experience set to "Smooth" and Default Web Form Editor set to "Abstract Layout", among other settings like Default Theme WorkWithPlusBootstrapResponsiveTheme and Default Master Page WWPBootstrapResponsiveMasterPage.

Base Web Form:

Specifies whether the base of the Web Form will be HTML or an Abstract Layout. Then, depending on the type of the tables inside the form, the Form may contain some HTML controls or Layout controls. The options of this property are: 'Use model property', 'Abstract layout' or 'HTML'. The value 'Use model property' will take its real value from the property 'Default Web Form Editor' of the actual version of the KB (Image above).

 

Example: Base Web Form 'Abstract Layout' with some HTML controls inside

The Company Web Form abstract layout editor shows a LayoutMainTable with rows for the Company title, ErrorViewer, and action buttons (Confirm, Cancel, Delete). Two red arrows point to an "Html: Html_DVPanel_TableAttributes" row and an "Html: Html_BottomAuxiliarControls" row within the ActionGroup_Actions layout.

Example: Base Web Form 'HTML' with some Layout controls inside

The ExportOptions Web Form abstract layout editor lists a Form section with ErrorViewer, then a "Where to export?" area and a "Google Drive Information" area. Two red arrows point to the "Layout: Layout_TableExport" and "Layout: Layout_TableAttributes" rows respectively.

Properties Of Category Advanced Security:

Security Functionality Key:

Specifies the security functionality key that will be assigned to the Association Selection object, so that user will have access to these object only if has some role assigned which has grant access to it.