ICEfaces
  1. ICEfaces
  2. ICE-9681

Modify DOMResponseWriter to render passthrough attribute

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P1

      Description

      Component passthrough attributes seem to be response's writer responsibility (at least that is true in Mojarra). We need to implement this new feature in our DOMResponseWriter to match the writer's behaviour.

        Issue Links

          Activity

          Mircea Toma created issue -
          Mircea Toma made changes -
          Field Original Value New Value
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Fix Version/s 4.0 [ 10770 ]
          Mircea Toma made changes -
          Affects Version/s 4.0 [ 10770 ]
          Hide
          Mircea Toma added a comment -

          Read passthrough attributes from the component, if available, and render them just before the DOMResponseWriter.endElement method returns.

          Show
          Mircea Toma added a comment - Read passthrough attributes from the component, if available, and render them just before the DOMResponseWriter.endElement method returns.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #38774 Tue Nov 12 12:56:51 MST 2013 mircea.toma ICE-9681 Read passthrough attributes from the component, if available, and render them just before the DOMResponseWriter.endElement method returns.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java
          Ken Fyten made changes -
          Link This issue blocks ICE-9436 [ ICE-9436 ]
          Hide
          Ken Fyten added a comment -

          This commit has broken the icefaces4/trunk build:

          compile:
          [javac] Compiling 188 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/build/classes
          [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java:275: cannot find symbol
          [javac] symbol : method getPassThroughAttributes(boolean)
          [javac] location: class javax.faces.component.UIComponent
          [javac] Map<String, Object> passthroughAttributes = component.getPassThroughAttributes(false);
          [javac] ^
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 1 error

          BUILD FAILED

          Show
          Ken Fyten added a comment - This commit has broken the icefaces4/trunk build: compile: [javac] Compiling 188 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/build/classes [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java:275: cannot find symbol [javac] symbol : method getPassThroughAttributes(boolean) [javac] location: class javax.faces.component.UIComponent [javac] Map<String, Object> passthroughAttributes = component.getPassThroughAttributes(false); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ken Fyten made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          Assignee Priority P1 [ 10010 ]
          Component/s Framework [ 10013 ]
          Hide
          Mircea Toma added a comment -

          Use reflection to invoke UIComponent.getPassThroughAttributes method since this is present only in JSF 2.2.

          Show
          Mircea Toma added a comment - Use reflection to invoke UIComponent.getPassThroughAttributes method since this is present only in JSF 2.2.
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #38784 Wed Nov 13 15:31:57 MST 2013 mircea.toma ICE-9681 Use reflection to invoke UIComponent.getPassThroughAttributes method since this is present only in JSF 2.2.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 11382 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Mircea Toma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: