943,095 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 2533
  • JSP RSS
Mar 19th, 2010
0

How to select row from <rich:extendedDataTable/>

Expand Post »
Hi ,

I am developing web application using JSF2.0 richfaces. In this application, i am using <rich:extendedDataTable/> table for loading the data from mysql.

My problem is how to select the perticular row value from this table. My sample code here. but it is not working...

JSP Syntax (Toggle Plain Text)
  1. <rich:extendedDataTable height="220px" width="300px" value="#{AddDocumentBean.perBatchAll}" selection="#{AddDocumentBean.selection}" var="category" selectionMode="single" id="sampleData1" rowKeyVar="rkv" columnClasses="col" >
  2. <rich:column width="300px">
  3. <f:facet name="header"><h:outputText styleClass="headerText" value="Batch Name" /></f:facet>
  4. </rich:column>
  5. </rich:extendedDataTable>



from the above example, I dont know what is selection, binding ....

please give the some sample code for this problem with backend bean..

thanks in advance.
Last edited by peter_budo; Mar 19th, 2010 at 2:46 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
manikandan_dani is offline Offline
17 posts
since Jan 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Need help in design login page in struts
Next Thread in JSP Forum Timeline: Can JSP do "live feed"?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC