Aligning a report to center of page
I'm new to Apex, and in working through my first application the one thing I can't figure out how to do (so far) is align my report to the center of the page rather than the left side of the page. It is the only thing on the page and is currently located in "Page Template Region Position 2", has a template as "Reports Region", and is in column 1. I've tried changing the column number and that did nothing. I've tried different attributes in the "Region HTML table cell attributes" and that didn't work either, so I scoured this forum and still couldn't come up with an answer. If anyone has any insight into this issue it would be greatly appreciate!
Thanks.
Hi,
If its going to be the only thing on the page you can try changing the template to "Forms Region" instead of "Reports Region" This will change the look a little, but allows you to move it around easier.
Then place it in to column 2.
Then in the HTML attributes for the report you can enter in css style such as style="margin-left: auto; margin-right: auto;"
There are probably better ways to do this, but you can try it and see if you like it.
-Marc
Similar Messages
-
How to align Flash web to center using Flash CS3?
Hi, anyone have the same issue as me? I wanted to align my
flash web to center on the IE. I have selected the alignment to
center before publish on the web? Why is the command not useful or
working? Please advice!hi,
the center issue you used is center the Flash in the player
area. But to center the page in the web page, you need to center ti
from the HTML. you can dd the Flash code inside the div center code
<div align="center"> flash content </div> -
Dear Friends,
left alignment on reports do not work,
all of column are center alignment,
have you got any idea?
regardsDear Friend,
Try setting CSS Style of your column to
text-align:left
to see if that helps.
You should provide more info on this:
- type of report
- what does that mean "it doesn't work" - you can't change it or it is centered althoug you set it on lef alignment
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
My client is asking for a P&L report Profit center wise but in that report he is asking to include below line items
COGS:
Direct Labor and Overheads
Variances:
Material rate variances
Labor rate variances
Labor usage variance
Could you please advise is it possible to include above line items in a report painter or we have to go for a development (ZProgram).Hi
PCA report does not have categorization of variances.... You need to develop a Z report...
PCA can give you variance figure for each material... But it does not store categories, as far as I know
br, Ajay M -
Need to print a report that has two pages but based on condition
Hi
Can someone help me. I have a report that has 2 pages and I need print it but not boths pages at the sametime.
I have code ( the conditions)like this
If (A=Y) then
print Page 2
else print page 1
end if;
Note: Where would I put the code. Please
Thank youSome folks have written JavaScripts for such needs, but for only 6 pages I would simply do the following. 1. Crop all pages to show 1 and 4. Then print to a new PDF (not optimum, but will do the job). 2. Repeat for 2 and 5. 3. Repeat for 3 and 6. Now open one of them in Acrobat and the use insert pages to insert the other two files. Now rearrange the pages using the Pages display and save. That should do the job.
-
How do I call a 10g report from a jsp page securly?
How can I call a report from a jsp page securly? We are migrating from 10g forms to J2EE, and we want to keep using our reports. In forms we were able to do this using a cookie. How can I pass a users credentials to reports without the user having to connect to the database? Single Sign-on isn't an option either.
Thanks,
JimHi Jim,
If you want to pass the user credentials to the report dynamically, then SSO (Single Sign-On) is the only option I can think of.
If the user credentials can be hard-coded, then the following 2 solutions are possible:
1. Use cgicmd.dat file, and write the user credentials in the file.
2. In your report JSP itself, you could write the following:
<rw:report id="report" parameters="userid=scott/tiger@mydb">
Navneet. -
How to call a report from a jsp page
Hi
1) Can anyone please tell me how can i view Discoverer report from a jsp page instead of opening it directly thru plus/viewer.
2) Please clarify do i need to install Infrastructure and OID for it.
Please advice.
ThanksYou need the AS infrastructure if you want to use connections. If you do not intend using connections, you do not require the infrastructure.
Note that you cannot pass in passwords in the URL any longer. You do not need to pass passwords if you pass in a Discoverer connection id (but then again - if you don't use connections, then you do need to still pass in the connection information - username, password, database, language, EUL)
I have a post on my blog that describes how to pass a password using an HTML Form submit - http://oraclebi.blogspot.com/2005/08/passing-password-to-viewer.html
Thanks
Abhinav
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/ -
Pass value from report on skillbuilder modal page
I am using the skillbuilder modal dialog. I have a report that displays in the modal. I want to pass a value from the report back to the page that called the modal and then close the modal. I have tried several different things, but I have not been successful. Any ideas?
Not sure if you have completely read the instructions.pdf that comes with the plugin. The "Events" section (Auto Close event) under "Advanced Usage" in the pdf may help you.
Anyways, I have not tried this solution. -
Parameters and report on the same page
I am new to HTML_DB. I would appreciate your help with the following:
I have html page with items(parameters) and report on the same screen.
Items are:
Customer: Select list with Submit
Invoice No.: Select list - Populated invoices numbers for the selected customer
Department: Select List
Prod Month: Date Picker
Button: Report View.
Users can select any of the above parameter to create a report. The problem is when I don't select any customer and just select the department or prod month and click on a Report View button, I get SQL error in the Invoice Number item.
It seems when the page refreshes to create a report Invoice Number items sql query is executing but when it does not find the customer name, its giving the error.
If I select a customer name, the page gets refreshed and the report is generated. I dont want to create a report when they select a customer. I want them to select the parameters and click on the Report View button to create the report on the same page.
Thank you.
Regards,
RekSounds like you are building the query string and submitting that and the fact that they leave something out messes up that string...<br><br>If that's the case, you can add validations to the page to make sure they enter in all the appropriate information.<br><br>
chet -
How to Open an Oracle Report From a JSF Page
Hi there,
I would be really grateful if anyone would find me a solution to the following scenario:
In my company, we have a project where we have to convert Oracle Forms and Reports to Java Web Application. The conversion of forms is being done thourgh JSF/ADF technology but how can i open an Oracle Report from a JSF page after supplying it with parameters ? Or i have to do some type of conversion before ?
Once again i would be thankfull for your replies.Tapash,
Thanks for reponding.
Here is the URL I am currently using :
https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
The p_accesscode is the parameter I need to pass to the Oracle report.
Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
Thanks
Hilal -
Update report dynamically? (without page refresh)
I have a page with several regions, and only one region is visible at a time. Each region contains a report as well as a drop-down to alter the data displayed in the report. Currently each time a drop-down value is changed it submits the page, which causes the "main region" to become visible since it is set by default to display first.
Is there a basic tutorial I can follow on how to dynamically update the report output without a page refresh?
Thanks,
SteveSteve wrote:
I have a page with several regions, and only one region is visible at a time. Each region contains a report as well as a drop-down to alter the data displayed in the report. Currently each time a drop-down value is changed it submits the page, which causes the "main region" to become visible since it is set by default to display first.
Is there a basic tutorial I can follow on how to dynamically update the report output without a page refresh?The easiest way to do this is using dynamic actions. Create a Refresh dynamic action for each region that executes when the associated select list is changed:
h4. When
Event: Change
Selection Type: Item(s)
Item(s): <select list associated with region>
h4. True Action
Action: Refresh
Fire On Page Load: Yes or No depending on the requirements of your application
Region: <region to be refreshed>
Ensure that the value of the associated select list is submitted into session state before the refresh by specifying it in Page Items to Submit in the Source section of the report region definition.
There are some dynamic action tutorials on the Oracle Learning Library. Doesn't specifically mention Refresh in the abstract, so it may not cover this specifically, but it is an introduction to dynamic actions in general.
(It's probably possible to create a single dynamic action to handle refreshing all of the regions: we'd need more comprehensive details of your application, preferably reproducing it or a simplified version on apex.oracle.com.) -
How to print a report or a form page from application?
Hi Forum,
Thanks for the various contributions that are helping my experience with oracle. My current problem is what procedure should I follow to print a form or a report from the application page?
Sincerely,
Godis-TeiSee Viewing Pages in Printer Friendly Mode and Selecting a Printer Friendly Template for an Application
Thanks,
Vikram -
How to force a page break if report is only one page long
Hi all.
I've been asked to ensure an XMLP report is always 2 pages long, even if the data fits on one page. Does anyone know if it is possible with the Word Add-in to check if a report is only 1 page long and get it to force a page break for the extra page?
Thanks for your time,
JoyHello Joy,
We are working on a bi report that has duplex printing and facing the issue in skipping an extra page when printing multiple people at the same time.
Please let us know did you already have a solution for this.
Thanks in advance for your time and solution.
Best Regards,
Vinodh -
How to display the text in a classical report before top-of-page?
Hi all,
I am developing a classical report with top-of-page because i want to display the texts of cloumns even users scroll down the output.
But here the problem is i have to display a text and selection screen values in the ouput ,Before this top-of-page. But i couldn't find the way to do it.
Please help me on solving this problem?
Thanks,
Vamshi.Hi Vamsi,
whenever there is write statement and you are going to display some thing the system checks for the TOP-OF-PAGE and we are helpless here
so declare your heading in the TOP-OF-PAGE only
THIS is SAP provided way of the SYSTEM bahaviour
Regards
ramchander Rao.k -
How can I run a report in a jsp page?
I've made reports using Reports 9i and i want execute these reports from a jsp page.
When i run a report in a jsp page the following error :
Any Advice?
========================
Internal Servlet Error:
javax.servlet.ServletException: oracle/reports/RWException
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NoClassDefFoundError: oracle/reports/RWException
at java.lang.Class.getMethods0(Native Method)
at java.lang.Class.getDeclaredMethods(Class.java:1039)
at java.beans.Introspector$1.run(Introspector.java:852)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:850)
at java.beans.Introspector.getTargetEventInfo(Introspector.java:556)
at java.beans.Introspector.getBeanInfo(Introspector.java:294)
at java.beans.Introspector.(Introspector.java:271)
at java.beans.Introspector.getBeanInfo(Introspector.java:81)
at org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:104)
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:136)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)Hi Raul
A better option would be to switch to Reports 9i because it natively supports Reports JSP tags. Your JSP then becomes seamless. And much more...
With 6i, you can look at using Reports Servlet.
Regards
Sripathy
Maybe you are looking for
-
So , I edited the ITunes.java as described in the Admin guide.Copied the .class to my cgi folder in the server.I copied the itunesu file from the shell folder of the sample code.I have modified it accordingly.But when I run it in browser(Firefox) as
-
My IPod Touch 4g won't charge or sync, how do I fix it?
I had my IPod Touch 4 generation for 2 years now and suddenly my ipod won't connect to my laptop nor to any other computer source in my household. Before my IPod would only sync and not charge, so I would had to figit with the sync cable connected to
-
Out of Memory Error - JBOSS - JRocket
I continue to see my jrocket/jboss/linux servers crash daily in production for out of memory errors. When we trace back the stack to find a query that does not appear to have nearly enough data to bring the server to an out of memory state. Heap usea
-
Customizing the blog post web part to not show entire entries
I have a blog site, and as you know, the posts web part shows the entire contents of each listed post, rather than one paragraph, followed by a "click here to read more" link. I know that there is no out-of-box functionality for this, because of cou
-
Default server (integration) start error
Hi, I've installed jdev 11g tp3 on a xp and a win2000 server ,and config integrated OC4j ,when I start default server ,error occurred as below; [Starting DefaultServer using the following ports: HTTP=8988, RMI=23891, JMS=9227.] D:\jdev1111\jdk\bin\ja