Center of a region in the middle of the page
Hi all.
APEX 4.2.5
XE 11.2
Theme 26
Page template: No tabs, sidebar left and right
I have a single region HTML with a bunch of buttons on it that Im using menu... Model region using Im is "body of Template of Page 3. There is nothing else on the page.
I want to center the region HTML as well horizontally as vertically in the middle of the page... Ive done some research and there seems to be a lot of options, but so far none of them does not work for me.
Any help would be appreciated...
Kind regards
Richard
It's close:
html { overflow: hidden; } html, body, form#wwvFlowForm { height: 100%; } div#uBodyContainer { position: relative; min-height: 100% } table#uPageCols { margin: 50% auto; } section.uRegion { margin: -50% auto; } footer#uFooter { position: absolute; bottom: 0; }
Put the style sheet in CSS Inline property page. The footer content needs twisted (or disappear completely).
I suggest using the Tabs No.-No. Sidebar page template if you do not use the boxes in order to eliminate the unnecessary complexity of the table.
Tags: Database
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 -
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...
-
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 -
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
-
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
-
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
-
Error in adding an editable region in the nested template header
I have a basic model for the website (creation of main menus) and a secondary model using this basic model, which establishes a common table, on the one hand of the site layout. After you create the PHP to drive page, I need to lock this secondary nested region - otherwise any edit I make on my secondary & quot; -definition of table & quot; model is not passed to the last pages using the secondary model. I created a secondary edit box successfully in every part of the & lt; body & gt; region, and of course, it locks text outside the secondary editable help DW says it should. So far so good.
Now the problem - I can not create a region inside the & lt; head & gt; combo box to lock this region too. Normally we'd like keywords and so on to be variable from one page to another, but as I am filling variable keywords from a database, it makes sense to lock the & lt; head & gt; Too much. Does anyone know why that generates an error & quot; failed to create an optional region here & quot;? Is there anything we can do about it?> by whom?
This is DW CS3 help on nested models:A nested template is a template whose design and editable regions is based on another model. Nested models are useful for the control of content in the pages of a site that share many design elements, but have some differences between pages. For example, a basic model can contain broader design areas and be usable by many contributors of content on site, while a nested model can further define the editable regions in the pages of a specific section of a site.
> the solution
I just figured out how to lock the header in the document of reference to TechNote 16416. It is referenced in the called DW CS3 help pagePrevent an editable region to a nested model
In summary - insert the marker @@("") @ in the editable area.
I tried it and it works perfectly! The cephalic region is now locked in the nested template, so the changes in this area went from child pages. That's the answer.
> your book
Yes, I saw it on Amazon. Kudos to you for publication.> your suggestion extracted
Thanks for that. This looks like a more manual approach, however.> mysteriously missing paragraphs
Very strange, I can see them on my screen in Firefox and IE7.Best regards
Richard -
Possible to have shared SelectList in the Page template?
Hi all
I have a simple question about "what I am missing?
We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.
All the work is done, but I have a problem.
We are creating a SELECTLIST element on each page!
We use a < div > shared region in the Page template.
We use a javascript in the Page template code.
We use a common OracleSQLPackage for the entire treatment.
We use a shared item in demand for the job number.
But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.
How do we code the drop-down list in the page template?
Is it by creating the shared list?
Thanks for your help
user8115477 wrote:
Please update your forum profile with a recognizable username instead of "user8115477": Video tutorial how to change username available
I have a simple question about "what I am missing?
One thing missing is that information which is necessary to obtain a rapid and effective response when ask you a question.
We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.
All the work is done, but I have a problem.
We are creating a SELECTLIST element on each page!
We use a shared
area in the Page template.We use a javascript in the Page template code.
We use a common OracleSQLPackage for the entire treatment.
We use a shared item in demand for the job number.
But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.
How do we code the drop-down list in the page template?
You do not have. Add a global page to the application and create the item selection list it. Dynamic measurements can also appear on the overall page to implement the behaviors associated with the element. Conditions can be used to control the pages of the element and the DAs are displayed on.
-
How to position the page element?
Hello
I created a report in the same region, has also created a page element in the same region. The page element is now on the top of the report, but I need to show in the report. How can I achieve that?
Thank you
Victor
Depends on your version of the apex. 4.1/4.2ish there is an attribute on the region of the "Position of the display element.
Enter this below content.
-
Unable to set the title of the page to the pages generated by using a template
I can't assign unique page for individual pages titles, created from a template. I started with a "model" DW CS4 CSS page, modified and created my pages like this. Now, I can not access the ticker symbol on the individual pages - it is grayed - out and the page template is the only one that will allow me to make this change.
The last site I created, I used a model and has been able to do this but that was using CS3. Thank you.
It is the sign of a bad model.
This do-
Create a new page (basic HTML).
Use the FILE | Save as template...
Look at the code in the head region of the page, in particular the editable
the region around the
tag and the other editable in the head region called 'head '.
Make your template to look like that file.
Always use the FILE | Save as a template when you create your templates and you
won't have this problem again.
-
Change the title on the pages of models
On pages with a template (Dreamweaver CS3), I tried to change the title on every page. I can't use modify > Page properties because everything is locked. I was able to edit the code in Notepad, but wanted to know if there was a way to earn the title "editable" in the Dreamweaver template. Thank you.It is the sign of a bad model.
This do-
Create a new page (basic HTML).
Use the FILE | Save as template...
Look at the code in the head region of the page, in particular the editable
the region around thetag and the other editable in the head region
called 'head '.
Make your template to look like that file.Always use the FILE | Save as a template when you create your templates and you
won't have this problem again.--
Murray - ICQ 71997575
Adobe Community Expert
(If you * MUST * write me, don't don't LAUGH when you do!)
==================
http://www.projectseven.com/go - DW FAQs, tutorials & resources
http://www.dwfaq.com - DW FAQs, tutorials & resources
=================="hccs.webmaster" wrote in message
News:fk9cl7$QJ1$1@forums. Macromedia.com...
> I have the same difficulty. Help, please. Thank you and happy
> holiday. -
Display the current date in the area of the page
Hello
Is it possible to display the current date in the region of the Page?
I need to do something like: welcome & APP_USER. < date >
Please let me know!Hi Suzi,
I think that the easiest thing would be to create an element of the Application called, say, CURRENT_DATE. Then create a demand for this article - it may be a SQL query:
SELECT TO_CHAR(SYSDATE,'DD/MM/YYYY') FROM DUAL
You can set it to run once per login or before header.
Then, edit your page templates and add & CURRENT_DATE. (including the & and the.) wherever you want the date to appear
Andy
-
I have used apex 4.1, 10.3 oracle database, theme 21 (scarlet) window7
I want to change any position the region to appear in the middle of the page and I have tray every thing to do and no results
I change REGION_ATTRIBUTES to be: style = vertical-align: middle
and I add in the header of the region {< div style = "vertical-align: middle" > < / div > ""} and no results and the region do not move in the middle of the page
My question is
1 a way to make the region in middle of page other
2. How can create the new Point of display area as (region Position2, Page (1) template body) with the middle position
Thank you
Published by: Ahmed Farouk on April 15, 2012 11:01
Published by: Ahmed Farouk on April 15, 2012 11:01Hello
No need to give ' style = vertical-align: middle ", replace it with this: nowrap ="nowrap"align ="center ".
see if it works.
and for the second, you can copy the existing model definition: model, in the table tag you can see #REGION_ATTRIBUTES #, simply add align = 'center' after this
and apply this model in your area.
Thank you
Tauceef
Maybe you are looking for
-
My Apple TV remote 3rd generation A1294 aluminium does not work properly, battery is good, and I tried all the resets including factory reset. the battery compartment is clean.
-
Portege Z30 - A - 13 H - problem connecting to 3 / 4g, WIN 7
Hello. I bought a laptop a week ago and was never able to use the 3 g connection.Toshiba WIRELESS MANAGER says "device Mobile Broadband is not communicate." I tried to reinstall the driver (using the last one), used 3 different Sims - the same proble
-
Satellite Pro L550 - Microphone does not work with Skype
Hello I recently installed Skype on my laptop and I went through all the tests to make sure that I can hear and can be heard. My two speakers and microphone are working fine. However when I go to use Skype to chat with people they can not hear me but
-
get a ' player rgss has stopped working "when you try to run big fish game
What is player rgss
-
Why I can't open a WPS on SkyDrive?
Why I can't open a WPS on SkyDrive?I think I should be able to convert a WPS in DOCX file into the cloud. In my humble OPINION, this task is an ideal application of cloud. GFH