[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-11220) Drag Source - Composite Component and Mojarra 2.1

Thomas Amrhein (JIRA) jira-events at lists.jboss.org
Thu Sep 22 06:59:26 EDT 2011


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

Thomas Amrhein edited comment on RF-11220 at 9/22/11 6:58 AM:
--------------------------------------------------------------

I had the same error in my code.
If i defined a composite component with a required attribute than the error message occured as described by Jan even if the calling page has the attribute set.
I solved it for me to change the attribute to required="false".
This works for my individual component but will not be suitable for a RichFaces release.

I think that this is a Mojarra 2.1.3 issue.

For my problem there is: http://java.net/jira/browse/JAVASERVERFACES-1920
but it has been fixed. Maybe it should be reopened.
Unfortunately I cannot reproduce it in a simple example. Only in our complex project with many dependencies the error occurs.

So having the metamer is good for this.

      was (Author: tommy.a):
    I had the same error in my code.
If i defined a composite component with a required attribute than the error message occured as described by Jan even if the calling page has the attribute set.
I solved it for me to change the attribute to required="false".
This works for my individual component but will not be suitable for a RichFaces release.

I think that this is a Mojarra 2.1.3 issue.
There is: http://java.net/jira/browse/JAVASERVERFACES-1920
but it has been fixed. Maybe it should be reopened.

Unfortunately I cannot reproduce it in a simple example. Only in our complex project with many dependencies the error occurs. So having the metamer is fine for this.
  
> Drag Source - Composite Component and Mojarra 2.1
> -------------------------------------------------
>
>                 Key: RF-11220
>                 URL: https://issues.jboss.org/browse/RF-11220
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality 
>    Affects Versions: 4.1.0.Milestone1
>         Environment:     * RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
>     * Metamer 4.1.0.20110805-M1 r.22604
>     * Mojarra 2.1.3-FCS
>     * Apache Tomcat 6.0.32
>     * OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
>     * Firefox 3.6.19 @ Linux i686 (x86_64)
>            Reporter: Jan Papousek
>            Assignee: Jay Balunas
>             Fix For: 4.1.0.Tracking
>
>
> Page *faces/components/richDragSource/cc.xhtml* in Metamer displays error _/components/richDragSource/cc.xhtml @57,89 <metamer:dragSource> The following attribute(s) are required, but no values have been supplied for them: id_. However the attribute *id* is defined.

--
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