Page Region Height
Is there a way to specify a height for a page region and/or portlet?
Yeah,
In the edit view of the page you'll see a pencil symbol on each region. Clicking on this allows you to edit a region's properties.
Under the region properties you'll find both Region height and region width.
The default for region height is unspecified.
There isn't a way to specify the height of a portlet specifically. They just expand to fill the available space. The only way to do it would be to code your own.
Similar Messages
-
How to control width an height of a page region
Hi all.
How do i control width an height of a page region?. Say you have 4 regions on a page and want to tightly control these attributes, for example as a percentage of page dimension.
Is that possible?, Also can it be manipulated dynamically?
Best regards, Luis ....!Hi Luis,
I don't know about dynamically but in the Region Attributes you can add 'style="width:100px" (or whatever value you want 10%, 25% etc.) to control the width
and to control the height you need to add:
<div style="overflow: auto; height: 450px;">(again or whatever size)
to the region header and
</div>to the region footer
regards
barney
Edited by: barneyonfire on 27-Jan-2012 16:58
sorry it didn't show the tags before... -
How to Create Page Regions of Equal Size
Can someone please help on how I can Create the page regions with equal HEIGHT blocks organized along the x-axis_ - as in the apex IDE tool menu path (and many areas of apex IDE ): "*Administration -> Dashboard -> Users*" tab (apex 4.0 version)
You'll notice that irrespective of the report data contained in each of the region blocks on that page, the height of all the regions are well organized along the horizontal x axis and with same heights (row 2 specifically) :).
I'm having 3 regions on my page with Lists of links. But each region has different number of list-entries, thus my regions are not displaying the same height. I'm using Template 20 and region template as: "Borderless Region". Applying ReportRegiont template also doesn't help.
To summarize, irrespective of the height of the list-entries shown in each of my 3 regions on the page - Display Point: Page Template Body (1) - columns 1,2&3 - ", the surrounding region x-y height should be same - potentially equal to the y-axis height of the region containing the maximum list entries.
Thx in advance,
SVHello SV,
you can fix the height of region by this way..
Edit the region
In Region Header section put
<table width="100%" cellspacing="0" cellpadding="0" border="1" align="left">
<tr height="350px" width="450px" align="left" valign="top"> //you can set height and width according to you
<td>
In Region Footer section put
</td>
</tr>
</table>
put the above code in all region of your page...this make your all region same height and width.
Hope this will helps you.
Thanks,
jitu -
Very intermittent missing page regions / report rows / page item values
My goals in making this posting are twofold:
1. I'm looking to see if anyone else has experienced this type of issue before.
2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
Synopsis
I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
Environment
* This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
* I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
Logs
* No application errors during this timeframe.
* Nothing of significance in the database alerts log (just thread notes and log sequences).
* Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
Thanks for your attention,
Jason
Edited by: Jason G on Jul 24, 2009 12:43 PMWell, thanks for reading the post anyway.
While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
Good luck,
Jason -
Image from database won't display in page region
Iâm having difficulty getting an image stored in the database to display in an HTMLDB page region. Iâve consulted the tutorial in Sergioâs Blog and looked for relevant threads in this forum but am still having problems. Any insights into where Iâm going wrong would be very helpful.
Iâm using HTML DB 1.5.1.00.12 and database 10.1.0.2.0 on an x86 machine running Win 2k SP4. My browser is IE6.
First, hereâs the procedure I wrote to display the picture. Although the variable names have been changed this is substantially the same as the procedure in the tutorial:
CREATE OR REPLACE PROCEDURE download_pic(p_personid in number) as
v_mimetype VARCHAR2(255);
v_length NUMBER;
v_filename VARCHAR2(255);
v_picture BLOB;
BEGIN
SELECT mimetype, picture, SUBSTR(filename, INSTR(filename, '/') +1), dbms_lob.getlength(picture) INTO v_mimetype, v_picture, v_filename, v_length FROM TBLPICTURE WHERE personid = p_personid;
owa_util.mime_header(v_mimetype, FALSE);
htp.p('Content-length: ' || v_length);
htp.p('Content-Disposition: filename="' || v_filename || '"');
owa_util.http_header_close;
wpg_docload.download_file(v_picture);
end download_pic;
Enterprise Manager tells me that the procedure is valid, and I made sure to grant execute to public.
Hereâs the source for my PL/SQL page region:
DECLARE
v_personid NUMBER;
BEGIN
SELECT PERSONID INTO v_personid FROM TBLPICTURE WHERE PERSONID = :P5_PERSONID;
HTP.P('<IMG SRC=â#OWNER#.download_pic?p_personid=â || v_personid || 'â>â);
EXCEPTION WHEN no_data_found THEN
HTP.P('No picture in system');
END;
When I run the page my region displays properly but I get the red X where my picture should be. A review of the HTTP serverâs error log tells me that the server thinks my procedure (HTMLDB.DOWNLOAD_PIC) doesnât exist. If I create a second PL/SQL page region and set the region source to just the display_pic procedure by itself, using a static number as the p_personid parameter, the picture displays in my browser, but as the only object on the page. Typing the URL http://localhost:7777/pls/htmldb/htmldb.download_pic?p_personid=1 directly into my browser also gives me the âprocedure doesnât existâ error. So I believe my procedure works correctly but somehow my URL in the img tag is incorrect.
Hereâs my marvel.conf file just in case it helps solve the problem:
Alias /i/ "D:\oracle\product\10.1.0\CompanionCD/marvel/images/"
<Location /pls/htmldb>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDatabasePassword @BTV4hSLn+NKXXGs045hwqYeJ+u2gWjROPQ==
PlsqlDatabaseConnectString BE4013882062404:1521:Robert ServiceNameFormat
PlsqlDefaultPage htmldb
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlAuthenticationMode Basic
PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
Again, any assistance that anyone can provide would be very helpful. Thanks!Robert,
please describe your task correctly:
You want to create a link (in report) with download image capability, or you need to SHOW image in report? This is a bit difference tasks.
I solved this tasks, you can do both capability in one report. It easy.
1. wpg_docload procedure can be used only for download image/BLOB, not show it.
2. For both download/show BLOB you need dual link with two different procedures. One with wpg_docload call for download, another for show with htp.prn (not htp.p!*) call for show. Then you can create call both procedures from your SQL repors select.
3. Viola, all works perfectly.
*Note: htp.p inserts newline after every block of BLOB, so JPEG with size> 32K will be incorrectly shown. htp.prn makes uninterrupted output without newline insert. -
Determining page region through FacesContext
In 11g, what's the best way of determining which region (jsff) is currently being used ?
In 10g to provide conditional "Requery Condition" I used to use #{facesContext.viewRoot.viewId} on the group to check if the table or the form view was being used. This works fine for standalone pages but not for the new regions. How can I accomplish the same thing ?
The other place I need this functionality is for wizards where I am re-using a detail group between two different wizard pages (regions). On the entry page, the detail group is to be editable but on the summary page the group is to be read only. For this I could of course duplicate the detail group, make one editable and one read only and use different groups on the different pages still pointing to the same data collection. I would rather set the "Update Allowed" property such that I could use the same group in the two different regions.
Many thanks !
Cheers,
BrentBrent,
You can use
#{controllerContext.currentViewPort.viewId}
this will return strings like "/EmployeesTaskFlow/EmployeesTable" for the table page, and "/EmployeesTaskFlow/Employees" for the form page.
Steven Davelaar,
JHeadstart Team. -
Creating Items in Personalize Page region (HTML Pages)
Hi All,
Has anyone ever ‘created an item’ in the Personalize page region in Oracle HTML pages (IE: iProcurement)...or more to the point; does anyone know how to?
I have a DFF on requisition lines that I want to make context sensitive based on the supplier used in the requisition header, and ideally I would like to set it up within the Application.
From what I have read on other forums and blogs this can be achieved by created a ‘Boolean item’ based on the supplier and then referencing this item in the ‘required’ properties of the attribute (using SPEL).
Unfortunately I have fallen at the first hurdle as I am unsure how to create the Boolean Item (I have tried – but am unsure what to fill in on the form), can anyone give me any advise (hints, tips, step by step instructions etc) on how to create an item that returns True if the supplier ‘X’ is selected (otherwise return false)?
Regards
Carlyou might have chosen an automatic sort in the region properties, for thoses where you cannot arrange items.
-
Page Orientation Automatically Changes on Changing Page Width & Height
Problem in Crystall Report 2008
If I change the Page Width & Height of report in Page Setup, page Orientation Automatically Changes according to the width of page.
Is there any way to avoid this or this is Bug in Crystall Report 2008 ?
Is there any way to avoid this serious problem ? Programatically in .Net or In Crystall Report 2008
Designer ?
Is this a know Bug ?
Solution Please..The issue can be divided into two problems:
(1) CR automatically change the orientation according to the page size
(2) Print result is wrong when the orientation is automatically changed
For (1), this doesn't have an effect in the design of the report, in fact, if you try the same operation in Microsoft Word 2007, you can perceive the same behavior.
For (2), this is the really crucial problem. Itu2019s not fully fixed in SP2, this is currently planned to be addressed in SP3.
There may be a possibility that you can get your hands on a patch instead of waiting for SP3. Open a support case, if you don't have a maintenance contract you can purchase a single case of support from here:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
If support determines the issue is a product defect you can be refunded your case. Reference this escalation number in your case: ADAPT01244707 -
XML page/region deployment without Jdeveloper
Hi,
As we know jdeveloper provides import.bat batch file to import the page region into MDS.
The requirement is i wanted to give some of the cutom deployment to the production DBA and they do not have Jdeveloper installed in their workstation .
Is there any way we can deploy the custom pages to MDS without have jdeveloper installation ?
appriciate your feedback .DBAs may use XMLImporter class found on App Server.
The command is under $JAVA_TOP/oracle/jrad/tools/xml/importer
HTH
~Kesava -
ISupport Page Region Mapping table
Hi,
Can someone please point me to the iSupport Page Region Mapping database table?
Finding information from front-end is a little bit of a task.
Kind Regards.Hi,
This EO query could be of help :
Select PageRegionMappingEO.source_context_target_id, PageRegionMappingEO.source_context_type_id,
PageRegionMappingEO.OBJECT_VERSION_NUMBER, PageRegionMappingEO.CONTEXT_VALUE1, PageRegionMappingEO.CONTEXT_VALUE2,
PageRegionMappingEO.CONTEXT_VALUE3, PageRegionMappingEO.SEED_TARGET_VALUE1, PageRegionMappingEO.SEED_TARGET_VALUE2,
PageRegionMappingEO.CUST_TARGET_VALUE1, PageRegionMappingEO.CUST_TARGET_VALUE2, PageRegionMappingEO.CREATED_BY,
PageRegionMappingEO.CREATION_DATE, PageRegionMappingEO.LAST_UPDATED_BY, PageRegionMappingEO.LAST_UPDATE_DATE,
PageRegionMappingEO.LAST_UPDATE_LOGIN , CSCT.Source_Code, PageContent.Meaning pageName, CSCT.Context_Type,
contextContent.meaning contextMeaning, '' SR_Type_ID, '' respon_id, '' appl_id, '' SR_Type_Meaning, '' respon_meaning,
'' appl_meaning
from apps.CS_CF_SOURCE_CXT_TARGETS PageRegionMappingEO, apps.CS_CF_SOURCE_CXT_TYPES CSCT, apps.FND_LOOKUP_VALUES_VL pageContent,
apps.FND_LOOKUP_VALUES_VL contextContent
where PageRegionMappingEO.source_context_type_id = CSCT.source_context_type_id and PageContent.lookup_code = CSCT.Source_Code and PageContent.lookup_type = 'IBU_CF_PAGE' and contextContent.lookup_code = CSCT.Context_Type
and contextContent.lookup_type = 'IBU_CF_CONTEXT_TYPE'
--and PageRegionMappingEO.source_context_target_id = :1
--and PageRegionMappingEO.last_update_date like '12-JAN-10'
ORDER BY LAST_UPDATE_DATE DESC;
Regards,
Mohammed -
Setting region height to stretchContent="auto"
Hi,
I have the below code snippet in my jspx page to auto stretch the content in a region. This works if my region does not render any table.
<cust:showDetailFrame
id="sdf1"
stretchContent="auto">
<af:region value="#{bindings.vivirtplatformgener al1.regionModel}" id="r1"/>
</cust:showDetailFrame>
But if the region contains a table, the table is not rendered correctly. The last column in the table gets shrinked leaving significant blank space on the right side of the layout. Below is the table definition in the region -
<af:panelStretchLayout id="psl1">
<f:facet name="center">
<af:table id="t1" width="100%" columnStretching="column:col1" ...../>
</f:facet>
</af:panelStretchLayout>
Can anyone help me on this?
Thanks,
Shubha"New to AS3" <[email protected]> wrote in
message
news:gdqfgs$kn5$[email protected]..
> OK I've started using this.. and for a while figured
this was the perfect
> answer.. but...
>
> Most of the canvases are about 30 height.. but some are
a bit bigger.. and
> once they start setting the "includeInLayout" to false,
you start seeing
> some
> of the "larger" height's interior components visible..
>
> why is that? I tried to do sometihng like:
> <mx:DataGrid
includeInLayout="{canvasObj01.includeInLayout}">
>
> but it won't set that to false.
>
> Sure there is some workaround to a glitch.. anyone know
it?
Try setting both the includeInLayout and visible properties
to false. -
Region height as % of screen
Hello,
Can I setup my region template so that it has a height of 80% of the screen?
Many thanks in advance,
MarkDimitri,
Thanks very much for your help. That works!
My attempts had not worked because I was only setting the height in the region template, and not in the page template as well.
Thanks,
Mark -
How to handle no_data_found in Page/Regions/Body/Report
Hi,
I am new to APEX. I have a report in a the Region area of a Page. The Region Source allows me to enter only SELECT statement, no BEGIN/EXCEPTION/END are allowed. How can I handle a no_data_found exception in a report?
Many thanks.Thanks for the solution. I tried it, and got with an error:ORA-06550: line 19, column 5: PLS-00372: In a procedure, RETURN statement cannot contain an expression ORA-06550: line 19, column 5: PL/SQL: Statement ignored ORA-06550: line 21, column 5: PLS-00372: In a procedure, RETURN statement cannot contain an expression ORA-06550: line 21, column 5: PL/SQL: Statement ignored
It looks like I am missing something.>
Post your code here in {code} tags.
My guess is you are not escaping single quotes or are not concatenating your Page Item
It should be something like ...
s1 vahracr2(4000) := 'select ..., ''A'' ,... from... where PID = '|| DBMS_ASSERT.ENQUOTE_LITERAL(:P1_CMDCODE);Note the quoting around A to escape the apostrophe and the use of concat.
Cheers,
Edited by: Prabodh on Aug 22, 2012 8:46 PM -
Copying single page ,region from one application to another application
Hi,
I need information regarding How to copy single page or region from one application to another application in the same workspaceHi - have a look at this thread: -
Synonyms
Cheers,
Mike -
How to use VO attribute in a page region in valueset of flex segment
I have a seeded oracle page - having 2 regiions
The first region shows basic employee information like job, position etc
The second region shows a flexfield having 4 segments.
My requirement is to restrict the value in first segment based on the employee's job.
e.g If employee is of Job A-, Segment 1 shoows the values as A.B.C in the poplist
if employee if of Job X, segment 1 has to show only values as AA, BB in the poplist
how can i use the vo attribute as paramter to my segment 1 valueset?
Thanks,
LalOne way to achieve this is:
1.Make sgement 1 to show A.B.C in the poplist.
2.Create a new segment which shows AA, BB in the poplist. So now total no. of segments are 5.
3. In the second region in the page display only first 4 segments. For displaying only required segments refer "DEscriptive Flex Fields" in Dev Guide.
4. Create another region (3rd region) which displays segments 2 to 5. i.e. this does not show segment1
5. Using PPR display required region based on the value in Job field.
Note: this approach is suitable when you have very less no. of options in Job field to choose from.
-Anand
Maybe you are looking for
-
I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them. Has anyone had a similar problem-.thanks
-
I want to sync material into my iPod touch but my computer nor my iTunes is reading my iPod, what should I do?
-
WAD: how to give selection values all together then execute report
Hi, I have to made web report in BI 7. I am using 4 drop down box for Plant, Dist_chann, Year, Period. When I change any single value of any drop down box, query gets refreshed. But I want to give all selection values all together then if can provide
-
Hi, Do you know where the global messages are stored? warning, information and error messages. I would like to hide the one of the warning messages on TPMOE->TradepromotionOP. I found one generic class for messages where I could remove one message, b
-
Could not load or refresh node tree creation failed on node
Hi Experts I created one user with MSS role and ERP COMM role. It is working fine. We restarted the server for other purpose. Then surprisingly the MSS role was locked. I am unable to see the MSS tab in the top level navigation. When i expand the wor