This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

InputText in facelets repeat not updated with empty value

 
chu zhang
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a ListDataMode field in my backing bean with facelets repeat . It works fine if user input not empty value. Somehow if user change data field to empty, the input value previous stored in ListDataMode is not updated.

It seems that it does not apply request values if input text is empty. Any ideas or thoughts are very appreciated ?


#########################
PaymentModel
private ListDataModel payees;
#######################

xmlns:ui="http://java.sun.com/jsf/facelets"
...

<ui:repeat id="payee_list" var="payee" value="#{PaymentModel.payees}">
<h:inputText id="pdate" value="#{payee.dateStr}" maxlength="10" ></h:inputText>
<h:inputText id="pamount" value="#{payee.amountStr}" maxlength="8"></h:inputText>
</ui:repeat>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic