viernes, 14 de mayo de 2010

Instalacion de la libreria gxui

gxui Library Installation


Requirements:

  • ExtJS Library 2.1 or higher (Extjs 3.x is not supported yet)
  • GeneXus X Evolution 1

Steps:

  1. Download ExtJS 2.3 (older 2.x version will also work)
  2. Create a folder named Shared under %GX_PROGRAM_DIR%\UserControls\
  3. Extract ExtJS 2.1 in %GX_PROGRAM_DIR%\UserControls\Shared\. Please notice that the name of the folder inside the zip file is ext-2.1. After extracting the files, rename it to ext. To ensure that you correctly extracted the files, check that you have the following folder contents:
    • %GX_PROGRAM_DIR%\UserControls\Shared\ext\ext-all.js
    • %GX_PROGRAM_DIR%\UserControls\Shared\ext\adapter
    • %GX_PROGRAM_DIR%\UserControls\Shared\ext\resources
    • and some other files and folders...
  4. Install it directly from the Start Page or download gxui Library from here and extract it to %GX_PROGRAM_DIR%\UserControls\. To ensure that you correctly extracted the files, check that you have the following folder contents.
    %GX_PROGRAM_DIR%\UserControls\gxui\Grid
    %GX_PROGRAM_DIR%\UserControls\gxui\Layout
    and some other files and folders...
  5. Execute %GX_PROGRAM_DIR%\genexus.exe /install
  6. Execute %GX_PROGRAM_DIR%\genexus.exe as usual.

FAQ:

  • If you get the following error when starting GeneXus, please be sure that you followed from Step 1 to Step 3 of the above mentioned installation steps.

Image:gxuiInstallationError

  • Error: Invalid Render when dropping a control (eg: gxui.TabPanel) to the form.
    GeneXus X Users
    Exit GeneXus.
    Please replace the existing UserControlRenders.dll located in %GX_PROGRAM_DIR%\UserControls\gxui\ by the one included in %GX_PROGRAM_DIR%\UserControls\gxui\UserControlRendersGXX.zip.
    Start GX as usual.

    GeneXus X Evolution 1 Users
    The default dll included in gxui works for GX X Evolution 1.

There are some minor known issues you should check before starting to use the controls.

Fuente

jueves, 13 de mayo de 2010

Cambiar fecha en Centos 5.3, Maquina y BIOS

Tomado de: http://www.linux-party.com/modules.php?file=article&name=News&sid=1732

Para cambiar la hora del sistema usaremos el comando date, pero hemos de tener en cuenta que al reinicializar el ordenador, éste cogerá la hora de la BIOS y nos volverá a colocar la hora anterior, para evitar esto cambiaremos también la hora de la BIOS con el comando hwclock como se detalla a continuación:

Para no tener problemas, os recomiendo borrar primero el fichero /etc/adjtime, no pasa nada por borrarlo, pues se crea autmáticamente y solo sirve para la configuración de la zona horaria, puede tener un aspecto como este:
------
[root@localhost ~]# cat /etc/adjtime
0.041498 1177502852 0.000000
1177502852
LOCAL
[root@localhost ~]#
-----

Supongamos queremos poner: 03-Abril-2020 y la hora 13:27.

Realizaremos el cambio para actualizar la fecha en la BIOS.
# hwclock --set --date="2020-04-03 13:27"

Para comprobarlo tecleamos:
# hwclock

Cambiamos la fecha del SO
# date --set "2020-04-03 13:27"
Para comprobarlo tecleamos:
# date
Vie abr 3 13:27:06 -05 2020