How to implement my Own CSS file in Portal App, eg Report
Hi ...
I have an urgent problem.
If i make a report portlet, for example, can i use my own CSS file?
Where should i put the css file?
How do i call the css file to the Report Portlet?
Thanks..
this is urgent.
Just two notes.
1. You're using old 10g (9.0.4.0.1) which soon will be desupported. If this is a running production system then you should update it with patch 9.0.4.2 which you can download from Metalink, and develop a plan to migrate your environment to 10.1.2.0.2. If this is still just a test system, then I recommend migrating to 10.1.2.0.2.
2. It's not a very good practise calling the Application Server with http://localhost. You should use hostname as described in Installation Guide.
Regards,
Martin
Similar Messages
-
Where are the Physical Files of Portal App (Forms,Reports,etc)
Hi..
We are developing our portal using Oracle Portal..
We use the Portal form,report,link,url,dynamic page etc in our development.
The case is,
Our QA want to restrict the access to the file (version control).
So, they want to do a backup/copy of the development files (form,report,dynamic page etc..) and if there are changes to the portal, they want to use the backup as the development files.
The problem is,
we not sure where the files are..
We don't know where the forms,report,dynamic page are restored and what are they (.jsp?.cvf?.java?.fmb?.rdf?)
Can anybody help?
p/s Fyi,we also use jsp..so, we can see the physical files..e.g. index.jsp,login.jsp....but for the portal form,report,link????Where are their physical files?
Thanks.Hi,
Portal Application components do not have any physical files. It is available as a package in the database. You can see it in the manage component screen. Clicking on the package body link will show you the whole package. You can copy this into a .SQL file and compile it later whenever you want, in the schema where the application is built.
Hope that helps.
Thanks,
Sharmila -
How to load images from css file in JavaFX 8
I have this css file which loads images in JavaFX 8 application:
#pill-left {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/left-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-left:selected { -fx-border-image-source: url("/com/dx57dc/images/left-btn-selected.png"); }
#pill-left .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-left:selected .label {
/* -fx-text-fill: black; */
-fx-text-fill: white;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-center {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/center-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-center:selected { -fx-border-image-source: url("/com/dx57dc/images/center-btn-selected.png"); }
#pill-center .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-center:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
#pill-right {
-fx-padding: 5;
-fx-border-image-source: url("/com/dx57dc/images/right-btn.png");
-fx-border-image-slice: 4 4 4 4 fill;
-fx-border-image-width: 4 4 4 4;
-fx-border-image-insets: 0;
-fx-border-image-repeat: stretch;
-fx-background-color: null !important;
#pill-right:selected { -fx-border-image-source: url("/com/dx57dc/images/right-btn-selected.png"); }
#pill-right .label {
-fx-text-fill: #d3d3d3;
-fx-effect: dropshadow( one-pass-box , rgba(0,0,0,0.75) , 0, 0.0 , 0 , -1 );
#pill-right:selected .label {
-fx-text-fill: black;
-fx-effect: dropshadow( one-pass-box , white , 0, 0.0 , 0 , 1 );
The images are located at the Java package com.dx57dc.images
In Java 7_25 this code works as expected but in JavaFX 8 b99 I get this error:
ava.lang.NullPointerException
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1129)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.sg.prism.NGGroup.renderChildren(NGGroup.java:233)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:199)
at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:1249)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:1598)
at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1520)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:99)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(AbstractPainter.java:210)
at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
at java.lang.Thread.run(Thread.java:724)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
D3D Vram Pool: 13,331,480 used (5.0%), 13,331,480 managed (5.0%), 268,435,456 total
20 total resources being managed
4 permanent resources (20.0%)
1 resources locked (5.0%)
7 resources contain interesting data (35.0%)
0 resources disappeared (0.0%)
What is the proper way to load images from css in Java 8?
Ref
How to load images from css file in JavaFX 8 - Stack OverflowThere is nothing special to do - you execute the statement from your program just like any other SQL statement. The only thing to be aware of are the privilege/permission issues:
When loading from a file on a client computer:
READ CLIENT FILE privilege is also required for the database user.
Read privileges are required on the directory being read from.
The allow_read_client_file database option must be enabled.
The read_client_file secure feature must be enabled.
Revoking these privileges is also the only way you can prevent a user from executing the statement. -
How to add an external CSS file in master page
Hi,
We're running a SharePoint 2013 (Office 365) team site. I'd like to use the same formatting in all my site pages. I currently use a script editor web part to apply the formatting changes which is cumbersome. How can I utilize a css file so
that all of the site pages use the same formatting?
The site that I want to apply the formatting to is a sub site of the main site. Only the main site has a "Styles Library" if this matters.
Thanks.
BrianYou can also consider activating publishing features and uploading the css files to the Styles library that is created. This allows you to override the oob CSS.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to implement Shopping cart functionality in weblogic portal 10.3
Hi,
Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
Thanks,
UttamOne piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
Brad -
How can I involve my own css file to aprex?
Hello,
I have created my own test.css file and now I want to include this file into my page. How can I do this? I have uploaded it to the application. The current link is:
<link rel="stylesheet" type="text/css" href="test.css">
But this doesn´t work. Can anybody help me?
Thank you. StoefranStoefran,
Go to the page template and put in the header the following:
<link rel="stylesheet" href="#WORKSPACE_IMAGES#test.css" type="text/css" />
Denes Kubicek -
How to edit the core.css file
Hello,
All the fonts in my Apex app are too small, and I mean all the fonts, for the interface too. So, I did a bit of research and found it is probably the core.css file that has been adjusted, trouble is I do not know how to change it. Even installed Microsoft Office Sharepoint to do the editing but I cannot locat the file, or rather I can but I cannot seem to be able to edit the file. I think the file can be found here http://127.0.0.1:8080/i/css/core.css but when I try to access this site from sharepoint it prompts me for username and password for the 127.0.0.1 address and does not accept what ever I enter. Any advice welcome.Hi,
I do not recommend you change Apex css files.
Create your own theme and change css file on that.
Or add your application page template header style that overwrite font size like
<style>*{font-size:40px!important}</style>When you try login to xdb where is all images,css and js files use SYSTEM user.
http://daust.blogspot.com/2006/03/where-are-images-of-application.html
And Apex related question you should post to Application Express Forum
Oracle Application Express (APEX)
Regards,
Jari -
How to use elements in .css file with javascript in the jsp
I have a jsp in which i need to show some links with the background colour.The links depends on certain conditions which is known.But the requirement is that the background color should be grey and white alternatively. I could have hardcoded the background color with the link. But the problem is that all the links are not visible to all users. The background color is defined in the .css file. I need to check the background color for the previous link. I am declaring a boolean within a jsp and then verifying the value of that boolean( in the javascript within the same jsp) so that i could know the bckground color for previous link.but i am not able to use the element in the .css element in that javascript which is having if-else loop.It's showing an error when i tried doing this. So can some one help me out how can this be done.
Hi Shweta,
Refer this [wiki|https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-TableDisplayinSAPScript]
Regards,
Sravanthi -
How do i ensure that CSS file is working fine in my browser?
My CSS file is not getting loaded when I am trying to open my html pages in firefox.
== URL of affected sites ==
http://I'm not seeing any problems with the CSS file.
Did you try to bypass the cache?
You can reload the page and bypass the cache with:
* Press and hold Shift and left-click the Reload button.
* Press Ctrl + F5 or press Shift + Ctrl + R (Windows,Linux)
* Press Shift + Cmd + R (MAC)
See [[Keyboard shortcuts]] and [[Mouse shortcuts]]
"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies -
How to reference images from CSS for a portal component
how can I reference an image stored in the standard "/images" folder in a .PAR file from a CSS file?
I tried
.myHTMLelement {
background-image: url('/images/TAB.bmp ') }
but it does not work (the image can't be found).
I don't want to use the API
request.getWebResourcePath() + "/images/saplogo.gif
in my JSP because this needs to get into a CSS file.Hmmm,
When project is deployed, the JSP's are usually located in private section:
<i>\usr\sap\EED\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\projectname\pagelet\someJSP.jsp</i>
but the CSS is in public section:
<i>Z:\usr\sap\EED\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\projectname\css\someCSS.css</i>
Now if you want to include the CSS in JSP I think you HAVE TO use the <i>getWebResourcePath</i> method:
<link rel="stylesheet" href='<%=componentRequest.getWebResourcePath()+"/css/someCSS.css"%>' type="text/css" />
or directly define the style:
<style type="text/css">
<!--
.dtn-node {
background-image: url(<%=componentRequest.getWebResourcePath()+"/mimes/normal.css"%>/images/arrow15x10.gif);
background-repeat: no-repeat;
padding-left: 11px;
padding-bottom: 7px;
text-align: left;
-->
</style>
Just check your deployment and fit it to your needs...
Hope this helps,
Romano
PS: for example look at this:
<i>\usr\sap\EED\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.pct.pdk.htmlbcontrols\pagelet\all_examples.jsp</i> -
How to download my uploaded .ipa files of an app?!
Hi! I have an uploaded app on app store & need to get the .ipa files of that app from my account on iTunes Connect. How can i do that?!
dmwizzard wrote:
I installed an App from the OVI store on to my Memory card and Not the Phone memory - (As I should of)
Later I formatted the Memory Card and of course lost the App. But for some reason my Phone still thinks the App is installed and won't let me download it again.
* I have cleared the 'Downloaded' flag on OVI, I just need to do the same in my handset.
* The App isn't shown 'Installations', nor is it listed in the installed 'App.manager'
* I have tried a 'Factory Settings' reset but, not done a Hard reset.
How can I remove this info from the phone so I can re-install the OVI app once more.???
Cheers
do you mean the Ovi Store will not let you re-download this app?
If you want to thank someone, just click on the blue star at the bottom of their post -
How can I copy installation/setup files of an App downloaded from Mac App Store?
I just purchased and downloaded Xcode on my Macbook Pro and now want to install the same on my MacBook Air and iMac but I don't want download them again and again. Isin't their anyway by which I can copy the installation/setup files of that App and paste it on another Mac and use my iTunes account credentials to verify the App with Apple servers, so that they know it's legit install. And also keep the copy as backup so that, I can install that App again after I format my computer or use it for future use.
I live in a third world country and aren't blessed with high speed and unlimited bandwidth connection.Issue solved:
Answer found in Apple FAQ's site: http://support.apple.com/kb/HT4482
The Mac App Store remembers all apps you purchase with your account. Apps you purchase and install from Mac App Store can also be copied to an external hard drive, USB Flash Drive, CD/DVD, or backed up via Time Machine.
If you save a copy of an app to removable media (such as an external hard drive) or file share, simply drag the app back from its storage location to your Applications folder. When you open the restored app for the first time, you may be required to sign in with the Apple ID account that was used to purchase the app. -
Can u upload .htm file via portal app
i have developed a simple webcenter portal application (11.1.1.6)
i also have UCM 11.1.1.6
I am able to see contribution folder in my portal app.
Is it possible to upload a local file (c:\sample.htm) from my webcenter portal app TO ucm ???
If yes, then what is the taskflow i should use. i used Folder Viewer and Document Explorer and try upload this htm it gives me a popup with
info --- Unable to upload document why ?
thxDid you check the following documentation -
http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10148/jpsdg_doc_lib.htm#CIHCEACA
Also check the section -29.5 Setting Parameters to Upload Files to Content Repositories
where it is clearly mentioned -
"The Document Manager task flow allows you to upload files into content repositories. Oracle WebCenter Framework uses Apache MyFaces Trinidad to handle file upload from a browser to the application server."
and "To change the default settings of Apache MyFacesTrinidad, you can add three parameters to the web.xml file. To edit this file, open the ViewController project of your application. Under Web Content, open the web.xml file. In the Overview, navigate to Application > Context Initialization Parameters, then click the green plus (+) sign to add the parameters and their values (as described in Table 29-1) or simply update the code in the Source view. After you've made your changes, save the web.xml file, then restart Oracle JDeveloper.
Table 29-1 Apache MyFaces Trinidad Parameters
Parameter Description
UPLOAD_MAX_MEMORY
The maximum amount of memory in kilobytes that a single file can use when uploaded.
UPLOAD_MAX_DISK_SPACE
The maximum amount of disk space in kilobytes that a single file can use when uploaded.
UPLOAD_TEMP_DIR
The directory in which the file being uploaded is temporarily stored.
Provide the necessary information.
Hope it helps you to resovle the problem.
Regards,
Hoque -
How to find my own property file in a war in soloaris
Hi, there;
I have a question whcih bothers me quite long. I packaged a property file in a
war file and use console to uploaded. I can access to the servlet through browser
and the servlet reference another class which looks like
try {
InputStream is = getClass().getResourceAsStream "/data_ctrmw.properties");
error +="InputStream property file 1nd try: "+is;
if(is==null){
is = getClass().getResourceAsStream("data_ctrmw.properties");
System.err.println("data_ctrmw.properties found! ");
error +=" InputStream property file 2nd try: "+is;
Same code works on windows wls6.1, but not on soloris machine.
One other question:
How can I write out to a log file? I am unable to write out to a log file.
Thanks a lotSorry;
Yesterday, I finally found that my web.xml had an error. I didn't define .properties
as MIME extension type. I change property file type to .txt and put in MIME type.
It works!
Thanks
"raymond" <[email protected]> wrote:
>
Hi, Chala;
Thanks for your good suggestion. However, it seems still not working,
I also tried
getResourceAsStream("/") trying to find from app context root. By the
way, in
this function, the arg is
String path, right now, I am just add the param-name element in web.xml
for a
specific servlet. But actuall, I want the properties to be exposed to
the application.
Also, I tried context-param element in web.xml, it even can't be uploaded
to jrun
or weblogic.
I guess, it might be possible to warp it in an .ear file and put these
in sth
like application.xml
Any suggestion?
Thanks lot
"Arjuna Chala" <[email protected]> wrote:
Have you tried using
ServletConfig.getServletContext().getResourceAsStream().
"raymond" <[email protected]> wrote in message
news:3c5f0b20$[email protected]..
Hi, there;
I have a question whcih bothers me quite long. I packaged a propertyfile
in a
war file and use console to uploaded. I can access to the servlet
through
browser
and the servlet reference another class which looks like
try {
InputStream is = getClass().getResourceAsStream"/data_ctrmw.properties");
error +="InputStream property file 1nd try: "+is;
if(is==null){
is = getClass().getResourceAsStream("data_ctrmw.properties");
System.err.println("data_ctrmw.properties found! ");
error +=" InputStream property file 2nd try: "+is;
Same code works on windows wls6.1, but not on soloris machine.
One other question:
How can I write out to a log file? I am unable to write out to a logfile.
Thanks a lot -
How to modify a pint.css file
Hi Folks,
I want to print a couple of pages out of my wiki.
But i did not get what i see.
How shall i modify the "print.css" to get a better result?
It also hast to work with the calendar overview.
ThanksThe simplest thing is to replace your indicator by a control, and to use a local variable to write your data into the control.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Maybe you are looking for
-
Adobe after effects won't open on new computer
I recently bought the MacBook Pro A few months a you days ago I purchased Adobe after effects were installed onto my computer it would not run it said new software had to be installed on my Mac book but it is running at its best with no updates it sa
-
Deleting records from a table with 12 million records
We need to delete some records on this table. SQL> desc CDR_CLMS_ADMN.MDL_CLM_PMT_ENT_bak; Name Null? Type CLM_PMT_CHCK_NUM NOT NULL NUMBER(9) CLM_PMT_CHCK_ACCT NOT NULL VARCHAR2(5) CLM_PMT_PAYEE_POSTAL_EXT_CD VARCHAR2(4) CLM_PMT_CHCK_AMT NUMBER(9,2)
-
How do I change back the print pages box?
I refreshed Firefox and my print pages box changed. It went from having a long box allowing me to type in say the 1-3, 6,10 pages to two small "from" & "to" boxes. I really need this back to the way it was for my business. I checked IE and that print
-
Problems converting screen recording for DVD
I have made a screen recording using Quicktime and also Camtasia for Mac. I am recording live currency charts and want to use this in a DVD but I can not find the proper combination of recording and exporting. I can export a good copy that when watch
-
If I delete my e-mails on my computer or iPad, it does not update my 4s. Any suggestions?