Hide button or region on the loading of the page
Hello
I have a page with the key. my request is to check a VO attribute if its value for example N the button is hidden, otherwise it will appear.
Hello
See below a link to hide and display the button on certain conditions.
Oracle Application Framework items of Dilip: hide / show region PFR on event
Now for any questions.
Thank you
Dilip
Tags: Oracle Applications
Similar Questions
-
Error when you try to create a region of the page generated by the anonymous pl/sql block
Hi guys I tried to create a region of the page which is the source and anonymous pl/sql block and I have been making a few mistakes. Basically what I want this region to do, is to give the current user of the application one summarized data compared to there user name which is: app_user the code I used was
declare
ven_ret varchar2 (15);
BEGIN
ven_ret: = (select u.vendor of USERS4ARCHITEC u )
where
u.e_mail = V ('APP_USER')
and not exists (select null from arch_tbl I where u.vendor = i.vendor and user_id = V ('APP_USER'))
order u.vendor in ven_ret);
END;
/
the structure of the table to the USERS4ARCHITEC table is
User varchar2 (15) vendor2 (20)
----------------------------------------------------------------------------------
user@1 sap
user@1 oracle
user@1 IBM <---------sample data
user@2 Oracle
user@2 cisco
the structure of the table to the arch_tbl table is
user vendor
--------------------------------------------------------------
user@1 sap
So if user@1 logs in the application of the region using the pl/sql code code above should display oracle and IBM, because these two sellers are always under his username that he has already used a form to insert the sap into the arch_tbl table. Please tell me what I'm doing wrong here. Thank you guys
Why would you build a type psedu at APEX report MANUALLY when you can just build a relationship with the same selection you use now for your pl/sql dynamic region? What is the purpose of building your own report when the tool made for you?
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Automatically expand a Hide and Show model region when the Page loads
Hello
I work with a Hide and Show region model, and I'm trying to accomplish the following:
When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.
I use Apex 4.1.1.
Any ideas?
Thank you
ErickHello Joe,
Thank you for your response.
This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.
For those interested, check this thead element: Re: hide/show the region
Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();
Thank you
Erick
-
Create new region in the page template
Hello
I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.
Any suggestion
Hani says:
I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.
Any suggestion
You cannot create additional region position placeholders. Why do you think that you need to do?
Several areas can be assigned to each position in the region, the existing placeholders can be moved, regions may contain subregionsand region controlled by the attributes of the region and/or CSS page layout. These options provide more flexibility for most requirements.
-
How to control the width of a region of the page height
Hi all.
How can I control width, height of a page region?. Say you have 4 regions on a page and you want to tightly control these attributes, for example as a percentage of the size of the page.
Is it possible?, also can be manipulated dynamically?
Best regards, Luis...!Hi Luis,.
I know not dynamically, but in the attributes of the region, you can add
'style="width:100px"
(or any value you want 10%, 25% etc.) to control the width
and to control the height, you have to add:(new or any size)
to the header of the region andthe foot of the region
concerning
BarneyPublished by: barneyonfire on January 27, 2012 16:58
Sorry, it has not shown the tags before...
-
JSF HTML Command Button: Prevent reloading of the Page
I know that for ADF Faces major command buttons, you can set partialSubmit to true to prevent the reload of the page. I need to do the same thing for a JSF HTML command button, but there is no such property. I want to really just change the properties of the button when it is selected using javascript. I don't want anything to show up at all. Is it something I could set the action property to prevent this?
Thank you
TimTim,
Try this instead:
Binding = "#{backing_Test.commandButton3} '"
ID = "commandButton1."
onclick = "return false" / >I hope it will work for you,
Brian
-
attach a region or the page tab
Hi all
We've added a new tab on the page of the supply.
for example, we already have four tabs available: requisitions, negotiation, Intelligence and administrator.
Now we have added the new tab.
but we get null pointer exception when click New tab.
can anyone has idea how to fix?
-FaisalHello
FSL wrote:
As I just want to test my work with any page.so I enclose you a page simple xxPG.xml is necessary to attach AM.if yes then what AM to tie.-page and should contain AM.
-Create new AM in bc4j xxx.oracerl.apps.po.msg.server.
- and join the page.Concerning
Meher Irk -
Show hide columns generates error on the page if not found data
Hello
Has anyone ever encountered a situation where a page error when using the feature show hide column and no data is returned.
My region to report is based on SQL and when calling at the start page or when restrictions are no match all all the data that appears is the message "No data found" by default. The method used, I pulled Carl Backstrom (RIP) application.
< script type = "text/javascript" >
function html_HideBasedOnCheckBox (pThis, pThat) {}
if(pThis.Checked == true) {}
html_ShowCellColumn (pThat);
} else {}
html_HideCellColumn (pThat);
}
}
function getCellIndex (pRow, pCell) {}
If (document.all) {}
for (var i = 0; i < pRow.cells.length; i ++) {}
If (pRow.cells [i] == pCell) {l_Count = i}
}
} else {}
l_Count = pCell.cellIndex;
}
Return l_Count;
}
function html_HideCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_HideElement (l_Rows.cells [l_CellI]);
}
return;
}
function html_ShowCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_ShowElement (l_Rows [i]. Cells [l_CellI]);
}
return;
}
< /script >
The attributes of HTML form elements is: onclick = "html_HideBasedOnCheckBox (this, this.value)" "
The LoV for this box is static for a column.
This set works very well if the data is returned. It must have something to do with the topics defined in the SQL code and therefore are not displayed when no data is returned. The code is then try to hide or something that does not exist.
The part where he falls is during the setting of the variables:
function html_HideCellColumn (pId) {}
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
... and more specifically the last variable setting: l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
Does anyone know how I can get around this by using the method of SQL report i.e. Select col1 col2 "Column 1", "column 2" From myTable etc. or if it is possible to make up for it at the beginning that is
If NO_DATA
then
dont_hide/display_any_columns that_dont_exist
on the other
var l_Cell = $x (pId);
var l_Table = html_CascadeUpTill (l_Cell, 'TABLE');
var l_Rows = l_Table.rows;
l_CellI = getCellIndex (l_Cell.parentNode, l_Cell);
for (var i = 0; i < l_Rows.length - 1; i ++) {}
html_ShowElement (l_Rows [i]. Cells [l_CellI]);
}
return; ........
???
See you soon,.
MikeHi Mike,.
In fact, you can check the existence of the cell:
var l_Cell = $x(pId); if (l_Cell) { rest of the code to hide the column }
As long as l_Cell makes reference to a valid page element, then the if test passes and the rest of your code can work.
Andy
-
the firefox button is higher up the page and I can find
the search engine bar upstairs disappears and reappears only when I move my cursor up there and it didn't use to do. In addition, the firefox button is not there either. I uninstalled and reinstalled firefox, but it changed nothing. can you help me? can I have the old version back?
You are in full screen - press F11, or
Showing the Menu Bar(File, Edit etc) - right click on the toolbar area and uncheck menu bar.
-
How to add 'next' and 'previous' buttons to scroll through the pages of detail point web app?
My client application buttons "previous" and "next" to go to the details page of an element of web application to the previous/next item details page in the same web application. What is the best way to implement that? I know that you can add paging to a list of items on a page web app, but, since you are already viewing the detail page generated by the web application, is it possible to create something similar to the order of the day? Any information would be appreciated. Thank you!
No, said Mihai is not out of the box solution, it is not too difficult, but you need a few basics of liquid and js.
Capture the URLS of all the webapp in a table then by locating the position of the current element in the table just navigate back or forward through it.
It may be useful
-
Each screen extends about 1/4 - 1 / 2 inches off to the right and cannot be seen. I am unable to use vertical scrolling even thought the good box is checked. The red box with the X is also off the screen. Run the slider to the extreme limit to close.
Minimize the window by dragging the left edge inward, then move it so you can see to the right.
-
What makes popup appear on a specific region of the page
Hello
I use jdev 11.1.2.2.
I have a fragment jsff with a popup defined in him and that is invoked in a bean. When the popup is invoked it appears in the middle of the screen. How can I make the popup appears in the lower right corner of the screen or any other specific location similar to the download notification in browsers?
Thank you
RakeshHello.
Try the Cvele_new_account with the codeRichPopup.PopupHints.AlignTypes.ALIGN_START_BEFORE);
http://docs.Oracle.com/CD/E14571_01/apirefs.1111/e10684/Oracle/ADF/view/rich/component/rich/RichPopup.PopupHints.AlignTypes.html
-
Link to tree conditional to the region of the page
Hello
I'm still stuggling with the tree;).
I have a view from tree:
CREATE OR REPLACE FORCE VIEW 'LIB_TREE' ('ID', 'PID',
'NAME', 'LINK', 'A1', 'A2') AS
SELECT
1 id,
NULL pid,
'Documents '.
name,
null link,
null a1,
null A2
Of
Double
UNION ALL
SELECT
id_dept + 100000 id,
1 the nest.
Department
name,
null link,
null a1,
null
A2
Of
lib_dept
UNION ALL
SELECT
id_cat + 200000 ID.
id_dept + 100000 pid,
name of the category,
null
link,
null a1,
null A2
Of
lib_categories
UNION ALL
SELECT
id_doc,
id_category + 200000 pid,
name of the document,
null link,
null
A1,
null A2
Of
lib_documents
/
So, I get:
LINK code A1, A21 - Documents - PID NAME
100003 1 dept1-
1 100004 dept2-
100001 1 dept3-
100002 1 dept4-
200001 100001 contract-
200002 100004 project-
7343514157589715 200003 basket.php-
7347221195799935 200003 index.php-
Query tree finally:
SELECT
ID 'ID.',
"PID" pid,
'Name',
? p = & APP_ID.:28: & SESSION. : NO::P28_ID_DOC :'|| "" Link ID ".
null a1,
null A2
Of
"#OWNER # '." LIB_TREE ".
I have 2 problems. First is the link in a query (P28_TREE_ROOT) of the tree. In this version, I have links on each level, categories and departments are links and documents (files) that are in the hierarchy from the bottom and actually should be links. Question is: how to make a conditional link column in a query of the tree?
Second problem is related to a sql database report in an area on page 28 (the same as the tree). The report is a simple SELECT query on a table of documents which, in consequence, gives all columns and all rows of the table. Question is: what is the condition WHERE should I do, to have only one line in the result, which would rank code of the document that has been clicked on a tree.
Otherwise superior trees then documents could be links that give as a result with all report documents of the clicked Department or category...
Thaks for help.
Blazej
Published by: TheJoshuaTree on March 11, 2009 17:54Hello
First of all, as you create a view that sees all three tables, you can add another field in each select statement that identifies the level involved. You can then use a CASE WHEN... Sql statement of PURPOSE for the LINK in your tree. You could, of course, create the LINK on selects it individual - even if it means hardcode the links within the sql view. If you set the LINK to set two values on your page - one indicator to identify the level and the other for the ID, then you have your report based on something like:
SELECT ... FROM ... WHERE (:P1_FLAG = 'X' AND ID_DOC = :P1_ID) OR (:P1_FLAG = 'C' AND ID_DOC IN (SELECT ID FROM LIB_TREE WHERE PID = :P1_ID) OR (:P1_FLAG = 'D' AND ID_DOC IN (SELECT ID FROM LIB_TREE WHERE PID IN (SELECT ID FROM LIB_TREE WHERE PID = :P1_ID))
There may be even simpler means using the SQL features own tree (see the CONNECT BY clause in SELECT statements: [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries003.htm#sthref3139] - that is, in my view, how are constructed trees of Apex).
Andy
-
Check if the user has selected box element apex before the loading of the page
4.2.1
THM:2
Hello world
I have two classic reports with different conditions but even select the columns based on a sql that uses the apex_item.checkbox2 element that allows users to select the lines and run some process. I also have a radio unit that hides and shows these two reports. However, it is possible that the user select a few lines and without doing anything click on the radio button that will present the page and all the lines that earlier he had chosen will be lost. I want that we should be able to pop an alert if there are checkboxes checked and the user tried to hit the button of the radio looks like the APEX_APPLICATION. G_F01. Count is not available at the time the page is submitted. We thought to use a pl/sql to see if APEX_APPLICATION DA. G_F01. Count > 0 then trigger an alert to confirm.
Any ideas on how to do this?
Thank you
ryansun wrote:
Hi FAC586 - basically, there are two parts of the report, were grouped products consolidated (as master) and the other report has all the products of the child. So based on the option the user selects that he sees who discovers and processes information.
I tried to create the DA, but he does not seem to fire and I'm sure it would be because I have something wrong.
No, in this case, there was a typing error in my JS expression above (this is what happens when there is no example in the trial against...)
Must be:
$('td[headers="COL_ALIAS"] input:checked').length > 0
I have page submit on the evolution of radio, given that other elements of the actual application, don't do with this feature which is filled on the loading of the page.
It does not work. If the present radio on the presentation changes group cannot be controlled by the dynamic action to confirm that it has already been committed before the confirmation message is displayed. Presentation must be made by further action of real on the DA. By the way other values is possible by using dynamic actions or region to submit elements of Page properties.
But here it is necessary, if the user has activated all the lines, then changes the selection of the radio, it should show an alert to confirm. In addition, what happens if we have a very select in the box by a header label already. Can I use the same label to identify the COL_ALIAS?
Do not understand the question.
Don't know what I'm doing wrong.
As I noted above, an important part of your problem is that you asking what amounts to a series of questions XY rather than the big picture given by presenting the necessary resources. You have been really good on the creation of examples on apex.oracle.com, but they are all fragments of the righteous, which makes things difficult when you try their synthesis in something that works as a coherent whole. Various bits and pieces that have been revealed in recent weeks, it seems like this could be treated using dynamic measurements without having to send the page until the final choice has been made.
-
Conditional branch to submit during the loading of the page?
Hi all
I have a page (REPORT PAGE) which serves as a setting for the reports and is called from several places in the application. The calling page sets various parameters on the REPORT PAGE. The REPORT PAGE displays all parameters and has a button "run report".
The user presses a button (submit page) to run the report and after that the report is displayed to the user is returned to the calling page.
I want to change the behavior so that the calling page has the possibility of a parameter causes the report to run immediately - effectively by pressing the button and automatically submit the page.
The concept would be 'submit a conditional on load '. Anyone see a workaround to achieve?
Eben Walker
ebenwalker wrote:
I have a page (REPORT PAGE) which serves as a setting for the reports and is called from several places in the application. The calling page sets various parameters on the REPORT PAGE. The REPORT PAGE displays all parameters and has a button "run report".
The user presses a button (submit page) to run the report and after that the report is displayed to the user is returned to the calling page.
I want to change the behavior so that the calling page has the possibility of a parameter causes the report to run immediately - effectively by pressing the button and automatically submit the page.
The concept would be 'submit a conditional on load '. Anyone see a workaround to achieve?
Depends on what is meant by "report". When you use the word, always explicitly if you are referring to a standard report of the region, an interactive report, a shared component of report query or a custom build you just happens to describe themselves as a "report". Please explain the nature of the "report" in detail, using the standard terminology of APEX.
It sounds like something that would be managed by setting the REQUEST in the target URL or the branch on behalf of the "run report" button If the 'report' depends on the page accept the processes after a click on the button "run report", use the special form BRANCH_TO_PAGE_ACCEPT in conjunction with the value of request button causes the page to be submitted in the first place, for example
BRANCH_TO_PAGE_ACCEPT|RUN_REPORT
Maybe you are looking for
-
How to stop the game unsecure information visit https sites?
As ol ' IE fact when you visit https sites I'd like to interact only with information secure via a secure connection... Impossible to find a setting that allows me to do, ' cept for output/block sites.
-
Mail will not open on El Capitan 10.11. 4
Post program started to freeze last week and now won't open (never closed anyway unless that force them to leave) Is there an easy fix for a beginner to make it work?
-
How to print a PDF of boarding
I want to print my boarding jet2 holidays, but he says you must have an adobe reader, but my iPad Air support not Adobe can anyone help please?
-
Graphics memory more after upgrading BIOS on Satellite A110-195
After update BIOS spécifiée for 1.30 to 1.60 available crahpic memory: 64 MB, must be 128 MB. After the update or it my mistake?
-
Why is Hotmail deleted all of my old emails there?
When I am logged into Hotmail, I noticed recently that ALL of my old emails had disappeared. This happened about a month ago... and it happened AGAIN today. Why delete all my old hotmail emails?