Decorative Box
Well I'm tryin to change de appearance of decorative box with follow css code:
af|decorativeBox::center[theme="dark"]
{background-image: url("../images/fondo1.jpg");}
af|decorativeBox::top-start[theme="dark"]
{background-image: url("../images/fondo2.jpg");}
af|decorativeBox::top[theme="dark"]
{background-image: url("../images/fondo3.jpg");}
af|decorativeBox::top-end[theme="dark"]
{background-image: url("../images/fondo4.jpg");}
af|decorativeBox::start[theme="dark"]
{background-image: url("../images/fondo5.jpg"); background-repeat: repeat-y;}
af|decorativeBox::end[theme="dark"]
{background-image: url("../images/fondo6.jpg"); background-repeat: repeat-y;}
af|decorativeBox::bottom-start[theme="dark"]
{background-image: url("../images/fondo7.jpg");}
af|decorativeBox::bottom[theme="dark"]
{background-image: url("../images/fondo8.jpg");}
af|decorativeBox::bottom-end[theme="dark"]
{background-image: url("../images/fondo9.jpg");}
But the selectors bottom-start, bottom-end and bottom don't display the correct images in theme Dark
Thanks
Edmar
Thanks it was helpful!!!...
Now I changed my css properties to:
af|decorativeBox::center
background-color: Maroon;
af|decorativeBox::top-start
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::top
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::top-end
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::start
{background-image: url("../images/fondo.jpg"); background-repeat: repeat-y;}
af|decorativeBox::end
{background-image: url("../images/fondo.jpg"); background-repeat: repeat-y;}
af|decorativeBox::bottom-start
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::bottom
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::bottom-end
{background-image: url("../images/fondo.jpg");}
af|decorativeBox::top
{-tr-height: 20px
af|decorativeBox::bottom
{ -tr-height: 20px
af|decorativeBox::bottom-start {-tr-width: 20px;}
af|decorativeBox::top-start {-tr-width: 20px;}
af|decorativeBox::bottom-end {-tr-width: 20px;}
af|decorativeBox::top-end {-tr-width: 20px;}
af|decorativeBox::start {-tr-width: 20px;}
af|decorativeBox::end {-tr-width: 20px;}
af|decorativeBox
-tr-top-facet-layout: full;
The decorative's look change but in the center part there is a strip across the center of the component.
I can't change it
Thanks.
Edmar
Similar Messages
-
I have a decorative box and inside that I am showing a text. Now the decorative box is stretched to the entire width of the Screen, but I want it to stretch only as much as the text its containing. I have set the "dimensionsForm" property to "children" but its not working.
Hi,
I think you have to work with percentages of your components and not pixels.
With this way your components will occupy a percentage of the page..
have a look here:
http://jobinesh.blogspot.com/2010/03/adf-faces-layout-tips.html
Regards,
Dimitris. -
Changing color of Decorative Box
Hi. I want to use a black decorative box, but I don't know how to change the color of this component. I only know how to change themes,
Thanks.Hi,
you use skinning. Here is the skin selector for the decorative box
docs.oracle.com/cd/E28280_01/apirefs.1111/e15862/toc.htm#decorativeBox
and here's the documentation about skinning
http://docs.oracle.com/cd/E28280_01/web.1111/b31973/af_skin.htm#BAJFEFCJ
Frank
Ps.: Dependent on your JDeveloper version you have an integrated (11g R2 and 12c) or stand alone 11g R1 visual skin editor available. However, manual skinning works too -
HI...
I want to change the opacity of my decorative box but when I configure:
af|decorativeBox::center
background-image: url("../images/PLOMO/fondo22.jpg");
-tr-inhibit: background-image;
opacity: 0.4;
The image inside center facet turns with that opacity and I don`t want that.....
Please is there any solution for that?
Thanks
EdmarHi,
works in a later build. Actually your code has a problem, which might be a copy/paste issue when posting
</af:af:panelGroupLayout>
Frank -
Decorative Box doesn't display custom skin
I created following definitions for Decorative Box, but this doesn't display:
/* DECORATIVE BOX */
/* Start of deprecated decorative box styles: */
/* Decorative box top-start corner */
.AFDecorativeBoxTopStart {
display: block;
background-image: url('img/decor-top-start.gif');
background-repeat: no-repeat;
/* Decorative box top */
.AFDecorativeBoxTop {
display: block;
background-image: url('img/decor-top.gif');
background-repeat: repeat-x;
/* Decorative box top-end corner */
.AFDecorativeBoxTopEnd {
display: block;
background-image: url('img/decor-top-end.gif');
background-repeat: no-repeat;
/* Decorative box center-start side */
.AFDecorativeBoxCenterStart {
display: block;
background-image: url("img/decor-center-start.gif");
background-repeat: repeat-y;
/* Decorative box center */
.AFDecorativeBoxCenter {
background-color: transparent;
/* Decorative box center-end side */
.AFDecorativeBoxCenterEnd {
display: block;
background-image: url("img/decor-center-end.gif");
background-repeat: repeat-y;
/* Decorative box bottom-start corner */
.AFDecorativeBoxBottomStart {
display: block;
background-image: url('img/decor-bottom-start.gif');
background-repeat: no-repeat;
/* Decorative box bottom */
.AFDecorativeBoxBottom {
display: block;
background-image: url('img/decor-bottom.gif');
background-repeat: repeat-x;
/* Decorative box bottom-end corner */
.AFDecorativeBoxBottomEnd {
display: block;
background-image: url('img/decor-bottom-end.gif');
background-repeat: no-repeat;
/* End of deprecated decorative box styles */
/* END TEMPLATE */Hi!
Decorative box component does not have "own" icno in Component palette (it uses generic tag <<>> icon). So, I would suspect that this comp is not finished yet with TP4 release. Thus, don't be supprised if it don't respect all skinning properties well.
Regards,
PaKo -
Modifying a front panel decorative box
Hi
I have an application whose front panel has several decorative boxes
(smooth and lowered style) used for aesthetic purposes. When my
application starts I would like to adapt my front panel display to
match varying screen dimensions. How would I go about dynamically
changing these objects? Do the boxes have any properties that are
modifiable?
Thanks
JohnYou can access references to the decorations via a front panel reference. Wire the front panel reference to a property node and select the controls property, it will give you references to all the decorations. You now need to know the indexes of the references you want, get those indexes and you can read and write the size property of the decoration(s). I have attached a simple example that resizes two decorations when the front panel is rescaled, just run it and resize the window...the properties will rescale accordingly.
In the example the rescaling is curde; it just finds how large a percentage the window has changed and change the size of the decorations approx. the same. In real life you may want to put in logic that controls the size in a more refine
d way.
Mads
MTO
Attachments:
DecorationRescaling.vi 52 KB -
Table is not in the same position form 1 page to next
Hi,
Following my earlier posts regarding my website and the lack
of text. I thought if I created a new index page with text and and
enter site button this would go some way to sorting out the
problem. The problem now is that the indes page table is not in the
same plase as the tables on the other pages. Any assistance on
getting these lined up would be much appreciated.
The URL for my site is:
http://www.martingreshoff.co.uk
The code for my new index page is as follows:What are these (on the linked page)?
<a href="#" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image8','','Resourses/Images/Gallery
Free
Second.jpg',1)"></a><a href="#"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image9','','Resourses/Images/Gallery 3
Fitted
second.jpg',1)"></a><a href="#"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image10','','Resourses/Images/Gallery 4
Box
Second.jpg',1)"></a>
If you had a menu row at the top of the table on this page,
like you do on
the other pages, the table would be in the same place. Just
put an empty
row up there....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"greshoff" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
>
> Following my earlier posts regarding my website and the
lack of text. I
> thought if I created a new index page with text and and
enter site button
> this
> would go some way to sorting out the problem. The
problem now is that the
> indes
> page table is not in the same plase as the tables on the
other pages. Any
> assistance on getting these lined up would be much
appreciated.
>
> The code for my new index page is as follows:
>
> <meta name="keywords" content="timber, furniture,
wood, quality, hand
> crafted,
> custom made, free standing, bespoke, fitted furniture,
man made boards,
> fine,
> furniture maker, cabinet maker, wooden, tables, chairs,
bookcases, boxes,
> decorative boxes, craftsman, greshoff, Greshoff,
commissions, wood
> veneer,
> Martin">
> <meta name="description" content="Martin Greshoff
furniture maker with
> examples of free standing, fitted furniture &
decorative boxes in solid
> timber
> & man made boards"/>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <link rel="shortcut icon" href="favicon.ico" >
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <style type="text/css">
> <!--
> body {
> background-color: #666666;
> }
> .style1 {
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 18px;
> }
> .style2 {font-family: Verdana, Arial, Helvetica,
sans-serif}
> .style4 {font-family: Verdana, Arial, Helvetica,
sans-serif; font-size:
> 14px; }
> .style5 {font-size: 16px}
> .style6 {font-size: 16}
> .style7 {font-size: 12px}
> .style9 {font-size: 13px}
> .style10 {
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 13px;
> color: #404040;
> }
> .style11 {color: #404040}
> .style12 {font-size: 13px; color: #404040; }
> -->
> </style></head>
>
> <body>
> <p> </p>
> <p> </p>
> <p> </p>
> <table width="733" height="475" border="0"
align="center"
> background="Resourses/Images/Home_Page.jpg">
> <tr>
> <td height="471" align="right" valign="top"><p
> class="style2"> </p>
> <p class="style5"><span
class="style6"><span class="style7"><span
> class="style4"><span class="style9"><span
class="style11"><strong>MARTIN
> GRESHOFF</strong> is a furniture maker who
produces <br />
> one off pieces of bespoke custom made furniture to<br
/>
> the highest standards of
>
craftsmanship.</span></span></span></span></span></p>
> <p class="style10">Inside you will find some
examples of some of
> the
> <br />
> commissions I have undertaken. </p>
> <p class="style10">The following galleries are
included: </p>
> <p class="style12"><span
class="style2"><strong><em>Free Standing
> Furniture</em></strong> with examples of
bookcases, <br />
> cabinets, tables, chairs, cupboards, cabinets and a
display case.
> </span></p>
> <p class="style10"><strong><em>Fitted
Furniture</em></strong> with
> examples of a library, kitchens <br />
> and a dressing room.</p>
> <p
class="style10"><strong><em>Decorative Boxes
</em></strong>with
> examples of Jewellery Boxes<br />
> with inlays & lift out trays and small trinket
boxes</p>
> <p class="style10"><strong><em>Press
</em></strong>with some of the
> published work relating to <br />
> Martin Greshoff Furniture.</p>
> <p class="style4"><span
class="style2"><span class="style1"><img
> src="Resourses/Images/Enter_Site1.jpg" width="166"
height="39" border="0"
> usemap="#Map" /></span></span></p>
> <p class="style4"> </p> </td>
> </tr>
> </table>
>
> <map name="Map" id="Map">
> <area shape="rect" coords="1,-2,165,38"
href="Home.html" />
> </map>
> <!-- Start of StatCounter Code -->
> <script type="text/javascript"
language="javascript">
> var sc_project=2215289;
> var sc_invisible=1;
> var sc_partition=20;
> var sc_security="dc3fe825";
> </script>
>
> <script type="text/javascript" language="javascript"
> src="
http://www.statcounter.com/counter/counter.js"></script><noscript><a
> href="
http://www.statcounter.com/"
target="_blank"><img
> src="
http://c21.statcounter.com/counter.php?sc_project=2215289&java=0&security=d
> c3fe825&invisible=1" alt="web site hit counter"
border="0"></a>
> </noscript>
> <!-- End of StatCounter Code -->
> <!--RiteCounter--><script
type="text/javascript"
> src="
http://www.ritecounter.com/c/47/46578.js"></script><noscript><a
> [links to
> '
http://www.ritecounter.com/c/47/46578.js"
> href="
http://www.ritecounter.com"><img
[links to
> '
http://www.ritecounter.com"
> src="
http://www.ritecounter.com/scripts/htmlc.php?id=46578
[links to
> www.ritecounter.com/scripts/htmlc.php?id=46578]"
alt="Simple Invisible
> Counter"
> border=0></a></noscript><!--END
RiteCounter-->
> </body>
> </html>
> -
How to set display size of a Region or Dynamic Region?
Hi,experts,
In jdev 11.1.2.3,
I drag and drop a task-flow into a jsf page to create a Region,
and set display size for the region, source code as:
===================
<f:facet name="second">
<af:decorativeBox theme="medium" id="db1">
<f:facet name="center">
<af:panelGroupLayout layout="scroll" id="pgl1"
inlineStyle="width:1200px;height:700px;">
<af:region value="#{bindings.trainflow11.regionModel}" id="r1"
inlineStyle="width:1200px;height:700px;"/>
</af:panelGroupLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
=================
But, the Region is only showed a small fraction area on the parent jsf page whenever during design or run time.
How to set display size of a Region or Dynamic Region?
Thanks!Hi,
the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
Frank -
Navigate to initial task flow in dynamic region with JDeveloper 12c
I have a home page with a dynamic region and three links and I am working with page fragments. The initial bounded task flow is "btfInicio".
The requirement is that in each bounded task flow I have to implement a close button to return to the initial bounded task flow. This is my code:
My Bean for my home page.
public class AdministradorActividades extends DataControlBean {
private HashMap parametrosGenerales = new HashMap();
private String taskFlowId = "/WEB-INF/btfInicio.xml#btfInicio";
private RichRegion regionPrincipal;
public String gestionarDatosClinicos() {
taskFlowId = "/WEB-INF/datosClinicos/btfDatosClinicos.xml#btfDatosClinicos";
refrescarRegion();
return null;
public void refrescarRegion(){
AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
UIComponent region = findComponentInRoot("rPrin");
adfContext.addPartialTarget(region);
My Home page.
<af:decorativeBox id="db4" theme="medium"
inlineStyle="margin-bottom:5px; margin-left:5px; margin-right:5px; margin-top:5px;">
<f:facet name="center">
<af:region value="#{bindings.regionDinamica.regionModel}"
id="rPrin" partialTriggers="::lCli ::lCon ::lRep"/>
</f:facet>
</af:decorativeBox>
My Home page Def:
<taskFlow id="regionDinamica" xmlns="http://xmlns.oracle.com/adf/controller/binding"
taskFlowId="${pageFlowScope.managerRegion.taskFlowId}" activation="deferred"
parametersMap="#{pageFlowScope.managerRegion.parametrosGenerales}" Refresh="ifNeeded"/>
I have tried this inside a fragment from my bounded task flow "btfdatosClinicos" where I have a button , but doesn't work. The home page is not refreshed:
AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
AdministradorActividades admActividades = (AdministradorActividades) adfContext.getPageFlowScope().get("managerRegion");
admActividades.setTaskFlowId("/WEB-INF/btfInicio.xml#btfInicio");
UIComponent region = findComponentInRoot("rPrin");
adfContext.addPartialTarget(region);
If I Implement a control flow case inside my bounded task flow "btfdatosClinicos" to "btfInicio" then I can see the page fragment that correspond to the bounded task flow "btfInicio", but if I clic one of the three links, then the action event is not executed.Hi Miguel,
I think you are complicating the requirement without needing. Why would you put the back button inside your other taskflows? This would be useful just if you are calling those from another bounded taskflows.
Look what you can do;
You can create your links for dynamic regions. Cool. But in your decorative box, in the top facet, you can drag a drop the btfinicion and display it as a link (yes, this will be your back button). and that's it. You don't need to mess with partial triggers or refrescar regiones methods.
Let me know if this doesn't impact your requirement.
By the way, en que pais trabajas?
Saludos -
My front panel is causing my vi to run at the wrong frequency.
My vi worked fine before I made my front panel into a useful GUI. The code was not changed only decorations, colors and position was changed. Now my vi will not operate at the correct frequency. I know this because I should be sending out a bit pattern at 25Hz and the oscope shows a change with the new vi. If I reduce this vi to 1/2 screen and the view the top of the front panel the vi runs fine as soon as I view the lower part of the front panel or go to full screen the frequency is wrong. I also found that by deleting two large decorative boxes the vi ran fine. I have played with the graphics settings and the only thing that helps is setting the resolution to 848x480 then the vi runs fine but looks funny.
Any suggestions? Windows 2000 with LabView 6.1.Sounds like you are low on memory or CPU.
Make sure you display is set for 16-bit color.
Make sure none of the indicators are over-lapping.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Add ADF UI component at runtime
Hi ,
I have created Ui components in my page at runtime based on the input.
I have a panel at design time. To that I am adding decoration boxes at run time, also, i am adding InputTextBoxes to the Decoration Box at runtime.
for(int i=0;i<noOfDecorationBox;i++)
RichDecorativeBox db = new RichDecorativeBox();
for(int j=0;j<no.OfInputText;j++)
RichInputText nameText = new RichInputText();
nameText.setLabel("Name");
nameText.setId("nameText" + j);
nameText.setValue("Value"+j);
db.getChildren().add(nameText);
panel1.getChildren().add(db); //Panel1 is the object for my panel which will be available in the design time itself.
AdfFacesContext.getCurrentInstance().addPartialTarget(nameText);
AdfFacesContext.getCurrentInstance().addPartialTarget(valueText);
AdfFacesContext.getCurrentInstance().addPartialTarget(db);
The above method I have written inside button_click event. Also , I have set the button as PartialTrigger to my 'Panel'. So I am able to see the Decoration Boxes at runtime. But not the InputText component those are added to my DecorationBox.
Thanks,
Sabarisri. N
Edited by: Sri N on Dec 17, 2011 12:31 PMchange your code like following and it will work for you :
for(int i=0;i<noOfDecorationBox;i++)
RichDecorativeBox db = new RichDecorativeBox();
panel1.getChildren().add(db);
for(int j=0;j<no.OfInputText;j++)
RichInputText nameText = new RichInputText();
nameText.setLabel("Name");
nameText.setId("nameText" + j);
nameText.setValue("Value"+j);
panel1.getChildren().get(i).getChildren().add(nameText);
AdfFacesContext.getCurrentInstance().addPartialTarget(nameText);
AdfFacesContext.getCurrentInstance().addPartialTarget(valueText);
AdfFacesContext.getCurrentInstance().addPartialTarget(db);
Edited by: amir on Dec 17, 2011 2:02 AM -
I am using LV 5.1.1 on a Win 9x platform. I am trying to come up with a
way to let users save reports easily from Labview.
I have stayed away from the LV report VI's because they do not support
graphics. What I have come up with is less than optimal in my view. I
am using a front panel as my report template to show the user the data.
I am hiding any control or indicator via attribute nodes that should not
show on the report. Then I am using the Get Panel Image Vi Server
method to grab the front panel and save it as an image file (why isn't
gif format available? Is it the Unisys copyright deal?). This allows
for a user to at least be able to print or save the report to file in a
nicely formatted, 1" inch margin, etc. way. One problem that this is
less than optimal is that the portable network graphic (*.png) format is
not fully supported (without plugins and the like) via common browsers
or graphic viewers.
Another problem I encountered was when merely trying to just print the
front panel programmatically from LV, no matter where I placed my
controls the ones on the left ended up printing right on the left side
of the page leaving minimal page margin. One thing I did try was to
place a trasparent decoration box around the report to give LV the
reference edge I guess it is looking for. However, an unexpected result
with this was that even though the decoration was transparent on the
page it printed with a fine border. Not sure what is going on here.
I also tried using the print to RTF format method and that did not allow
for setting of margins that I could see. It also printed the vi name
and the words "front panel" in the RTF document. Could not find a way
to stop it from doing this which was annoying.
Another attempt was made using the print to HTML method, but this would
mean that the user would have to keep up with the html and image files
that go to make up the report. This creates a potential problem when
the user would like to copy the file or email it because they have to
keep up with all the files both html and image and keep them in their
proper referenced locations (so that the htm file can find its images
unless the end user wants to go in and edit tags.)
Any help would be greatly appreciated.
Thanks,
DonI had almost the same problem as you with the reports, and I couldn't find
any god way to solve the problem inside LV. My solution is to use ActiveX
to export the data to Excel or Word. The ActiveX interface in LV is simple
to use and there are some examples at the NI homepage how to use it. I also
create the graphs directly inside Excel instead of exporting them as a picture
from LW.
One other problem that I dint manage to solve is how to get a decent picture
file out of a graph in LV. You are writing about the gif and png format but
none of these is relay god if you want to include the picture in a document.
Both those formats are pixel built up and I would like to have a vector image
like the wmf format instead. The vector format is scalable and has a bit
better quality. If you right click on a graph and select copy then paste
it into for example Word, you get some kind of object that is scalable and
nice locking but I newer figured out a way to do this by code. Maybe someone
else in the n.g. knows some thing about this.
Don wrote:
>I am using LV 5.1.1 on a Win 9x platform. I am trying to come up with a>way
to let users save reports easily from Labview.>>I have stayed away from the
LV report VI's because they do not support>graphics. What I have come up
with is less than optimal in my view. I>am using a front panel as my report
template to show the user the data.>I am hiding any control or indicator
via attribute nodes that should not>show on the report. Then I am using
the Get Panel Image Vi Server>method to grab the front panel and save it
as an image file (why isn't>gif format available? Is it the Unisys copyright
deal?). This allows>for a user to at least be able to print or save the
report to file in a>nicely formatted, 1" inch margin, etc. way. One problem
that this is>less than optimal is that the portable network graphic (*.png)
format is>not fully supported (without plugins and the like) via common browsers>or
graphic viewers.>>Another problem I encountered was when merely trying to
just print the>front panel programmatically from LV, no matter where I placed
my>controls the ones on the left ended up printing right on the left side>of
the page leaving minimal page margin. One thing I did try was to>place a
trasparent decoration box around the report to give LV the>reference edge
I guess it is looking for. However, an unexpected result>with this was that
even though the decoration was transparent on the>page it printed with a
fine border. Not sure what is going on here.>>I also tried using the print
to RTF format method and that did not allow>for setting of margins that I
could see. It also printed the vi name>and the words "front panel" in the
RTF document. Could not find a way>to stop it from doing this which was
annoying.>>Another attempt was made using the print to HTML method, but this
would>mean that the user would have to keep up with the html and image files>that
go to make up the report. This creates a potential problem when>the user
would like to copy the file or email it because they have to>keep up with
all the files both html and image and keep them in their>proper referenced
locations (so that the htm file can find its images>unless the end user wants
to go in and edit tags.)>>Any help would be greatly appreciated.>>Thanks,>>Don> -
Icon images in navigation model
Version: Spaces PS3
Is it possible to show images (from content server) for navigation menu item in the naivigation model. If anyone done this before please share updates.I have already tired that. The image does not appear in the Spaces Page. howveer when I am creating the navigation model in Spaces it does appear.
I have tried a lot on modifying the inlinestyle of the decorative box containing the binding for the navigation model in my Page template. But the image does not however appears.
I am using my navigation model as a default navigation model in my Spaces.
Here is the code lines for the Page template using the Navigation Model :
<f:facet name="center">
<af:decorativeBox id="contentBody" theme="contentBody">
<f:facet name="center">
<af:panelStretchLayout id="wc_psl3" topHeight="#{changeModeBean.inEditMode ? 72 : 72}" endWidth="auto" bottomHeight="auto" startWidth="auto">
<f:facet name="top">
<af:decorativeBox id="pt_db1" topHeight="0px" theme="light" inlineStyle="">
<f:facet name="center">
<cust:panelCustomizable id="pcustnav"
layout="horizontal" inlineStyle="height=100px;width=200px;">
<af:region value="#{bindings.spacesNavigationPanel.regionModel}" id="spcNavPanel" />
</cust:panelCustomizable>
</f:facet>
</af:decorativeBox>
</f:facet>
<f:facet name="center">
<af:decorativeBox theme="medium" id="decBoxMed" topHeight="#{changeModeBean.inEditMode ? 30 : 0}">
<f:facet name="center">
<af:panelStretchLayout id="wc_psl4" endWidth="#{attrs.auxiliary1Size}">
<f:facet name="center">
<af:panelStretchLayout id="decBoxLt" topHeight="#{changeModeBean.inEditMode ? 54 : 24}">
<f:facet name="top">
<af:region value="#{bindings.spacesNavigationPageHeader.regionModel}" id="pt_psl1"/>
</f:facet>
<f:facet name="center">
<af:panelStretchLayout id="wcCont" styleClass="WCContent">
<f:facet name="center">
<af:skipLinkTarget/>
<af:facetRef facetName="content"/>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="end">
<af:facetRef facetName="auxiliary1"/>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
Edited by: sackam on 18/05/2011 22:46 -
How to set display luminance to 80 cd ?
Is there a way to set the brightness of the 27 Cinema Display to the recommended 80 candelas ?
Hi,
the decorative box is supposed to stretch components in the center facet, so at runtime the region should stretch. Can you try with a static region to see if this is an issue with dynamic regions?
Frank -
PanelCollection's View menu label became white after skinning
Hi OTN,
I have applied a custom skin to my ADF application, following official guide.
trinidad-skins.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
<skin>
<id>SBAskin.desktop</id>
<family>SBAskin</family>
<extends>fusion.desktop</extends> // not extending fusionFx.desktop ?
<render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
<style-sheet-name>css/master.css</style-sheet-name>
</skin>
</skins>trinidad-config.xml
<?xml version="1.0" encoding="windows-1251"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<!--<skin-family>fusionFx</skin-family>-->
<skin-family>SBAskin</skin-family>
</trinidad-config>In master.css there is some slight styling of header and table rows.
After that one of page's panelCollection's "View" menu label became white.
A label in facet:toolbar is also white.
To find out the cause of the problem I deleted everything from master.css. But the labels are still white.
Here is a page structure: http://img843.imageshack.us/i/structure.png/
Please, take a look.
If I switch back to fusionFx family, the colors are ok.
How can I return colors back to normal in current custom skin?
And also, please take a look on a commented code row.
I thought I need to extend fusionFx.desktop as soon as fusionFx is a default skin-family. But <extends>fusionFx.desktop</extends> gives nothing.
That should I extend?
Thanks.
ADF 11.1.1.4
Seems, white color comes from decorative-box with theme="dark".
But why isn't it white with default skin family?
Edited by: ILya Cyclone on Mar 25, 2011 6:46 PMHello,
What Jdeveloper version are you using?
in my application trinidad-config.xml , I have Fusion not FusionFX
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>fusion</skin-family>
</trinidad-config>
I doubt this will help you! but you may try it.
Regards,
Shomoos
Maybe you are looking for
-
HT2513 iCal, "edit event" doesn't show the dates
Hi everyone, My problem is with iCal for Lion. When I try to edit an event, I can not see the date in the from-to section. I can change month, year and time, but not the date! So it is impossible to add long-time events, unless I use the quick add bu
-
Creation of Service POs using BAPI_PO_CREATE1
Hi Friends, I am trying to create service POs through BAPI (BAPI_PO_CREATE1). I am facing different errors like Please maintain service or limits eve though I am providing the details in POSERVICES. Can any one suggest me the fields which we have to
-
Howdy folks! I have an 20 year old Powerbook 180 with what I think is an unreliable floppy drive. Sometimes while accessing a diskette the screen flickers and usually power to the whole computer drops out. I'm not familiar with Mac connectivity. Is t
-
Hi Guru's My client wants to implement BPM in Solution manager 7.0. Want to see look feel about it. Is there any Prototype setup document to show what and all we get after implementing BPM. I mean is there any Configuration Blog for BPM? Please reply
-
Event to be triggered after the completion of ProcessChain
Hi, I have a scenario in Process chain. After successful completion of the proces chain,i shall trigger an event for other system (XI). Please help me in this regard, how to handle the event. Thanks, ILYAS