You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/09/10 16:24:05 UTC
svn commit: r1382873 - /pivot/trunk/tutorials/www/lists.xml
Author: smartini
Date: Mon Sep 10 14:24:05 2012
New Revision: 1382873
URL: http://svn.apache.org/viewvc?rev=1382873&view=rev
Log:
merge fixes from 2.0.x
Modified:
pivot/trunk/tutorials/www/lists.xml
Modified: pivot/trunk/tutorials/www/lists.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/lists.xml?rev=1382873&r1=1382872&r2=1382873&view=diff
==============================================================================
--- pivot/trunk/tutorials/www/lists.xml (original)
+++ pivot/trunk/tutorials/www/lists.xml Mon Sep 10 14:24:05 2012
@@ -262,5 +262,16 @@ limitations under the License.
<p>
The Java code for the example is the same seen in the previous sample.
</p>
+
+<br/>
+<br/>
+
+ <p>
+ In case your <tt>ListView</tt> contains a bean instance, for example a <tt>Contact</tt> for any element,
+ the default renderer uses (as last option) the toString method on list elements,
+ so override it to return whatever you want to display in the ListView,
+ or implement your own custom renderer.
+ </p>
+
</body>
</document>