How to implement adf skins in JDeveloper 11g

How to integrate CSS in ADF using JDeveloper 11g without Trinidad.

Is there any particular reason for NOT wanting to use the trinidad-config.xml? Using Jdev11g, it is very easy, requires no extra jars and have no external dependencies. Also, its [better |http://technology.amis.nl/blog/4169/adf-11g-why-use-skinning-why-not-use-simple-external-css-stylesheets] to do it using skins.
Julian.

Similar Messages

  • How to develop custom skin in JDeveloper 11g?

    Hi All
    I am using JDeveloper 11g(11.1.1.3.0). Could anyone please tell me how to create custom skins.
    Regards
    Venkat.S

    Thank you very much Navaneeth.. now I am able to create custom skin.
    Now one more help, currently I am using "fusion" as default skin how to extend it with our custom skin. So that i can use few features of "Fusion" skin and few from my custom skin.
    If I disable inputtext it will be in "Grey color" i need it in white color. how to do it?

  • How to Implement ADF BC Session in 11g

    Hi All,
    I am searching for Implementation of ADF BC Session in 11g, but i am not getting any link.
    My Requirement is to Store some user Data (i.e UserId,Department,EmployeeNumber...etc) in Session and by using EL or some programatic logic i should be able to access that variables on every Bussiness Component and on Page also.
    Is there any link or code for same.
    Thanks,
    Vijay

    use it like
    //setting the value to sesssion
    getDBTransaction().getSession().getUserData().put("UserName", userName);
    //setting the value from sesssion
    getDBTransaction().getSession().getUserData().get("UserName");
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to connect sybase database in JDeveloper 11g using JConnect

    Hi
    How to connect sybase database in JDeveloper 11g using JConnect? Please help.

    User,
    It would help if you explained Sybase Jconnect instead of leaving us to google.
    At any rate, it appears you need to create a library definition in JDeveloper, add the appropriate JConnect JAR files to the library's classpath, and then add the library to your project.
    John

  • How to implement custom skin in JavaFX 2.0?

    To implement custom skin, I extend TextFieldSkin (in com.sun.javafx.scene.control.skin.*) class, but I don't know which methods to overwrite, anyone can provide some sample codes? Thanks!

    Hi,
    You can implement Skin interface or extend SkinBase class. I made some controls on my blog http://jojorabbitjavafxblog.wordpress.com/ but i still have not updated code to build 40. In my opinion the easiest way is to make first skin for Button class for example add text and Rectangle.

  • Query on ADF Tree rendering - Jdeveloper 11g

    Hi,
    Am facing issues with Tree component rendering. Please find details below.
    Am using Jdeveloper 11g and have created data controls using plain java objects.
    Issue 1:
    I have a method getEmployees() which contains hierarchical data. Upon dragging this onto UI and on creating tree binding, i am able to see the tree.
    However i can expand only the parent node. Upon clicking on any of the child nodes (i.e Level 1 nodes), i get a blinking icon forever.
    Note that upon selecting the context menu option on root node and on selecting "Expand all", i get the complete tree in expanded format.
    Can anyone suggest as to what might be the issue with node expansion here ?
    Approach 2
    I tried creating Treemodel programatically.
    Please see snippet below:
    public TreeModel getModel() throws IntrospectionException {
    if (_model == null) {
    model = new ChildPropertyTreeModel(instance, "children")
    public boolean isContainer() {
    return ((T)getRowData()).hasChildren();
    return _model;
    By creating tree model in this way, tree node expansion issue is resolved. But i noticed that upon clicking on node for expansion,
    the getChildren() method (i.e the childProperty method) gets invoked multiple times and not once for the specifically expanded node.
    Can anyone please suggest as to why this is happening/possible solution?
    Thanks
    Navin

    Thanks for the reply. I can see the facets in the structure window and can seemingly add components there, but this is not reflected in the Design view for the page. Very strange. When the page is run, none of these components in the Accordion panel facets are displayed...
    I'm using JDeveloper version 11.1.2.1.0.

  • How to implement WriteBack feature in OBIEE 11g?

    I have implemented all steps but with no success. Can any one share what are loop holes in implementation the same?

    Hi,
    Please check the below steps and refer the below links.
    http://satyaobieesolutions.blogspot.in/2013/03/write-back.html
    http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
    http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html
    1. Problem your XMl Script
    2. If null value not present in your columns in your table in database.The ; problem has occured.
    please check below steps.
    1. Are you using OCI or ODBC in your connection pool? Try it with OCI Call Interface 11g.
    2.Remove the commit tag from the XML file.
    <postUpdate>COMMIT</postUpdate>
    =============================================================================================================
    This xml file working for me.
    Insert--
    A couple of small adjustments got your XML to work here:
    <?xml version="1.0"; encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="WriteBack">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> INSERT INTO FACT (PRICE,PRODUCT_KEY,REGION_KEY,SALE_UNIT,TIMEKEY,SALES_QUOTA)
    values (@{c7},@{c8},@{c9},@{c10},@{c11},@{c5} ) </insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The <writeBack> tag is written with a lower case "w".
    The "connetionPool" needs an upper case "P".
    Update--
    I think that you have to specify also an SQL statement for the update tag, for example:
    <?xml version="1.0"; encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1";>
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert> select null from dual</insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The witeback wants for both the tags (<insert></insert> and <update></update>) an SQL Statement.
    Hope this help's
    Thanks
    Satya

  • How to implement callout in Oracle B2B 11g

    Hi,
    I am referring to the document http://docs.oracle.com/cd/E23943_01/user.1111/e10229/callouts.htm#CHDEFBDG and trying to implement callout for a specific requirement.
    Initially i want to implement the callout using simple XML-XML transformation . For this i have done couple of settings in oracle B2B but unfortunately it is not working. Below is the detailed steps.
    1) I have copied a example java Code Example of an XML-to-XML Transformation in section 13-2 of the above mentioned document to JDeveloper, compiled the code and created the jar file (TestCallout.jar).
    2) I have copied the .jar file to a specific path (ex: D:\Oracle\Middleware\user_projects\MyCallout ) and mentioned the same path in B2B UI / Configuration tab/ Callout Direcotry.
    3) Created a New .xsl file using Jdeveloper where i am mapping from one format of XML schema to another format of XML schema.
    4) I have created a new callout in the callout tab and below are the details:
    Implementation Class : com.mycallout.XMLTransform
    Library Name : TestCallout.jar
    Now please suggest me where i can mention the path of .xsl file which i have created, in Oracle B2B callout UI ?
    What parameter name and value should i mention in the parameters section?
    Below are my XSL file :
    <xsl:stylesheet version="1.0"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://www.example.org"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns1="http://www.example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl ns0 ns1 xsd xp20 bpws aia mhdr bpel oraext dvm hwf med ids bpm xdk xref ora socket ldap">
    <xsl:template match="/">
    <ns0:Input>
    <ns0:OrderType>
    <xsl:value-of select="concat(/ns1:OredrStatusInquiryRequest/ns1:BranchPlant,/ns1:OredrStatusInquiryRequest/ns1:OrderType)"/>
    </ns0:OrderType>
    <ns0:OrderNumber>
    <xsl:value-of select="/ns1:OredrStatusInquiryRequest/ns1:OrderNumber"/>
    </ns0:OrderNumber>
    <ns0:Item>
    <xsl:value-of select="concat(/ns1:OredrStatusInquiryRequest/ns1:LineNumber,/ns1:OredrStatusInquiryRequest/ns1:Item)"/>
    </ns0:Item>
    </ns0:Input>
    </xsl:template>
    </xsl:stylesheet>
    Please help me to move further.

    Now please suggest me where i can mention the path of .xsl file which i have created, in Oracle B2B callout UI ?In the step#4 itself, you need to add callout parameter with name "xsltFile" which should be of type string and value of this parameter should be absolute path of XSL file (including file name). So suppose you have copied the xsl in directory C:\xsl and name of XSL file is abc.xsl then value of parameter "xsltFile" should be C:\xsl\abc.xsl
    Regards,
    Anuj

  • How to create JAXB bindings in jdeveloper 11g for the portlet event payload

    I have three projects in JDeveloper 11.1.1.6:
    - PortletProducer - provides some portlets
    - PortletUser - makes use of these portlets
    - SomeData - provides serializable classes for portlets event payload
    I configured SomePortlet in PortletProducer to send events of serializable type SomeDataClass (from SomeData project), but whenever i am trying to send event of this class, i am getting an exception:
    oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: java.lang.IllegalArgumentException: Event [someEvent] value is of type [class somedata.SomeDataClass] which does not have a valid JAXB binding configured; configuration may be done in the WEB-INF/portlet.xml or WEB-INF/wlp-framework-common-config.xml files..;
    But i have no idea how to perform such bindings in portlet.xml or wlp-framework-common-config.xml (the latter file is also missing in all three projects, while the former exists only in PortletProducer project).
    I have a JAXB xsd file created with schemagen.sh (from a jaxb zip) for SomeDataClass, but what do i do with it in order to create a JAXB binding in JDeveloper?
    Thanks.

    Are you trying to expose an existing system inside of WCS?
    If this is the case, you should investigate "External Applications":
    http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10149/config_svcs_prod_extapp.htm#WCSUG6698
    This is an out of the box way of embedding external systems, with seperate login pages etc. I think this will achieve what you are trying to do yourself. It even allows for parameterised URLs

  • How to import existing projects into JDeveloper 11g

    I am trying to work with JDeveloper for my application and want to know whether it is possible to import existing projects into the work space in JDeveloper. I am currently working with eclipse IDE and this feature is available in it. How can I connect to clear case from JDeveloper? In eclipse it is very easy to connect to clear case with a plugin installed and check out, check in files from the source control. Any help is greatly appreciated.

    The basic way to import code is to use the "New->Projects->Project from existing code" or "project from WAR" dialogs to create your project.
    You then need to do some tweaking in the project properties->Content (and sub nodes such as resources and Web content).
    And also set the correct JARs/Libraries in the project properties.
    You can use the help->check for update to download the extension to JDeveloper that will let you integrate with Clearcase to do version management.
    This how-to might help you with your migration:
    http://www.oracle.com/technology/products/jdev/howtos/1013/w4wljdev/workshopandjdev.html

  • How to implement password policies in BI 11g?

    Hi Folks,
    Can someone point me to a doc that shows how to set up password policies in BI 11g? I'm talking about things like enforcing password expiration, enforcing complex passwords etc., things like that. I understand that now in 11g, users need to be set up via the Weblogic console, but I don't see it in there, and I'm not sure where to go from there.
    Thanks very much,
    -Adam vonNieda

    Hi Adam,
    Is this what you are looking for;
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/security/ConfigurePasswordValidationProviders.html
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • ADF Skin customization

    how to override ADF SKin components? what are alll best practices ? Can you please suggest how to control look and feel completely ?

    Hi.
    This link may fit with your requirement(can override ADF SKin components)
    See: http://technology.amis.nl/blog/5722/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instances-or-groups-of-instances

  • How to implement createInstanceFromResultSet

    Hi All,
    I need some example to implement createInstanceFromResultSet
    my requirement is to Pull a another column in query reult from another table linked using xref.
    currently its doing using POST-QUERY of forms 6i.
    I tried created a VO based on two EO or SQL - Query but but are taking long time as sql query itself take a long time to show result.
    POST-Query
    select video_seller_id into temp_video from cm_sub_seller_xref where subscriber_id = :cm_subscribers.subscriber_id and video_seller_id is not null;
    if temp_video is not null then
    select ext_sys_seller_reference, name into :cm_subscribers.video_seller, :cm_subscribers.video_seller_description from cm_sellers where seller_id = temp_video;
    VO Query that takes time
    select cm_sub_seller_xref.VIDEO_SELLER_ID, cm_sellers.EXT_SYS_SELLER_REFERENCE, cm_sellers.NAME,cm_subscribers.subscriber_id
    from cm_subscribers INNER JOIN cm_sub_seller_xref on cm_sub_seller_xref.SUBSCRIBER_ID=cm_subscribers.SUBSCRIBER_ID
    INNER JOIN cm_sellers on cm_sellers.SELLER_ID= cm_sub_seller_xref.VIDEO_SELLER_ID
    and rownum<100
    Now looking to implement same using createInstanceFromResultSet

    we use Forms Developer in Post-Query:
    select dept.dept_name
    into :EMP.nb_dept_name
    from department dept
    where dept.dept_id = :EMP.dept_id;
    so, How to implement ADF createInstanceFromResultSet method?

  • Getting Blank page when i am running ADF page from jdeveloper 11.1.1.0.1

    Hi All,
    I have created new ADF page in Jdeveloper 11g. I have done the steps which are mentioned in the OTN ADF tutorial. when i am running the page, i am getting blank page in the console its throwing the below exception. pls help me.
    <Dec 23, 2008 11:12:43 AM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@beaed3 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1db6c8c[
    GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
    Accept: /
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
    Connection: Keep-Alive
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:336)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    Truncated. see log file for complete stacktrace
    can any body help me
    thanks
    Venkat

    Hi,
    hard to tell what the problem is because all that the stack trace tells us is that you are invoking a bounded taskflow from a browser. If the bounded taskflow is built with pages (not page fragments) then this should bring up the default activity.
    Frank

  • How to get multiple out parameters from a pl/sql stored procedure in ADF Jdeveloper 11g release2

    I´m trying to call from AppModuleImpl a stored procedure from my oracle DB which receives one input parameter and returns 5 out parameters. 
    I´m using jdeveloper 11g release2  ADF and I have created a java bean "ProRecallPlatesBean " with the atributes and accesors and I serialize it. just like in this article http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvgen.htm#sm0297
    This is my code so far:
    public ProRecallPlatesBean getCallProRecallPlates(String numPlates) {
    CallableStatement st = null;
    try {
              // 1. Define the PL/SQL block for the statement to invoke
              String stmt = "begin CTS.Pk_PreIn.proRecallPlates(?,?,?,?,?,?); end;";
              // 2. Create the CallableStatement for the PL/SQL block
              st = getDBTransaction().createCallableStatement(stmt,0);
              // 3. Register the positions and types of the OUT parameters
              st.registerOutParameter(2,Types.VARCHAR);
    st.registerOutParameter(3,Types.VARCHAR);
    st.registerOutParameter(4,Types.VARCHAR);
    st.registerOutParameter(5,Types.VARCHAR);
    st.registerOutParameter(6,Types.VARCHAR);
    // 4. Set the bind values of the IN parameters
    st.setString(1,numPlates);
    // 5. Execute the statement
    st.executeUpdate();
    // 6. Create a bean to hold the multiple return values
    ProRecallPlatesBean result = new ProRecallPlatesBean();
    // 7. Set values of properties using OUT params
    result.setSpfVal(st.getString(2));
    result.setTransportTypeVal(st.getString(3));
    result.setTransportCompanyVal(st.getString(4));
    result.setCompanyDescrVal(st.getString(5));
    result.setDGAPrint(st.getString(6));
    // 8. Return the result
    return result;
    } catch (SQLException e) {
    throw new JboException(e);
    } finally {
    if (st != null) {
    try {
    // 9. Close the JDBC CallableStatement
    st.close();
    catch (SQLException e) {}
    In Jdeveloper I went into AppModule.xml JAVA>Client Interface section and expose "getCallProRecallPlates" Then I can see "getCallProRecallPlates" in Data Controls, I drag and drop it to a JSF page, an input text component and a button are generated in order to put in there the procedure input parameter (numPlates).
    I don't know if I'm on the right track.
    When I click the button, the "result" variable is supposed to be filled with data from the stored procedure. I want each of those values to be displayed in Output text or input text adf components but I dont know how. Thank you very much in advance I´m a newbie and i'll appreciate your help!

    What version are you on?
    Works fine for me on my 11g:
    SQL> create or replace procedure testxml (clob_out out clob)
      2  is
      3     l_clob   clob;
      4     l_ctx    dbms_xmlquery.ctxhandle;
      5  begin
      6     l_ctx := dbms_xmlquery.newcontext ('select * from dual');
      7     l_clob := dbms_xmlquery.getxml (l_ctx);
      8     clob_out := l_clob;
      9     dbms_xmlquery.closecontext (l_ctx);
    10  end testxml;
    11  /
    Procedure created.
    SQL>
    SQL> variable vout clob;
    SQL>
    SQL> exec testxml (:vout)
    PL/SQL procedure successfully completed.
    SQL>
    SQL> print vout
    VOUT
    <?xml version = '1.0'?>
    <ROWSET>
       <ROW num="1">
          <DUMMY>X</DUMMY>
       </ROW>
    </ROWSET>But definitely you can optimize your proc a bit: Try
    create or replace procedure testxml (clob_out in out nocopy clob)
    is
       l_ctx    dbms_xmlquery.ctxhandle;
    begin
       l_ctx := dbms_xmlquery.newcontext ('select * from dual');
       clob_out := dbms_xmlquery.getxml (l_ctx);
       dbms_xmlquery.closecontext (l_ctx);
    end testxml;
    /

Maybe you are looking for

  • How to transfer my iPad from my iTunes account to my wife on her iTunes account.

    Running Mac OS X Lion 10.7.5, iTunes 11.0.1.  Want to give my wife my iPad2.  Don't want to share apps or songs; already reset the iPad2 and removed the apps.  We have separate iTunes accounts.  However, when i go into my iTunes account and go to the

  • Something REALLY ***** with .mac email

    It seems that every time I write a LONG, extended email on my .mac account email, and I get the "# of misspelled words" window, in checking the words I bump the wrong key and lose the email. This has happened several times over the years, and it is v

  • Can I get a DVD of CS6?

    Can I get a DVD of CS6?

  • Cursor is Off When Using Adjustment Brush

    Is anyone else having or solved this problem? In Lighroom 3.5 (all updates installed), when I attempt to use the Adjustment Brush tool, my mouse cursor appears to be off. After choosing the tool, if I click a location on my picture, it acts as if I a

  • Dashboard inconsistencies in Lion

    Nearly every time I click on a widget to edit or move it, the operating system drags me out of Dashboard and back to Desktop 1. It probably happens about 85% of the time. If I click into the blank field of the dictionary widget to type in a new searc