Netbeans 9 + Composite Component -- Not working

Hello,
I am trying to learn Java EE 6. I have the following code, and the editor I am using is netbeans 9 and glassfish server v3
Composite component file : out.xhtml
<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:cc="http://java.sun.com/jsf/composite">
<!-- INTERFACE -->
<cc:interface>
</cc:interface>
<!-- IMPLEMENTATION -->
<cc:implementation>
<h1> HELLO </h1>
</cc:implementation>
</html>
Using page : MyComponent.xhtml
<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ez="http://java.sun.com/jsf/composite/ezcomp">
<h:head>
<title>Use of component</title>
</h:head>
<h:body>
<ez:out/>
</h:body>
</html>
Its the most basic example I tried.. But it doesnt run. When I access the file MyComponent.xhtml, I dont get any error, but I dont get any output also..
Please help me in finding out whats the problem here.

The web.xml is already configured by the Netbeans. I didnt make any changes. Here it is.
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Development</param-value>
    </context-param>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>faces/index.xhtml</welcome-file>
    </welcome-file-list>
</web-app>

Similar Messages

  • The itunes ogg drop X component not working

    Hi there,
    I installed the itunes ogg drop X component not working from Ogg Drop X 1.0b5 and rebooted.
    I still cant play ogg streams. they play fine in a VLC player so I know they work.
    any body get the Ogg Drop X 1.0b5 itunes component working. How do I get it goin'?
    Cheers

    no response.

  • Component not working

    JDEV 11.1.1.2.0 with adf 11g
    i have thow the exception in button commandToolbarButton of actionListener, after throwing exception , button commandToolbarButton working is stop , how to resolve , please help me,
    regards,

    Hello all,
    I am facing an issue with CommandToolbarButton. On Click of the button, I am not able to call the actionListener backingbean method. I have default PartialSubmit true and immediate to false. It does not throw any error but just does not call the method. Here is the code :
    <af:commandToolbarButton id="commandButton1"
    actionListener="#{backingBeanScope.xxxBean.addRecord}"
    icon="/add.gif"
    shortDesc="#{ViewControllerBundle.ADD}"
    partialTriggers="t5" immediate="false"/>
    However, with similar code on another fragment, I am able to call the action listener.
    Can anyone let me know what the issue could be with the component not working on this page ?
    Thanks,
    Victor

  • Rollovers in composition widgets not working

    I have an ongoing problem with the rollovers in the composition widgets not working once published. I have had this issue on more than one site. The only way I have been able to resolve the issue it to rebuild the composition from scratch. This is very time consuming and does not always resove the issue. Any suggestions?

    Does simply republishing afresh does not help?
    Could you provide a link to such a site where we can check this issue. Please also send the Muse source file for the site to [email protected] as well so that we may also try publishing at our end and investigate.
    Thanks,
    Vikas

  • Composite view not working with Premiere Pro CC 2014

    I've got a user in our office who, all of a sudden, can't see any image in composite view when editing in CC 2014 - the other views work OK and he's able to generate files OK, but he can't see the actual editable image in the editor. This is a problem .
    Early '09 Mac Pro running Mac OS X 10.8.5. NVidia Quadro 4000 video card w/ latest CUDA driver (6.5.18).
    Strangely, Adobe CC (non-2014) still works OK. And the user tells me that CC 2014 WAS initially working OK but that it suddenly stopped working. I've tried a reinstall; no luck.

    Just found the answer:
    Composite Video Not Displaying on Source and Program Monitors

  • Searchspec on Siebel Integration Component not working

    Hi All,
    Has anyone successfully applied the user property 'searchspec' on a Integration Component?
    I have tested but it's not working for me. I have seen that this user property exist on some of the standard vanilla ICs.
    Regards,
    Hakan

    I agree, we have not been able to get it to work. What you're supposed to be able to so is pass the SearchSpec as a parameter through the web service so the web service will apply that spec to the IO when querying, but that also does not work (though it's supposed to). I have an open ticket with Oracle and they are identifying the issue as we speak.

  • Embeded Flash component not working

    I have createdf a Flash movie using the Drag & Drop
    Learning Interactions Component using Flash MX 2004. The
    interaction works fine as standalone Flash movie but when embedded
    in an Adobe Presenter presentation, the drag works ok but it will
    not drop the object. I have had the Breeze control the Flash movie
    and also Breeze not control the movie.
    Any ideas?

    Hi Conrad!
    As you have no doubt already realized, using the Learning
    Interaction templates that are available in Flash MX / MX2004 and 8
    will not work at all in Presenter content.
    The coding methods conflict while playing back within the
    Breeze environment and I
    think it has to do with the _dropTarget property as part of
    the interaction's codebase. The _dropTarget method is NOT supported
    in Breeze, but the hitTest() method IS!
    I have written a few drag and drop exercises that do work
    within Breeze content, and you have to use the hitTest() method to
    accomplish it.
    As you already have discovered, the bottom line is that the
    learning components were intended to be "stand alone" objects that
    could be incorporated into a web page (or even a CD as these
    objects are nothing more than swf files). Aside from the fact that
    the prebuilt/preconfigured learning objects in flash don't always
    work in Breeze, in my mind, the bigger question here is the ability
    (or more accurately) the inability to connect these SCO's to an LMS
    for tracking. As stand alone objects, they're actually pretty
    handy...but not in Breeze.
    I realize this doesn't help much with what you're trying to
    do, but from my perspective, you're better off creating your own
    drag n' drops.
    I've got a bunch of examples to share if you'd like to take a
    look...just send me a PM or email if you're interested.
    Rob
    [email protected]

  • Triggers in composition widgets not working in R7

    When I updated to version 7, the compositions I had already built stopped responding to clicks on the triggers. I tried rebuilding with the new R7 composition widgets and they still are not working. I have a deadline tomorrow so quick help is appreciated!

    Hello
    I have the same problem, but especially when I add an anchor link on the trigger, it no longer works to click, and it remains on the last trigger
    I'm stuck, you have a solution, thank you

  • Unit for Quantity Specification in composition is not working

    Hallo
    I got a problem with the units in the composition of specifications.
    When I try to create a new composition I get the following message:
    UoM % does not correspond to the dimension of the selected value assgmt
    I figured out that the dimension (PROPOR) where the reference quantities (W/W, VOL/VOL) are assigned to is missing in my system. I tried to create the dimension with the IMG "Check Units of Measurement" but I'm not sure which settings to thake to make the whole thing work. Could anyone please give me some advice how to setup the dimensions and the UoM.
    Thanks
    Kind Regards
    Gerhard Faller

    Hello Gerhard
    you are using the right Customizing activity. Normally EH&S related UOMs should
    be  there (after standard SAP set up and after EHS activation) including PROPOR
    etc.
    Pay attention on this: PROPOR is used for UOMs which do not have a "unit" like
    "part per part". W/W should not be related to PROPOR because the physical
    meaning is "mass per mass"; same as with VOL/VOL (volume per volume).  In
    standard SAP as well as EH&S setup normally you generate a number of "PROPOR's".
    UOM definition is one of the critical topics in EH&S (pay attention in WWI topics; UOMs are quite "strange" in WWI; refer to some threads in this FORUM describing problems here)
    One "PROPOR "is defined as "part per part" one regarding  "mass per mass "(I believe most common is: WPROPO) one
    regaridng "Vol/Vol (e.g. VPROPOr") etc. Now you must relate the corresponding
    UOms to these values. Many companies do not use the "simple" "percent" but call it
    (which is more correct) it "w percent" or "V percent"
    The use of UOMs in EH&S is critical not only in the area of compositions but
    characteristics too. Some characteristics are defined like: "Values in standard
    unit  percent" Keep in mind that normally that here "mass" is the "correct" related
    UOM. If you do it wrong with UOM definition you can "crash" EH&S (and any other
    SAP module) because the UOMs are used globally in any SAP module. So pay
    attention on the definition of UOms related to your classes/characteristics
    (either SAP original one or customer specific one) you are using in EH&S.
    Please take some care in linking the "reference quantity" of the composition
    together with the "UoM" of a "line" (one component). On the top: if you use the
    WPROPO approach you must (should) define subsequent UOMs like
    m percent etc.) etc. etc. and what is important you must make sure
    that you "translate "the UOms (so that you can print something in WWI reports)
    So before you start this customizing acitvit you must be familier with the
    standard SAP setup on and you must understand the "pros" and "cons" of using the
    PROPOR later in EH&S
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Nov 13, 2010 10:54 PM

  • ADF:LOV declarative component not working inside table component.

    Hi,
    I have created a custome LOV control,I am using this custom LOV control inside the table component,I am passing the below values as the parameter
    KeyValue="#{row.bindings.Value.inputValue}"
    LovModel="#{row.bindings.Value.listOfValuesModel}"
    Value- is the list of value attribute.
    When i click on the LOV search icon, the popup displays the Query model(it displays the list name at the top in the search page.so it is able to recognise the LOVmodel) but it is not able to retrive the list values.I am getting Query page with no values
    in the jspx page it is giving warning as "reference not found for row.bindings.Value.listOfValuesModel"
    Please can anyone help me on this?
    Thanks,
    Harish

    Hi Frank,
    below is my actual requirement and the solution i tried till now.
    I have a table and it has two columns let’s say “Columns” and “Values”. The first column i.e. “Columns” will be a dropdown and it will have predefined values, the other column “Values” will be a “List of value” control or similar kind of control in which the user can search and select multiple values from the popup list, and that list should dynamically bounded to the first column selected value.
    For Ex: if I select a value “Product” from the dropdown of the first column “Columns” , the control in the other column “Values” should bound to “product” list and I should be able to search and select multiple values from the pop up. And the popup should return the multiple selected values as a comma separated string to the textbox.
    In my requirement I have to use only VO’s to create the list and the control in the “Values” column should switch between these VO’s depending on the value selected in the first column.
    The solution we tried till now.
    I used a LOV switcher to achieve the above requirement. But we have a limitation in this approach as we could not do the multi select. Then we created a declarative LOV component in which we can select multiple values as a comma separated string from the popup.
    I retained the LOV switch model , instead of binding LOV switch model to the basic “Input List of Value” control in the JSPX page ,I used the LOV declarative component. Below is the code snippet which calls the declarative LOV component from JSPX page.
    <af:panelFormLayout id="pfl2">
    <af:selectOneChoice value="#{bindings.Columns.inputValue}"
    label="#{bindings.Columns.label}"
    required="#{bindings.Columns.hints.mandatory}"
    shortDesc="#{bindings.Columns.hints.tooltip}"
    id="soc3" autoSubmit="true">
    <f:selectItems value="#{bindings.Columns.items}" id="si5"/>
    </af:selectOneChoice>
    <mc:OraMultiSelect
    KeyValue="#{bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"
    id="oms2"/>
    </af:panelFormLayout>
    Where Value attribute is having LOVModel.
    The above code perfectly fine as I used it inside the “Form layout” and with the parameters passed as KeyValue="#{bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"
    The problem I am facing:
    The actual problem comes when I use this control inside the table which I required in my implementation.
    I called the declarative LOV control as shown below inside the table as I used to call the basic “Input List of value” control which works fine inside the table.
    . <af:column sortProperty="Value" sortable="false"
    headerText="#{bindings.OpPlanning1.hints.Value.label}"
    id="c1" width="133">
    <mc:OraMultiSelect KeyValue="#{row.bindings.Value.inputValue}"
    LovModel="#{row.bindings.Value.listOfValuesModel}"
    id="oms1"/>
    </af:column>
    Above code doesn’t works fine when I select value from the “Column” dropdown it displays the corresponding list model in the pop up but not able to retrieve the value of the list in the popup .
    If I pass the parameters as
    . <af:column sortProperty="Value" sortable="false"
    headerText="#{bindings.OpPlanning1.hints.Value.label}"
    id="c1" width="133">
    <mc:OraMultiSelect KeyValue="#{bindings.Value.inputValue}" --instead of ="#{row.bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"--}" --instead of ="#{row.bindings.Value.inputValue}"
    id="oms1"/>
    </af:column>
    It works fine for the first row.The subsequent rows refers the value selected in the first row dropdown.
    Thanks For the help,
    Harish
    Edited by: 886523 on Nov 3, 2011 8:04 AM

  • Tree component not working in a mask

    I have been having problems displaying the labels on tree
    component , I have now found the cause it was in a mask.
    Once I moved it out of the mask it worked fine!!. But the
    thing is now how do I get it to work in a mask????
    You can test this for yourself by opening the
    gallery_tree.fla in \Flash 8\Samples and adding a layer making it a
    mask (and making a box around the whole thing).
    I need to use the tree in a mask as it is part of a bigger
    picture.
    Thanks for the help
    BP

    I'm not sure if that will help, but you can try to set the
    mak at runtime (MovieClip.setMask()) - I'm not even sure if that is
    "leagal" with components, but setting a (rectangular) mask wia
    actionscript is the only way to mask device text, and that should
    be part of your component.
    Watch out rot problems of depths-order though, as depth
    management with component (v2) is different from "normal" depth
    management.

  • Mpeg-2 component not working

    Hello,
    I have some footage that requires the mpeg-2 component. As I do not have final cut I bought this off apple and installed, but it doesn't work. I have searched many forums and followed the advice and made sure it is in the right folder but nothing works.
    How do I get this to work?
    thanks.

    When I open them in Quicktime 7 or 10 it says additional software required and it comes up black but with sound. Mpeg streamclip it comes up white and with sound. I have tried the vlc player and it does work on that, but I have had problems in the past with converting movies to usable footage so this isn't a solution. I know that this can work as have read lot's of posts hwere it is resolved but none of the solutions work for me. I think maybe it's the type of mpeg-2 component I have.
    The format of the footage is MPEG-2 Video, Linear PCM, Timecode.
    thanks.

  • Related Content component not working

    I have this component in the list of Enabled components on my Oracle CMS, but I am not able to execute this service.
    I don't see any related content links information in the doc info page.
    Should I try to disable and enable the component or completely reinstall it.
    If I do reinstall it , would the content that are related to each other still retain their associations?

    Hi Jason,
    Yes the FXP file worked. There is something about my project that Flex doesn't like.
    I do not get any errors like those described in the bug. It just doesn't do anything when you type the dot.
    I do have a library from a loaded swf, but it all works. I also described my project to have two component directories. Please see previous post.
    Could this be the problem?
    And, could you please tell me how to find my "workspace" directory.
    And, one more thing...
    Could you please let me know how to "try a clean workspace". I'm tempted to merely delete the project, leaving the files, then re-import.
    Thanks,
    Shannon

  • Composite cable not working with iPhone 4

    I just bought a apple composite cable to use with my car DVD players, i'm not getting video or audio to play on the device.  The instructions say to set the video to output.  does anyone know how to do this with IOS 5?
    I have a iphone4, ipod touch 4th generation, and ipad1 all operating IOS 5.  Anyone know how to do this??
    Thanks!

    i just plugged it in again and it worked, not sure what the issue was, but now it's working.

  • Virtualbox: Compositing does not work, compiz crashes

    So, here's my problem:
    After installing a fresh Arch Linux, the first thing I did was install Xorg and Virtualbox guest modules. After doing all that, and running Xfce, it worked just fine... except there was no compositing.
    When I installed Compiz and tried to run it, it just crashed, closing every program and just leaving me with the wallpaper, forcing me to killall X
    Is there a way to fix this? I don't have a xorg.conf file in /etc/X11, and xorg :0 -configure gives me the error "No output drivers"

    sq10,
    You have now bumped this thread twice.  Our Policy addresses this.  Please read it.
    These forums are very active.  If no one jumps in with help or, at least, a suggestion, it should be a clear indication you have not done a good job of forming a question.  Rather than empty bumps, which will likely just yield the same mil results, give us more information. Tell us what you have read. Tell us what you have learned in your own self study of the problem.
    Thanks.

Maybe you are looking for

  • Discussion Service is not working after the upgrade to 11.1.1.2

    Hello, We have built our custom webcenter application using webcenter framework 11.1.1.1, our application uses out-of-the-box webcenter services like discussions, announcements, and etc. After the upgrade to the new Patch Set 1 (11.1.1.2) the discuss

  • Head set Mic?

    Which head set for N8 has the best mic quality & ideal ear plugs grip? WH-701, BH-103 (has no multimedia buttons) or BH-214 ( this has)? http://www.nokiausa.com/find-products/accessories/all-accessories/headsets/bluetooth-headsets/nokia-... http://eu

  • TS3999 icloud not syncing

    My outlook calendar on my pc no longer syncs with my iphone 5's calendar via icloud.   When I delete the calendar and resync, it does populate the calendar but the information is out of date and doesn't correspond with the calendar on my outlook.  Pl

  • Slow Boot to BootCamp Win7

    When powering on or resuming from sleep (after closing and opening the lid), my MacBook Pro shows an all-grey screen for 20 seconds before going into Windows 7 (which then loads/resumes fast). In this case I'm using an SSD with only Win7 on it (MacOS

  • How to install new applications from my i tunes to i touch

    how to install new applications into my i touch without losing the existing ones