I have had a similar issue with the commandLink. I filed a bug report.
http://issues.apache.org/jira/browse/MYFACES-213. Maybe we can help
each other figure out what it going on.

Brandon

On 5/3/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>  
> I have a problem using the DataList component. I would like to use input
> components within it, but the model isn't updated at all. I use a List a the
> DataList value. 
> If I use a DataTable instead everything works fine. 
>  
> Is this a bug, or does the DataList component not work with input components
> (I guess it should, because it is a special DataTable) ? 
>  
>  
> here an example - does NOT work: 
>  
> <h:form> 
>          <x:dataList id="foo" var="item" 
>                         value="#{myBean.items}" > 
>                 <h:inputText value="#{item.value}" /> 
>         </x:dataList> 
>             
>     <h:commandButton  action="save" /> 
> </h:form> 
>  
>  
> but this works: 
>  
> <h:form> 
>          <h:dataTable id="foo" var="item" 
>                         value="#{myBean.items}" > 
>                 <h:inputText value="#{item.value}" /> 
>         </h:dataTable> 
>             
>     <h:commandButton  action="save" /> 
> </h:form>

Reply via email to