Custom Tag: cf_language_info


Purpose of Usage
This custom tag is used to add multiple languages to an input or html elements.

Parameters

Attributes
Explanation
Type
Mandatory
table_name
The name of the table pulled in the Query
String
E
column_name
The attribute desired to be pulled in Select
String
E
column_id_value
The value corresponding to the id in the table
String
E
maxlength
"500" is written as standard.
Int
H
datasource
It is written as specified in the query.
String
E
column_id
It is taken from the where line in the Query.
int
E
control_type
It is determined according to the datasource dsn. If it is 1, the company_id, if it is 2, according to the period_id information.
Int
H


Example Usage

SELECTMAIN_PROCESS_ID,OUR_COMPANY_ID,WORK_CAT,DETAIL,TEMPLATE_ID,RECORD_EMP,RECORD_DATE,UPDATE_EMP,UPDATE_DATE,PROCESS_ID,IS_RD_SSK FROM PRO_WORK_CAT WHERE WORK_CAT_ID = #URL.ID#
        table_name="PRO_WORK_CAT"
        column_name="work_cat"
        column_id_value="#URL.ID#"
        maxlength="500"
        datasource="#dsn#"
        column_id="WORK_CAT_ID"
        control_type="0">

Invocation of the Added Word in the Sql Query

#dsn#.Get_Dynamic_Language(PRO_WORK_CAT.WORK_CAT_ID,'#session.ep.language#','PRO_WORK_CAT','WORK_CAT',NULL,NULL,PRO_WORK_CAT.WORK_CAT) AS work_cat,

Feedback

Did you find this content helpful?