Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2531

Support for name/library attributes with h:commandButton

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0.0-beta-2
    • JSR-314
    • None
    • myfaces core trunk

    Description

      JSF 2.0 specify new name/library attributes for h:graphicImage, h:outputStylesheet and h:outputScript. But current JSF RI implementation supports name/library even on h:commandButton (and maybe others - h:button for example ?). That is very useful feature which allows complex EL like:

      <h:commandButton name="#

      {resourceBean.fileName}

      .#

      {extensions.extension}

      " library="#

      {otherBean.libraryName}

      /foo/bar/#

      {randomLibraryName}

      ".

      Supporting this hidden feature enables easy migration from RI to myfaces too.

      Attachments

        1. MYFACES-2531.patch
          14 kB
          Martin Kočí

        Activity

          People

            lu4242 Leonardo Uribe
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: