Hi,

I am using JBDS v2.

The Seam support is great, but there seem to be a reasonable number of flaws in 
the validation. To list a few:

ERROR: Duplicate variable name when using @DataModel and @Factory:

        @DataModel
        public ArrayList bookingsForApproval;

        @Factory("bookingsForApproval")
    public void findBookingsForApproval()
    {
       bookingsForApproval = new ArrayList(forApprovalBookings.getResultList());
    }

WARNING: "0" cannot be resolved in #{featuredFeedback.resultList[0]}

WARNING: components declared in components.xml cannot be resolved. This 
includes entityManager (i.e. @In EntityManager entityManager gives a warning), 
identity and a number of central components, as well as user-specified 
components.

WARNING: pages.xml validation
 #{s:hasRole('blah'} gives 2 warnings, one that s cannot be resolved and 
another that hasRole can't be resolved
All actions such as: #{webpageHome.setId(15)}  give validation warnings - seems 
it doesn't like method expressions.

The project runs fine ignoring these errors, but it's irritating that genuine 
problems can be masked by these.

Any chance of fixes?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225677#4225677

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225677
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to