Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1322

replaceLableWithId only replace last parts of the id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.1.7-SNAPSHOT, 1.1.7, 1.1.8-SNAPSHOT
    • None
    • Message(s)
    • None
    • myfaces-api-1.2.4

    Description

      We use outpuLable tags and t:messages replaceLabelWithId=true in many projekts on many sites.
      But now that we want to switch to Myfaces 1.2.x it dosn't work anymore.
      the messages are rendered like

      outerid:nextcontainerid:Label: Message

      istead of

      Label: Message

      With the old version of myfaces and tomahawk this was fine.
      So i debuged the tomahawk Renderer and wonderd why this is explicitly done in the Method

      public static String findInputId(FacesContext facesContext, String inputClientId)

      I will provide a patch, which solved the problem for me.

      Attachments

        1. TOMAHAWK-1322.patch
          0.8 kB
          Keywan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              keywan Keywan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified