usage fo rich:scrollableDataTable passing selected row id to request
--------------------------------------------------------------------
Key: RF-1350
URL:
http://jira.jboss.com/jira/browse/RF-1350
Project: RichFaces
Issue Type: Bug
Components: doc
Affects Versions: 3.1.2
Environment: Windows XP
Reporter: rahul k
Priority: Critical
hi i am trying to use a scrollabledatatable provided by richfaces for iterating over the
data list and displaying the result in the tabular format . Then when the user selects any
row it should use ajax control to sent the row id back to managed bean so that i can make
some decision making loop and fetch other data based on that row id from database and show
it on another panel..
I tried to use this code where memberSearchController is my managed bean controller. and
memberNumber is my primary row id...
<rich:scrollableDataTable height="80px" frozenColCount="1"
width="620px" id="memberList"
value="#{memberSearchController.resultList}" var="result"
sortMode="single" rowKeyVar="selectedMember"
rowKey="#{result.memberNumber}">
<a4j:support action="#{memberSearchController.sdtRowSelected}"
event="onRowClick" reRender="searchDataPanel"></a4j:support>
BUT THIS DOES NOT INVOKE MY METHOD . I REQUEST FOR ANY HELP WHCI CAN BE PROVIDED AS THIS
TAG SEEMS TO BE HELPFUL FOR ME BUT SEEMS SOME PROBLEM IN ITS USAGE.. THIS IS FOR AN
IMPORTANT APPLICATION FOR WALT DISNEY WORLD IN FLORIDA
ANY HELP IS APPRECIATED
THANKS
RAHUL KHANDELWAL
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira