How can i mark a Table Row in WebDynpro ?
Hi at all,
i have a problem in my WebDynpro View
In my WebDynpro-View there is a Table (Information about Invoice documents, around 50 lines) and the User can select all this rows by click with a mouse.
Another way for selecting rows is on the Top of the Table (left side) there is a Context-Menü, where the User can click by mouse "Select all rows". For this i have created a Action "onSelect" and can select all Elements from the Table.
But the main problem here is, that i cant "mark" the rows in the Table, the User can't see, that all rows is marked!
(Example "Screenshot" of my description is attached)
How can i solve this problem?
With best thanks
Ersin
Hi Ersin,
To select all records for processing in your WebDynpro table , the table node property Initialize Lead Selection drop down should be marked no. also Cardinality Property must be 0..N & Selection 0...N.
If multiple selections can be made in the Table, that is, if selectionMode = multi or multiNoLead, or ifselectionMode=auto and dataSource has selection cardinality 0..n or 1..n, the user can select or deselect rows using the menu. If the user chooses Select All , the lead selection stays. If no lead selection is set, no lead selection can be set when Select All is chosen. If user chooses Deselect All , the lead selection is deleted too.You can find an example in the system in component WDR_TEST_TABLE under Selection.
Best Regards
Priyesh Shah
Similar Messages
-
How can we pass the entire rows of a table to a web service in a VC model ?
Hi,
On the click of the submit button, I have to pass the rows of two tables into an enterprise service. This service also takes other fields of a form as an input.
How can we pass the entire rows of a table into a service ?
Regards,
NitinHi Nitin,
It seems that you have two or three different structures to pass data using your webservice. In your main question, two tables, you can join both in one table and from there call the webservice. In order to pass the entire table you need:
1. Draw a line between your joinned table and your service,
2. Map the fields,
3. Create a 'SUBMIT' in your table tool bar. Right click on your table and choose 'Create Toobar', '+', name and choose 'Submit' as your event.
4. Go to Configure Element (Table View) 'Multiple' at Selection Mode.
Reward points if helps you to solve your question.
Regards,
Gilson Teixeira -
How can I make the current row in a different color in ADF Table 10.1.3
Hi all
in JDeveloper 10.1.3 ADF Table ,
How can I make the current row in a different color ?
thanksAnd what exactly would "the component" be?
I tried the af:outputText, but it just creates a <span> around the value of the cell, and if I try the af:column it just won't use it at all!
Any suggestions? -
How can i explicitly lock a row of a Table
Hi
How can we implement optimistic locking , i am using Oracle as Database for my Application .
Assume that i am working on a single row of a Table .
Now please tell me how can i explicitly lock this row , so that other simultanoues users insert or update operations are not affected to this particular row .
I am not using any ORM related technology
Please help .raviprivate wrote:
Hi
How can we implement optimistic locking , i am using Oracle as Database for my Application .
Assume that i am working on a single row of a Table .
Now please tell me how can i explicitly lock this row , so that other simultanoues users insert or update operations are not affected to this particular row .Either you want optimistic locking which does not use (database) locks at all, or you want pessimistic locking which does use database locks.
In optimistic locking everyone is allowed to read and to update without taking out a lock. Usually the optimistic lock is realised by including either a 'version' or 'last_modified' column which with every update is either increased (version) or set to the current_timestamp (last_modified). The update statement must be issued with a condition including that column (eg UPDATE ... WHERE id=<id> AND version=<version at time of read>). If the column was already changed by another user or process zero rows will have been updated signalling to the program that another user already changed the row and the user must redo his changes, or a more complex method of change comparison can be done. -
HT3354 how can i use one table for reference to another
how can i use a table for a referance to another eg when i type a word in a cell, i will like it to match the word with another table then return the information in the cell i am using
you can use vlookup() (or any of the lookup family of functions) to locate an item based on a key value:
Here is an example of something you can do with two tables:
The table on the right is title "Data" and stores a list of names with age and favorite color.
The table on the left uses the value in the first column to lookup up information in the table Data
in the table on the left:
B2=IFERROR(A2&" is " & VLOOKUP(A2, Data :: A:D, 2, 0)&" years old and likes the color "& VLOOKUP(A2, Data :: A:D, 3, 0), "NOT FOUND")
I know this look complicated. so I'll break it up into smalled pieces:
first the "&" is called the concatenate operator and joins two strings. like this:
a string is a set of characters between double quotes.
so "string 1" & "string 2" becomes "string 1string2" or "Sam " & "Jones" becomes "Sam Jones"
you can use cell references instead of strings directly in which case the concatenation is performed on the contents of the cells.
so if cell A1 contains "Hi " and the cell A2 contains "There" then A1 & A2 will result in "Hi There"
so you could add the formula
A3=A1 & A2
this is short hand for select cell A3 then type everything including the A3 so that A3 contains "=A1 & A2" (omit the double quote)
OK. So the formula I provided concatenates several items together:
it concatenates A2, then the string " is " then a formula, then the string " years old and likes the color " then a formula
the two formulas (highlighted in blue) perform a lookup of the value in cell A2 in columns A thru D of the table named "Data". If if finds the value in cell A2 in the first column of the lookup range in the table Data (column A) then it returns the value from the same row but in the second or third column.
all that is in a function calld iserror() to trap the condition where the calue you enter in A2 does not exist in the table Data:
You will find the Numbers users guide and function reference helpful. You can download then from Apple here:
http://support.apple.com/manuals/#productivitysoftware -
How can I fill a table of objects from cursor with select * bulk collect???
Hi All, I have a TYPE as OBJECT
create or replace type dept2_o as object (
deptno NUMBER(2),
dname VARCHAR2(14),
loc VARCHAR2(13));
I can fill a table of objects from cursor with out select * bulk collect...., row by row
declare
TYPE dept2_t IS TABLE of dept2_o;
dept_o_tab dept2_t:=dept2_t();
i integer;
begin
i:=0;
dept_o_tab.extend(20);
for rec in (select * from dept) loop
i:=i+1;
dept_o_tab(i):=dept2_o(
deptno => rec.deptno,
dname => rec.dname,
loc =>rec.loc
end loop;
for k IN 1..i loop
dbms_output.put_line(dept_o_tab(k).deptno||' '||dept_o_tab(k).dname||' '||dept_o_tab(k).loc);
end loop;
end;
RESULT
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
But I can't fill a table of objects from cursor with select * bulk collect construction ...
declare
TYPE dept2_t IS TABLE of dept2_o;
dept_o_tab dept2_t:=dept2_t();
begin
dept_o_tab.extend(20);
select * bulk collect into dept_o_tab from dept;
end;
RESULT
ORA-06550: line 6, column 39;
PL/SQL: ORA-00947: not enough values ....
How can I fill a table of objects from cursor with select * bulk collect???create or replace type dept_ot as object (
deptno NUMBER(2),
dname VARCHAR2(14),
loc VARCHAR2(13));
create table dept
(deptno number
,dname varchar2(14)
,loc varchar2(13)
insert into dept values (10, 'x', 'xx');
insert into dept values (20, 'y', 'yy');
insert into dept values (30, 'z', 'zz');
select dept_ot (deptno, dname, loc)
from dept
create type dept_nt is table of dept_ot
declare
l_depts dept_nt;
begin
select dept_ot (deptno, dname, loc)
bulk collect
into l_depts
from dept
for i in l_depts.first .. l_depts.last
loop
dbms_output.put_line (l_depts(i).deptno);
dbms_output.put_line (l_depts(i).dname);
dbms_output.put_line (l_depts(i).loc);
end loop;
end;
/ -
How can I insert a table in the header?
The question is easy: How can I insert a table of one row in the header.
Thanks in advance.
Jesús.There are multiple versions of Pages in circulation on Mavericks and Yosemite. Telling us which one helps with a more accurate answer.
If you are referring to Pages v5, then you cannot insert a table into the header or footer, because implicitly, these are table cells too. The discontinued Pages ’09 v4.3 would allow table insertion in the document header/footer fields. -
How to join two internal table rows in alternative manner into one internal table?
How to join two internal table rows in alternative manner into one internal table?
two internal tables are suppose itab1 & itab2 & its data
Header 1
Header 2
Header 3
a
b
c
d
e
f
g
h
i
Header 1
Header 2
Header 3
1
2
3
4
5
6
7
8
9
INTO itab3 data
Header 1
Header 2
Header 3
a
b
c
1
2
3
d
e
f
4
5
6
g
h
i
7
8
9Hi Soubhik,
I have added two additional columns for each internal table.
Table_Count - It represents the Internal Table Number(ITAB1 -> 1, ITAB2 -> 2)
Row_Count - It represents the Row Count Number, increase the row count value 1 by one..
ITAB1:
Header 1
Header 2
Header 3
Table_Count
Row_Count
a
b
c
1
1
d
e
f
1
2
g
h
i
1
3
ITAB2:
Header 1
Header 2
Header 3
Table_Count
Row_Count
1
2
3
2
1
4
5
6
2
2
7
8
9
2
3
Create the Final Internal table as same as the ITAB1/ITAB2 structure.
"Data Declarations
DATA: IT_FINAL LIKE TABLE OF ITAB1. "Final Internal Table
FIELD-SYMBOLS: <FS_TAB1> TYPE TY_TAB1, "TAB1
<FS_TAB2> TYPE TY_TAB2. "TAB2
"Assign the values for the additional two column for ITAB1
LOOP AT ITAB1 ASSIGNING <FS_TAB1>.
<FS_TAB1>-TABLE_COUNT = 1. "Table value same for all row
<FS_TAB1>-ROW_COUNT = SY-TABIX. "Index value
ENDLOOP.
"Assign the values for the additional two column for ITAB2
LOOP AT ITAB2 ASSIGNING <FS_TAB2>.
<FS_TAB2>-TABLE_COUNT = 2. "Table value same for all row
<FS_TAB2>-ROW_COUNT = SY-TABIX. "Index value
ENDLOOP.
"Copy the First Internal Table 'ITAB1' to Final Table
IT_FINAL[] = ITAB1[].
"Copy the Second Internal Table 'ITAB2' to Final Table
APPEND IT
LOOP AT ITAB2 INTO WA_TAB2.
APPEND WA_TAB2 TO IT_FINAL.
ENDLOOP.
"Sort the Internal Table based on TABLE_COUNT & ROW_COUNT
SORT IT_FINAL BY ROW_COUNT TABLE_COUNT.
After sorting, check the output for IT_FINAL Table, you can find the required output as shown above.
Regards
Rajkumar Narasimman -
How Can I Export A Table With Its Entries ( values )
Hi guys,
How can i export a table with the entries that the table is populated with ??!!
Best Regards,
FatehTo export a table and its data you can do it a number of ways.. Do you have access to SQL Developer? If not you can do it through the APEX SQL Workshop..
Under SQL Workshop, Utilities, Data Unload, To text (or XML, whichever you are more comfortable with..).. Select your schema, click next button, select the table, click next, select the columns you want exported (select ALL ITEMS in the select List), click next, on optionally enclosed by I usually enter a " (Sometimes I have long strings in columns), click the include column names checkbox to get the column names at the top of the document, click unload data button..
To get the ddl (code to build table) Sql Workshop, utilities, generate ddl, create script, select schema, select next, click table checkbox, select next, click the checkbox of table you want to get ddl for...
Thank you,
Tony Miller
Webster, TX
There are two kinds of pedestrians -- the quick and the dead.
If this question is answered, please mark the thread as closed and assign points where earned.. -
How can I mark event as "done" so that I see this at one glance?
how can I mark an event on ical as "done" so that I see this at one glance? In outlook this was possible, there was a white line on the left once I had marked the event as "done".
Greetings,
If you are new iCal user read this: http://support.apple.com/kb/HT2513
Events are more along the lines of a...well...event "Appointment with Dr. Smith"..."Travel to Mexico"..."Jon's Birthday".
What you are describing is what I would call a task. iCal offers "To Dos" for that purpose which include a check box for completion.
Cheers! -
How can I make a table cell extend beyond a page? The text disappears when the cell becomes bigger than the page. I want the table to continue to the next page.
As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.
-
How can I filter the LOV rows at the runtime
I am working in oracle forms 6i.
My lov is based on a view. If I selected one row from LOV, that row should not appear in list box.
I would like to restrict rows before saving a form. How can i filer the LOV rows at the runtime?
Please help me.Dear Mr.MH_BD,
Thanks for your immediate response,
My form is built based on master and detail link. On the multi row detail section I am invoking this LOV. The record group containing the following query:
select fees_id,fees_name,term_fees from sk_fees_mst where fees_bal>0;
fees_id
fees_name
term_fees
12
Tuition Fees
2500
13
Smart Class
100
14
Admin Fees
300
If I selected the fees_id 13 for the first row of detail section, then the LOV should display only the following in the next row:
fees_id
fees_name
term_fees
12
Tuition Fees
2500
14
Admin Fees
300
(ie.) Before commit form I need to filter the already selected fees ids from record group.
Thanks in advance. -
How can I filter a table from Data Control without enter query
I have a table from a web service data control based on WSDL.
I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
How can I filter the table without enter query?
Could anyone point me to a solution please.
Thanks.
jdev 11.1.5
Edited by: 893364 on Oct 26, 2011 12:15 PM
Edited by: 893364 on Oct 26, 2011 12:21 PMHi,
when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
Frank -
How can I do for a row of a query be data provider for a variable?
Hi friends, I have a problem !
How can I do for a row of a query be data provider for a variable?
I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
Best regards,
Gustavo LiberadoIn this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
Then once you understand the basics you add the code to your real program.
If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area. -
How can I mark an email as SPAM without "opening" it?
When I go to "the cloud" to read my email, I might see spam there.
But when I click on the email message to mark it as spam or even
delete it, I've "opened" the email. I don't want to do that, right!!!
So how can I mark it as spam *or* delete it without "opening" the
email in question.
Thanks!
[and oh, by the way, since moving to the cloud, I've gotten lots of
spam -- something I almost never got with me.com. just fyi...]You need to have the account set up as IMAP or Exchange (iCloud, Gmail, Yahoo, etc. automatically do this if you choose that option when you create the account). POP3 accounts do not supporting synchronizing between clients and the server.
Maybe you are looking for
-
10.4.6 Update.
For some unknown reason I cannot update to 10.4.6. Whenever I try I get an error. The error hasnt been the same everytime and I have tried several things to get around it. I have tried installing other updates, downloading and installing it on my own
-
I have a FCP project that I have been working on for a year and have made DVD's from through compressor. Suddenly when I open compressor it states that there are no files associated with this project. Another user suggested I trash the preferences, b
-
Hi friends... I want to build a document archiving system, My system should read an Image from Scanner and then save it on a file server, any one have an idea.. where I should go? thanx in advance
-
Hi there, I am a school teacher and I used ical a lot this year. However, this September, I have a whole new bunch of courses. Is there a way, to 'save' my 2005-6 calendar (with all my course due dates, all colour co-ordinated etc), and to create a t
-
RE: Additional scripts to execute after creation of database for Oracle
Hi it is possilble to execute additional scripts such as CATALOG.SQL; CATAUDIT.SQL etc to enable v$session views? as these views are not created when i used the wizard in Oracle to create the database in 9i. Is this normal or am i not creating the da