From richfaces-svn-commits at lists.jboss.org Wed Apr 30 06:27:47 2008 Content-Type: multipart/mixed; boundary="===============2368041256944419499==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r8357 - trunk/docs/faq/en/src/main/docbook/module. Date: Wed, 30 Apr 2008 06:27:47 -0400 Message-ID: --===============2368041256944419499== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: artdaw Date: 2008-04-30 06:27:47 -0400 (Wed, 30 Apr 2008) New Revision: 8357 Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml Log: http://jira.jboss.com/jira/browse/RF-3042 - info about optional object sele= ction was added into FAQ Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 10:08:5= 0 UTC (rev 8356) +++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-30 10:27:4= 7 UTC (rev 8357) @@ -2313,4 +2313,33 @@ ...]]> = +
+ + Optional object selection in <rich:suggestionbox= > + + The <rich:sug= gestionbox> component provides such feature as = + object selection. In order to store selected items= as objects and then get access to them you could use next scenario: + + + + + Add "usin= gSuggestObjects" attribute with "true"= value to = + = <rich:suggestionbox> = + + + + + Use "onob= jectchanged" event attribute = + to store objects currently selecte= d = + + + + + All selected objects are stored un= der suggestion.SelectedItems array. + Each array element contains of text and object properties. + So, you could iterate this array, = get not null objects and then get the property you nee= d. = + + + = +
--===============2368041256944419499==--