Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2538

Updating schema version to tapestry_5_4.xsd breaks formfragments

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      If I change tapestry_5_3.xsd to tapestry_5_4.xsd in following code excerpt:

      <div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
                  <t:radiogroup value="islegal">
                      <div class="radio inline-radio">
                          <input t:type="radio" type="radio" t:id="individual" name="investor-type" value="0"
                                 t:mixins="TriggerFragment" fragment="residentFragment" />
                          <t:label for="individual">Физическое лицо/ИП</t:label>
                      </div>
                      <div class="radio inline-radio">
                          <input t:type="radio" type="radio" t:id="legal_entity" name="investor-type" value="1"/>
                          <t:label for="legal_entity">Юридическое лицо</t:label>
                      </div>
                  </t:radiogroup>
      
          <div t:type="formfragment" t:id="residentFragment" visible="showResidentSelector">
      ...
      

      then following exception occurs:

      Parameter(s) 'TriggerFragment.fragment' are required for org.apache.tapestry5.corelib.components.Radio, but have not been bound.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mihasik Michael Mikhulya
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: