Does ADF support weldCDI annotation in JDev 11.1.2.3/wls in Java EE 5?

Does anyone know if we can use weld CDI implementation's annotation in ADF in JDeveloper 11.1.2.3 in Java EE 5 environment?
I have applied sherman update 3 successfully to the JDeveloper with integrated weblogic server.
Tried a simple injection sample, I got null pointer exception when runs the application.
1. UI, test.jsf (facelets) page, I can bind Managed bean with annotation option. So @Named of weld CDI annotation works.
I saw injection working in test.jsf. No bean definition in the adfc-config.xml (yes, since chose annotation option)
2. UI, created test2.jspx (JSP xml), however, the annotation option at binding bean screen is greyed out.
The managed bean configuration goes into adfc-config.xml.
a. If using @Named @SessionScope in the managed bean class, got passive managed bean declaration from weld CDI implementation when context is loaded.
Application failed to launch.
b. If not using annotation above in the bean class, application is able to launch, but got null pointer exception in test2.jspx where I refer the value from managed bean.
Your comments are highly appreciated.

Weld works in Java EE 5 and above. As for specific web servers, running on weblogic 10.3.5 above, it needs JSF 2.0.
The challenge is that annotation doesn't seem to work in ADF (project).
I have seen bug fixes in the release notes of Weblogic 12c (which is Java EE6) on Oracle web site.
However I wondered why it mentions to fix bug when running weld, as 12c supposes to be a fully CDI supporting environment.
Why need weld? I just refer this to say, weld works in Java EE 6.
Thanks.

Similar Messages

  • Does ADF support aria-live tag for accessibility usage?

    We want to tell the screen reader to announce incoming events on ADF UI component. The aria-live tag can be used to tag screen elements as live or updatable.
    Not sure if ADF support aria-live tag. If not, is there any way to do it? Thanks.

    (Just about every thing is explained in help - just keep looking and searching help until you find it).
    1. Adding a "shadow/highlight" over a particular person in a moving clip
    This requires the creation of a white circle that you slightly superimpose over the picture simply by putting it on an above track and setting the level of it to very low - just enough to see the faint circle.
    It can be a graphic (same pixels as movie) quickly made in Paint or Photoshop or a camera shot of a white card.
    If the graphic has a fuzzy edge then highlight edge will also be fuzzy.
    Zoom and move it about as for your point 4
    Trying to follow movement is a bit trickier as you would have to shift it at least 2 frames at a time.
    Alternately you can use the chroma key effect except you insert the same picture in the hole as the background then reduce the level of the background picture to make it darker.(see help)
    2. Being able to "tag" or add keywords to clips that I've edited in the timeline for See answers to your other posts
    Whats wrong with an old fashioned simple notebook and pencil and note the time, changing it if you change it's position.  I use one all the time - much quicker.
    3. Repeating a clip in slow motion. Requires making a copy and slowing it down.
    Set a break point at the beginning or end of the section to be repeated
    Select and Copy the section
    Paste insert it into the point where you want the section be repeated.
    Select the new copied bit
    Change it's speed
    If you want normal speed audience noise instead of strangly slowed down or hollow sound you can first unlink the audio & video and place enough of a third copy of the original audio again in the audio gap that would otherwise appear.
    (Note Many function are found by right clicking on various areas of the screen)
    4. Zooming in on a particular portion of a clip.
    Click on the preview screen and drag the markers to zoom or reposition to suit

  • Does ADF supports using HTML5 canvas tag?

    Hi
    My use case is to render the PDF using canvas tag introduced in HTML5 and java script. but I could not find any ADF faces component with Canvas behavior so I thought of using html canvas tag in a jsff page directly
    I am new to JDeveloper so please let me know is there a way to use HTML5 tags directly on .jsff page?
    Thanks,
    Suresh K

    I'm not aware of y component in adf that supports canvas. You can try to include yout html in f:verbatim tags and see what you get.
    Timo

  • Oracle ADF support for MS Office and PDF

    Hello,
    We are required to read from / write to MS Word, MS Excel or PDF in our ADF application.
    Does ADF support this with any inuilt feature?
    If not, what are the 3rd party libraries that we may need to use?
    Regards,
    Amar

    inbuilt support for MS Excel .
    <af:commandButton text="Export To Excel" immediate="true">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
    filename="export.xls" title="ADF Faces Export"/>
    </af:commandButton>
    Edited by: -CHS on Jul 12, 2011 2:40 PM
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_exportCollectionActionListener.html
    for pdf can be used jasper report
    http://www.theregister.co.uk/2006/10/24/jasperreports_tutorial/

  • Does the ADF support annotation transaction management?

    hi there,
    does the ADF support annotation transaction management or some kind of way like that? how?

    Trasnactions are mainitained in the Application module and in the task flow level.. so it do support transaction management..
    Annotations if you are asking about Java features then, Yes it supports that too..

  • Does ADF security support sub-roles? If not are there plans to support it?

    hi,
    I have following scenario: there are dozens of regions and each region has dozen of facilities and each facility dozens of offices.
    I would like to setup Office roles to have Query permission only and create a new role OfficeUpdate role that has update permissions for this office data, and at the same time to inherit permissions from Office role (e.g. Query permissions), so if I assign a user to Office role he will be able to query only and if I assign him to OfficeUpdate role he will be able to query and update the office data because privilege will be inherited from Office role.
    User can be a member of different offices/facilities/regions. So I would like to, in order to simplify user management, to be able to assign a whole role as a member of another role. By doing this I wouldn't have to assign users to different roles all over again (all users assigned to a sub-role would automatically become members of main role as well) as this is time-consuming.
    But it seems that ADF security does not support this. It seems that ADF security can only deal with roles and not sub-roles? Roles and sub-roles are supported by oc4j container but it seems that ADF security does not support it.
    I would like first to be sure that my observation is correct, and if yes to find out if there are any plans to support sub-roles in future Jdev releases?
    And also if somebody knows, if Acegi or JsfAcegi security supports role-sub-role privilege inheritance?

    I created a testcase that excludes ADF Security and the same behavior can be reproduced, so the problem doesn't seem to be with ADF Security but JAZN.
    Need to further track this issue, but so far it appears that a member role is not sufficient to authenticate and authorize a container managed constraint as used by ADF Security for authentication. This could be a problem with the embedded OC4J only but also a general problem with settings on the system-jazn-data.xml. This is what I need to further evaluate.
    So for now I can't say that this isn't working in ADF Security because its not even getting there
    Frank

  • JDeveloper 11.1.2.3, ADF Faces: declarative component does not support af:clientListener?

    I am trying to create a declarative component with the following code:
    <?xml version='1.0' encoding='UTF-8'?>
    <af:componentDef xmlns:af="http://xmlns.oracle.com/adf/faces/rich" var="attrs" componentVar="comp" definition="private"
                     xmlns:afc="http://xmlns.oracle.com/adf/faces/rich/component">
        <af:xmlContent>
            <afc:component>
                <afc:display-name>DoubleClickTableDialogClientServerListener</afc:display-name>
                <afc:component-extension>
                    <afc:component-tag-namespace>org.mskcc.crdb.common.declarativecomponent</afc:component-tag-namespace>
                    <afc:component-taglib-uri>http://www.mskcc.org</afc:component-taglib-uri>
                </afc:component-extension>
            </afc:component>
                <af:clientAttribute name="serverListenerType" value="TableDoubleClickEvent"/>
                <af:clientListener method="handleTableDoubleClick" type="dblClick"/>
                <af:serverListener type="TableDoubleClickEvent"
                                   method="#{EditAddDialogTemplateBean.handleTableDoubleClick}"/>
        </af:xmlContent>
    </af:componentDef>
    At runtime I recieve the following error:
    javax.faces.view.facelets.FaceletException: ADF_FACES-60023:Component: DoubleClickTableDialogClientServerListenerComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@7170a7, id=dctdcsl1] does not support client listeners.
      at oracle.adfinternal.view.faces.facelets.rich.BaseClientListenerHandler.apply(BaseClientListenerHandler.java:53)
    This component was intended to be dropped off within an af:table component. I would like to hear suggestions on workarounds, one other way I thought about was to create a code template for the three tags, however, the con to this approach is each developer would need to configure this template within jdeveloper. Ideas are appreciated.
    Also a side question, how can I embed code properly with the new forum? [code] tag does not seem to work now.

    Wes, can't help with the real question, but can tell you how to format code
    Change to the advanced editor (top right over the editor field), then you get more options. The one you are looking for is behind the blue '>>'. Here you select the language you want to insert and you get nice code formatting and color.
    Timo

  • How does the ADF support romote call method between two managed server ?

    How does the ADF support romote call method between two managed server ?

    You would usually use this as a WebService through the WSDL that is exposed.
    JDeveloper can help you create a Java Proxy to call the Web service if you point it to the WSDL file that was generated for your AM.
    Some other samples here:
    http://www.connotea.org/user/jdeveloper/tag/Service%20Interface

  • No primary key attribute and does not support rowId -- URGENT : ADF Swing

    Hi , i have created a view and while create Entity Object through Business Components wizard for that view i am getting following error.
    ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
    NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
    very urgent.
    Jdeveloper version :: 10.1.3.1.0
    oracle version :: 10g
    view script is :
    SELECT
    oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
    oh.cust_po_number customer_po,
    ol.flow_status_code status,
    ol.shipping_method_code carrier,
    ol.ordered_item item_no,
    nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
    nvl(mtl.description , 'na') description,
    nvl(org.organization_name , 'oak park') ship_from,
    hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
    nvl(ol.promise_date, sysdate) promised_date,
    nvl(ol.ordered_quantity, 0) order_quality ,
    xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
    nvl(ol.shipped_quantity, 0) shipped_quality ,
    ol.order_quantity_uom uom,
    hp.party_name customer_name,
    jrs.name sales_person_name,
    0 refer
    FROM
    oe_order_headers_all oh,
    oe_order_lines_all ol,
    hz_cust_accounts hca,
    hz_parties hp ,
    hz_cust_site_uses_all hcsu,
    hz_cust_acct_sites_all hcas,
    hz_party_sites hps,
    hz_locations hl,
    org_organization_definitions org ,
    mtl_system_items_b mtl ,
    jtf_rs_salesreps jrs
    WHERE
    oh.header_id = ol.header_id and
    oh.org_id = ol.org_id and
    oh.sold_to_org_id = hca.cust_account_id and
    hca.party_id = hp.party_id and
    hcas.cust_account_id = hca.cust_account_id and
    hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
    hcas.party_site_id = hps.party_site_id and
    hps.location_id = hl.location_id and
    hcsu.site_use_id = oh.ship_to_org_id and
    hcsu.site_use_code = 'SHIP_TO' and
    org.organization_id = ol.ship_from_org_id and
    org.organization_id = mtl.organization_id and
    ol.inventory_item_id = mtl.inventory_item_id and
    ol.ship_from_org_id = mtl.organization_id and
    ol.salesrep_id = jrs.salesrep_id and
    ol.org_id = jrs.org_id
    can i know will it check for any constraints while correlation multiple table or whether this type of exception can be sorted out .
    need help looking forward to reply...
    Regards
    bhanu prakash
    Message was edited by:
    user579125
    Message was edited by:
    user579125

    User,
    I assume that this is for read-only activity. If so, don't create an EO from the database view; create a read-only view object instead. The only reason you'd want to use an Entity Object is if you were going to insert/update through the EO; unless you have an instead-of trigger, this database view is non-insertable/non-updatable.
    Short answer: I think what you want to do is a read-only View Object (not EO) - put "select x, y, z (your columns) from view_name" as the SQL.
    John

  • Does BC4J support VPD?

    Does BC4J support VPD? How do we do it?

    To better understand what BC4J (or as it is known now ADF Business components) is please read this paper:
    http://www.oracle.com/technology/products/jdev/collateral/tutorials/903/j2ee_bc4j/prnt/j2ee_bc4j.html
    Rememmber though that ADF is not equal to BC4J, in ADF you can use EJBs as your persistence layer if you whish to, or you can use ADF BC, as well as other persistence solutions.
    Check out the ADF Overview paper here:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADF_overview.pdf

  • Does jDeveloper support activity links?

    I have tried jDev 10.1.3.3 as well as 11g tech preview 4.
    Does jDeveloper support modeling of activity links? I can't seem to find that anywhere. An example of how links are used:
    <flow ...>
    <links>
    <link name="checkFlight-To-BookFlight" />
    </links>
    <documentation>
    check availability of a flight, hotel and rental car concurrently
    </documentation>
    <invoke name="checkFlight" ...>
    <sources>
    <source linkName="checkFlight-To-BookFlight" />
    </sources>
    </invoke>
    <invoke name="checkHotel" ... />
    <invoke name="checkRentalCar" ... />
    <invoke name="bookFlight" ...>
    <targets>
    <target linkName="checkFlight-To-BookFlight" />
    </targets>
    </invoke>
    </flow>
    An article http://www.it-eye.nl/weblog/2006/10/20/benefit-from-concurrent-flows-and-activity-links-in-bpel-ws/ mentions that "Oracle BPEL designer (JDeveloper plug-in) doesn’t support it yet, although it is supported run-time by the Oracle BPEL engine". The article is from 2006, is this still the case?

    Yes.  You just can't use the YouTube widget.  You need to go to the Youtube page and get the embed code and add that to the standard HTML snippet in iWeb.
    OT

  • Does ppr of hgrid line level does not support dynamic switchers?

    Hi this is really critical.... any help would be highly appreciated.I have a a hgrid which conatains a messagechoice and a switcher in each row.This switcher has two cases dummy message style text and a message choice. depending upon the value of first message choice, in this column messagestyletext or messagechoicebox is shown in switcher. this is implemented by ppr on first drop down. this code works completely fine on jdev. but when deployed on server, the page does not refreshes to show the other component in switcher.I have used transient attribute to populate value of switcher.
    Does ppr of hgrid line level does not support dynamic switchers?
    please help!

    Hi Mukul,
    Have you fixed this issue?
    Iam unable to achieve this row level dynamic switcher.
    In my case .. i should be able to display Edit enabled and Edit disabled icons based on some criteria.I have given E as id for enabled and E1 as id for disabled.when i execute the query it is fine but swither is always populating enabled image.
    What could be wrong?
    Thanks
    Soujanya

  • Does it support Java 5

    does it support Java 1.5 that is released now?

    As mentioned Java Studio Creator comes with its own JRE so you don't have to find/install one. You can start Creator with the -jdkhome < JAVA_5_HOME > , but this is not supported.
    In your Java coding (backing files), you cannot use the new language features (generics, annotations, for loop, etc...) or any new java 5 APIs as it would require a Java 5-capable application server. No AS supports Java 5 yet.
    -Alexis

  • Does the later 2009 MacBook support the Apple DVI to Video Adapter (s-video). I want to connect it to an old tv which does not support HDMI. Any suggestions?

    I have a late 2009 MacBook which I want to connect to an old LG tv. The tv does not support HDMI it only has the (red, while, and yellow) ports. Sorry I dunno the exact name for it.
    So I was thinking of using the Apple Mini DVI to Video Adapter (s-video), link below...
    http://store.apple.com/Catalog/dk/Images/M9319_screen.jpg
    But I'm afraid that the MacBook might not support the adapter.
    Can anyone give me a solution for this? Is there an alternative way of doing this? I'm kinda new to apple display adapters.

    The Late 2009 model 6,1 has a Mini DisplayPort not the Mini-DVI. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When the System Profiler comes up check the Model Identifier.
    Composite is the name for the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs. If you want to use the Composite input on your TV there’s no Mini DisplayPort to Composite. You’ll have to get a Mini DisplayPort to VGA adapter http://www.amazon.com/s/ref=nb_sb_ss_i_1_19?url=search-alias%3Delectronics&field -keywords=mini+displayport+to+vga&sprefix=mini+Displayport+to and a VGA Adapter to TV S-Video RCA Out Cable for PC Video. http://www.amazon.com/VGA-Adapter-S-Video-Cable-Video/dp/B000Y7T5UU/ref=sr_1_7?s =electronics&ie=UTF8&qid=1316369974&sr=1-7
    Only the Yellow plug or the S-Video plug for video will work. For sound you'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs. You attach it from the headphone jack of your MacBook to the appropriate input plugs on your TV  http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_i_2_19?url=search-alias%3Daps&field-keywords=macboo k+audio+cable&sprefix=macbook+audio+cable&rh=i%3Aaps%2Ck%3Amacbook+audio+cable

  • IE11/Win 8.1 error 'Your client does not support opening this list in windows explorer'

    I hoping someone might be able to help with this frustrating issue.
    I work on a project where we are using various versions of on-line SharePoint (2007/O365).  In order to quickly drag and drop folders we need to often open the document libraries by using the 'open in windows explorer view'.
    Using the same device, on occassion this works.  But often it gives a rather unhelpful message 'Your client does not support opening this list in Windows Explorer'. 
    I've searched for this issue over the net and confirm that the sites are added to the 'trusted' sites area and that the 'remember you credientials' is checked on logging in.However, the searches do not seem to apply to IE11/Win8.1 or on-line version of sharepoint
    (the suggested hot fix is not suitable)
    Only this morning, using the same device I was able, for a short while to open in explorer view, and then for no apparent reason, it began to display the error message.  I had changed nothing regarding settings or even closed the browser.
    Do you have any support/ideas/fixes on how to resolve this.
    Many thanks
    val

    Hi Val,
    sometimes an answer can be found on the internet by typing the error message from your computer into your favourite search engine.
    eg.
    http://www.bing.com/search?q=your+client+does+not+support+opening+this+list+in+windows+explorer&form=IE10TR&src=IE10TR&pc=HPNTDFJS
    see
    http://blogs.technet.com/b/asiasupp/archive/2011/06/13/error-message-quot-your-client-does-not-support-opening-this-list-with-windows-explorer-quot-when-you-try-to-quot-open-with-explorer-quot-on-a-sharepoint-document-library-in-office-365-site.aspx
    follow the directions given above.... you need to add the domains to your Intranet sites list, not the Trusted sites list.
    Perhaps you already have it mapped to your intranet zone....in which case make sure that you have unchecked "Enable Enhance Protected Mode" on the Intranet  zone dialog in Internet Options.
    If this is happening 'randomly' on client machines, then users are probably changing their internet security settings in Internet Options. Ensure they are accepting the default.... Internet Options>Security tab, click "Reset all zones to default".
    Consult with your system administrators to find out if they are applying a custom security template for the Intranet zone... It may be removing the sharepoint domains from the client Intranet zone's domains lists.
    HTH.
    Rob^_^

Maybe you are looking for