Two different attributes with the same list, posted by deletoille on Wed Jan 17 09:20:17 2007
|
In this picture of my project, All the attributes included in the red circle are the same except the names of the attribute “Equipement Incriminé” and “Equipement impacté”.
“Equipement Incriminé” and “Equipement impacté” have the same list.
The displayed list for the both attributes is the multiple conditions result coming from the choice of “groupe incriminé or impacté, sous ensemble, selection, and localisation”.
So if I have to program the list twice, it will be twice bigger.
Do I need to program the same list twice for the two attributes or is there a simple command to say that the two precedent attributes are equal?
Thanks in advance
Xavier Deletoille |
Re: Two different attributes with the same list, posted by deletoille on Wed Jan 17 13:27:46 2007
|
Stefan Ritt wrote: |
deletoille wrote: | In this picture of my project, All the attributes included in the red circle are the same except the names of the attribute “Equipement Incriminé” and “Equipement impacté”.
“Equipement Incriminé” and “Equipement impacté” have the same list.
The displayed list for the both attributes is the multiple conditions result coming from the choice of “groupe incriminé or impacté, sous ensemble, selection, and localisation”.
So if I have to program the list twice, it will be twice bigger.
Do I need to program the same list twice for the two attributes or is there a simple command to say that the two precedent attributes are equal?
|
I don't understand your problem. The picture you attached, was this some ELOG output (it looks very different than the usual one...)? Do mean you have two attributes with the same "Options <attribute> = ...,..,.." list? With "multiple conditions" you mean that you do a search in ELOG with a condition one one attribute, but in the filter list both attributes having the same option list are shown. Is this correct? What section of the configuration file are you talking about?
Best regards
Stefan |
I'm soory, i'm very poor in english.
Here is a very small part of my program:
{AE&Anneau&Panne} Moptions Défaut = Flowmeter or Door meter, Communication, Earth, IAC, Driver, Temp. Ambiant, Phase, Cooling Water, Overvoltage, OverCurrent, Sample Card, Ripple, EEPROM, Autres
{AE&Anneau&Gr} Moptions Equipement incriminé = Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, QT, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, Alim correcteurs H., Alim correcteurs V., alim. Dipole, Alim Q., Alim S.
{AE&Anneau&Se&C01} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C02} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.2-CH, S8.2-QT, S9.1-CV, S9.2-CV, S10.1-CH, S10.1-QT, S10.2-CH, COR.
{AE&Anneau&Se&C03} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.1-QT, S8.2-CH, S9.1-CV, S9.2-CV, S10.1-CH, S10.2-CH, S10.2-QT, COR.
{AE&Anneau&Se&C04} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C05} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C06} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.2-CH, S8.2-QT, S9.1-CV, S9.2-CV, S10.1-CH, S10.1-QT, S10.2-CH, COR.
{AE&Anneau&Se&C07} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.1-QT ,S8.2-CH, S9.1-CV, S9.2-CV, S10.1-CH, S10.2-CH, S10.2-QT, COR.
{AE&Anneau&Se&C08} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C09} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C10} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.2-CH ,S8.2-QT, S9.1-CV, S9.2-CV, S10.1-CH, S10.1-QT, S10.2-CH, COR.
{AE&Anneau&Se&C11} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.1-QT, S8.2-CH, S9.1-CV, S9.2-CV, S10.1-CH, S10.2-CH, S10.2-QT, COR.
{AE&Anneau&Se&C12} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C13} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
{AE&Anneau&Se&C14} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.2-CH, S8.2-QT, S9.1-CV, S9.2-CV, S10.1-CH, S10.1-QT, S10.2-CH, COR.
{AE&Anneau&Se&C15} Moptions Equipement incriminé = QA, Q6.1, Q7.1, Q8.1, Q9.1, Q10.1, QB, Q6.2, Q7.2, Q8.2, Q9.2, Q10.2, S7.1-CV, S7.2-CV, S8.1-CH, S8.1-QT, S8.2-CH, S9.1-CV, S9.2-CV, S10.1-CH, S10.2-CH, S10.2-QT, COR.
{AE&Anneau&Se&C16} Moptions Equipement incriminé = QA, Q1, Q2, Q3, Q4.1, Q5.1, QB, Q4.2, Q5.2, Q6, Q7, Q8, S1-CH, S1-QT, S2-CV, S4-CH, S4-CV, S4-QT, S5-CV, S6-CH, COR.
Do I have to program the list for "Equipement Impacté" or is there a simple command to say that "Equipement incrimé" and "equipement inpacté" have the same list?
Thanks in advance
Xavier Deletoille |
submit modified elog entry, posted by deletoille on Wed Mar 14 11:31:35 2007
|
hello, I have small a bug,
when I create an entry. Per moment the program requires of me: "Submit modified Elog entry"
if I answer yes, Eog create 2 entry identical.
If I answer not it create only one.
I don't wait that elog asks me a confirmation
Any Ideas,
Thanks in advance |
sort attributs, posted by deletoille on Wed Mar 14 11:55:54 2007
|
hello,
For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way?
Thank you very much
Xavier Deletoille |
Re: sort attributs, posted by deletoille on Wed Mar 21 16:51:14 2007 
|
Stefan Ritt wrote: |
deletoille wrote: |
For 1 event, I need the date and the hour of this one. An event can be enter in elog several days after this one. The problem is that I do not manage to carry out one sorts on these two attibuts. I tested the order “? rsort” but this one works only on one entry not out of 2 at the same time (? rsort=Heure+evenement, Date+evenement&mode=threaded)
have an easy way? |
Yepp. Since you can only sort on a single attribute, you combine time and date into one. This can be done like following:
Attributes = Icone, Type def fiche, ..., Evenement
Type Evenement = datetime
Now you can not only sort on Evenement, but you get also a date picker for that attribute in the entry form. To format the way Evenement is displayed, use the Time format option. |
thanks, It works but the order "?sort" seems to works only in summary view (attachment 1) and not in threaded (attachement 2) view.
Any idea? |
Re: checkbox, posted by deletoille on Mon May 28 04:53:48 2007
|
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 |
Re: Post appearing twice, posted by deletoille on Tue Jun 12 11:07:39 2007
|
Stefan Ritt wrote: |
Alan Grant wrote: | I was having a very similar problem. After clicking Submit, I was getting dialog box "Submit modified Elog entry?" (with Submit or Cancel options) even though it was a new entry. Whenever I clicked Submit, it added two identical lines (except for ID), but when I clicked Cancel, it added only one entry. This happened in both v2.6.3 and v2.6.5. |
Can you try to reproduce your problem with a minimal configuration file and send it to me? |
I had the same problem but by adding the "Use lock = 0" option to the configuration, confirmation disappear |
Show attributes , posted by deletoille on Wed Jul 4 11:51:22 2007
|
with the last version, Show attributes commands seem to not working any more. could you chech this?
thanks in advance
Xavier Deletoille |
|