Component Resources

The Resources component is represented by the icon: and allows you to add stylesheets and javascript files in the header of the default output of the process.

To modify the behavior of a component Resources, double click on the component name located in the central workspace, it opens a popup window called "Component Configuration Window". The following figure shows the window for the component:




The first field of the window shown in the figure above is a field called "Name Component", in this you can enter a name for the component. The second field allows you to choose a javascript or css to be added to the process. Once you choose an option you must enter the url of the file you are trying to add, then click test to verify that the path is correct.


Note: Files admitted Resources component is stored in the variables $ this->CI->executemodel->cssSheets and $this->CI->executemodel->jsLibs respectively, before being inserted into the default output of the process execution. If you change the variable $this->CI->executemodel->html_output to FALSE, the contents of the variables $this->CI->executemodel->cssSheets and $this->CI->executemodel->jsLibs, will if be used so you should be aware of this situation.

At the bottom of the window are three buttons appear: Save, Apply, Cancel. The Save button: Saves the changes made to the component and close the window. The Apply button: Saves the changes made to the component without closing the window. The Cancel button: Closes the window without saving changes to the component.

No hay comentarios:

Publicar un comentario