Get value of a selected row in a TableView
Hi all.
I'm very new to BSP-Extensions and don't know how to get the values of a selected row in a tableview. I've written a simple bsp with a tableview and a button (both htmlb). I want to get the selected values (as a workarea of tab or cell values) of the tableview at the moment where a user hits the button. I have thought that i could use the method GET_CELL_VALUE but it never works.
Here are my type definitions:
TYPES t_scarr TYPE TABLE OF scarr.
Here are my page attributes:
DATA pa_str_scarr TYPE scarr.
DATA pa_tab_scarr TYPE t_scarr
Here is the layout coding:
<htmlb:content design = "design2003"
controlRendering = "SAP" >
<htmlb:document>
<htmlb:documentHead>
</htmlb:documentHead>
<htmlb:documentBody>
<htmlb:form>
<htmlb:tableView id = "tableview_scarr"
table = "<%= pa_tab_scarr %>"
headerText = "Table SCARR"
headerVisible = "TRUE"
width = "100%"
selectionMode = "SINGLESELECT"
onRowSelection = "select" >
</htmlb:tableView>
<htmlb:button id = "button_go"
text = "Go"
onClick = "button_go" />
</htmlb:form>
</htmlb:documentBody>
</htmlb:document>
</htmlb:content>
Here is the coding of OnInitialization:
SELECT * FROM scarr INTO TABLE pa_tab_scarr.
And this is my OnInputProcessing:
DATA: event TYPE REF TO cl_htmlb_event,
tv TYPE REF TO cl_htmlb_tableview,
table_event TYPE REF TO cl_htmlb_event_tableview,
selected_row_index TYPE selectedrow-index,
cell_value TYPE string.
IF event_id = 'htmlb'.
event = cl_htmlb_manager=>get_event( runtime->server->request ).
CASE event->server_event.
WHEN 'button_go'.
tv ?= cl_htmlb_manager=>get_data( request = request
name = 'tableView'
id = 'tableview_scarr' ).
IF tv IS NOT INITIAL.
table_event = tv->data.
selected_row_index = table_event->selectedrowindex.
cell_value = table_event->get_cell_value(
row_index = selected_row_index
column_index = 1 ).
ENDIF.
ENDCASE.
ENDIF.
What is wrong and what is the best way to get the selected data at this moment?
In your code....
change
<htmlb:button id = "button_go"
text = "Go"
onClick = "button_go" />
to
<htmlb:button id = "button_go"
text = "Go"
onClick = "onInputProcessing" />
Also you are not getting the <b>selectedRowIndextable</b>.That might also be the problem...
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.
Similar Messages
-
How to capture a charateristics value from a selected row in IP
The requirements is to select a line in the summery layout and go to detail layout for further
planning.
In BPS, it's very easy to achieve this, since we can use the variables in the WIB to capture the value of selected line, In IP's query, after click a row, the selected row is highlight, but I am not sure how can we pass the characteristics value of the selected row into a variable. I did the following test by defining a variable for a account number characteristics in the row of a query, and define a dropdown filter with that account variable, after the query is launched in IP, when I click a row in the query, the account number dropdown filter value did not display the corresponding account number I choose. Anybody know how to achieve this?
Thanks in advanceSay your analysis item has 0material as one of the characteristics and say you can bind the material value on the selected line item to variable 'ZMAT' when the user clicks on a button. In the data binding section of the comand you want to perform when button is clicked you will make the fillowing settings:
Variable - ZMAT
Variable Type - 'SELECTION_BINDING
Please give this a try.
Regards -
How do I get the values from a selected row.
I am using JDeveloper 9.0.5. On my page, I have placed a button within a table. The button has been assigned an event. The event is within my Action class. This class implements DataAction and has overriden the
processComponentEvents(DataActionContext actionContext);
method.
Question: While I am within the processComponentEvents method, is it possible to obtain the values of selected row?Good Morning Jeffery,
First off thanks for your clear explanation. I have a few related questions as noted from your response:
There are two ways to communicate the desired model row between the UIX view and the struts controller. One way is to use the singleSelection component in your table and put your buttons in the singleSelection's contents.
When the user selects the radio button for a particular row and then clicks on one the buttons, a built in event handler in UIX will set the current row in the model to be the user selected row. Therefore, your Struts action can operate on the currently selected model row.
When you drop a UIX table from the data control palette it is automatically set up in this way (with a single selection).
Ok, Lets say that i've set everything up as you described. Not lets say that the button was pressed and I hit the overriddenprotected void processComponentEvents(DataActionContext actionContext) throws IOException, ServletException ;
When I look at the request object, I do not see the values. How do I get access to the rowkey at this point?
Some people, however, want to actually render buttons in their table rows, and have those buttons initiate an action on their row. If you are doing this, then you need to pass the row id to your struts action as a parameter, which means that you need to know the row id when you are rendering a button for a given row. There is an EL expression that will return the row-id for the current row, it is:
${uix.current.rowKeyStr}
which is not so obvious or well documented in the preview release (sorry) but should be for the production release.
A generic code snippet would go a long way to shedding some light on that. I guess I am use to using JDeveloper 9.0.3. It seems,"to me", that JDev 9.0.5 has put a completely new twist on things. I find myself wondering when I can use the 9.0.3 syntax and when
should not. If your team has any short source toys around which demonstrated using rowkeys, or accessing the internal parts of the
struts controller, I would find that invaluable. It dose not matter if this information is documented.
Thank you -
How to get the values of last selected row in Table?
Hi,
I have one editable table , where i have Create, Delete and Commit operation on it.
When i am clicking on Create button it add new row to my table.
But I want the value of my last selected row from the table in my Bean.
Can anyone suggest me please....... its urgent
Jdev:- 11.1.1.0.3
Thanks,
Ramitjust get this code empTable is the table binding
RowKeySet rks = new RowKeySetImpl();
CollectionModel model = (CollectionModel)empTable.getValue();
RowKeySet selectedRowKeys = empTable.getSelectedRowKeys();
if (selectedRowKeys != null)
Iterator iter = selectedRowKeys.iterator();
if (iter != null && iter.hasNext())
empTable.setRowKey(iter.next());
model.setRowIndex(empTable.getRowIndex());
Object key = model.getRowKey();
rks.add(key);
empTable.setSelectedRowKeys(rks);
AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
public void setEmpTable(RichTable empTable) {
this.empTable = empTable;
public RichTable getEmpTable() {
return empTable;
} -
How to get column value of a selected row of ALV
Hello ,
I have application POWL POWL_UI_COMP uses another component POWL_TABLE_COMP.
This POWL_TABLE_COMP uses SALV_WD_TABLE.
I want to select value of ORDER id and it need to be passed whenever user selects a display order button(Which is self defined function generated in POWL_TABLE_COMP) . I am calling a display order on action of this display button(http://nap60.nalco.one.net:8042/sap/bc/webdynpro/sap/mt_order_app?IV_ACTIVITYTYPE=A&IV_EQUIPMENT=aaaa&IV_ORDERID=90001511&IV_ORDERTYPE=STD&IV_QMNUM=00&IV_TPLNR=00)
ORDERID is one column value of selected row of ALV table.
So please can you suggest , how to read ORDERID and pass it to the self defined function..
thanks in advance,
SharadaAnoop,
I have plcaed this code in event handler of on_lead_select.
Its giving error the element doesnt exist.
static_attributes should give me row data but it's giving short dump saying
Pl can you suggest.
data: set_of_element type WDR_CONTEXT_ELEMENT_SET,
element1 type ref to IF_WD_CONTEXT_ELEMENT,
result type POWL_CRESULT_STY,
table_helper type ref to CL_POWL_TABLE_HELPER,
context_node type ref to IF_WD_CONTEXT_NODE,
lt_selected_elements TYPE wdr_context_element_set,
static_attributes type ref to data.
table_helper = wd_comp_controller->mr_table_helper.
context_node = table_helper->get_data_node( ).
context_node = wd_comp_controller->mr_table_helper->get_data_node( ).
context_node->get_static_attributes( exporting index = r_param->index
importing static_attributes = static_attributes ).
thanks,
Sharada -
How can I get the values of the selected row in the report?
Hi All:
I have a dynamic query(lexical parameters)that columns are selected at the run time. And depend on the values, I'd like to do another query just for certain row. For example, when I double click on the fifth column of the fifth row. I'd like to collect all the column values of this fifth row. I think It likes drill-down report, but I don't need a detail report. I just want a string of the combination column's values. Would you please help?
Thanks, in advances, for your help.
TDHi:
I got it.
Thx,
TD -
Af:iterator and getting values from a particular row
Hi,
I am using af:iterator to loop through a resultSet in a VO.
<af:iterator binding="#{backingBeanScope.backing_subscribe.i1}"
value="#{bindings.SubscriptionPublicView1.collectionModel}"
var = "row"
id="i1">
For each iteration, I display a row of data from my VO in a panel box.
Each panel box has a command Link.
Usually, from my backing bean, I do something like this to get an attribute off of a view Iterator.
Row currentRow = getIterator("SubscriptionPublicView1Iterator").getCurrentRow();
int sid = (Integer)currentRow.getAttribute("Sid");
However, in this case, I am always getting the 'sid' from the first record in the collectionModel, and not the 'sid' that corresponds to the commandLink that is selected by the user.
What is the best way to do this when using an af:iterator?
Thanks,
JoelHi,
Timo - as usual - is correct. Using an iterator does not guarantee that selecting a row is set as current in the ADF binding. For this you need to use an action listener on the command component you click on. To get the rowKey of the selected row, you can use a setPropertyListener on the command link that writes the row key of the selected item into memory
<af:setPropertyListener from="#{row.key} to="#{viewScope.key}" type="action"/>
This value then can be looked up in the managed bean to set the row as current in the ADF binding
Frank -
I need some syntax help with reading some values from a selected row in an Access form.
My goal: to extract the data from 4 fields in a datasheet row and place them in another form.
My problem: I can only get the field values from the first row of the datasheet.
I have tried using the Form_Click event as the location for the code I've tried. This seems to be the right place, but apparently referring to the desired fields by their names with Me. in front just references the first record in the datasheet, not
the one I've selected.
Should I just read the source form's recordset using the Currentrecord value somehow? I could use some direction on that.
Thank you.
Marj WeirIt's generally considered good forum etiquette to post back a description of the solution which you've reached.
The normal control for a multi-valued field is a combo box rather than a text box, but unless it is necessary for you to use a multi-valued field, i.e. your database is interfacing with SharePoint in the very limited context in which this feature is necessary,
I'd advise that you model the many-to-many relationship type in the time-honoured way by means of a table which resolves the relationship type into two one-to-many relationship types, and use a subform to show the data. You can alternatively use a multi-select
list box or a text box which shows a value list. You'll find examples of all three methods in StudentCourses.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
Ken Sheridan, Stafford, England -
Af:table: copy values of currently selected row to other attribute bindings
Hello,
I'm using JDev 11g.
Copying a value from one attribute value binding to another one is easy when you are clicking a button, with a setActionListener:
<af:setActionListener from="#{bindings.SourceField.inputValue}" to="#{bindings.DestinationField.inputValue}"/>What I want to do is the same behaviour, but instead of clicking a button, the triggering event should be the selection of a row on an af:table. The source field is a column of the currently selected row. The destination is another attribute value binding outside of the table.
Jspx:
<af:table value="#{bindings.EmployeesView1.collectionModel}" var="row">
<af:column ... >
<af:inputText value="#{row.bindings.SourceField.inputValue}" ... />
</af:column>
</af:table>
<af:inputText ... value="#{bindings.DestinationField.inputValue}" />
...Page Def:
<bindings>
<tree IterBinding="EmployeesView1Iterator" id="EmployeesView1">
<nodeDefinition ... >
<AttrNames>
<Item Value="SourceField"/>
</AttrNames>
</nodeDefinition>
</tree>
<attributeValues IterBinding="EmployeesView1Iterator" id="SourceField">
<AttrNames>
<Item Value="SourceField"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="SomeOtherIterator" id="DestinationField">
<AttrNames>
<Item Value="DestinationField"/>
</AttrNames>
</attributeValues>
</bindings>What needs to happen in this simplified case is everytime a row is selected in the table, the value of the SourceField column (that also has an attribute value binding) should be copied to the DestinationField of some other iterator. Analogous to the setActionListener, but without a button. And in the real case, there are more columns of the selected row that need to be copied to more fields.
How can this be done? I already created a custom selectionListener for the table in a backing bean. In this selectionListener, the first thing I do is call the default "#{bindings.EmployeesView1.collectionModel.makeCurrent}". Then I fetch the current row, which is also no problem. So I now have access to the value of SourceField in my selectionListener in the backing bean. The only thing that is left now is copying this value to the "#{bindings.DestinationField.inputValue}" in Java, and that's where I'm stuck. :-)
Or even better ofcourse, is there a declarative way to do this without Java code?
Help would be greatly appreciated!
ChrisHi Chris,
You should be able to use this utility method from JSFUtils class (part of FOD)
public static void setExpressionValue(String expression, Object newValue) {
FacesContext facesContext = getFacesContext();
Application app = facesContext.getApplication();
ExpressionFactory elFactory = app.getExpressionFactory();
ELContext elContext = facesContext.getELContext();
ValueExpression valueExp =
elFactory.createValueExpression(elContext, expression,
Object.class);
//Check that the input newValue can be cast to the property type
//expected by the managed bean.
//If the managed Bean expects a primitive we rely on Auto-Unboxing
Class bindClass = valueExp.getType(elContext);
if (bindClass.isPrimitive() || bindClass.isInstance(newValue)) {
valueExp.setValue(elContext, newValue);
}edit... just realized you need this too
public static FacesContext getFacesContext() {
return FacesContext.getCurrentInstance();
}John -
Get the value from a selected row in a table
Hi all,
My table contains a tree structure.
When I select a single row, I need to get the value of a particular column.
I created an action on the leadSelect of the table and gave the following code:
public void onActionleadValue(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionleadValue(ServerEvent)
String strLeadValue = wdContext.nodeAttribute_View_Out().currentAttribute_View_OutElement().getAttributeAsText("<MyModelAttributename>");
wdComponentAPI.getMessageManager().reportSuccess("selected lead value "+strLeadValue);
wdContext.currentContextElement().setLeadselectedvalue(strLeadValue);
//@@end
My Bapi returns me 6 records. and when I click on any row its always pointing to the last record value.
What could be the problem?
Thanks
AnjanaHi Anjana,
Try this.
try
IWDMessageManager msg = wdComponentAPI.getMessageManager();
int leadselect = wdContext.nodeSChild1().getLeadSelection();
for(int i=0;i<wdContext.nodeSChild1().size();i++)
if(leadselect == i)
//Displaying output in diff table
// IPublicTestComp.ITableNodeElement tabelm = wdContext.createTableNodeElement();
// tabelm.setAttribute1(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1());
// tabelm.setAttribute2(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2());
// tabelm.setAttribute3(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3());
// wdContext.nodeTableNode().addElement(tabelm);
String att1 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1();
String att2 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2();
String att3 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3();
msg.reportSuccess("Row ("i") : "att1"====="att2"======"+att3);
} catch (WDDynamicRFCExecuteException e) {
wdComponentAPI.getMessageManager().reportException("Message : "+ e.getMessage(),true);
Regards,
Mithu -
How to get the values of a selected row and edit it
hi all,
i am using a table component.I am populating it from the database.i used static text to display the data .i have a edit button in the last column. when i click on it that particular rows data should be shown in a text field in that row itself,so that i should be able to edit it and then if i save it it that row should change to statictext with the updated data.
please provide a solution for this...
regards,
rpkHi Andrea,
If you are using ADFBC, the easiest way is to drop the attribute(Say Name) from the data control palette as outputText component and add partialTriggers property of it to point to table id(to refresh the outputText whenever the row is selected in table)
Sireesha -
Getting values from a specific row in a table
hi all, i have a table that has the following data
WITH sec AS
SELECT 111 id, 'XPE' cid, 10 alias, 'TLC' Description, 'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 111 id, 'XPE' cid, 78 alias, 'TLC2' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 111 id, 'XPE' cid, 200 alias, 'TLC' Description, null lvl_1, null lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 111 id, 'XPE' cid, 54 alias, 'TLC3' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id, 'XPE2' cid, 10 alias, 'PAD' Description, 'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 112 id, 'XPE2' cid, 78 alias, 'PAD2' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id, 'XPE2' cid, 54 alias, 'TLC3' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id, 'XPE2' cid, 200 alias, 'PAD' Description, 'SIN' lvl_1, 'CON' lvl_2, ' UIE' lvl_3 FROM dual UNION ALL
SELECT 113 id, 'XPE3' cid, 10 alias, 'PAD5' Description, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
SELECT 113 id, 'XPE3' cid, 200 alias, 'PAD5' Description, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
SELECT 113 id, 'XPE3' cid, 78 alias, 'PAD7' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 113 id, 'XPE3' cid, 54 alias, 'TLE' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual
)i want to write a query that give me this output
ID CID ALIAS DESCRIPTION LVL_1 LVL_2 LVL_3
111 XPE 10 TLC PEYU IES BAN
111 XPE 200 TLC PEYU IES BAN
111 XPE 78 TLC2 SUN BAN3
111 XPE 54 TLC3 SUN5 BAN3
112 XPE2 10 PAD PEYU IES BAN
112 XPE2 200 PAD SIN CON UIE
112 XPE2 78 PAD2 SUN BAN3
112 XPE2 54 TLC3 SUN5 BAN3
113 XPE3 10 PAD5
113 XPE3 200 PAD5
113 XPE3 78 PAD7 SUN BAN3
113 XPE3 54 TLE SUN5 BAN3
this is how the logic works:
as you can see the table has many different set of ids, 111,112,113 and each id has a set of alias
for id 111 and alias 200 the sec table has null values for level 1 and level 2 columns. what i want to do
is that if any of the level1,level2 and level3 columns has null VALUES(FOR aliases=200) then the values should be taking from the ROW(s) with alias=10
in this case alias=200 display peyu and ies for level1 and level2 column. this values were taking from the row with alias=10 and id =111.
level3 stay the same since it is not null
for id 112 and alias =200, none of te level columns has null so the value stay the same as in the table
for id 113 alias 200, all level columns has null so the value should be taking from alias=10 id =113.
in this case the row with alias=10 has also null so both rows 200 and 10 gets display with null values
the other rows with different alias should just be display.
i tried using las_value analytic function but i was not successful. i am using ORACLE 9I and ignore null option in last_value function is not supported
the data in the table is not in any particular order.
can someone help write a query that gives me the output above. thanksIf I understand correct,below solution is corect. :-)
col lvl_2 for a10
WITH sec AS(
SELECT 111 id, 10 alias,'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 111 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 111 id,200 alias,null lvl_1, null lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 111 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id, 10 alias,'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
SELECT 112 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 112 id,200 alias,'SIN' lvl_1, 'CON' lvl_2, ' UIE' lvl_3 FROM dual UNION ALL
SELECT 113 id, 10 alias, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
SELECT 113 id,200 alias, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
SELECT 113 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
SELECT 113 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual
select id,alias,
case when alias = 200 and lvl_1 is null
then max(decode(alias,10,lvl_1)) over(partition by id)
else lvl_1 end as lvl_1,
case when alias = 200 and lvl_2 is null
then max(decode(alias,10,lvl_2)) over(partition by id)
else lvl_2 end as lvl_2,
case when alias = 200 and lvl_3 is null
then max(decode(alias,10,lvl_3)) over(partition by id)
else lvl_3 end as lvl_3
from sec
order by id,alias;
ID ALIAS LVL_ LVL_2 LVL_3
111 10 PEYU IES BAN
111 54 SUN5 null BAN3
111 78 SUN null BAN3
111 200 PEYU IES BAN
112 10 PEYU IES BAN
112 54 SUN5 null BAN3
112 78 SUN null BAN3
112 200 SIN CON UIE
113 10 null null null
113 54 SUN5 null BAN3
113 78 SUN null BAN3
113 200 null null null -
How to get the class from selected row in af:table
I know that you can get individual selcted row values from an af:table using getRow().getAttribute("attName").
But, can I obtain the class that the table iterator used to populate the table?
For instance, a table lists the result of an employee search that was bound to a session bean method returning List<Employee>.
After selecting the employee of interest and clicking a command button I want to access that instance of the Employee class to pass onto the session bean to do some stuff.
I don't want to hit the database to do it either (via a query on a key value for example) - the search iterator has already retrieved it, I just want to access it and do something with it.
Possible?
Thanks.Hi,
if you use ADF try iterator.getCurrentRow().getDataProvider() on the binding container. If you use ADF Faces without then the Row object is the instance of your class
Frank -
How to get physical number of selected row on the screen.
Hi,
We have block defined with Numbers of Records Displayed = 3. In the same time the data set contains 10 records. We would like to know how to get a number of row selected on the screen. i.e. in our case that the number will be always between 1 and 3 independent of the current row position in the data set.
Best regards,
Constantin.You can calculate that number by subtracting :SYSTEM.CURSOR_RECORD and GET_BLOCK_PROPERTY('BLOCK', TOPMOST_RECORD)
-
How to read attributes of selected row in table?
hi,
can anyone give me a example, how to get value of currently selected row of af:table,in backingbeans? assuming using jdv10g & single selection in table.
thanks & regardsin the table selectionlistener
BindingContainer bindings = getBindingsForDCB();
RichTable table=table1;
DCIteratorBinding outListIter = getBindingsForDCB().findIteratorBinding("yourtableIterator");
RowKeySet rowSet = table.getSelectedRowKeys();
Iterator rowKeySetIter = rowSet.iterator();
while (rowKeySetIter.hasNext()) {
List l = (List) rowKeySetIter.next();
Key key = (Key)l.get(0);
outListIter.setCurrentRowWithKey(key.toStringFormat(true));
Row r = outListIter.getCurrentRow();
}
Maybe you are looking for
-
Interview questions on SAP MM Inventory Management?
Hi all ! I am preparing for interview, so can anybody please give me the interview questions for SAP MM inventory management ? Thanks in advance !!
-
IPod 4th gen not connecting to wifi?
Ok, so here is what happened, I have had this Ipod since December 2010 I believe, haven't had any major wifi problems with it until now. the wifi has always been on and off I guess, but right now its off like never before. My mom decided to change th
-
Cannot scan to PDF in Adobe Reader XI
IN adobe reader X there were many "Create" menu items, including Create PDF from Scanner -- now in Adobe Reader XI there is only Create PDF online and all the instructions as to how to scan give the directions for how it was done in Adobe X even tho
-
Swf created at one frame rate, plays very slow in Captivate
Mac Leopard, Flash CS5, Captivate CS5 Demo, all updates applied to the CSS5 Suite I created swf with one frame on the main timeline, all animation is done within a single movieclip on that frame. When published from flash it plays at my desired speed
-
Hi, gurus. Below is the lines of code i wrote for querying database, but the result i get is not presented correctly. //conn is set up in another method //getQueryOption(), getQuery() are two methods which return string repectively. //getQueryOption(