Form on page zero
I am trying to build a search box that appears on every page, so putting on page zero would seem to be the right thing to do. Unfortunately the submit button that goes with the box only works on page zero, for every other page the application complains about not having a page to branch to...
What is the proper way to have a submit button on every page without having to place it on every page by hand?
I think this would work if you could make the document object a member of the Object being created.
To do that, a constructor needs to be invoked so that it can instantiate a public property of the Object.
var MyUtil = new Utility(this);
inside of Utility I would have:
this.oPDFdoc = this;
thereby transferring a reference to the entire PDF document to my Object.
Getting this to work would eliminate the need for all of the document-level javascript references.
Similar Messages
-
Custom pagination for APEX 4.2 interactive report using Page Zero
Hi,
I want to implement an «Custom pagination for APEX 4.2 interactive report» using a «page zero».
I recently migrate from Apex 3.1 to Apex 4.2 and my «Custom pagination for APEX 3.1 interactive report» using a «page zero» is not working any more.
So now I try to adapt an excellent example of Jari Laine for 4.0 but using a page zero.
I put the code JavaScript to Page zero but I must create an dynamic action to fire only for an interactive report region.
It’s a good idea?
Thank youThought I would try once more with my DatePicker question.
On the Apex.Oracle.Com website I have created a 1 page application that has an Interactive Report.
[url http://apex.oracle.com/pls/apex/f?p=15655:1]
user = 'test'
password = 'test'
I have 2 questions :
(1) In IE7, press 'Actions', 'Filter'. On the Column dropdown list, select 'Order Timestamp'.
Notice the prompt icon to the right of the 'expression'. This should change to the Datepicker, but in IE7 it does not. Try the samething in Firefox or Chrome and the Datepicker will appear.
Is this a BUG, or does Apex 4.02 not support IE7 ?
(2) In Firefox or Chrome, where you can now see the Datepicker, you will notice that it is the new style picker, not the old style ( called 'classic' ). I want to change it so that it shows the 'classic' datepicker not the new, but cannot see how to do it, if indeed you actually can.
I would really appreciate it if someone could take a look and let me know if I am going mad, or if we need to get all our users onto IE8. We have now gone live with Apex 4.02 and need to resolve these issues.
Thanks in advance.
Edited by: DooRon on 10-Mar-2011 05:13 -
Hello:
I am trying to create a pop-up window that doesn't have some/all of the page zero regions. I don't want to create another page just for the pop-up window, I would like to use the same page but with(out) some privileges. I just don't want the user to be able to navigate to other pages (page zero lets you do that) from the pop-up window. Is there a way some/all page zero regions can be not shown when a pop-up window is displayed?
Thanks,
-Bino
Edited by: bino on Jun 2, 2010 7:11 AMHi Bino -- I'm not sure how you are bringing up your pop-up window, but you can set conditions on the regions in page 0 just like any other page so, for example, you could have a certain region not appear if the user is not logged on or if an item has a certain value, etc. If you are going to use an item value, when you bring up the pop-up window, you could set the value of that item right in the URL as one option.
Rgds/Mark M. -
Hide page zero regions in the builder
Hi
We are using APEX version 4.0.2. are have many shared regions (SQL Reports) placed on page zero.
There are conditions on these (page must be in...), and that works fine when running the application.
The problem is in the builder, where these page zero report regions appear in the builder, even though the page is not included in the region condition
(and the region is never shown on the page at runtime).
It is a bit confusing to see these page zero regions in the builder - as a developer, so have anybody found a way to hide them ?
Note: we also have SQL regions on page zero, but these do NOT appear in the builder ??
Brgds
MartinAnybody have any input to this ?
For me it would make sense that I only see the those page zero region which actually apply to (are used on) my page.
I see the issue concerning this being determined at runtime, howver perhaps an exception could be made for for "page in" condition ?
Brgds
Martin -
Auto Query Form on Page not working
Hi,
I created a simple form portlet and want to autoquery it on a certain record. I added this code to "Before displaying the page" :
p_session.set_value(p_block_name => 'DEFAULT',
p_attribute_name => 'A_STC_SAMPLINK',
p_value => 620352);
p_session.set_value(p_block_name => 'DEFAULT',
p_attribute_name => '_CALLED_FROM_LINK',
p_value => 'STC_SAMPLINK');
PORTAL.wwa_api_module_event.do_event('DEFAULT', 'QUERY_BOTTOM', 1, 'ON_CLICK', True, '', p_session);
This performs the query but i see this first record of my table, while it should show the record with STC_SAMPLINK = 620352. When I remove the do_event statement, i can see the field filled in correctly and when pressing the query-button manually, it does show the record with STC_SAMPLINK = 620352.
What am I doing wrong?
Using Application Server 10.1.2.0.2 on HP-UXI just discovered that it does work using p_session.set_shadow_value (with extra p_language parameter). Does this mean that note 316158.1 on metalink (based on Auto Query Form on Page is no longer valid for 10g ?
-
When I try to print in booklet form, the pages are scaled down greatly.
I am trying to print an excel sheet (converted to PDF) in booklet form through Adobe Reader. It is full size in Reader, but when I switch it to booklet form, the pages become very small. I understand that each page fits on one half of a piece of printer paper in order to be folded, but they become extremely small.
. I am not allowed to select. I think I hve to change a setting, bt what?
David, have you enabled the "Autoflow" options? There are settings behind the cogwheel, that will automatically place unused images onto new pages. If you only want to select a few images from a large project, disable these two options:
Or start your book froman album, that only contains a selection of your images, rather than from the whole project.
Reagrds
Léonie -
We are looking for a PDF template solution where we can print two 1099 forms per page. I can see there is an Enhancement Request BUG 7604141 but we need a fix sooner than that may become available.
Our organization is having this issue with the new Adobe forms that were released. The 1099 smartforms print 2 forms per page but the 1099 adobe forms are only printing 1 form per the OSS note that was just released - Note: 1949022. Is there somewhere in config that we can select to print 2 per page?
We are using IDWTCERT_US_1099MISC which will print just 1 form per page ( we also had to make some adjustments because the top gets cut off...)
form IDWTCERT_US_1099MISC1 will print 2 forms per page but it is not a new vendor that prints on the form it is a copy of the first on the page
The 1099 Interest adobe form prints 2 per page with IDWTCERT_US_1099INT - this is curious too because the smartform prints 3 forms per page
Has anyone else experienced this issue? Do you know how to resolve it?I am considering putting in a problem report.
Thank you -
1099 Form - Misc doesn't print 2 forms per page.
The 2007A PLD form that we have prints only 1 form per page. The 1099 forms that we have for MISC have 2 'forms' per page. I have tried scaling the size of the repetitive area so 2 vendors print per page, but I am unsuccessful. How does PLD know how many vendors (1099's) to print per page?
Our organization is having this issue with the new Adobe forms that were released. The 1099 smartforms print 2 forms per page but the 1099 adobe forms are only printing 1 form per the OSS note that was just released - Note: 1949022. Is there somewhere in config that we can select to print 2 per page?
We are using IDWTCERT_US_1099MISC which will print just 1 form per page ( we also had to make some adjustments because the top gets cut off...)
form IDWTCERT_US_1099MISC1 will print 2 forms per page but it is not a new vendor that prints on the form it is a copy of the first on the page
The 1099 Interest adobe form prints 2 per page with IDWTCERT_US_1099INT - this is curious too because the smartform prints 3 forms per page
Has anyone else experienced this issue? Do you know how to resolve it?I am considering putting in a problem report.
Thank you -
How to create page zero in oracle apex 4.0?
Hi All,
How to create page zero in oracle apex 4.0?
Regards
ManiHi,
Home > Application Builder > Application xxx > Create Page
At bottom center on wizard there is Page Zero
Regards,
Jari
Edited by: jarola on Aug 25, 2010 7:28 PM
And here is chapter about in documentation
http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/ui.htm#BGBFFFGH -
How to reference current tab on page zero?
Hi,
I have regions placed on page zero. How could I reference the current tab? I have to many pages, so using display condition by using page ID is little uncomfortable. I thought I could make a condition by using SQL expression and referring the label or name of the currently active tab. I think, this is a trivial question, but I can not find how to referre to the current tab's name or label.
TamasHi
I have the exact same problem.
I cant have multiple navigators on page 0.
Therefore my navigator on the left hand side should be dynamic, based on the tab I click.
I've gotten this far (select statement below), but I don't know how to reference the current tab that I've clicked on / the current tab is active (see :P0_TAB_NAME)
select "MENU_CODE" id,
"PARENT_MENU_CODE" pid,
decode(menu_type,'FL','<img src="#APP_IMAGES#folder.png" border="0"
style="vertical-align:middle"> <b>' ||menu_description,
'PG','<img src="#APP_IMAGES#pgm.png" border="0"
style="vertical-align:middle"> <b>' ||menu_description,
'PG','<img src="#APP_IMAGES#tree_group.png" border="0"
style="vertical-align:middle"> <b>' ||menu_description) name,
decode(page_name,null,null,'f?p=&APP_ID.:'||page_name||':&SESSION.') link,
null a1,
null a2
from "CANELAB_NAVIGATOR" a, APEX_APPLICATION_TABS b
where b.display_sequence = a.menu_group
and b.tab_name = :P0_TAB_NAME
order by MENU_CODE -
Forms 6 page/up/down problem
In a multi record block in a forms, the page up and down keys are not working as in older version of developer( forms4.5) it was working. (I have upgreded my form from 4.5 to 6.0 ) Please help me to set the page up/down functions working.
You should be able to fix it with Oraterm. This is the procedure I recieved from Oracle Support (it works):
1) applied patch # 2 not only for oraterm, but also forms and reports and all
products
Run a simple form. Ctrl+PageUp and Ctrl+PageDown are not mapped.
Left and Right arrows are not mapped too.
2) open oraterm 6.0.5.30.0. , open ORANT\FORMS60\fmrwus.res.
3) Click on the first button (K)
4)Click Product Actions button
5)Select Normal , under runform.
6)Click Edit Actions
7)If these actions are not defined, please define them. The first column is the
action. The spelling is important. The second is the internal code for that
action.Important too. The third is just a description, that will appear .
when you issue the show keys command.Don't remember all that is missing. If
you find something else is missing, go to .res shipped with Dev 2.1 and copy
the actions, codes and bindings.
7.1)Insert Row
7.2 type Left 5 Left
7.3)Insert Row
7.4)type Right 4 Right
8) Now click ok.
9) Ok, again.
10)Select normal, under runform
11)Click Edit Key Bindings
12)Insert the following actions and bindings:The spelling (including spaces)
is important here.
12.1) Scroll Down | PageDown
12.2) Scroll Up | PageUp
12.3) Previous Block | Control+PageUp
12.4) Next Block | Control+PageDown
12.5) Right | RightArrow
12.6) Left | LeftArrow
13) Click ok.
14) Click ok
15) Generate, by clicking the rightmost button.It'll ask if you want to save
(yes) and say generate successifull.
16) exit (save again).
null -
Stopping a page from using Page Zero
I have an Apex application (v 4.2) which uses a page zero, and one level navigation tabs. Is there any way to create a new page which still uses the navigation tabs, but doesn't inherit page zero?
Or can I create a 'different' page zero and have some pages inherit that instead?Antilles wrote:
I have an Apex application (v 4.2) which uses a page zero, and one level navigation tabs. Is there any way to create a new page which still uses the navigation tabs, but doesn't inherit page zero?
What exactly are you trying to do? What do you mean by "one level navigation tabs"? Standard tabs are rendered by the page template, not by a region.
To suppress a page zero ("global page" in new terminology) region, use a Current Language is not contained within Expression 1 condition on the global page region, and create a region with a different definition in that display position on the new page.
Or can I create a 'different' page zero and have some pages inherit that instead?
No, APEX currently only permits one global page for each user interface type defined for the application. -
I am trying to display some header text on every page. So I did it on page zero in the page header after I created page zero. Unfortunately it does not display it on every page, just on page zero. Would anybody know why.
Thanks
AronAron,
The best way to debug this would be for you upload your application to the public server, however if I had to have a 'guess' at what the problem is I'd say try looking at the "Conditional Display" to make sure that it's correct for what you're trying to achieve. -
Page zero - setting cache through database
Hi!
Just wondering, if you set caching properties of a region on page zero through the database will this trigger any problems in the application. If not, will the caching work if you manage it this way (because it is not possible to set those properties on page 0 through the application builder).
Thanks!
JosipJosip wrote:
Just wondering, if you set caching properties of a region on page zero through the database will this trigger any problems in the application. If not, will the caching work if you manage it this way (because it is not possible to set those properties on page 0 through the application builder).Hi,
Do you mean that you will modify APEX schema tables data?
If you do that, then your instance is unsupported state.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Page Zero (0) - Regions Caching / Page Caching not available
Hi,
My page zero display information from a calendar table (fiscal year, etc.). This information will be the same all day long (get updated at midnight). It's not possible to enable caching of regions on page zero. It's also impossible to enable caching of the page zero.
Why?
Thanks,
Louis-Guillaume
[My Blog|http://lgcarrier.blogspot.com]
[APEX and jQuery demos|http://www.insum.ca/jquery]Louis-Guillaume,
Good question. We have asked ourselves this and are considering removing the restriction in 4.0. I think it initially had to do with preventing unwanted side effects and anomalies although none of us can recall the details right now. We will have to carefully look at ways to make this something developers can use easily while preventing strange results. First of all, caching of page 0 doesn't make sense. You want to be able to cache regions on page 0. Now, say your page 0 has two regions, P0_CACHED and P0_DYN (one cached, one dynamic). And your page 10 has region P10_CACHED. When page 10 is rendered, you'll get:
P0_CACHED
P0_DYN
P10_CACHED
That looks okay, you get one cached region from page 0, one dynamic region from page 0, and one cached region from page 10. Of course you have controls with which to purge any individual region from the cache so you can cause P0_CACHED to be refreshed whenever you like.
But say page 20 is a cached page. When it renders you'll get:
P0_CACHED <-- not from the page 0 region cache but from the page 20 page cache, regardless of the "stale-ness" of the page 0 cache
P0_DYN <-- not rendered dynamically from page 0 but retrieved as part of the page 20 page cache. But this content may be different from the content for the same page 0 region displayed on page 10 one second ago or one second from now.
P20_DYN <-- from the page cache as is normal for a dynamic region on a cached page
Hardly a thorough treatment, I realize. Just wanted you to know some of the aspects we have to consider. We will also have to read this thread again to come back up to speed: V3 Caching - any more info? .
Scott
Maybe you are looking for
-
Help! do not want to loose music on my iPod by syncronizing it!
Hello, I got a brandnew iPod for christmas from my dad and now I'm ready to drop it out the window! The problem is my dad bought some music for me too, but he just uploadet it on my iPod and deleted the original files afterwards (means: I do have tha
-
How do I put HD video from my HD Comcast cable box to my MacBook Pro? This is very important to me.
-
When and Why Do We Need to Create 2 Diff iTunes Libraries?
Hi, When and Why Do We Need to Create 2 Diff iTunes Libraries? Thanks. Ed
-
Cannot save any file opened in Photoshop CS5
Hi all, looking for some help... I've got a 27-inch Imac running: Mac OS X Lion 10.7.1 Processor: 2.8 GHz Intel Core i5 Memory: 4 GB 1333 MHz DDR3 Graphics: ATI Radeon HD 5750 1024 MB Storage: 1TB HD with 920 BG free The problem is (thus far) exclusi
-
Controlling display of maximize Minimize buttons for Portlet desktop
I am consuming non-weblogic producer in a weblogic based federated portal. Just wondering if this possible for a proxy portlet running in a streaming desktop. I Would like to remove the maximize and minimize buttons. For a file based proxy portlets,