Custom Tag: cf_duxi


Purpose of usageIt enables us to use the code more efficiently by optimizing the form pages.


Things to Consider When Using Duxi :

To create a new cfc file under the cfc folder in the folder where the duxi page is located we will use.

Cfc file extension between '.' To go to the WO detail of our page and write it in the Data Cfc section, provided that there is a sign.

After creating the main function we created in the cfc file, returning it by sending the id in the get function.

We define the main function that we have created in the cfc file on the form page, in the cf_duxi tag, in data.

We can print the value we wrote in the data as our file data_(name of the cfc file).

Different functions that we created in cfc on the form page

The id we give to the cf_box we created in the form file must be unique.

Attributes
Clarification
Type
Required

Onclick_

Used on list pages. We give page orientation to the word we specify as text. The page opens as a popup.

text
E

name

Sets the element name

nvarchar
E

type

We determine the type of the element.

text
E

data_control

If a name is not given for the currency and date, we cannot see it on the screen.

numeric
E

placeholder

The input and text area fields of the forms are the fields where we show descriptive information.

text
E

label

Allows the creation of descriptive labels for form controls.

text
H


threepoint

Binds the input to a modal and opens the screen in draggable box view.

text  
E

data

It prints the value we get from our cfc file to the screen. Unlike Value, we do not use the '#' sign when suppressing the value.

numeric
E

gdpr

We give gdpr authorization with 1,2,3,4,5,6,7,8,9 values. If gdpr authorization is given, the user can access the data, otherwise the data is masked and closed to user access.

numeric
E

asname

We define a new name on our form page for the function we call in our cfc file.

numeric
E

function

We write the path of the functions we will call in our Cfc file and use it on the form page.

numeric
E

option 

It provides listing the data we will select with the Selectbox.

nvarchar 

E

currencyname

When we use data_control, we specify the data name with currencname as name.

nvarchar

E

currencyvalue

In structures where we use data control, we determine the id value with currency value.

numeric
E

value

We do the id part when pulling the data from the function we specified with stretching, or if we want to print more than one data to the input, we can print more than one value to the screen by using value.


numeric
E


Example Usage


cf_box_data Usage :

cf_box_elements Usage:

Duxi Uses by Type:


Using data_control

datetime

money

threepoint Usage:

Onclick_ and gdpr Usage:


Feedback

Did you find this content helpful?