I have a property

>    Property InOrEx As %String(VALUELIST = " In Ex");

that I want to place on a page that uses CSP binding. I can do that in three
ways.

_First_

> <input type="text" name="InOrEx " cspbind="InOrEx "/>

But now the user has to know that there has to be In or Ex in the textfield.
Just giving the options would be better:

_Second_

>    <input type="radio" name="InOrEx " cspbind="InOrEx" value="In"/>In<br/>
>    <input type="radio" name="InOrEx " cspbind="InOrEx" value="Ex"/>Ex

But not the csp-binding does not work. When I load the page with a certain
object, the radio boxes are empty, even though the object has a
InOrEx-value.

_Third_

>      <select name="InOrEx "
>              cspbind="InOrEx "
>          <option value="In">In</option>
>          <option value="In">Ex</option>
>      </select>

But this does not work either, for the same reson.

Does anyone know how to do this?

Joost Verhoog



Reply via email to