Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon13.gif   checkbox, posted by deletoille on Tue Oct 31 14:45:05 2006 checkbox1.JPGcheckbox2.JPG
    icon2.gif   Re: checkbox, posted by Steve Jones on Tue Oct 31 22:10:11 2006 
       icon2.gif   Re: checkbox, posted by deletoille on Thu Nov 2 08:41:34 2006 
          icon2.gif   Re: checkbox, posted by Stefan Ritt on Wed Nov 8 07:59:01 2006 
             icon2.gif   Re: checkbox, posted by deletoille on Wed Nov 8 15:39:42 2006 Elog_08_11_06.doc
                icon13.gif   Re: checkbox, posted by deletoille on Mon May 28 04:53:48 2007 
                   icon14.gif   Re: checkbox, posted by Stefan Ritt on Wed May 30 22:32:03 2007 
Message ID: 2234     Entry time: Mon May 28 04:53:48 2007     In reply to: 2054     Reply to this: 2235
Icon: Disagree  Author: deletoille  Author Email: xavier.deletoille@synchrotron-soleil.fr 
Category: Bug report  OS: Windows  ELOG Version: 2.6.2-1863 
Subject: Re: checkbox 

deletoille wrote:

Stefan Ritt wrote:

deletoille wrote:
I found a small Bug when I create an entry. I activate a checkbox (attachement1) but when I upload a file, the activation disappears (attachement 2). I have to activate again the checkbox.
Is it something I can do?


I tried with V2.6.2-1741 and the problem was not there. It was fixed some time ago, so it should have worked in 1723 as well. Can you try the minimal example coming with the distribution, just by adding one MOptions attribute, like:
[global]
port = 8080

[demo]
Attributes = Author, Type
MOptions Type = Routine, Software Installation, Problem Fixed, Configuration, Other

and see if it work there? If it works correctly there but not with your config file, please send me your config file and I will try to reproduce the problem.



You're right it works
It must be in my programming method
I share you my config file.
Thanks for your help




Hello,
I wrote a small program for another group and I have always the same problem of activation box who disappears when I upload a file. On the other hand, I noticed that the problem is only for the conditional attribute and not for the other. Here included the small program. an idea?

Thanks in advance
Xavier Deletoille

[global]
port = 8080
[GMI]
Start page = ?rsort=date
Quick filter = Type evenement
Time Format = %d %m %Y, %H:%M
Quote on reply = 0
Use Lock = 0
List display = id, Icone, date, Equipement, Type evenement, Localisation, auteur
Menu commands = List, New, Edit, Reply, Find, Config
Comment = Cahier de Manip du groupe GMI
********************************************************************************************************************
attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement
Required attributes = auteur, Icone, Type Equipement, Localisation, Type evenement
show attributes = auteur, Icone, Type Equipement, Equipement, Localisation, Type evenement

Preset on reply auteur =
Options Type Equipement = Apple II{A}, Sous vide{B}, Electromagnetique{C}, Aimant{D}
{A} MOptions Equipement = HU80, HU65, HU60, HU52, HU50, HU40, HU30
{B} MOptions Equipement = U20, U26, W50
{C} MOptions Equipement = HU640, HU256
{D} MOptions Equipement = Dipole, Quadripole, Sextupole
IOptions Icone = oui.gif, non.gif, cleanglaise1515.png, paper.png
Moptions Localisation = C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, C11, C12, C13, C14, C15, C16, Booster
Options Auteur = xxxxxx,xxxxxxxy,xxxxxft
Options Type evenement = Alimentation, Bobines, Moteur, TLCC, CPCI, Communication, Autres
ELOG V3.1.5-fe60aaf