Externalize the Skin from ADF Faces project

I have a requirement, where we don't want to bundle Skin(CSS, adf-faces-skins.xml, adf-faces-config.xml files) with the web project. Which would help us to add new skin or change the existing skins.
I see the CSS file name is different when it renders in the final HTML page. If my file name is 'sni.css' and it is kept in folder 'Web Content/css' but in the output html('/adf/styles/cache/sni-desktop-10_1_3_3_0-en-ie-6-windows-s.css'). How does the name changes here?
We do this in our old framework by putting CSS files in Web Server. Can we do similiar thing in ADF Faces to externalize the styles? Overriding Faces Listeners or by any other way?
Similiarly want to externalize images, adf-faces-skins.xml and adf-faces-config.xml also.
Thanks

Hi,
We created a external skin project. WebSkin.war. In this project we put every thing (images, ccs, etc).
In the others Web projects, into our jsp files we added this line on the header.
<link rel="stylesheet" type="text/css" media="screen" href="/WebSkin/common/skins/<%=styleBean.getStyleName()%>/screen.css" />
And (of course) getStyleName give us the current Skin Name (blue, purple, etc)
But (nothing is perfect).. we are using JBOSS as application server, we didn't test that solution on other platform.
I hope is not to late ...
Regards.
Message was edited by:
ppasquel

Similar Messages

  • Warning msgs from ADF Faces project

    Hi
    When I start some ADF Faces app. I got lots of warning msgs like:
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBox)
    Mar 1, 2005 4:31:30 PM com.sun.faces.config.rules.ComponentRule end
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelSideBar)
    Mar 1, 2005 4:31:30 PM com.sun.faces.config.rules.ComponentRule end
    Does anyone know how to solve them?
    Thanks

    I have the same problem. I just ignore them, but it is an annoyance since there are a lot of them, and they fill my OC4J server log. Seems it happens every time the server reinitializes.

  • JDeveloper - ADF Faces projects - calling a jspx from another project

    I have an ADF Faces project which has a jspx file and a backing bean. The jspx file is called 1.jspx and the backing bean is called 1.java. Navigation within the page and outside of the page is controlled by the faces-config.xml.
    However, I want to be able to navigate to another jspx in another project. Let's call this jpx, 2.jspx. How would I be able to make this call without losing the current context in my first project? Please note I do not want to have to copy the 2.jspx and 2.java files into my current project.
    Thanks
    Chris

    Hi,
    according to the JavaEE specs, a J2EE context demarks the scope of a session, which means that as soon as you call out to another application, you start a new session, loosing all the information of the other session. So if you don't want to deploy this all in one application, then you have to find a way of persisting context information (e.g. using a shared database instance)
    Frank

  • What are provided skin with ADF faces and where i can find more ?

    Hi
    thank you for reading my post
    where i can find more skins for ADF faces ?
    I know
    Oracle , srdemo
    is there any other skins available ?
    Thanks

    Find your serial number quickly
    if it's a win ps cs6 and it's installed, you can use belarc advisor to recover the sn, Belarc Advisor - Free Personal PC Audit, for software, hardware and security configuration information on your computer.…

  • Solutions and/or suggestions for documenting ADF Faces projects

    Hello everybody,
    does anyone have solutions and/or suggestions for documenting ADF Faces projects? For C, C++, C#, PHP and Java projects we use Doxygen, but what to use für ADF Faces projects?
    Thank you in advance for your tips!

    Hello everybody,
    does anyone have solutions and/or suggestions for documenting ADF Faces projects? For C, C++, C#, PHP and Java projects we use Doxygen, but what to use für ADF Faces projects?
    Thank you in advance for your tips!

  • I'm on the phone with my Husband and I take the phone from my face and there is this red light. It's creepy, when I put my headphones in it went away.

      I'm on the phone with my Husband and I take the phone from my face and there is this red light. It's creepy, when I put my headphones in it went away.

    You might be seeing the proximity sensor. It is how the phone tells when it's near your face and blanks the screen so you don't accidentally touch things with your cheek. It's near the front facing camera.

  • Using skin from adf library

    Hi all,
    I'm using JDeveloper 11.1.2.1.
    Is there a way to use different skins in imported application as adf lib from main application?
    For example, when I go to views from main application it will use its own skin, but when I go to views from imported adf library I want it to use skin imported with adf lib.
    Thanks in advance.

    Hi,
    at runtime you can switch easily. At design time you need to have the skin in the project to show it in JDeveloper. Here skins in ADF library don't work
    Frank

  • About skinning in ADF Faces EA19

    I'm working with skinning adf faces technology and I'm trying to personalize .AFErrorIcon style with my own icon but it doesn't work. The image is not rendered. Can somebody help with this, please...
    Thanks,
    Victor

    I am also trying to customize the skin for menu tab. However, it doesn't use the selectedIcons.
    My JSP is :
    <af:menuTabs var="item" value="#{Application.views}" >
    <f:facet name="nodeStamp">
    <af:commandMenuItem text="#{item.label}" action="#{item.select}" selected="#{item.selected}" />
    </f:facet>
    </af:menuTabs>
    The demo uses goCommandItem and doesn't use facet "nodeStamp". I tried to change the property to selected ="true" and it still doesn't use the right icon. Could anyone let me know if it is a bug?

  • Non-compliant HTML from ADF Faces 10.1.3.2

    We have had a query about the HTML rendered from ADF components from a potential client. When a page generated from an ADF Faces app. is run through the W3C HTML validator, it returns a number of errors, suggesting that the HTML does not conform to the current HTML 4.01 standard, although this is the standard specified in the doctype for the page.
    For example a test jspx page built with a simple ADF Faces PanelPage component only, generates numerous errors when run through the validator at http://validator.w3.org.
    Does Oracle have an official position on this? Is this something we will have to live with unless we write our own renderer? Do Oracle propose to change the components to conform with the standard in the future?
    Matthew

    Matthew,
    can you explain what your concrete concern is? I handled a similar question in the past where the claim was that non-standard HTML would make web pages look insecure. However, there was no proof for this statement, so I am wondering if it is the same argument.
    So please let me know what exactly it is that makes your client worry? If you use the same validator and try www.yahoo.com or www.google.com, it will show errors as well. I am not sure there are many web page on this planet that pass the validation test wth no errors.
    Back to your question though; There is no official statement Oracle has on HTML compliance in writing that you can pass on to your client.
    We do look at the validness of the generated HTML for the components we write on a regular basis. We don't see or have reports of limitation of our generated HTML and perform regular browser certifiation tests to ensure that applications built with ADF Faces don't fail browser support.
    If there is a serious issue with the genrated HTML code that prevents you or your client to run web applications built with ADF Faces, please let us know by filing a Service Request with customer support so we have a bug to trace and fix.
    Frank

  • Image icons missing from ADF faces selectManyShuttle?

    Hi all, I'm using <af:selectManyShuttle and it works great, but I noticed it looks a lot different from the examples on
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    (all I get is text, no cool images)
    Also the ADF faces example apps don't seem to display icons either. Have I missed something?
    There are files like images/oracle/smvall.gif inside adf-faces-impl-ea20-SNAPSHOT.jar but they don't appear to be used at all. Any help much appreciated.
    Regards, Murray

    I'm having a similar problem: some images show up with the selecManyShuttle, but others do not.
    Also, when I add a leadingHeader and/or a trailingHeader, the text is displayed twice. Once in the correct position, and once after each list.

  • Configure ADF-Faces project

    Hi,
    I have a project developed with ADF-Faces. I've copied it and pasted in another computer. This other computer has installed jdev 10.1.3.4, same version used for developing, and loaded the project without problems, aparently. When I tried to buil the project I have compilation errors due to missing libraries. I went to the web project's properties and found at the Libraries options that all ADF-Faces related entries have problems and can't be found, and, when opening files that use ADF-Faces objects imports can't be resolved. JSP pages won't find the tag libraries. How can I fix this problem?
    Any help is mostly welcome. Thanks.

    thanks for your reply.
    I did try that. In the project properties' window, down in the Libraries I had five adf entries, which were masked as with problem:
    ADF Common Runtime
    ADF Controler Rintime
    ADF Faces Cache
    ADF Faces Runtime
    ADF Model Runtime
    I removed them, and tried to add them again, but only two loaded again out of the five:
    ADF Faces Cache
    ADF Faces Runtime
    The same happened in the JSP Tag Libraries menu. I had
    ADF Faces Cache 1.0
    ADF Faces Components 1.0
    ADF Faces HTML 10_1_3_2
    JSF Core 1.0
    JSF HTML 1.0
    deleted and tried to add them again, but only two out of five were available
    JSF Core 1.0
    JSF HTML 1.0
    Any ideas what might be the problem?

  • How to see the files of adf faces demo

    Hi ADF Experts,
    I am using Jdeveloper 11.1.1.7.0 version. I downloaded the rcf-dvt-demo.war for this jdev version.
    Its running fine in weblogic. I just wanted to check hjow can we see the BackingBean and other files of this application in Jdeveloper.
    Thanks
    Animesh

    Hi Animesh,
    Please follow the instructions given under "Using the integrated WebLogic Server in Oracle JDeveloper 11g" section in the below url to view the complete code package -
    "ADF Faces Components Demo Install Instructions&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;ADF Faces Comp…"
    Best Regards,
    Ankit Gupta

  • Protect the cell from editing (MS Project)

    is it possible to protect the cell from editing (Gantt Chart view)? 
    I try to do it through the event Application_ProjectBeforeTaskChange and setting Cancel to true 
    which method is called when the edit cell and press the ESC?

    Hi,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office. Since the issue is more relative to Project developing, I would like to move it to
    Project Customization and Programming forum to get more effective response.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Send mail from adf faces

    Hi Everyone,
    I am new to ADF technology, i'm using J-Dev 11.1.1.5 , i need to send email using smtp when button is clicked . is there any sample example ! i tried below link but it did't worked for me
    [http://adfblogs.blogspot.in/2012/01/sending-e-mail-from-adf-application.html]
    Thanks

    Hi Timo , when i tried to run this i got a exception
    Error 500--Internal Server Error
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
         at javax.mail.Service.connect(Service.java:288)
         at javax.mail.Service.connect(Service.java:169)
         at view.EmailBean.sendMail(EmailBean.java:115)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)

  • How to deploy the skins in ADF ?

    Hi All,
    I am using JDeveloper 11.1.1.4
    My Scenario is I have Project A with some CSS(skins) and bounded task flows.I deploy as ADF Library JAR  .
    Now I attach the Project A Jar to Project B.I can access the bounded task flows but the CSS(skins) styles are not  displaying .
    I read below link ,
    Creating the Source Files for an ADF Skin
    My Project didn't have the META-INF folder whether I need to create it and move the css before deploy ?
    But If I try like I got below error ?
    java.io.FileNotFoundException: Unable to locate style sheet "META-INF/skins/Style.css" in local styles directory (C:\Users\arun.durairaj\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain\servers\DefaultServer\tmp\_WL_user\PartialSubmitAndAutoSubmit\27yz43\public\adf\styles), or on the class path.
    Please be sure that this style sheet is installed.
    Thanks. ..

    Check out this article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    And http://www.oracle.com/technetwork/developer-tools/adf/learnmore/august2011-otn-harvest-457288.pdf
    Which shows the work flow.
    Timo

Maybe you are looking for

  • Can anyone tell me why my mac keeps crashing? I'm new to mac.

    hiiii im new to mac and iv had my imac 3 days now and im finding it crashing like every hour or less? please help as im debating on taking it back.

  • Upload xml file to internal table only using simple transformation

    Hi Friends How to write transformation code for the following xml data.. Please let me know immedately if any one know.. I have written as following but i encountered an eror staating - Iam facing the following error An exception occurred that is exp

  • Need some hints for evaluating data from Central Performance History

    Hi Experts, I am pretty new to all the BI-stuff and hopefully someone can provide some hints. I got the requirement to read data (CPU usage/peaks) from central performance history of "system a" into "bi system" to generate overviews/charts/etc Now I

  • OBIEE Paging Style

    hi, I have a problem with the paging style in OBIEE. I have a report having 1,00,000 records.With the default paging style when I click on the "All page" buttion the browser gets hanged.So I have to click the "Next Page" button so many times to reach

  • Problems With Transporting Interaction Center Scripts

    I have problem when I select a Script and click on Transport button in the Web UI for the interaction center, IC_Manager Role. After clicking on the transport button I need to check in the back end (transaction code SE01), if a customizing request ha