Modify

Opened 3 years ago

Closed 3 years ago

#4192 closed enhancement (fixed)

xml statement for check preset

Reported by: EtienneChove Owned by: EtienneChove
Priority: normal Component: Internal preset
Version: Keywords: preset, file format
Cc:

Description

The xml check statement looks like :
<check key="oneway"

text="OneWay"
default="off"
delete_if_empty="true" />

It's not possible to specify tag value. We'd like to provide a preset like :
<check key="shop"

text="With kiosk"
value_on="kiosk"
value_off=""
default="off"
delete_if_empty="true" />

This could be usefull for example for services.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by stoecker

  • Owner changed from christeck to EtienneChove
  • Status changed from new to needinfo

Please provide a real life example. Currently I see no use in supporting what you request.

comment:2 Changed 3 years ago by courrier@…

When tagging a fuel station, I want a check to indicate if there is a kiosk associated with fuel station. If it is checked, I want to add shop=kiosk. If it is not checked, I do not want to add anything.

comment:3 Changed 3 years ago by stoecker

  • Resolution set to fixed
  • Status changed from needinfo to closed

(In [3279]) fix #4192 - allow definition of true/false values in presets

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.