thanks for the idea!
Error selecting object doesn´t appear anymore, but now it´s turn for this one:
value is required (javax.faces.component.UIInput.REQUIRED)
This is the code I´ve added: (following your sample)
In RstReportHome.java
|
| private Firm specialFirm;
|
| public Firm
The seam documentation says
anonymous wrote : noSelectionLabel ? specifies the (optional) label to place at
the top of list
| (if required=true is also specified then selecting this value will cause a
| validation error)
so try
h:selectOneMenu required=false value=#{rstReportHome.specialFirm}
I believe you are right about the tag having problems. I think it is because
the Automatic object you create has not been persisted and won't have an id.
Here's a suggestion for something you could try:
| h:selectOneMenu value=#{rstReportHome.specialfirm} ...
| s:selectItems ...