Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4216

Inline editing side effect

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Minor
    • None
    • None
    • None

    Description

      As the inline editing open and close a DIV element for each <template:field> tag encountered in a page, it may sometimes broke things in edit mode.

      for instance
      <p class="peopleEmail"><a href='mailto:<template:field name="peopleEmail"/>'><template:field name="peopleEmail"/></a></p>

      broke the A link in edit mode (see screenshot)

      The situation can be easily solved using a bean

      <template:field name="peopleEmail" display="false" valueBeanID="email"/>
      <p class="peopleEmail"><a href='mailto:${email}'><template:field name="peopleEmail"/></a></p>

      but we'll have to explain that in our documentations for integrators, except if we manage to integrate a different inline editing approach for fields that are enclosed in A tags (maybe some other cases gives suh results, that's the first I encounter)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                theklem Clement Egger (Inactive)
                theklem Clement Egger (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases

                      Packages

                        Version Package