Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Índice

Índice
outlinetrue
stylenone
exclude.*ndice

Objective of the Component Center

The Component Center is a functionality in Fluig that allows the customization of components available in the system. You can download the desired component, customize it and send it back to Fluig. The Download option is available only for a few components.

Component Download

In order to customize a component, it is necessary to download it first.

Deck of Cards
effectDuration0.5
iddownload
historyfalse
Card
iddownload-example
labelDownload
  • In order to download the component, select it and click on “Download” on the top action bar.
Image Added

Component Development

After downloading the widget, the developer must perform the following steps before starting to change the widget.

  1. Decompress the .zip file
  2. Import the Maen project through the pom.xml in Eclipse or your favorite IDE
  3. In the application.info file, change the following parameters:
    1. application.code=NOME_DA_SUA_WIDGET
    2. locale.file.base.name=NOME_DA_SUA_WIDGET
    3. Remove the parameter application.extendible=true
    4. Add the parameter application.origincode

...

    1. =NOME_DA_WIDGET_ORIGINAL.

...

    1. Example:

...

    1.  socialtimeline.
  1. Change the name of internationalization files in directory src/main/resources, substituting the name of the current widget with the name of your widget:
    1. *.properties to NOME_DA_WIDGET.properties
    2. *_en_US.properties to NOME_DA_WIDGET_en_US.

...

    1. properties
    2. *_es.

...

    1. properties to NOME_DA_WIDGET_es.

...

    1. properties
    2. *_pt_BR.

...

    1. properties to NOME_DA_WIDGET_pt_BR.

...

    1. properties
  1. Change the context of the Web project in file jboss-web.xml located in directory src/main/webapp/WEB-

...

  1. INF:
    1. <context-root>/NOME_DA_

...

    1. WIDGET</context-root>

...

Ready. The widget is ready to be customized and compiled for the upload to be made.

Add a Component

In order to add a component in Fluig, login as a Fluig or Company Manager.

Follow these steps:

Deck of Cards
effectDuration0.5
idexemplos
historyfalse
Card
defaulttrue
id1
labelStep 1
  • Go to: Control panel/WCM/Component Center.

Image Added

Card
id2
labelStep 2
  • Click on "Choose File" to select the desired Component.

Image Added

Card
id3
labelStep 3
  • After selecting the file, click on "Send".

Image Added

Card
id4
labelStep 4
  • After clicking on "Send", the component will be added to the component list.

Image Added

Enable/Disable a Component

Deck of Cards
effectDuration0.5
idexemplos2
historyfalse
Card
id5
labelEnable
  • Select the component you wish to enable and click on the top action menu “Enable”.

Image Added

Card
id6
labelDisable
  • Select the component you wish to disable and click on the top action menu “Disable”.

Image Added