Format CSS custom for APEX 5.0 calendar
I have an APEX 5.0 calendar using the universal theme. I tried to use the predefined CSS classes, like apex-cal-green, and that they work as expected. In this case, I have the colors associated with the type of the event. In the record of event type, I have fields for the foreground and background colors. From what I could glean, this is how I created the CSS column in my query:
' background-color: ' | TWU. BACK_CLR | '; the color of the border : ' | TWU. BACK_CLR | '; color: ' | TWU. FORE_CLR | ';' CSS_COL
and I'm getting a column that looks like this:
background-color: #BDC3C7; border-color: #BDC3C7; color: #404040;
and it's not having an effect on my screen. I guess I'm doing something wrong and hoping someone can point me in the right direction.
Thank you
Jim
SuperflyTNT wrote:
OK got the concept. Logical, just work on execution.
Nice to see someone pick up an idea and run with it...
Is it that simple?
The application process Page CREATE_CSS ((point de processus de rappel AJAX):)
Start
for task (select sched_task_cd, fore_clr, schedule_task_type back_clr) loop
apex_css. Add (Lower (Task.sched_task_cd) |) "{background-color: ' |}" task.back_clr | '; border color: ' | Task.back_clr | '; color: ' | Task.fore_clr | '}');
end loop;
apex_application.stop_apex_engine;
end;
Almost. You are missing some initialization in the response header and actually get out the style rules, which must be made using htp.p
. apex_css
may not be used in this case. Only, it can be used in the rendered page (or never used at all as I'm concerned):
begin owa_util.mime_header('text/css', false); htp.p('Content-Disposition: filename="schedule.css"'); owa_util.http_header_close(); for style in ( select lower('foo') class , '#404040' color , '#BDC3C7' bg_color from dual) loop htp.p('.fc .fc-event.' || style.class || ' { background-color: ' || style.bg_color || '; border-color: ' || style.bg_color || '; color: ' || style.color || '; }'); end loop; end;
Tags: Database
Similar Questions
-
Value css custom for a combobox control
Hello
I have much combobx in my application.
I only want a single combo with my skin CSS.
I want to customize this property: #combo - box - base .arrow-button
I don't know how he by code and css it does not work.
I tried
{.arrow-button-custom #combo - box - base}
-fx-background-color: red;
}
and I have in my drop-down list
combo.getStyleClass (.addAll("error","combo-box-base"));
combo.setId("arrow-button-custom");
but it does not work.
Use setId() on the node instead of getStyleClass().
combo.setId("combo-box-custom");
{.arrow-button #combo - box - custom}
-fx-background-color: red;
}
-
I wonder if there is no way to do a culture customized for my site hosted with BC's domain? I work with a minority language, and I need to have calendar dates in this language.
Is this possible with a widget in Muse? -to change my language in this particular calendar, t.i.: may is in my language, and Monday is my language
This stuff is usually coded in the underlying JavaScript widget, derived from locale hard your computer or browser / language setting or gleaned from the respective server configuration information, so most likely, it can not be done, if not already covered by one of these methods. Hacking jQuery would of course always possible, but the other options are beyond your control, anyway.
Mylenium
-
Class CSS custom to the conditional formatting
Hello
I am applying the css custom class to the conditional formatting
like what I saw in http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_string_number_in_one_column
I modified the custom.css located in C:\OracleBI\web\app\res\s_oracle10\b_mozilla_4...I added the ff:
. {ClassIsLess}
background-color: #FFFF00;
}
then copy pasted into C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4
Restarted the presentation service, oc4j, and erased the IE cache.
When I apply it in the Style tab > custom Css section > class use CSS custom custom class works!
But when I use it in a conditional formatting as if $ is not null, the custom class is NOT applied...
Help, please. Am I missing something?
Thank you
FelicityHey felicity.
U have seen this?
http://obiee101.blogspot.com/2008/09/OBIEE-custom-CSS-style-class.html
Last three note mentioned by Jhon
Note 1: Somehow the font size of the cell is dominant on the personal class...
NOTE2: Disable your browser cache when developing with this... (some changes may take time to be visible).
Note3: even if the option is available in the form of conditional formatting, it seems to work...Thank you
Saichand.v -
How should I do to add or create a format of custom paper in the list of paper sizes.
I need to add a 200mmx300mm without borders
I have two printers Photosmart prem c310a Photosmart 7960 and neither show the size of paper.
I am running Windows 7 64 bit
I have the HP Toucjhsmart PC 520
Found the solution below listed on another thread...
Thank you 007OHMSS
The printer driver allows a custom like this size, if so how to do it:
Click Print (in whatever program you use), the print dialog screen should appear. Make sure that the selected printer is the 7000 (in my case the c310a). Click Properties, click the features tab, in the size field, click down, select custom. Then put in the size you want.
Like I said, it's only if the installed printer driver supports this feature. Hope that helps.
007OHMSSI am an HP support engineer.
If the Council has resolved the situation, please mark it as a solution. Thank you.
-
Apex 4.2: PL/SQL Table formatting - CSS SEO
Hello
I have a form that displays all fields for a single activity (line of my table of activities).
On this form, I use PLSQL to extract all lines of my table of milestones that are relevant to the only activity displayed.
It is working fine, except the table PLSQL is really ugly.
I hope that there is an easy way to tap into the CSS stored for deferred tables for example on standard reports.
Below is my PLSQL. Anyone know how I can make reference to the CSS?
DECLARE
Thank you
CURSOR MY_CUR IS
SELECT MILESTONE_SUBCAT NM,
MILESTONE_DATE DT,
T.NOM TYPE,
L.NAME TARGET
OF AA_WL_ACT_MILESTONES M
JOIN AA_WL_LOV_MILESTONES L
ON L.SEQUENCE = M.MILESTONE_CAT
JOIN AA_WL_LOV_MILE_TYPE T
ON T.SEQUENCE = M.MILESTONE_TYPE
WHERE MILESTONE_ACT_ID =: P41_ACTIVITIES_ID;
rec_cur_select MY_CUR % ROWTYPE;
BEGIN
HTP. P (' < table > < tr > < th > < b > ID < /b > < /th > < th > < b > Milestone < /b > < /th > < th > < b > Type < /b > < /th > < th > < b > audience < /b > < /th > < th > < b > Date < /b > < /th > < /tr > ');
Open MY_CUR;
loop
extraction MY_CUR
in rec_cur_select;
When the output MY_CUR % NOTFOUND;
HTP. P ("< tr > < td width ="30"> ' |) MY_CUR % ROWCOUNT | '< table > < td width = "100" >' | rec_cur_select. NM |
'< table > < td width = "70" >' | rec_cur_select. TYPE OF | '< table > < td width = "100" >' | rec_cur_select. TARGET |
'< table > < td width = "120" >' | rec_cur_select. DT | "< table > < /tr >");
END LOOP;
HTP. P ("< /table >" ");
CLOSE MY_CUR;
END;
EmmaYour standard reports is probably a reference to a CSS stylesheet for HTML (table, tr, td) elements. Who inspect and just get the same code in your PL/SQL.
So, something like:HTP.P('
... etc ... '); But if you are so happy with a regular standard report page layout... Why not use your selection in a standard report (instead of coding your own PL/SQL)?
adding css custom to an id or class
I want to add css custom to a particular id and it does not work, but when it's a TAG of his work.
Are you sure you are using the right format for CSS ID and class selectors? Have a look here - http://www.w3schools.com/css/css_id_class.asp.
You can always try to preview your personalized CSS by using the inspect in Chrome or Firebug in Firefox - https://developers.google.com/chrome-developer-tools/docs/elements-styles?csw=1.
Thank you
Vinayak
Is there an API provided for APEX export applications?
Hello
This team of Japan FM Richard, here is a question asked by our
customer, is there an API provided for APEX export applications?
We noticed the Note and documents that can be used for following
command line export applications,
-How to automate the process of backup APEX (Doc ID 742670.1()
-Oracle Application Express utility command-line export README
But we could not find API related, although wanting could someone advised us
If there is this kind of API or not?
Concerning
Richard
Something like that?
Base Oracle: Automation of the Apex of the DB backups
This code is a little dated, and wwv_flow_utilities.export_application_to_clob still does not seem to be formally documented.
JFX fxml: cellfactory customized for lifted CheckBoxTableCell of exception
Hello
I am creating a plant cell customized for inserting a CheckBoxTableCell in a TableView by fxml. But its gives me an exception as described below.
The cell factory class, I created and the fxml is also put below
If anyone can help?
SEVERE: javafx.scene.control.Control property impl_processCSS - fx-skin has not been defined in the CSS for the TableRow [id = null, styleClass = cells indexed table row-cells]
SEVERE: javafx.scene.control.Control loadSkinClass could not load the skin ' string [bean: TableRow [id = null, styleClass = cells indexed table row-cells], name: skinClassName, value: com.sun.javafx.scene.control.skin.TableRowSkin] "for the TableRow control [id = null, styleClass = cells indexed table row-cells]
java.lang.ClassCastException: javafx.scene.control.cell.CheckBoxTableCell$ 1 cannot be cast to javafx.scene.control.TableCell
at com.sun.javafx.scene.control.skin.TableRowSkin.recreateCells(TableRowSkin.java:224)
to com.sun.javafx.scene.control.skin.TableRowSkin. < init > (TableRowSkin.java:87)
at sun.reflect.GeneratedConstructorAccessor1.newInstance (unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at javafx.scene.control.Control.loadSkinClass(Control.java:992)
at javafx.scene.control.Control.access$ 500 (Control.java:71)
to javafx.scene.control.Control$ 12.invalidated(Control.java:920)
at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:127)
at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:161)
at com.sun.javafx.css.StyleableStringProperty.set(StyleableStringProperty.java:71)
to javafx.scene.control.Control$ 12.set(Control.java:912)
at com.sun.javafx.css.StyleableStringProperty.applyStyle(StyleableStringProperty.java:59)
at com.sun.javafx.css.StyleableStringProperty.applyStyle(StyleableStringProperty.java:31)
at com.sun.javafx.css.StyleableProperty.set(StyleableProperty.java:70)
at com.sun.javafx.css.StyleHelper.transitionToState(StyleHelper.java:902)
at javafx.scene.Node.impl_processCSS(Node.java:7415)
at javafx.scene.Parent.impl_processCSS(Parent.java:1146)
at javafx.scene.control.Control.impl_processCSS(Control.java:1102)
at com.sun.javafx.scene.control.skin.VirtualFlow.setCellIndex(VirtualFlow.java:1598)
at com.sun.javafx.scene.control.skin.VirtualFlow.addTrailingCells(VirtualFlow.java:1114)
at com.sun.javafx.scene.control.skin.VirtualFlow.layoutChildren(VirtualFlow.java:1007)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:513)
at javafx.scene.Scene.doLayoutPass(Scene.java:484)
at javafx.scene.Scene.preferredSize(Scene.java:1485)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1512)
to javafx.stage.Window$ 10.invalidated(Window.java:719)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:127)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
at javafx.stage.Window.setShowing(Window.java:782)
at javafx.stage.Window.show(Window.java:797)
at javafx.stage.Stage.show(Stage.java:229)
to fxmltableview. FXMLTableView.start (FXMLTableView.java:49)
to com.sun.javafx.application.LauncherImpl$ 5.run(LauncherImpl.java:319)
to com.sun.javafx.application.PlatformImpl$ 5.run(PlatformImpl.java:206)
to com.sun.javafx.application.PlatformImpl$ 4.run(PlatformImpl.java:173)
at com.sun.glass.ui.win.WinApplication._runLoop (Native Method)
in com.sun.glass.ui.win.WinApplication.access$ 100 (WinApplication.java:29)
to com.sun.glass.ui.win.WinApplication$ $3 1.run(WinApplication.java:73)
at java.lang.Thread.run(Thread.java:722)
Cell factory
/**
*
*/
package view.components;
Import javafx.scene.control.TableCell;
Import javafx.scene.control.TableColumn;
Import javafx.scene.control.cell.CheckBoxTableCell;
Import javafx.util.Callback;
public class CheckBoxCellFactory < S, T >
implements the callback < < S, Boolean >, TableColumn reminder < < S, Boolean >, TableColumn TableCell < S, Boolean > > > {}
call the public recall < < S, Boolean >, TableColumn TableCell < S, Boolean > > (TableColumn < S, Boolean > paramAnonymousTableColumn) {}
Return CheckBoxTableCell.forTableColumn (paramAnonymousTableColumn);
}
}
FXML
<? XML version = "1.0" encoding = "UTF-8"? >
<? import java.lang. *? >
<? import java.net. *? >
<? import java.util? >
<? import javafx.util. *? >
<? import javafx.collections. *? >
<? import javafx.geometry. *? >
<? import javafx.scene.control. *? >
<? import javafx.scene.control.cell. *? >
<? import javafx.scene.layout. *? >
<? import javafx.scene.paint. *? >
<? import javafx.scene.text. *? >
<? Import model.*? >
<? import the model. DummyTableValues? >
<? scenebuilder classpath element... / bin? >
<? import view.components.CheckBoxCellFactory? >
< ScrollPane id = "scrollPane" fx:id = "scrollPane" minHeight = "275.0" minWidth = '771.0' prefHeight = '275.0' prefWidth = "771.0" xmlns:fx = "http://javafx.com/fxml" >
< content >
< TableView id = 'configTable' fx:id = 'configTable"minHeight ="1000.0"minWidth ="1000.0"prefHeight ="1000.0"prefWidth ="1000.0">
< columns >
< TableColumn id = "col1" fx:id = "col1" prefWidth = "75.0" text = "Change/Remove" >
< cellValueFactory >
< PropertyValueFactory property = 'value3' / >
< / cellValueFactory >
< cellFactory >
< CheckBoxCellFactory > < / CheckBoxCellFactory >
< / cellFactory >
< / TableColumn >
< prefWidth TableColumn = "75.0" text = "Item number" >
< cellValueFactory >
< Property PropertyValueFactory = "Value1" / >
< / cellValueFactory >
< / TableColumn >
< prefWidth TableColumn = "75.0" text = "Item Desc" >
< cellValueFactory >
< PropertyValueFactory property = "Value2" / >
< / cellValueFactory >
< / TableColumn >
< / columns >
elements <>
< FXCollections fx:factory = "observableArrayList" >
< DummyTableValues value1 = value2 "Jacob1" = "Smith1" / >
< DummyTableValues value1 = value2 "Jacob2" = "Smith2" / >
< DummyTableValues value1 = value2 "Jacob3" = "Smith3" / >
< / FXCollections >
< / object >
< / TableView >
< / content >
< / ScrollPane >
package model;
Import javafx.beans.property.SimpleBooleanProperty;
Import javafx.beans.property.SimpleStringProperty;
public class DummyTableValues {}
private SimpleStringProperty value1 = new SimpleStringProperty ("initial1");
private SimpleStringProperty value2 = new SimpleStringProperty ("initial2");
private SimpleBooleanProperty value3 = new SimpleBooleanProperty (false);
public void setValue1 (String value1) {}
This.value1.set (value1);
}
public void setValue2 (String value2) {}
This.Value2.Set (value2);
}
public String getValue1() {}
Return value1.get ();
}
public String getValue2() {}
Return value2.get ();
}
public boolean isValue3() {}
Return value3.getValue ();
}
public void setValue3 (boolean value3) {}
This.value3.SetValue (value3);
}
}My old code will not work: the fx:factory can be used to provide a factory No.-arg method.
The only way I can see to make it work is to do something like
package view.components; import javafx.scene.control.TableCell; import javafx.scene.control.TableColumn; import javafx.scene.control.cell.CheckBoxTableCell; import javafx.util.Callback; public class CheckBoxCellFactory
implements Callback, Callback , TableCell >> { public Callback, TableCell > call(TableColumnparamAnonymousTableColumn) { return CheckBoxTableCell.forTableColumn(paramAnonymousTableColumn).call(paramAnonymousTableColumn); } }It called CheckBoxTableCell.forTableColumn (...) whenever he needs a new table cell. If you did this in Java, rather than FXML, you'd
col1.setCellFactory(CheckBoxTableCell.forTableColumn(col1));
who creates the cell factory only once. I don't think it's a problem, but in this case, you could do something more sophisticated in your CheckBoxCellFactory. (Perhaps to set a property of 'column', that you can set from the FXML and then set a private reminder that is bound to the column property, assigning the result of CheckBoxTableCell.forTableColumn (...) when the column property.)
- I am struggling to find how to use CSS to control the display of the data for a chart series.
I would like to control the line color, thickness, size of symbol, etc. for the two series I've posted.
When I look in the documentation for this type of functionality is mentioned for scatter charts:
You can change the styles of this symbol by defining alternative values for the property .default - color5.chart - symbol. Check out JavaFX CSS reference Guide for more information.
However, I don't seem to this information under the CSS reference.
How can I know what the css formatting would be for these parameters?Dig the caspian.css on the jar file. This file is rather well documented and contains all the current values for the CSS.
Karl
Error getting CSS support for driver information
We have a new installation of Hyperion Planning 9.3.1.3. Our planning and services en are on different servers.
When we try to create a connection of planning in en receive us the following error message:
Error getting information of CSS support for driver [com.hyperion.ap.hsp.HspAdmDriver]
Thread:
http://KR.forums.Oracle.com/forums/thread.jspa?threadID=913810
refers to \Hyperion\common\ADM\Planning being present on both the planning and the en servers
We have the above path on the planning server only and have not been able to find a solution.
That is to say. I tried to just copy the path to nothing helped, but I guess I missed one of the components installed on the en server, Hyperion I just can't understand that one.
Hoping someone can advise.
Thank you very muchHello
Run the file on the server EN planning, perform a custom installation and select just the driver of MCDA.
See you soon
John
http://John-Goodwin.blogspot.com/Is it possible for Apex generate a file?
Hi, I have build a calendar in the Apex, and I want to make it possible to generate a .ics file and then send it by e-mail. It is therefore possible for Apex to generate a file like that and how? Thanks in advance.The great thing about the ApEx is that get all the power of the database and, of course, PL/SQL.
You can use the UTL_FILE package, see the link below.
http://www.DevShed.com/c/a/Oracle/writing-to-text-files-in-Oracle-PLSQL/
format hard drive for windows and larger files, TV supports
Hello
pls suggest me with the solution to the following problem.
I need to know what format of hard drive works with mac, windows, & TV too, even for large files and quality bluray movies
FAT32 only supports files up to a maximum size of 4 GB, which would be certainly much too small for Blu - Ray quality media.
exFAT supports files of unlimited size effectively, Mac and Windows can read and write to exFAT to format external drives but neither can boot from such a unit. If a TV or other system supports exFAT drives, you need to check yourself formatted.
NTFS supports files of unlimited size indeed, Mac can only read NTFS, it cannot format or write to NTFS, unless you get an add-on. Of course Windows supports NTFS. Again, you will need to check if your TV etc supports NTFS. If you want to add full support for NTFS to a Mac, I recommend this - https://www.paragon-software.com/home/ntfs-mac/
HFS + is the current format of Apple and new supports files of unlimited size effectively. Mac can of course read, write and format disks. Does not support the Windows as a standard HFS +, but still, you can buy an add-on for Windows Add this feature. It is extremely unlikely that a TV would support HFS +. If you want to add full support for HFS + for Windows, take a look at this - http://www.mediafour.com/software/macdrive/
There are also other formats of disc for example ZFS and BTRFS, Ext3, Ext4 and soon SATF, but in this case, they are not relevant.
Note: as indicated above, in many cases, I said 'actually unlimited', it is of course a limit, but one so great that he will strike you not for individual files, including Blu - Ray or even files UltraHD (4 k).
Formatting of disks for use with Windows
Hello
I would like to know what disk format works best for the use of storage with El Capitan and MS-Windows-10 drives.
I don't like on the permissions.
This storage drive will essentially serve for storage of files, movies, music, photos. No apps or the OS file.
I have a dual boot systems and I would like to be able to use and share this disk of OS - X or MS-Windows.
No NTFS disk
No extended the disk log file system
Any necessary file permission
FAT32 or exfat32 is what I'm thinking. However works best?
xFat supports files greater than 4 GB
When I select 'use custom for history setting' in the Privacy tab and press OK button nothing happens. He returned to the story to remember. I have Windows 7 and firefox 19.0.2.
A problem that results is firefox remember now username and password on a new gmail account.
The problem started with the latest revisions to Firefox. In the past, I've saved usernames and passwords on multiple accounts gmail without problem.
As a result, I had access to the gmail accounts in another browser to save all my gmail account IDs and passwords.
Any suggestions on how to remember passwords and usernames gmail again? and/or get "Use Custom setting for the story" to work? Thanks for your help
I had the same problem this is how I solved it
Tools > options > saved passwords > locate the corresponding site, you will see that the user name is missing highlight and delete.
Back to the site log in enter your password and you will then be asked to save it... That's factMaybe you are looking for
-
Samsung wireless surround does not work with Airport wifi network
I have a smart tv with a Soundbar and wireless - all Samsung two speakers. I should be able to set up surround sound via the network wireless like this http://support-us.samsung.com/cyber/popup/iframe/pop_troubleshooting_fr.jsp?idx= 629802 & modelnam
-
I have been using the functionality of Firefox in which I could have multiple sets of tabs open, but only see the game I was working with. I have updated and now the feature disappeared. I had a small icon on the top right of my toolbar. I used it al
-
HP c6180 printer: wrong cartridge on c6180
I have HP printer c6180 and I put new cartridges and now it says "wrong cartridge". What can I do to solve my problem
-
Vista - Unable to update Windows from the re-start.
I had you 08 Antivirus virus. After a re-start of factory-set using recovery discs I can't download Windows updates and get an error code 80072EFE. Any help appreciated please I use Vista Home
-
How can I remove vista anti-virus 2011 form my computer?
How can I remove vista anti-virus 2011 form my computer?