Hi Matthias,

Matthias Kahlau wrote:
> Hi!
> 
> 
> I have a strange problem using inputText in each row of dataTable.
> 
> The inputText has a component-binding to a session-scoped Backing-Bean.
> 
> I use an immediate commandButton to delete some selected rows.
> 
> When the JSF page is redisplayed after deleting the last row with an empty
> inputText, all inputText in the table are rendered empty, although model
> values of these rows have been set before submitting the page to delete some
> rows.
> 
> This happens both with the delete action-method having a "null" return value
> and a "non-null" return value pointing to the same page.
> 
> I expected the inputText to render the component values if a "null" return
> value is used, if the component values are "non-null", what is the case.
> 
> And I expected the inputText to render the model values if a "non-null"
> return value is used (because a new view had been created) - and the model
> values are "non-null".
> (But is it possible in this case, that the inputText component value is
> rendered because of using component-binding, although a new View is
> created?)

You have a component binding on a component inside a dataTable? I don't
know if this could be the reason for your problem, but i can't see any
reason to have this. Did you access this component in your code?

Can you test without this binding?

Regards,
  Volker

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to