Why composite component doesn't see action command?

Using JSF2, facelets, glassfish 3.
I have a composite component that doesn't seem to be able to identify the action parameter for a button.
I get an error in the server log that says:
javax.faces.FacesException: javax.el.PropertyNotFoundException: /resources/components/financial/payrollRight.xhtml @21,85 goBtnAction="#{payrollSessionBean.goBtn_action}": The class 'principlenet.PayrollSessionBean_$$_javassist_170' does not have the property 'goBtn_action'.
Does anyone know what I am doing wrong, that I can't see the action property?
This was originally a PrimeFaces command button, but I get the same results if I change back to an h:commandButton.
I'm relatively new to JSF2 and composite components, so I don't know if I am not creating the component properly or what.
Thanks.
Here is the component:
<?xml version='1.0' encoding='UTF-8' ?>
<!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"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:enc="http://java.sun.com/jsf/composite/components/enrollment/common"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:comp="http://java.sun.com/jsf/composite/components">
    <!-- INTERFACE -->
    <cc:interface>
        <cc:attribute name="styleClass" default="selectDatePanel" required="false"/>
        <cc:attribute name="rendered" default="true" required="false"/>
        <cc:attribute name="calStyleClass" default="" required="false" />
        <cc:attribute name="descStyleClass" default="selectDateDesc" required="false" />
        <cc:attribute name="descValue" default="Select Date:" required="false" />
        <cc:attribute name="calInputStyleClass" default="selectDateInput" required="false" />
        <cc:attribute name="inputValue" default="" required="false" />
        <cc:attribute name="calImageStyleClass" default="selectDateCal" required="false" />
        <cc:attribute name="toolTip" default="Enter date or push calendar icon and select date.  Then push 'Go'." required="false" />
        <cc:attribute name="goBtnStyleClass" default="selectDateGoBtn" required="false" />
        <cc:attribute name="goBtnValue" default="Go" required="false" />
        <cc:attribute name="goBtnAction" default="" required="false" />
        <cc:attribute name="update" default="" required="false" />
    </cc:interface>
    <!-- IMPLEMENTATION -->
    <cc:implementation>
        <p:outputPanel id="selectDatePanel" styleClass="#{cc.attrs.styleClass}" rendered="#{cc.attrs.rendered}" >
            <enc:calendarGroup id="selectDate"
                               styleClass="#{cc.attrs.calStyleClass}"
                               descStyleClass="#{cc.attrs.descStyleClass}"
                               descValue="#{cc.attrs.descValue}"
                               calInputStyleClass="#{cc.attrs.calInputStyleClass}"
                               inputValue="#{cc.attrs.inputValue}"
                               calImageStyleClass="#{cc.attrs.calImageStyleClass}"
                               toolTip="#{cc.attrs.toolTip}" />
            <h:commandButton id="selectDateGoBtn" styleClass="#{cc.attrs.goBtnStyleClass}"
                             value="#{cc.attrs.goBtnValue}"
                             action="#{cc.attrs.goBtnAction}" />
        </p:outputPanel>
    </cc:implementation>
</html>Here is a portion of the page that calls the component:
<?xml version='1.0' encoding='UTF-8' ?>
<!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"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:tsc="http://java.sun.com/jsf/composite/components/timesheet"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:comp="http://java.sun.com/jsf/composite/components">
    <!-- INTERFACE -->
    <cc:interface>
    </cc:interface>
    <!-- IMPLEMENTATION -->
    <cc:implementation>
        <p:outputPanel id="payrollRightPnl" styleClass="rightPanel" >
            <h:form id="payrollRightForm" styleClass="rightPanel" prependId="false" >
                <comp:selectDate id="prSelectDate" styleClass="prSelectDate"
                                 inputValue="#{loginSessionBean.selectedDate}"
                                 goBtnAction="#{payrollSessionBean.goBtn_action}" />Here is the goBtn_action() method of the backing bean:
    public void goBtn_action() {
        lsb.logMsg("<PayrollSessionBean.goBtn_action>");
        setReadPayrollData(true);
        drawPayrollGrid();
    }

Hello!! I wanted to tell you that I tested with "method-signature" but I have also worked continuously showing the same error.
Excepcion
javax.servlet.ServletException: javax.el.PropertyNotFoundException: Objetivo inalcanzable, identificador 'swithPagesBean' resuelto a nulo
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
causa raíz
javax.faces.el.EvaluationException: javax.el.PropertyNotFoundException: Objetivo inalcanzable, identificador 'swithPagesBean' resuelto a nulo
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
javax.faces.component.UICommand.broadcast(UICommand.java:311)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
My code is:
BACKING BEAN : "SwithPagesBean" ----------------------------------------------------
public class SwithPagesBean implements Serializable {
private String home = "home";
private String newUserPage = "new_user";
private String modifiUserPage = "modifi_user";
//*Getteres,Setter & constructor *//
//This is the first page to run
FILE: "HOME.XHTML" ---------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view>
<h:head>
</h:head>
<h:body>
<h:form>
<ui:composition template="template_home.xhtml">
<ui:define name="footer">
<h:form>
<h1>Estas en el home</h1>
</h:form>
</ui:define>
</ui:composition>
</h:form>
</h:body>
</f:view>
</html>
FILE: TEMPLATE_HOME.XHTML -----------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view>
<h:head>
</h:head>
<h:body>
<div id="layout_intellipost">
<div id="header">
<ui:include src="header.xhtml" />
</div>
<div>
<ui:insert name="footer">
</ui:insert>
</div>
</div>
</h:body>
</f:view>
</html>
FILE: "HEADER.XHTML"-------------------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:gfu="http://java.sun.com/jsf/composite/gfu">
<f:view>
<ui:composition>
<h:form>
<p:panel id="panel" header="IntelliPos - Caja 66" >
<h:panelGrid columns="6">
<gfu:Navegator action="#{swithPagesBean.newUserPage}" btnModificacionLabel="Modificar Usuario" />
</h:panelGrid>
</p:panel>
</h:form>
</ui:composition>
</f:view>
</html>
FILE: "NAVEGATOR" ---------------------------------------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:composite="http://java.sun.com/jsf/composite">
<f:view>
<head>
<title>Navegator Alta</title>
</head>
<body>
<composite:interface>
<composite:attribute name="btnModificacionLabel" />
<composite:actionSource name="btnModificacion" />
<composite:attribute name="action" method-signature="java.lang.String f()" targets="btnModificacion" />
</composite:interface>
<composite:implementation>
<h:commandButton id="btnModificacion" value="#{cc.attrs.btnModificacionLabel}"/>
</composite:implementation>
</body>
</f:view>
</html>
file: "faces-config"
<navigation-rule>
<navigation-case>
<from-outcome>new_user</from-outcome>
<to-view-id>/facelet/alta.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
When y try to click in my custom command button "navegator", this is to fire the excepcion mentioned.
Anyone have any other suggestions?
From already thank you very much!

Similar Messages

  • Nested Composite Component Doesn't work for table column

    I have reported this issue as defect 1541 but I'm hoping someone my have a suggestion on a work around for this. Here is the issue
    I am attempting to use composites to represent a table column. I have tried this with both IceFaces and the standard implementation. I have a custom component that is of type UIColumn that is being inserted into another composite that houses a table. The table renders and the column renders. However, the outputText that should represent the row data does not render. Interestingly this will render using composites when I don't have the column rendering as a composite (IE the table is contained in the composite and the row level output is contained in the top level page.). That is not my requirement though. This seems to be a tough cookie to crack. I have the source now and am starting to acquaint myself with it in an attempt to figure out what is going on. Any brilliant ideas out there?
    Code is below.
    tableColumn.xhtml
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <composite:insertChildren />
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>
    table.xhtml
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    <title></title>
    </h:head>
    <h:body>
    <composite:interface>
    </composite:interface>
    <composite:implementation>
    <ice:dataTable augmentTitle="false"
    rows="10"
    value="#{SessionBean1.carDataProvider.tableDisplayList}"
    var="item" >
    <composite:insertChildren />
    </ice:dataTable>
    </composite:implementation>
    </h:body>
    </html>
    Example Page
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:temp="http://java.sun.com/jsf/composite/tempcomp"
    <h:head id="outputHead1">
    </h:head>
    <h:body>
    <ice:form id="form1">
    <temp:table>
    <temp:tableColumn>
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </temp:tableColumn>
    </temp:table>
    </ice:form>
    </h:body>
    </html>
    The the new UIMyColumn class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package icefacestestapp2;
    import com.icesoft.faces.component.ext.UIColumn;
    import javax.faces.component.FacesComponent;
    @FacesComponent(value = "MyColumn")
    public class MyColumn extends UIColumn {
    @Override
    public String getFamily() {
    return "custom";
    Interestingly the row text will not render even if I add it directly to the new
    composite column class as seen below.
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>

    Hi,
    I recall an issue in 10.1.3.2 with inner frames that had the wrong JavaScript reference to the DOM. So I assume this to be the same in your case. So you can give it a try with JDeveloper 10.1.3.3 and see if this fixes the problem
    Frank

  • InsertFacet to another Composite-Component

    Hi!
    My setup:
    Netbeans 6.8 + Glassfish v3 + JSF 2.0.2 (also tried 2.0.3 Snapshot of today)
    I have following 3 pages:
    index.xhtml
    <html ...
          xmlns:cs="http://java.sun.com/jsf/composite/component">
        <h:head>
        </h:head>
        <h:body>
                    <cs:comp1>
                        <f:facet name="header">
                            HEADER
                        </f:facet>
                    </cs:comp1>
        </h:body>
    </html>
    comp1.xhtml
    <html ...
          xmlns:cs="http://java.sun.com/jsf/composite/component">
        <h:head>
        </h:head>
        <h:body>
            <cc:interface>
                <cc:facet name="header" />
            </cc:interface>
            <cc:implementation>
                <cs:comp2>
                    <cc:insertFacet name="header" />
                </cs:comp2>
            </cc:implementation>
        </h:body>
    </html>
    comp2.xhtml
    <html ...
          xmlns:cs="http://java.sun.com/jsf/composite/component">
        <h:head>
        </h:head>
        <h:body>
            <cc:interface>
                <cc:facet name="header" />
            </cc:interface>
            <cc:implementation>
                <cc:renderFacet name="header" />
            </cc:implementation>
        </h:body>
    </html>In words, I want to pass a facet through a composite component, however it doesn't work. The text HEADER won't display...
    When I change comp1.xhtml to following:
                <h:dataTable>
                    <cc:insertFacet name="header" />
                </h:dataTable>it works. The text HEADER will display.
    So what I'm doing wrong? Why my composite-component doesn't receive and display the facet and a jsf-standard-component does? JSF Bug??
    Btw.: <cc:insertChildren /> alone doesn't fit my requirements, I need facets.
    Thanks in advance,
    Schober Markus

    Another thing that doesn't work with facets and composite components for me.
    index.xhtml
    <html ...
          xmlns:cs="http://java.sun.com/jsf/composite/component">
        <h:head>
        </h:head>
        <h:body>
                    <cs:comp1>
                        <f:facet name="header">
                            HEADER
                        </f:facet>
                    </cs:comp1>
        </h:body>
    </html>
    comp1.xhtml
    <html ...
          xmlns:cs="http://java.sun.com/jsf/composite/component">
        <h:head>
        </h:head>
        <h:body>
            <cc:interface>
                <cc:facet name="header" />
            </cc:interface>
            <cc:implementation>
                <cs:comp2>
                    <cc:renderFacet name="header" />
                </cs:comp2>
            </cc:implementation>
        </h:body>
    </html>
    comp2.xhtml
    <html ...
    xmlns:cs="http://java.sun.com/jsf/composite/component">
    <h:head>
    </h:head>
    <h:body>
    <cc:interface>
    </cc:interface>
    <cc:implementation>
    <cc:insertChildren />
    </cc:implementation>
    </h:body>
    </html>
    In words, I want to render a facet on another composite component, however it doesn't work. The text HEADER won't display...
    When I change comp1.xhtml to following:
                <h:panelGroup>
                    <cc:renderFacet name="header" />
                </h:panelGroup>it works. The text HEADER will display.
    Rendering a facet seem to work only on standard-jsf-components, not on my composite components. Can anyone reproduce this behaviour, or is there a implementation mistake in my code? An error by JSF?
    Thanks in advance,
    Schober Markus

  • Vista: 1.3 Downloader Doesn't See Sony a700 .ARW's; Odd Mouse Behavior

    On my Vista system,the LR 1.3 downloader (now "Adobe Photodownloader 3.0 Component") doesn't see Sony a700 .ARW's when I choose Camera Or Card Reader as the source. I don't know about a100 .ARW's. The downloader for 1.2 didn't recognize either. I can still import them in place once I have them downloaded using the Vista Photo Gallery.
    A new problem is that when I scroll through a group of images using the mouse scroll wheel the library loupe preview updates as before but the thumbnail doesn't shift until the histogram appears. The left and right arrows work properly.
    The device manager shows the mouse (a Gateway branded optical mouse) as a "HID-compliant mouse". No updates to the mouse appear to be available.

    If I use the "Choose Files" and "Copy To A New Location" options I can import directly into LR. I prefer to just keep using the Photo Gallery downloader and then import in place until the LR downloader is fully compatible. The annoyance for me is that there is now a lag in changing the active photo on the film strip in Library Loupe view when using the scroll wheel.

  • IPhone Doesn't See WiFi

    Hello all,
    I am using a Time Capsule here at home for wireless internet, but my iPhone 3GS doesn't see it. Macs and PCs have no problems seeing it, and using it. Any ideas as to why my iPhone doesn't see it at all?
    Thanks,
    Jason

    Settings - general - resets - reset network settings on your iphone.
    this will force the iphone to "forget" all your previous wifi access points and settings (WPA, WEP keys , etc) and you'll have to reenter them again.

  • TS2756 hy, does anyone know why my computer doesn't recognise my iphone? I can't seem to make it see the personal hot spot :( any suggestions? thanks

    hy, does anyone know why my computer doesn't recognise my iphone? I can't seem to make it see the personal hot spot any suggestions? thanks

    Did you update to iOS 7? If yes you need to update iTunes on your computer to iTunes 11.1
    If you are using iTunes 11.0 and iOS 6.x then show the left sidebar in iTunes.
    When in iTunes on your computer use the View menu to View Sidebar. The device should show up there when connected.

  • Powerbook doesn't see new HD. Why?

    My HD died so I installed a new one. Everything seemed to work fine. The drive fit like a glove, the plug went in cleanly. I am trying to install Leopard but the computer can't see the new hard drive. With the computer booted from the the install disk, I ran Disk Utility and it doesn't see the new HD.
    Do you know why the HD can't be seen and what I need to do the get the computer to recognize it?

    Hi, Ian. At this point I recommend either replacing the flex cable for the drive or replacing the new drive itself. If you can exchange the drive on the basis that "it seems to be bad, because my computer doesn't see it after I've checked its connections carefully," do so. If you can't, a new cable is inexpensive and might turn out to be the solution you're looking for. Either way, you may rule out one of the three possible culprits.
    For the cable, try:
    http://www.pbparts.com (parts and repair work)
    http://www.dttservice.com (parts and repair work)
    http://www.powerbookresq.com (parts and repair work)
    http://www.tekserve.com (parts and repair work)
    http://www.welovemacs.com (parts and used equipment)
    http://www.ifixit.com (parts and excellent, illustrated online take-apart instructions)
    Prices for the same parts vary WIDELY, so check around.

  • Wbadmin in powershell: ERROR - Command syntax incorrect. Error: Component'. See the command

    Hello,
     I want to backup server from  powershell script:
    wbadmin
    start
    backup
    -backuptarget:\\?\Volume{3651776b-fc60-4ccb-af2b-48b702256f55}
    -hyperv:"ComputerName1,Host
    Component" -vssfull
    -quiet
    but I am gettting following error:
    ERROR - Command syntax incorrect. Error: Component'. See the command
    syntax below.
    In CMD it works fine but I am unable to get it working in PS. Can anyone help? Thank you.
    Pete
    sfs

    Please see the following article for how to pass arguments for executables in PowerShell:
    Windows IT Pro: Running Executables in PowerShell
    Basically all you should need to do is quote the entire argument to the -backuptarget parameter, as in:
    "-backuptarget:\\?\Volume{3651776b-fc60-4ccb-af2b-48b702256f55}"
    You probably also need to quote the entire -hyperv argument as well:
    "-hyperv:ComputerName1,Host Component"
    You can use the ShowArgs.exe tool in the article download to see the actual command line that PowerShell is really passing to the executable.
    -- Bill Stewart [Bill_Stewart]

  • Appletv doesn't see Photos app library, why?

    After updating to the new Photos app from iPhoto my apple tv doesn't see my computer's photo library.  iTunes doesn't see it either to choose which folders to share for home sharing.
    Is this a drawback to the new Photos app?
    Thanks

    iTunes is up to date, I don't even see the Photos library in the pull down on the home sharing prompt.  Is it because my photos library is on an external drive?  iPhoto had no problem seeing this.  Do I have to go back to iPhoto or will Apple week this?

  • G5 Tower doesn't see SATA hard disks...a TOTAL mystery...

    Hi All--
    I was having some serious HD corruption & start-up problems with my 2 original HDs. 2 weeks ago, I bought a 1.5 TB Seagate internal Barracuda. Disk Util took a coupla tries to properly format & partition it, but I was finally able to create 5 HFS+ (Journaled) partitions. (At this stage, my goal was to create a new Boot Disk so I could run Disk Warrior on the corrupt drives since DU wasn't able to--bad b-tree Nodes--and also have a quick data-dump area in case the original HD got recognized, as it occasionally did).
    At first, everything on the new Seagate (new Boot Drive) was fine. But...Disk Warrior locked up once while fixing permissions (and/or repairing the disk--I forget)...and my poor computer hasn't recognized any SATA drive since (new Seagate nor two original HDs. When I try to boot them I get broken folder icons, Prohibitory symbols, or the command-line errors superimposed on the gray startup screen (mach_kernel stuff?).
    (One thing I noticed when I was booted from the OS X install disk was that the Log said that the 5 new ("now "unfindable") internal Seagate drive partitions were "inaccessible" becasue there was no Open Firmware path.) At one point, I also had to reconnect one of the HD's power connectors to the motherboard (near the PCI-X slots) since it came loose when I was installing/removing my Soundcard to test the sys w/o any peripherals. (A BIG bonk on the head to Apple for its ridiculously difficult PCI, RAM, and hard-disk mounting on the G5--just ask the stressed Motherboard PC board, the open/unprotected Hard Disk underbellies (and my skinned knuckles) about it.
    Sorry for this next part which is WAY convoluted, but I want to be as specific as possible to see if I can get the help I need:
    • The orig Superdrive (Sony, DW-Q28a) will ONLY boot and/or read my orig OS X install DVD. After some OS upgrade or another, about a year ago, it now spits ALL other CDs/DVDs out--so no booting from Disk Warrior or anything else. (I have an external USB DVD drive (Sony), but it is, or course, not bootable with a PPC.)
    • Here's my MAJOR workaround to get some kind of working system: Bought a 1.5 TB USB Seagate Free Agent external HD. I unplugged the Superdrive (IDE) and plugged in a 4-year old IDE HD from my old G4 (running 10.3.9). I copied all data from my external LaCie Firewire HD to the FreeAgent. Unhooked the IDE HD, put the Superdrive back in & booted off the Install Disk. Erased/formatted/partitioned the LaCie FW HD and made it a boot drive. The FreeAgent is for data storage. (This is nutty as ****, though: my giant G5 tower is a giant motherboard for 2 external HDs...it's like Connecticut & New Jersey running an inaccessible New York City!)
    • I bought Data Rescue 3 (still waiting for disk in the mail)--and just like DU & Disk Warrior, it doesn't even see the 2 SATA HDs.
    . Replaced 3.6v PRAM battery.
    • I have done every single "recommended" action: command-line fsck -y, "mac-boot", "reset-nvram", "set defaults", "reset-all". I have tried boot+Option, Single User Mode, Safe Mode, cmdOption+PR, shiftOption+CommandDel...you name it, I've done it.
    Most of my data was backed up, but there are still a number of things I want off the 2 original HD's.
    Can someone puh-LEASE help me? I have been tearing my hair out for 4 weeks, and my wife and kids miss me!
    Thanks for bearing with me, and thanks in advance,
    Nick

    No you do more than everything, and more than enough. I was only saying WHY and the purpose behind 'zapping pram' thing. If the drive shows up in System Profile properly, and shows in Disk Utility as 1.5TB SEA.... you are done.
    OF is my choice as quick, simple, and more thorough set of commands.
    I worry about Seagate firmware. When they bought Maxtor, they seem to have lost their chef and chief cooks, that cook up firmware. Their SATA doesn't live up to their Cheetahs, that is for sure, and have had issues with iMac G5 firmware and Mac.
    WD is very popular on Mac Pro, very much so, whether Black Caviars, 10K VelociRaptors, and most important: compatible.
    Even on PCs, defrag tests show even current Barracudas takes much longer than any other make. And I've seen people try to zero their drives and take 10x longer (trouble with the small write I/O).

  • Adding JSF 2 composite component at runtime from backing bean

    Hello,
    I try to add a custom composite component to a JSF page from a backing bean method in this way:
    +//-----------------------------------------------------------------------------------------------------+
    +public String addCC(){+
    +//create my comoposite component's istance+
    ccPageLoader = new CCPageLoader();
    +//set a property+
    ccPageLoader.setSrc("one.xhtml");
    +//get the object on the JSF page that must contains the comp.comp.+
    UIComponent c = this.findComponentInRoot("container");
    +//ADD THE COMPOSITE COMPONENT TO THE PAGE+
    c.getChildren().add(ccPageLoader);
    return null;
    +}+
    +//-----------------------------------------------------------------------------------------------------+
    Now, the method doesn't get errors, the beginEncode() method of the composite component is called, but I cannot see the composite component in the page...
    Instead, if a try to add a standard JSF component, using the same code, I can see the JSF component in the page.
    Any suggestion?
    Thank you, F. ...

    I removed all my assertions to see how far the submission could go when going unsane.
    I discovered that JSF attempts to redisplay my web page, and not to follow on the next one...
    ... so I have one explanation.
    Except that:
    There is no fields in the form that require a validation.
    (three hidden text fields, and a <h;inputTextarea> but that is not checked or mandatory).
    The form is not supposed to fail,
    and even if it had too, why the validation step doesn't carry the current managed bean at redisplay time, but instead re-create an empty managed bean?
    My form starts with a:
    <h:form id="${someId}"> where ${someId} is a scoped variable.
    Can it causes a problem during submission? Shall I use only a constant id for my form?
    What can you suggest me to do?
    Do I have a way to discover what JSF is about to complain against, before it tries to redisplay the page? I see nothing in my logs, but may be I shall redefine a log level somewhere, add one handler or something else?
    Regards,
    Grunt.

  • Why cant I reset my macbook with command and R  when I push them dont be work and when i turn on my macbook a black page preview and said restart?

    why cant I reset my macbook with command and R  when I push them dont be work and when i turn on my macbook a black page preview and said restart?please help me

    Something is very wrong with your system, you need to try repairing the hard drive if possible.  See:
    http://pondini.org/OSX/DU6.html
    If that doesn't work, you'll probably need to reinstall the system.

  • Problem with security with action commands to Servlet...

    Hi.
    I have a webapplication that under its context has two diffenent
    maps, one is admin and the other one is user.
    I use an ActionRouter and has actions like list-clients.do.
    The admin map is restricted area described in web.xml.
    You have to be in AdminRole to get access.
    My problem is that if I log in as user, I can "shoot" actions commands
    like list-clients.do from the user area and Servlet maps to the proper
    jsp that is in the admin map. When I then try isUserInRole and so on
    there is only a quetstionmark. If I run from admin area the isUserInRole
    knows who is logged in.
    I put in the list-clients.do in the url like: http://myplace.com/users/list-clients.do and servlet reply with jsp from
    admin area.
    Anybody know why not the restricted area declared in the web.xml file
    works during that condition, and how to solve this?
    Heres my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <filter>
    <filter-name>loginfilter</filter-name>
    <filter-class>argus.web.util.LoginFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>loginfilter</filter-name>
    <url-pattern>/admin/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>loginfilter</filter-name>
    <url-pattern>/user/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>argus.web.servlet.ActionServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>setup</servlet-name>
    <servlet-class>argus.web.servlet.SetupServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>0</session-timeout>
    </session-config>
    <security-constraint>
    <display-name>ArgusAdmin</display-name>
    <web-resource-collection>
    <web-resource-name>AdminAdaptor</web-resource-name>
    <url-pattern>/admin/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ArgusAdmin</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <display-name>ArgusUser</display-name>
    <web-resource-collection>
    <web-resource-name>UserAdaptor</web-resource-name>
    <url-pattern>/user/*</url-pattern>
    <url-pattern>/index.htm</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ArgusAdmin</role-name>
    <role-name>ArgusUser</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.htm</form-login-page>
    <form-error-page>/loginError.htm</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>ArgusAdmin</role-name>
    </security-role>
    <security-role>
    <role-name>ArgusUser</role-name>
    </security-role>
    </web-app>
    Many Thanks
    Ben

    The code you've shown us looks fine. The problem isn't in the form code you've listed. Is the form being included inside another form on index.jsp? Does index.jsp have any forms of it's own? Perhaps you aren't submitting the form you think you are submitting. Or, are you redirecting in your serlvet somewhere? Or are you forwarding the request somehow?
    I agree with the previous post - we need to see the HTML output that index.jsp results in.
    Michael

  • PSE 12 for Mac doesn't see my scanner

    PSE12 for Mac refused to work with my scanner. In preferences I checked "Additional Plug-Ins Folder" and selected the Optional Plug-Ins Folder which contains the TWAIN.plugin. I restarted the PSE and the File> Import... command remains dimmed out. Tried resstarting the iMac and PSE still doesn't see the scanner. PSE 11 used to recognize the scanner right away. I hope this isn't a permanent change in PSE 12!
    Thanks for any help!
    OS X 10.8.5
    Canon 8800F Scanner
    TWAIN.plugin v12.0.4x001

    Hi Barbara - I reinstalled PSE 11 on my iMac and verified that it still works with the Canon 8800F scanner. I also installed PSE 12 on my Macbook Air, moved the Twain plug into the right spot, and found that it doesn't see the scanner either. Preview on the Macbook does see the scanner OK so it's not a connection problem there either.
    I noticed that the Twain plugins in PSE 11 and 12 are the same version but different sizes. The get info windows for the two versions of PSE on the iMac (Kahawalu) and the PSE 12 on the Airbook (Niumalu) are below. Would you be able to let me know the PSE 12 Twain file version and file size that is working with your Canon scanner? It might help narrow this thing down.
    Thanks again for your assistance!  William

  • Using a composite component from an xhtml that is included in another xhtml

    JBoss 7.1.1
    JSF 2.1
    I have the following composite component:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <ui:component xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:composite="http://java.sun.com/jsf/composite"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:rich="http://richfaces.org/rich">
            <composite:interface>
                <composite:attribute name="for" required="true" />
            </composite:interface>
            <composite:implementation>
                <rich:panel styleClass="aas-msg-tt-p">
                    <rich:message id="#{cc.attrs.for}-msg"
                        for="#{cc.attrs.for}" />
                    <rich:tooltip id="#{cc.attrs.for}-msg-tt">
                        <rich:message for="#{cc.attrs.for}"
                            styleClass="aas-rf-det-tooltip" />
                    </rich:tooltip>
                </rich:panel>
            </composite:implementation>
    </ui:component>It is in WebContent/resources/aas-composite/messagetooltip.xhtml ( where WebContent is the root directory or root context directory of the deployed WAR )
    h3. *1. Using the composite component and working as expected*
    If I use the composite component directly as follows, it all works:
    1) Create test.xhtml in WebContent
    2) Content of test.xhtml as follows:
    <!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"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
    <h:head>
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="richfacesoverrides.css"/>
        <h:form id="testform">
           <table>
                <tr>
                    <td><aas:messagetooltip for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
    </h:form>
    </h:body>
    </html>3) Deploy and test, all good
    h3. *2. Using the composite component but NOT working as expected*
    Now if I use the composite component as follows:
    4) Create XHTML file called includeThisFromRoot.xhtml under WebContent directory
    5) with content as follows:
    <!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"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
        <ui:composition>
           <table>
                <tr>
                    <td><aas:messagetooltip for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
        </ui:composition>
    </html>6) Make a copy test.xhtml, but call the new one testWithInclude.xhtml, with content as follows:
    <!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"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
    <h:head>
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="richfacesoverrides.css"/>
        <h:form id="testform">
            <ui:include src="includeThisFromRoot.xhtml" />
        </h:form>
    </h:body>
    </html>h3. Summary of change
    You can see here that I simply moved all of the content between the form tags from the original XHTML to a separate XHTML, and included that separate XHTML using <ui:include>.
    h3. Result
    7) Deploy and access testWithInclude.jsf from browser, and I get:
    15:17:55,310 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/richfacestest].[Faces Servlet]] (http--0.0.0.0-8081-5) Servlet.service() for servlet Faces Servlet threw exception: javax.faces.view.facelets.TagException: /includeThisFromRoot.xhtml @13,52 <aas:messagetooltip> Tag Library supports namespace: http://java.sun.com/jsf/composite/aas-composite, but no tag was defined for name: messagetooltip
            at com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:304) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:266) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:496)
            at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:810)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:275)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
            at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
            at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
            at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)
            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
            at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:289)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) [rt.jar:1.7.0_09]
            at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:434) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:410) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:124) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:305) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory.access$100(DefaultFaceletFactory.java:93) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:160) [jsf-impl-2.1.7-jbossorg-2.jar:]What gives ? Am I missing something simple ?

    I think I may have found a workaround.
    In the XHTML file that is included and using the composite component, add the namespace as part of the custom component, like so:
    <aas:messagetooltip xmlns:aas="http://java.sun.com/jsf/composite/aas-composite" for="id2"/>So that it now becomes:
    <!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"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
        <ui:composition>
           <table>
                <tr>
                    <td><aas:messagetooltip xmlns:aas="http://java.sun.com/jsf/composite/aas-composite" for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
        </ui:composition>
    </html>I tried this after finding a similar bug about nested composite components, which I do not use, but thought I would give it a try:
    http://stackoverflow.com/questions/10898906/myfoo-tag-library-supports-namespace-http-java-sun-com-jsf-composite-mycom
    http://stackoverflow.com/questions/9735593/nested-composite-component-broken-in-jboss-7-1-1
    Have to keep track of all these workarounds that I am doing.

Maybe you are looking for