Context in the tables information
Hi all
I use ADF 12.1.2. y at - it a way to display several of context information for the different rows in a table ADF?
If you look at the example of showcase "in a table" (contextInfo demo), when you click on a background information and then on another, it only shows the last of them.
Kind regards
Sébastien
No, you can't, at least not in the demo as the demonstration uses the same popup for all the contextinfo in the table. You can try using the BLAH of various different columns pop-up windows. Then it can stay open, bit, I never tested it.
Timo
Tags: Java
Similar Questions
-
What controls the size of the font for the text of the "Table of Context"?
Hi people,
I know it's a small thing, but I can't. How adapt you or change the size of the police especially for the label "Table of context" in the table of contents. Bad code is based on the skin or it's adjustable. Great-completely any help appreciated!
See you soon
Steve
Skin editor > TOC settings > TOC Information. There is a drop-down list that allows you to set the formatting for several different parts of the TOC.
-
Need information about the Tables in database in Oracle Apps
Hello
I am looking for information about the Tables in database in Oracle Apps.
Is it possible that we could see the (column name, description of each column, the primary key, foreign key etc.) the table structure in database (e.g. HZ_PARTIES, CS_INCIDENTS_ALL_B, csf_debrief_headers) used in Oracle 11i applications?
ETRM. Oracle.com
concerning
Pravin
-
The table or view in oracle to Package information
Please give me the name of the table or view in oracle where the names of all packages are available and their associated procedures or functions... otherwise there is a way to informselect text from user_source where type='PACKAGE';
This query can give you defination all package you can know Members (stored procedures/functions/variables etc.) of a package.
But I have no idea about any explicit data dictionary view that lists all the members of the package defined by the user. Hope to see here as appropriate. -
The reference to the table, view, or the sequence is not allowed in this context
Hello
I am triying to run the SP that I describe below and the OS gives me an error:
------------------------------CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE ( TBL_NAME VARCHAR2, START_DATE DATE, RESULT_ OUT NUMBER ) AS BEGIN DECLARE v_tbl_name VARCHAR2(30); v_start_date DATE; v_result NUMBER := 0; v_select_aux VARCHAR2(32767) := ' '; v_temp_table VARCHAR2(30); v_exists NUMBER; BEGIN v_tbl_name := TBL_NAME; v_start_date := START_DATE; v_temp_table := 'temp_' || v_tbl_name; SELECT count(*) INTO v_exists FROM tab WHERE lower(tname) = lower(v_temp_table); IF (v_exists = 1) THEN v_select_aux := ' DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE '; EXECUTE IMMEDIATE (v_select_aux); COMMIT; END IF; v_select_aux := 'CREATE TABLE ' || v_temp_table || ' AS SELECT ch.date_ month_revenue, s.date_sub month_sub, s.codpromoter, u.OPERATOR, SUM (ch.total) AS TOTAL_OK FROM cscv_sub_charges_' || to_char(v_start_date, 'YYYY_MM')|| ' ch INNER JOIN cscv_subs s ON ch.id_sub = s.ID INNER JOIN cscv_users u ON s.id_user = u.ID WHERE ch.STATUS = 0 GROUP BY ch.date_, s.date_sub, s.codpromoter, u.OPERATOR'; EXECUTE IMMEDIATE (v_select_aux); COMMIT; v_select_aux := ' INSERT INTO ' || v_tbl_name || ' ( month_revenue, month_sub, codpromoter, operator, TOTAL_0, TOTAL_1, TOTAL_2, TOTAL_3, TOTAL_4, TOTAL_5, TOTAL_6, TOTAL_7, TOTAL_8, TOTAL_9, TOTAL_10, TOTAL_11 ) SELECT month_revenue, month_sub, codpromoter, operator, TOTAL_0, TOTAL_1, TOTAL_2, TOTAL_3, TOTAL_4, TOTAL_5, TOTAL_6, TOTAL_7, TOTAL_8, TOTAL_9, TOTAL_10, TOTAL_11 FROM ( SELECT month_revenue, month_sub, codpromoter, operator, sum(total_ok) total_0, 0 total_1, 0 total_2, 0 total_3, 0 total_4, 0 total_5, 0 total_6, 0 total_7, 0 total_8, 0 total_9, 0 total_10, 0 total_11 FROM '|| v_temp_table ||' WHERE to_char(month_sub,''mm/yyyy'') = to_char(sysdate,''mm/yyyy'') GROUP BY month_revenue,month_sub,codpromoter, operator UNION ALL SELECT month_revenue, month_sub, codpromoter, operator, 0, sum(total_ok), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 FROM '|| v_temp_table ||' WHERE to_char(month_sub,''mm/yyyy'') = to_char((to_date(sysdate,''dd/mm/yy'') - INTERVAL ''1'' MONTH),''mm/yyyy'') GROUP BY month_revenue,month_sub,codpromoter, operator ) GROUP BY month_revenue, month_sub, codpromoter, operator '; EXECUTE IMMEDIATE (v_select_aux); v_result := v_result + SQL%ROWCOUNT; COMMIT; v_select_aux := ' DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE '; EXECUTE IMMEDIATE (v_select_aux); COMMIT; RESULT_ := v_result; END; END P_CSCV_AGR_MONTH_REVENUE; /
and the output is:BEGIN DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010'); END; /
What could I do to fix the problem?Error at line 1 ORA-06550: líne 2, column 32: PLS-00357: The reference to the table, view or sequence 'CSCV_AGR_MONTH_REVENUE' is not allowed in this context ORA-06550: líne 2, column 1: PL/SQL: Statement ignored
Thanks in advance...Hello
Signature of the procedure is
CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE ( TBL_NAME VARCHAR2, START_DATE DATE, RESULT_ OUT NUMBER )
either he's expecting two input parameters, tbl_name in VARCHAR2 and the other START_DATE date format format. Also you need a variable with the number data type to store the value of the PARAMETER RESULT_
Now, look at the way you call this procedure
BEGIN DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010'); END; /
first parameter must be a VARCHAR2, so place CSCV_AGR_MONTH_REVENUE in single quotes.
second parameter must be a date, so use to_date() function.
Finally declare a variable with the data type of number to maintain the value of the parameter RESULT_Something like this:
declare t_num number; begin a('CSCV_AGR_MONTH_REVENUE',to_date('01/01/2010','MM/DD/YYYY'),t_num); dbms_output.put_line(t_num); end;
Vivek L
-
Hi all
I would like to see the DATE of the Table on which it is created. Can anyone suggest me what metadata table I get information? I get the date to which it is last analyses user_tables , but not on the date of its creation.
Published by: SwapnaPrerana on October 11, 2010 09:44
Published by: SwapnaPrerana on October 11, 2010 09:44Hi user,
Try again with the following data dictionary,
select * from user_objects where object_name='
'; Concerning
Sankar MNPublished by: SankarMCA on October 10, 2010 21:17
-
display information in folders root on the table of contents
RH8 HTML.
I wonder that if there is a way to define a survey folder in a table of contents to display information, even just a list of subtopics in a main folder of a browser of WEbHelp and air base exit help.
for example if you look at the help file in RH8, you click on a section of the table of contents at the top level, that is, tables of contents, indexes, glossaries. information appears and indicates what topics are described in this file in the help file.
I want to do something similar with my help file, even if all the top-level folder, or a subfolder with subtopics just shows nothing until I click on a specific topic.
hope that's clear, it's hard to explain... but surely a simple solution.
Thank you.
Nick
Hi Nick
I'm a bit confused as to exactly what you want to achieve here. I think that is a part of the question, you mix the terms files and TOC levels.
When you automatically create a TOC RoboHelp certainly looks like the folder structure that exists in your project and creates a book for each file it encounters.
Perhaps you mean ask how you configure books in your table of contents so that a click from the user, not only do they widen to reveal what are the links to topics within the book, but a topic displays on the right side that lists the explanations and links to what's in the book? If this is what you want, you will need to create a topic for each book. Make sure he read and appear as you wish, then use the 'Book with link' function of the table of contents to associate subjects with books.
See you soon... Rick
Useful and practical links
Wish to RoboHelp form/Bug report form
Begin to learn RoboHelp HTML 7 or 8 days - $24.95!
-
Need to query the information in the table - more than 1 d
I am writing a Facebook application and want to compare my db user with information returned from Facebook. I get the correct information of FB as a table with a structure on the inside. It is not letting me use ArrayToList, so I guess it's because of the structure.
When I use the code that is attached, it browse the data and returns all the correct information.
I am completely vaporlocked on is how to use the data returned by this loop to the query, as in:
SELECT foo
FROM bar
WHERE uid IN (loop of the correct information)
I feel like this should be easy enough, and it is making me want to push my eyes. Thank you in advance and please let me know if you need additional information.You rock as Satan. Thank you very much. : D
-
See the table of contents in context sensitive help
Hello
The application of Iam working on a a context sensitive webhelp. When I click on the button of the page in the context help appears that has a hyperlink to 'Show' at the top of the help page. When I click on 'Show' table of contents help is displayed. Is there a method by which I can the toic for help as well as the table of contents page?
Help is appreciated.
Thank you.You must select the autosyn option in the wizard. I thought that was covered in the article, but see excerpt 1 otherwise.
-
How to connect NEWSPAPER of INFORMATION to the table of the newspaper so that the operation of ROLLING BACK of the user? any example?
Fjean wrote:
What is the independent procedure/function?You can create stand-alone procedure to record messages even if the transaction is rolled back messages is stored in the table and are committed.
Example of
SQL> DECLARE 2 PRAGMA AUTONOMOUS_TRANSACTION; 3 emp_id NUMBER(6); 4 amount NUMBER(6,2); 5 BEGIN 6 emp_id := 200; 7 amount := 200; 8 UPDATE employees SET salary = salary - amount WHERE employee_id = emp_id; 9 COMMIT; 10 END; 11 / PL/SQL procedure successfully completed. ---log_error procedure -- Table Err_tab ( seq number , time_stamp date, message varchar2(4000)) CREATE PROCEDURE log_error (p_message VARCHAR2) AS PRAGMA AUTONOMOUS_TRANSACTION; BEGIN INSERT INTO Err_Tab(seq.err_seq,SYSDATE,p_message) ; COMMIT; END log_error; / -- You can use this procedure to log -- error messages as follows in a transaction BEGIN log_error('Start emp update') ; UPDATE emp set log_error('End emp update'); EXCEPTION WHEN OTHERS log_error('Update Error '||SQLERRM); ROLLBACK ; END ; / Even in case of Rollback error messages will be inserted to log table
SS
-
Only insert table row with duplicates with the same information line
Hello
I have the following tables:
(Registration) CREATE TABLE
name varchar (10) NOT NULL,
country of varchar (10) NOT NULL,
Date of varchar (10) NOT NULL,
[....]
);
and the second
CREATE TABLE names
name varchar (10) NOT NULL,
country of varchar (10) NOT NULL,
Date of varchar (10) NOT NULL,
CONSTRAINT PK_names PRIMARY KEY (name, country);
I'm trying to insert in the last lines of the table in the first table (REGISTRATION), but there is an error: "constraint unique (s.%s) violated.
The insertion code I used is:
INSERT INTO name (name, country, date)
SELECT DISTINCT name, country, max (date) registration;
The table ENTRIES have similar duplicate records as (I write only the corresponding columns of the table)
NAME country DATE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CSA. Fiji 1954-09-17
ASC Fiji 1967-06-23
I want to only insert names the first registry because it is the first date on the two registers.
Thank you very much.
Hello
SELECT DISTINCT nombre_club, pais_club, max (fecha_fund_club) of INSCRIPTIONS;
will give you the error
ORA-00937: not a single group group function
So I don't see how you can run the insert statement and get the unique constraint error
I think that's what you wanted? Which should solve the unique constraint as the ORA-00937:
INSERT IN TOWN (nombre_club, pais, ano_fundacion)
SELECT nombre_club, pais_club, max (fecha_fund_club) of the Group of the INSCRIPTIONS of nombre_club and pais_club;
Kind regards
Thierry
-
extraction of the information in the table
How to retrieve all the data of the table a sense reverse order... not only the single column... I want to reverse each data column... do not write like this:
Select reverse (col1), reverse (col2) in emp;
kindly guide me for this...
Thank you all...How to recover all the data table in the order reverses.
I can do on my 11.2.0.2
SQL> set echo off SQL> with t as ( select 'abc' ename, 'xyz' job from dual union all select 'def', 'wes' from dual union all select 'fdf', 'ert' from dual ) -- -- select ename, job, x1.column_value ename_reversed, x2.column_value job_reversed from t, xmltable (trim ('codepoints-to-string(reverse(string-to-codepoints("' || ename || '")))')) x1, xmltable (trim ('codepoints-to-string(reverse(string-to-codepoints("' || job || '")))')) x2 / ENAME JOB ENAME_REVERSED JOB_REVERSED ----- ---- -------------- ------------ abc xyz cba zyx def wes fed sew fdf ert fdf tre 3 rows selected.
-
How to determine a specific line in the table clicked on
Hello-
I need to determine the specific line of a table control that is right-mouse-clicking. I think that this is possible by using the context Menu Activation? event for the control of the table and get the vertical coordinate in the Coords filter options.
He is performing experiments to determine the vertical amplitude of each row in the table, or maybe in determining the width of a line and using a linear relationship to determine the possible range of the following lines. Do you feel it is the best strategy or is it maybe an another easier way to get this information?
Thank you
Don
You can use the CtlRef with the Point in the array to the method line for the information.
Ben64
I was too slow to respond...
-
Hello
I have a java Apps to connect to a database of GR 11, 2.
When I clicked on a "billing" module, I don't 'a number' 1,641.00 error in java logs that cause billing does not be generated.
I don't even enter this value. I don't know if this error at the level of the table or during analysis on the coast of java it fetch a numeric variable placeholder.
I simply assume that it is at the database level. And assuming that I am the only user in the database.
How can I get this operation with the 1,641.00 value and determine which table was is inserted to the error? In V$ SQLAREA maybe?
Thank you very muchSYSUSER - 263293-40-1 2012-07-10 11:08:25,578 [http-6700-1] INFO (support.context.CacheManager) Registering cache 'BusinessObjectInfoCache' SYSUSER - 263293-41-1 2012-07-10 11:08:25,859 [http-6700-2] ERROR (api.service.ServiceExecutionPolicy) Rollback: Read failed java.lang.NumberFormatException: Not a number: 1,641.00 at com.ibm.icu.math.BigDecimal.bad(BigDecimal.java:3894)
Kins>
apps itself has no problem.
>
I have to disagree. If the application is to throw an exception and the journal contains her not the information necessary for you tell what is causing the exception, and then the application has ALSO a problem.java.lang.NumberFormatException: Not a number: 1,641.00 at com.ibm.icu.math.BigDecimal.bad(BigDecimal.java:3894)
Add additional record to the app to catch the exception and discover the connection, the request and the record that causes the error.
Troubleshoot, to gather information when the problem actually occurs and work your way backwards.
If you say that the problem did not exist before the developer made the change then prove it by running the old code against the same data. If it works then the problem is with the change that made the developer.
-
filtering rows from the tables
We have about a 10 tables where specific information must be filtered from users with access select backend based on about 5 unique id (in the same column).
This must be done for users with back-end access only.
I have some experience with MEV for use in column-masking. I thought this may be helpful here as well but - my concerns are around the possible performance implications.
Filtering is not necessary for the job but real application process - they are still going to be run the vpd function to determine if they want to add the additional predicate whenever they perform. I don't know if it will be a performance problem or - if there is a better way to do it.
Has anyone experience with MEV in that capacity or - have other suggestions around lines matching the (transparent) tables for users who have access via the backend of the application?wtlshiers wrote:
I was hoping to create a political function that is not "query" to the determining factor around adding the predicate each time. That's where I think that the context of enforcement would be used.What do you mean by "application" in this context? The political function must determine the predicate to apply. Of course, this predicate could code be hardcoded in the political function, i.e.
CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2) RETURN VARCHAR2 AS BEGIN IF( user = 'SHARED_APPLICATION_ID' ) THEN RETURN '1=1'; ELSIF( user = 'BOB_FROM_ACCOUNTING' ) THEN RETURN 'group_id NOT IN (1,2,3)'; -- Bob can see everything other than group_id's 1, 2, or 3 ELSIF( user = 'SHARON_FROM_FACILITIES' ) THEN RETURN 'group_id = 4'; -- Sharon can only see group_id 4 END IF; -- If we don't know about you, deny access RETURN '1=0'; END my_policy_function;
Normally, however, you want to have some sort of mapping table of users to the groups to which they have access in order to simplify the predicate, i.e.
CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2) RETURN VARCHAR2 AS BEGIN RETURN 'group_id IN (SELECT u2g.group_id FROM user_to_group_mapping u2g WHERE u2g.username = USER)'; END my_policy_function;
You can use something in the context of the session value rather than the call to the USER run when you configure the predicate, but I'm not sure it's necessary complexity account required to your needs.
In this case - when a user connects to the database - if they are a user who shouldn't be able to see the specific tables group id - I would fix the system as a result of this user context.
Then - in the political function - I would use the sys context function to determine whether the predicate should be added or not (include/exclude as appropriate).
If you want to use a user-defined context, you could, of course, do something like this to prevent users to access sensitive groups if their IS_ALLOWED attribute is not set to "Y". I have
CREATE OR REPLACE FUNCTION my_policy_function(p_owner IN VARCHAR2, p_object_name IN VARCHAR2) RETURN VARCHAR2 AS BEGIN IF( sys_context( 'MY_CONTEXT', 'IS_ALLOWED' ) = 'Y' ) THEN RETURN '1=1'; ELSE RETURN 'group_id NOT IN (1,2,3,4,5)'; -- Groups 1-5 are sensitive END IF; END my_policy_function;
l is simply not obvious to me that it is beneficial in your case where everything is based on the Oracle user name. You can certainly create a context and fill in this context in a logon trigger, but now you have created a context and a logon trigger, and the solution is not as flexible as the table-based approach. In addition you have the coded group_id hard which makes it less likely that someone is going to notice the changes required when group_id are added in the future.
Justin
Maybe you are looking for
-
Satellite 1410-303-new CPU does not work
Hi allMI name Fabio, I'm an Italian boy, sorry for my bad English... I have a problem with my Toshiba Satellite 1410 303, I buy a new processor (Pentium 4 mobile 2 GHz 512 k 400bus) but it does not work.When I turn on my laptop, I hear the system Spe
-
Keyboard does not work properly
Hello I had trouble getting my laptop satellite to initialize. Recovery disks & pressing F keys weren't working so I decided to open the laptop to see if there are any loose connections. To my surprise, the laptop seems to work again once I had the U
-
How to completely remove pcrx?
Even though I uninstalled the program attached to me, I can't get rid of the darn icon guy that appears in the corner of each window I opened! He is the 24x7help who hunts down my computer!
-
The sample application BB10 NDK Gamepad of build error
Hi all I got this error during sample application the build Gamepad: /Users/MyMac/BB10/Gamepad/main.c:322:34: error: 'SCREEN_DPAD_UP_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:322:34: note: each undeclared i
-
BlackBerry Blackberry Smartphones defective - urgent issues please until it goes back
Hello world My trackerball is faulty on my 8100 pearl, so Orange are sending me a replacement BB tomorrow. I need to transfer my numbers to my SIM card (stupid, I know that I should have done in the first place!) if anyone can help me with the follow