Modify

Opened 10 years ago

Closed 9 years ago

#4192 closed enhancement (fixed)

xml statement for check preset

Reported by: EtienneChove Owned by: EtienneChove
Priority: normal Milestone:
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 10 years ago by stoecker

Owner: changed from ce to EtienneChove
Status: newneedinfo

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

comment:2 Changed 10 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 9 years ago by stoecker

Resolution: fixed
Status: needinfoclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain EtienneChove.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.