Project

Contents

Issue #00005414

Unable to use pipe symbol in input options
Feature/Improvement

in <tml:input options="..."> we use the pipe symbol to separate the text presentation of an option from the option value.

Sample:

<tml:input type="select" options="text1|value1,text2|value2"/>

OpenWGA will search for the first pipe to separate text and value. This however makes it impossible to use a pipe in the text itself.

Sample:

<tml:input type="select" options="C|Cabel|4711"/>

This will present "C" to the user and the option value will be "Cabel|4711".

We now changed this. OpenWGA now will search the last occurrence of a pipe symbol instead of the first one.

We know that this is a behaviour change and in theory can brake existing code. However we think the new behaviour is more practical then the old one.