Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13959

a4j:mediaOutput doesn't work if createContent is an EL expression

    Details

    • Affects:
      User Experience

      Description

      When using a4j:mediaOutput createContent with an EL expression:

      <c:set var="withVarMapper" value="#{Tester}"/>
      <a4j:mediaOutput
      	element="img"
      	mimeType="image/png"
      	createContent="#{withVarMapper.myCreateContent}"/>
      

      it throws:

      :50:44,009 SEVERE [org.richfaces.log.Resource] (http-/127.0.0.1:8080-2) Input error for deserialize data : java.io.InvalidClassException: Unauthorized deserialization attempt; org.apache.el.lang.VariableMapperImpl
      	at org.richfaces.util.LookAheadObjectInputStream.resolveClass(LookAheadObjectInputStream.java:97) [richfaces-core-impl-4.3.7.Final-redhat-1.jar:4.3.7.Final-redhat-1]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                iweiss Ingo Weiss
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: