MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-735

ForceId does not work in inputCalendar anymore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.7
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      MyFaces 1.1.4, Tomahawk 1.1.3

      Description

      ForceId does not work anymore. The effect is that the cleintId is always written instead of the froced id.

      I guess the offending code is:

      1.) HtmlCalendarRenderer.encodeEnd ....
      RendererUtils.copyHtmlInputTextAttributes(inputCalendar, inputText);

      2.) RenderUtils.copyHtmlInputTextAttributes

      does not copy the foceId property

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.7 [ 12313398 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Werner Punz made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Werner Punz added a comment -

        This issue definitely does not occur in the latest trunk
        I tried it with a form once forceId set then not set
        the id is rendered correctly in both cases!
        I will resolve this issue for now!

        Show
        Werner Punz added a comment - This issue definitely does not occur in the latest trunk I tried it with a form once forceId set then not set the id is rendered correctly in both cases! I will resolve this issue for now!
        Hide
        Simon Kitching added a comment -

        This seems to work for me.

        See the online example here:
        http://www.irian.at/myfacesexamples/calendar.jsf

        In file calendar.jsp:
        The first (non-poup) calendar in that page has no explicit id.
        The second calendar has id=secondOne and forceId=true
        The third calendar has id=thirdOne and does not have forceId set.

        Using "view source" in the browser, I see that:

        First (non-popup) calendar has id of "calendarForm:_idJsp1"
        Second calendar has id of "secondOne".
        Third calendar has id of "calendarForm2:thirdOne"

        This all seems ok...

        Show
        Simon Kitching added a comment - This seems to work for me. See the online example here: http://www.irian.at/myfacesexamples/calendar.jsf In file calendar.jsp: The first (non-poup) calendar in that page has no explicit id. The second calendar has id=secondOne and forceId=true The third calendar has id=thirdOne and does not have forceId set. Using "view source" in the browser, I see that: First (non-popup) calendar has id of "calendarForm:_idJsp1" Second calendar has id of "secondOne". Third calendar has id of "calendarForm2:thirdOne" This all seems ok...
        Rolf Kulemann created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Rolf Kulemann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development