Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1915

Nullable value with additional String or XMLizable in JavaSelectionList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.9, 2.1.10, 2.2
    • None
    • Blocks: Forms
    • None
    • Normal
    • Patch available

    Description

      Setting a text for the nullable-Value as String or XMLizable programmaticly by using setNullText(String nullText);

      Also you can set the nullText in the definition of the selectionlist.
      Example:
      <fd:datatype base="long"/>
      <fd:selection-list>
        <fd:null-text>
          <i18n:text>please-select</i18n:text>
        </fd:null-text>
        <fd:item value="1"/>
        <fd:item value="2"/>
        <fd:item value="3">
          <fd:label>three</fd:label>
        </fd:item>
        <fd:item value="4"/>
        <fd:item value="5"/>
      </fd:selection-list>

      Attachments

        1. JavaSelectionList.txt
          5 kB
          Rolf Metternich
        2. JavaSelectionList.txt
          8 kB
          Rolf Metternich

        Activity

          People

            Unassigned Unassigned
            rmetternich Rolf Metternich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: