[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-11330) a4j:mediaOutput doesn't work in customcomponent for the composite:attribute

Adrian Höhn (JIRA) jira-events at lists.jboss.org
Mon Sep 5 09:05:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626239#comment-12626239 ] 

Adrian Höhn edited comment on RF-11330 at 9/5/11 9:05 AM:
----------------------------------------------------------

It's the same behavior with richfaces-components-4.1.0.20110805-M1

      was (Author: ahoehn):
    It's the same behavior with richfaces-components-api-4.1.0.20110805-M1
  
> a4j:mediaOutput doesn't work in customcomponent for the composite:attribute
> ---------------------------------------------------------------------------
>
>                 Key: RF-11330
>                 URL: https://issues.jboss.org/browse/RF-11330
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.Final
>         Environment: JSF 2.1.2 with Richfaces 4.0.0 Final
>            Reporter: Adrian Höhn
>              Labels: customcomponent, mediaOutput
>
> a4j:mediaOutput doesn't work if it's paint method is called with an attribute of a custom component.
> Example:
> First mediaOuput call with attribute is not working. The same with passing a null value works.
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
>     xmlns:a4j="http://richfaces.org/a4j"
>     xmlns:composite="http://java.sun.com/jsf/composite">
>     
>     <composite:interface>
>         <composite:attribute name="value" />
>     </composite:interface>
>     
>     <composite:implementation>       
>         <a4j:mediaOutput element="img" createContent="#{mediaBean.paint}" value="#{cc.attrs.value}" mimeType="image/jpeg" />
>         <a4j:mediaOutput element="img" createContent="#{mediaBean.paint}" value="#{null}" mimeType="image/jpeg" />
>     </composite:implementation>
> </html>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list