model page and page elements
I need to display the title on a set of pages information. I changed my page template and the string substitution put (& MY_TITLE.). Then I tried to add the element of hidden page (MY_TITLE) on each page and fill it with database information. But the top does not have page elements with the same name, even if they are on different pages.I need something as part of the extended page, which will be available only in the current page and will not affect other pages, or a kind of double string substitution when the first name of the page element is built and then the value of this element of the page is taken.
How can I solve my problem?
Published by: 866569 on July 8, 2011 12:43
Published by: 866569 on July 8, 2011 12:50
Hello
You can use application article or article page zero.
Then use calculation on each page to set the desired value for this element.
Kind regards
Jari
Tags: Database
Similar Questions
-
I bought jointly, Priemer elements and Photoshop elements. I downloaded photoshop successfully. How can I get access to the
Download the Web page for the elements of Prime Minister?
Garyl21385743 what version of Premiere Elements you are wanting to download? You can download the latest versions of Premiere Elements to products download Premiere Elements | 10, 11, 12, 13. You can also find links to the installation files for most retail securities of Adobe Creative Software to to other downloads.
-
I get this error message,
A page element to the 'CALENDAR' page instead of 34 488 requires pixelation, but it is too large to rasterize. Resize it smaller and try again
This basically means that there is an object that has its upper left corner at x: 34 y: 488 which is too large to be rasterized, it could be due to any extreme wide or tall object.
Try to check the contents of the page and then resize to verify the behavior. Please let me know how it goes.
Thank you
Sanjit
-
Hello
Apex 5.
IR (departments) on page 2 I want to open a modal page 3 (classic report) with the detail data (from emp) for a Masters depno via a link on depno column.
In Page 3, I created two elements P3_DEPNO and P3_DNAME. These elements are defined in modal page 3 of page 2.
When I do these two visible elements on page 3 I can see, the values are set correct according to the value in column (depno) link on page 2.
However, I would like to place these element values in the page title of page 3
Title: PGE for DepNo: & P3_DEPNO., DepName: & P3_DNAME.It happens that the values mentioned in the title of the page are not the same (good) as in the items himself.
Initially, they are NULL. Only when I refresh page 2 the values change but remain the same (last called depno) as long as I'm doing a new refresh of page 2.I wonder how I can run to display the values of the correct point in the title of the page corresponding to the values of the correct page element (that I have hidden).
Y at - it something more to do, or it could be a small bug?
I've created a little demo app on
https://Apex.Oracle.com/pls/Apex/f?p=75955:2WS: AMLWS001
Demo/demo (developer is)
Please see the report 1.
Thank you in advance!
André
Hi andremi,
andreml wrote:
Hello
Apex 5.
IR (departments) on page 2 I want to open a modal page 3 (classic report) with the detail data (from emp) for a Masters depno via a link on depno column.
In Page 3, I created two elements P3_DEPNO and P3_DNAME. These elements are defined in modal page 3 of page 2.
When I do these two visible elements on page 3 I can see, the values are set correct according to the value in column (depno) link on page 2.
However, I would like to place these element values in the page title of page 3
Title: PGE for DepNo: & P3_DEPNO, DepName: & P3_DNAME.It happens that the values mentioned in the title of the page are not the same (good) as in the items himself.
Initially, they are NULL. Only when I refresh page 2 the values change but remain the same (last called depno) as long as I'm doing a new refresh of page 2.I wonder how I can make it work to display the values of the correct point in the title of the page corresponding to the values point right page (what I have hidden).
Y at - it something more to do, or it could be a small bug?
Page title is rendered before the page elements, that is why is not highlighted in your title.
I don't think directly, we can use the page as a page element value.
Creates a copy of yours and made the change it new App id - 45390
There, I created a static area without a model before your report area and put your article into that.
then displayed title PGE for DepNo: & P3_DEPNO, DepName: & P3_DNAME. for the area of your report.
Kind regards
Jitendra
-
Refresh the report SQL (Send Page element)
I want to add a lookup field in a SQL report. I have something like this
I want to make the asynchronous search on KeyPress. The problem is that a SQL report is not a ' submit: 'attribute as an interactive report. "SELECT * FROM emp WHERE emp_no LIKE :P1_SEARCH || '%'
So after I refresh the report:
The report is refreshing (the icon of circle on the top of the screen) but nothing changes cause the: P1_SEARCH supports.$a_report($x('P1_REPORT_ID').value,'1','10','100');
How can I submit a JS page element?
Greetings from King,
Cearnau Dan
PS: I use 4 APEX and by using dynamic measurements, it is the same as the Javascript call. (still does not submit the: point P1_SEARCH)Hello
Place your footer area
And create processes on demand MODEL
htp.prn('OK');
Kind regards
JariPublished by: jarola December 19, 2010 14:40
typoPublished by: jarola December 19, 2010 14:46
Another typo corrected from code.
I did fact sample
https://Apex.Oracle.com/pls/OTN/f?p=40323:78 -
Result passage of PL/SQL code for the page element
Hello
I have created a process in after the header to fill data to the page of the form elements. The pl/sql code is like bellows. Then I got the error message:
ORA-06502: PL/SQL: digital or value error: character number conversion
My question is that I do not see the difference in format between the page element and block pl/sql variables (e.g. : P31_STUDY_ID vs v_P31_STUDY_ID), they are either numeric or text field (in fact I have hidden field, but don't see conversion back to the digital field solved the problem). And don't see needs to set the format mask. Is there another way to detect the column that causes the problem, or if there is a syntax error with my assignment (from the variable element on the page)? Thank you very much!
============================
Declare
number of v_P31_STUDY_ID;
number of v_P31_STUDY_SITE_ID;
v_P31_STUDY_SITE_NAME VARCHAR2 (255);
v_P31_STUDY_SITE_NUM varchar2 (10);
number of v_P31_STUDY_SITE_NAME_NUM_ID;
number of v_P31_STUDY_SITE_OPEN_STATUS;
v_p31_comments VARCHAR2 (255);
Start
Select
tbl_study_site.study_id,
tbl_study_site.study_site_id,
study_site_name,
study_site_num,
STUDY_SITE_NAME_NUM_ID,
STUDY_SITE_OPEN_STATUS,
Comments
in
v_P31_STUDY_ID,
v_P31_STUDY_SITE_ID,
v_P31_STUDY_SITE_NAME,
v_P31_STUDY_SITE_NUM,
v_P31_STUDY_SITE_NAME_NUM_ID,
v_P31_STUDY_SITE_OPEN_STATUS,
v_p31_comments
of tbl_study_site, tbl_study_site_attrib
where tbl_study_site.study_id =: p30_study_name
and tbl_study_site.study_site_id = tbl_study_site_attrib. STUDY_SITE_ID
and tbl_study_site_attrib. STUDY_SITE_ATTRIB_ID =: P31_STUDY_SITE_ATTRIB_ID;
: P31_STUDY_ID: = v_P31_STUDY_ID;
: P31_STUDY_SITE_ID: = v_P31_STUDY_SITE_ID;
: P31_STUDY_SITE_NAME: = v_P31_STUDY_SITE_NAME;
: P31_STUDY_SITE_NUM: = v_P31_STUDY_SITE_NUM;
: P31_STUDY_SITE_NAME_NUM_ID: = v_P31_STUDY_SITE_NAME_NUM_ID;
: P31_STUDY_SITE_OPEN_STATUS: = v_P31_STUDY_SITE_OPEN_STATUS;
: P31_COMMENTS: = v_p31_comments;
end;
=============================
Identify the root cause. He's always on the format of the column, there is an error. Thanks for your help.
-
Hi Experts,
There is a problem in the APEX when I open a modal page-> submit modal page and refresh parent region (report one).
When I first open a report from the region and click the modal page, everything is ok:
Modal page values are defined in the sense of link that open to it.
Submit after modal page by button (there is a process of dialogue), the dialog box is closed. On the parent page, there is a DA - dialogue close report parent refresh.
After update - waiting indicator is indicated - all the element referenced in the link to open modal values are defined as empty values.
Is there a problem in the links when I use it it set the values of the elements of the page? (not report items)
I reproduced the problem on apex.oracle.com:
https://Apex.Oracle.com/pls/Apex/f?p=16502:9
user/pass: demo/demo
"Just check the link in 1 region report-#OPEN_MODAL" report item. You can check the link with the appropriate values.
After opening modal, simply click on the button. Dialog box is closed and updated in the region. Check the link again. Link is not valid because the values are empty. (screenshots above)
concerning
J
Hi Jozef,
the values of your page P9_NEW1 - P9_NEW5 items are not in persistent session state, they are only available in memory at the time when the page is rendered. Every time when you want to refer to an element in your report, and no matter if it is in the report SQL statement or as a substitution in a link, it must present the server as part of the "Refresh" / AJAX call so that the server can initialize this session state and you are able to reference it. You can do this by setting "Page elements must send" your report. In your case, you must set it to P9_NEW1, P9_NEW2, P9_NEW3, P9_NEW4, P9_NEW5. See the example updated, you provided.
Concerning
Patrick
-
Interactive report with display of the icon to set the page element
Hi all
I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.
I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.
My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.
Any help is appreciated, thanks.
Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?
For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:
ORA-01427: einreihig subquery returns multiple rows
I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:
with icon_tree as ( select ic.id_icon , ic.icon_name , ic.link_name , nullif(connect_by_isleaf, 1) is_parent , level depth from icons ic connect by prior ic.link_name = ic.id_parent start with ic.id_parent is null) select id_icon , icon_name , link_name , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src , nvl2(is_parent, '586', link_name) target , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item , nvl2(is_parent, link_name, null) parent_id , :app_id app_id , :app_session app_session , :debug debug from icon_tree where depth = 1
In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:
#ICON_NAME#Public static ID
icons
andresults
are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the
data-parent-id
attribute has a value):Event: Click
Selection type: jQuery Selector
jQuery Selector:
.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])
Real Actions
Seq: 10
Action: Delete the class
Class:
selected
Selection type: jQuery Selector
jQuery Selector:
.apexir_WORKSHEET_ICONS a
Seq: 20
Action: Add the class
Class:
selected
Selection type: trigger element
Seq: 30
Action: Set value
Wait for result: Yes
Type of value: Expression of JavaScript
JavaScript expression:
$(this.triggeringElement).attr('data-parent-id')
Selection type: Agenda
Point: P586_ID_PARENT
Seq: 40
Action: Discount
Selection type: Region
Region: results
Seq:50
Action: Show
Selection type: Region
Region: results
Seq: 60
Action: Cancel event
Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:
#results { display: none; } #icons .apexir_WORKSHEET_ICONS a { border: 1px solid transparent; border-radius: 3px; padding: 0.8em 0 0.5em; } #icons .apexir_WORKSHEET_ICONS a.selected { border-color: #6a9cda; background-color: #bbd1ec; transition: 0.6s; }
However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?
-
LOVs using cascading on the Page elements with values exceeding 4000 characters
A few days ago, I asked a question on the community, but it turned out that there was something wrong with my account and they have removed the item, so I'll just post the solution I found here now:
Well, I found a way to use LOVs cascading on page elements with values exceeding 4000 characters:
Let's say I have a shuttle named P1_ORGANISATIE with "List of values" box, a dynamic LOV named "Source: lists of values Query" containing the value:
Select NAAM as display_value, ID like return_value
of NINEHAM
order by 1
If the number of records-NINEHAM is insufficient, the length of the value of P1_ORGANISATIE, which is a list of concatenated with colon separated digital ID, can exceed 4000 characters.
Now, suppose I have a list of selection called P1_TEST that is connected through "List of values"-> "Cascading LOV Parent article (s)" with P1_ORGANISATIE, using a named LOV dynamic with "Source: lists of values Query" containing:
Select distinct TST. NAAM as display_value, TST.ID as return_value
of the OTE NINEHAM
Join the AFDELINGEN ADG ON (ADG. OTE_ID = OTE.ID)
Join the DEELNEMERS DNR ON (DNR. ADG_ID = ADG.ID)
Join TESTDEELNEMERS TDR WE (TDR. DNR_ID = DNR.ID)
Join TESTEN TST ON (TST.ID = RDT. TST_ID)
where instr (":" |: P1_ORGANISATIE |) '':'', '':'' || OTE.ID | :'') > 0
order by 1
In this case, when P1_ORGANISATIE exceeds 3998 characters, you'll get an "ORA-01704: string literal too long"-error and the P1_TEST will show an element called "undefined".
A way around this is possible because for a named LOV, you can use a "function that returns a sql query" instead of a simple sql query. In other words, we can apply in the context of PL/SQL and thus have maximum for expressions of 32767 instead of 4000 characters. In addition, it is possible to use the two APEX_UTIL. STRING_TO_TABLE and APEX_COLLECTION.
Setting "Source: lists of query values" on the LOV appointed to P1_TEST with the following code will work:
DECLARE
l_selected APEX_APPLICATION_GLOBAL. VC_ARR2;
l_qry varchar2 (32767): =.
"Select distinct TST. NAAM as display_value, TST.ID as return_value
of the OTE NINEHAM
Join the AFDELINGEN ADG ON (ADG. OTE_ID = OTE.ID)
Join the DEELNEMERS DNR ON (DNR. ADG_ID = ADG.ID)
Join TESTDEELNEMERS TDR WE (TDR. DNR_ID = DNR.ID)
Join TESTEN TST ON (TST.ID = RDT. TST_ID)
$1
order by 1';
BEGIN
IF: P1_ORGANISATIE IS NULL
OR LENGTH(:P1_ORGANISATIE) < = 4000
THEN RETURN
Replace (l_qry
,'$1'
,' where instr (":" |: P1_ORGANISATIE |) '':'', '':'' || OTE.ID | :'') > 0'
);
ON THE OTHER
l_selected: = APEX_UTIL. STRING_TO_TABLE(:P1_ORGANISATIE);
APEX_COLLECTION. CREATE_OR_TRUNCATE_COLLECTION (p_collection_name = > 'ORGANISATIE_COLLECTIE');
FOR id IN 1.l_selected.count
LOOP
APEX_COLLECTION.add_member (p_collection_name = > 'ORGANISATIE_COLLECTIE')
, p_n001 = > to_number (l_selected (id))
);
END LOOP;
RETURN
Replace (l_qry
,'$1'
,'join apex_collections ON APC (APC. COLLECTION_NAME = "ORGANISATIE_COLLECTIE" AND APC. N001 = OTE.ID)"
);
END IF;
END;
Andreas Groenevelt says:
A few days ago, I asked a question on the community, but it turned out that there was something wrong with my account and they have removed the item, so I'll just post the solution I found here now:
Something was wrong with the whole site: AP invoice tolerance
I don't post anything substantive until we find out what is happening.
-
I'm building a Spry model page menu.
I'm building a Spry model page menu. I create the title, and the first column is fine. The problem is when I build that the second column of the upper area is slightly misaligned with the decoder in the first column. Is it possible to align the top of these two columns. I anm using CS6 thanks Geoff
Don't use Spry. It is neither sensitive nor touch the screen of the environment.
These days, people want sensitive web sites that work in all devices; desktop not only.
W3 Schools - Bootstrap (free)
http://www.w3schools.com/bootstrap/
Seven of the project (commercial extensions for DW)
Responsive CSS Layout Builder for Dreamweaver
Nancy O.
-
Can not set a value by the executed dynamic action on the page element "selection list."
I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.
I created a dynamic action on the page element "selection list" for this.
These are the dynamic action attribute:
When:
======
Event: change
Selection type: point
Article: P29_PURCHASE_ORDER
Condition: No strings attached
Advanced:
========
Scope of the event: static
Identification:
==========
Action: Set
The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "
Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon
I want to value when the value of change of select list according to this change successfully.
Please, advice me,
Best regards
Mustafa Ezzat
Hello
you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?
Then, the SQL statement would use the current selected value.
This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»
Kind regards
Erik-jan
-
Hello
I'm new in APEX. I work with APEX 4.2.
I have a simple form in a page (page no. 3) and I have another region containing a tabular form on the same page.
P3_EMP_ID is a part of the area of simple form.
And there is a column field named 'emp_id' tabular.
If it is possible that
When I click on the button "add row", field in the column named 'emp_id' in a table will be filled with the value that is available in P3_EMP_ID?
Pls someone help me.
Thnks
Magali
Yes, it is possible
simply to > edit in > attribute report > change empno field tabular > attribute in the form >select and set up according to
default type: point (the name of the application or page element)
default: P3_EMP_ID
I hope this helps...
-
Transfer data from a page element
Hello community,
I hope you can help me. My English is not as good as my first language. I want to dispay data in a report to the Summit of the use of a function table. The function expects certain parameters and they are expected to be incurred by the user of the application of the apex in page elements.
How can I transfer the value of an element of page in the table of functions without storing in session state? Is this possible? The are many users, who use the same page (without authentication). So they are all the same user and I cannot store all the data in session state, because another user will see, at the opening of the application.
This is my select statement: select * from table (TABLE_FUNCTION (parameter1, parameter 2...))
When I use: the POINT, after the redirection, the value is null and the report does not show any data.
Many thanks! Kind regards
SSE
I'll put it to you that your humble opinion is incorrect.
As indicated in the documentation, visitors to a page of the APEX will be will see a session ID, regardless of if they are connected.
: APP_USER is the same thing, but: SESSION will be different.
Have you tried that?
-
The difficulty to define a page element by using $s
Hi all
I try to use an APEX 'list' as a "pick list", so that the user can click just a value in the value list on the right side of the page, and then refreshes the tabular presentation, query data for the selected value.
I have a point to page setup to store the selected value and I can select an item in the list and I can see it changes the page element, but there's just the question for a second, and then the question is equivalent to null.
Here is my sample application:
Workspace: leppard
username: guest
PW: app_1000
App: MyTestApp (App ID: 32581)
Page: 27
apex.Oracle.com/pls/apex/f?p=32581:27
My dynamic action is named "Select a list item" and is based on a picker jQuery (li) and contains a simple code:
$('li').click(function() { var text = $(this).text(); $s('P27_LOC', text); });
Then I have another real action to refresh the form of the tab area.
I can't understand what I'm missing or why I see this behavior. Any advice or suggestions are appreciated!
Thank you
John
I brought the following to your application changes to make it work:
Change 1: as Scott suggests, your list of 'Place' under the shared components missing the href of the link. I changed your 'Location' as shown below.
Before:
select distinct null, loc label, null target from dept
After:
select distinct null, loc label, 'javascript:void(0);' target from dept
Change 2: page 27, I edited your "Table" report Under the "Region definition-> Source-> Page elements must send", I entered the name of your item to display P27_LOC. This is because $s (JavaScript API) sets the value of the element on the page (DOM) and not in session state.
3 change: page 27, I edited more your 'Table' report but this time to allow the partial-Page update. Report of the attributes-> layout and Pagination-> Enable partial Page Refresh. I've changed that from no to Yes. "Refresh" action under dynamic actions can refresh your report in the form only in a partial Page refresh was set to Yes.
Thank you!
JMcG
-
How you trigger sort column of the APEX report interactive page element?
Hi guys!
A certain page, I have an interactive report of the APEX. Part of the query is similar to:
SELECT
...,
(definition column1) BCV,
(definition column2) RFV,
...
table. RAU,
The TABLE table_name,...
WHERE conditions;
I also have a defined through the following LOV page P121_SORT_BY (selection box) element:
SELECT "BCV" d, "BCV" r FROM DUAL
UNION ALL
SELECT "RF value" d, 'RFV r' FROM DUAL
UNION ALL
SELECT 'RA (USD)' d, "RAU" r FROM DUAL
I've linked a dynamic Action to P121_SORT_BY which runs on the 'Change' event and performs the following JavaScript Code:
var my_column = $v ('P121_SORT_BY');
Alert ('test1');
$x('apexir_COLUMN_NAME').value = my_column;
Alert ('test2');
gReport.column.order ('DESC');
Alert ('test3');
Alert (my_column);
Obiously, there is something wrong with my code JS... What can I do to make my report interactive sort DESCENDING column selected in my page element?
Please note that I also tested the JS without comments and I get pop ups (test1, test2, test3 and the correct name of the column of my_column) but the report isn't back to normal... What am I doing wrong?
Thank you
Digital
Hi all
I found the answer to my question by navigating through the java scripts in Apex.
So, this is what works:
gReport.last_col_id = "BCV";
gReport.column.order ('DESC');
Where "BCV" is actually your name of column position, you can send it by a Page Item and means of descending "DESC" and "CSA" means growing.
I hope this helps other people too.
Thank you
Digital
Maybe you are looking for
-
IdeaPad s6000 and netflix does not?
Anyone have this problem? The app loads fine, but when I play a movie, it goes to the loading screen and that he never plays.
-
0xc000000e - Windows Home Server 2011 - how to open the repair or the command line option
Hello I currently have the problem that my Windows Home Server 2011 stops booting with the 0xc000000e error code. Of course, I searched the web and found the following article: https://support.Microsoft.com/en-us/KB/2261423 Can I boot from my install
-
Canon PowerShot S300 2.1MP camera digital win 7 drivers
Canon PowerShot S300 2.1MP camera digital win 7 drivers. Someone at - it a Win 7 driver for this device?
-
Definition of the spatial extent
HelloI use an Oracle GeoRaster object to store my raster data. After you import the images I find in my table GeoRaster the spatial extent of the object, which looks like this:MDSYS. SDO_GEORASTER (21001, MDSYS. SDO_GEOMETRY (2003,4326, NULL, MDSYS.
-
vSPhere VM without protection in cluster HA
Hello user of VMwareI have a very strange problem with my vmware ha cluster and nfs.vSphere is installed on two servers HP ProLiant DL380 Gen8vCenter runs on a HP ProLiant DL160 G6.NFS and iSCSI is already running on a HP ProLiant DL180 G8In my data