Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      49
    • Status Whiteboard:
      Hide

      EGTop5 effort_hard cat2 jsdoc size_medium importance_small draft

      Show
      EGTop5 effort_hard cat2 jsdoc size_medium importance_small draft

      Description

      EB> R1 something you can stick in your page, that will evaluate to the full,
      EB> absolute, clientId of the named thing when the page is rendered. Like
      EB> this:

      AVK> <h:button id="button1"
      AVK> onclick="button_setEnabled(button2,
      AVK> false);button_clicked(button1);return"
      AVK> ... />
      AVK> <h:button id="button2" ... " />

      AVK> then I want the result of the first one to be

      AVK> <input type="submit" id="myform:button1"
      AVK> onclick="button_setEnabled('myform:button2', false);
      AVK> button_clicked('myform:button1'); return;"
      AVK> ... />

      EB> R2 This thing can be presenent in an attribute value, or as template
      EB> text.

      AVK> Definitely needed in an attribute value, for the method invocation. I
      AVK> don't know whether it is necessary in tempate text. I have a feeling
      AVK> some JavaScript interpreters barf if you mention the id before the
      AVK> element is present.

      EB> R3 This thing must only work within the scope of a naming
      EB> container. In other words, I can't use this mechanism to refer
      EB> to something in form B if I'm inside Form A.

      EB> R4 This thing must work in a multi-include page scenario

      EB> R5 This thing must work in a portlet scenario

        Activity

        Hide
        Ed Burns added a comment -

        push to 2.0

        Show
        Ed Burns added a comment - push to 2.0
        Hide
        Ed Burns added a comment -

        EGTop5

        Show
        Ed Burns added a comment - EGTop5
        Hide
        Ed Burns added a comment -

        effort_hard

        Show
        Ed Burns added a comment - effort_hard
        Hide
        Ed Burns added a comment -
            • Issue 293 has been marked as a duplicate of this issue. ***
        Show
        Ed Burns added a comment - Issue 293 has been marked as a duplicate of this issue. ***
        Hide
        Ed Burns added a comment -

        Change summary

        Show
        Ed Burns added a comment - Change summary
        Hide
        Ed Burns added a comment -

        Given the #

        {component}

        and #

        {compositeComponent}

        implicit objects, and the ability to use them on the
        server side, in XHTML, and in resources, having the ability to say #

        {component.clientId}

        would be nice. To
        do this, we need to add to UIComponent, String getClientId(). This just does
        FacesContext.getCurrentInstance() and calls the other getClientId().

        Show
        Ed Burns added a comment - Given the # {component} and # {compositeComponent} implicit objects, and the ability to use them on the server side, in XHTML, and in resources, having the ability to say # {component.clientId} would be nice. To do this, we need to add to UIComponent, String getClientId(). This just does FacesContext.getCurrentInstance() and calls the other getClientId().
        Hide
        Ed Burns added a comment -

        Created an attachment (id=163)
        Fix for this bug, first iteration.

        Show
        Ed Burns added a comment - Created an attachment (id=163) Fix for this bug, first iteration.
        Hide
        Ed Burns added a comment -

        Push out to 2.1

        Show
        Ed Burns added a comment - Push out to 2.1
        Hide
        Ed Burns added a comment -

        Prepare to delete "spec" subcomponent.

        Show
        Ed Burns added a comment - Prepare to delete "spec" subcomponent.
        Hide
        Ed Burns added a comment -

        Move these to unscheduled because we need to target them correctly. 2.next isn't
        specific enough.

        Show
        Ed Burns added a comment - Move these to unscheduled because we need to target them correctly. 2.next isn't specific enough.
        Hide
        rogerk added a comment -

        cat2

        Show
        rogerk added a comment - cat2
        Hide
        Ed Burns added a comment -

        jsdoc

        Show
        Ed Burns added a comment - jsdoc
        Hide
        Ed Burns added a comment -

        no sig change

        Show
        Ed Burns added a comment - no sig change
        Hide
        Ed Burns added a comment -

        These are targeted at 2.1.

        Show
        Ed Burns added a comment - These are targeted at 2.1.
        Hide
        Ed Burns added a comment -

        triage

        Show
        Ed Burns added a comment - triage
        Hide
        rogerk added a comment -

        target

        Show
        rogerk added a comment - target
        Hide
        Ed Burns added a comment -

        Remove from consideration for 2.2

        Show
        Ed Burns added a comment - Remove from consideration for 2.2
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Hide
        Manfred Riem added a comment -

        Setting to Critical, verify if it is already done or not.

        Show
        Manfred Riem added a comment - Setting to Critical, verify if it is already done or not.

          People

          • Assignee:
            cagatay_civici
            Reporter:
            Ed Burns
          • Votes:
            9 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: