webtier@glassfish.java.net

Re: [webtier] can't update h:dataTable with List<String> as value

From: <webtier_at_javadesktop.org>
Date: Wed, 04 Mar 2009 07:00:52 PST

Joel and Lincoln, thanks for your input.

It's good to know that the problem can be explained because of String's immutability but I agree with Lincoln that this seems like a shortcoming with JSF or Mojarra. I have another case in the same application where I want to modify a list of Long's but I will have to implement the same wrapper logic there as well.

Also, does anyone know where this type of detail would be documented? Could I figure it out by looking at the source code for dataTable?

Thanks again,

-Chris
[Message sent by forum member 'chrisouellette' (chrisouellette)]

http://forums.java.net/jive/thread.jspa?messageID=335072