Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9201

Fix include of layout tags sub tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Layouts & Widgets

      Description

      Layout widget tag handlers API makes it possible to take sub facelet handlers into account, but they're not correctly propagated during the layout/widget construction.

      This is useful to be able to add custom behaviour to widgets (ajax behaviour for instance) from the layout template or other templates like for instance:

      <nxl:widget widget="#{widget}" value="#{value}">
        <a4j:support [...] />
      </nxl:widget>
      

      or

      <nxl:widgetType name="template"
        template="/widgets/summary/action_link_widget_template.xhtml"
        mode="view" value="#{action}" field="">
        <ui:define name="inside_action">
          yo
        </ui:define>
      </nxl:widgetType>
      

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: