Custom Tag: cf_box


Purpose of usage

cf-box allows pages to be divided into widgets, so that they are more effective and more understandable. It also allows objects to be loaded into the page asynchronously when requested. cf_box thus performs both a view and a load function.


Parameter

Attributes
Clarification
Data
Required

hide_table_column

It enables to use hide/show feature in columns on listing pages. If a value of 1 is given, the feature is used. Its default value is 0.

Boolean

H

uidrop

It is used to print out the listing pages and to create pdf and excel. If the value is 1, the feature is used. Its default value is 0.
Boolean
H

draggable

It enables Box to work with drag and drop logic within the page. If the value is 1, the feature is used. Its default value is 0.
Boolean
H

add_href

It is used to redirect to the insertion page when clicked by bringing the (+) icon to the far right of the title section of the Box.
String
H

list_href

It is used to redirect to the listing page when clicked by bringing the list icon to the far right of the title section of the Box.
String
H

collapsable

It is a parameter that allows the content of Box to be hidden and shown, such as a seperator. Its default value is 1. In cases where this feature will not be used, a value of 0 should be given.
Boolean
H

closable

By bringing a close icon to the header, it enables the box to be closed in undesired situations. The box is displayed again when the page is refreshed. The default value is 0. In cases where the feature is to be used, the parameter should be set to 1.

Boolean
H

box_page

It provides a link to fill the box contents with a fuseaction. When this feature is used, the box can be refreshed independently of the page.
String
H

resize

Enables Box to be used as Maximize/Minimize. The default value is 1. If the feature is not wanted to be used, the parameter is set to 0.
Boolean
H

title

It is used to determine the title. It is mandatory to use the list page except for the filter parts.
String
E

Example Usage


It can fill the cf_box in 4 ways.

  1. If the cf_box is true between the tags, html-cfml code can be written.
  2. Any file or files can be included.
  3. The box itself can be loaded or refreshed by calling the relevant fuseaction-wo using box_page attributes.
  4. It can be populated by adding other custom-tags. E.g; cf_ajax_list, cf_grid_list on listing pages, cf_elements on form pages, cf_box_search and cf_box_search_detail on search blocks, cf_box_footer for registration and update information. Besides, all custom-tags can be used.

Usage Examples



Feedback

Did you find this content helpful?