RSD back in action

Well the repair did nothing, as i suspected it would. They only changed the hard drive thinking it would fix it. well im off to the apple store to raise heck, and i'm done with this repair nonsense.

well i was able to harp my way into the genius bar despite being full tonight, and i didnt even need to explain what the problem was, because my blackbook decided to die and die again for all to see. i told him that i thought it was the problem with the heatsink, and he wasnt surprised at all to see this (it was the fifth ave apple store, so im sure a good number of people have been in there regarding this given its volume of customers) what i was told was that since the first repair was actually a pointless operation, id have to give it another go at the actual problem to see if it works for any chance at a replacement machine, which is fair enough, since they really did nothing the first time. but i was told that since technically this is the second repair job i could get a replcement if this one fails.

Similar Messages

  • Back dated action  which is changing the status ' inactive'

    hi friends,
    my requirement is as below :
    i want to insert  back dated action which is changing the status as inactive ( currently he is active) .
    System is not accepting to insert it and giving the message "   future action exists,check the status"
    So for that first i am deleting  all future actions and inserting the current action(which is changing status) and after inserting back  all the deleted actions.
    But the problem is  as per the latest records in IT0000 it is showing currently the  employee is in 'active' status(as we have inserted back the deleted records).
    But i want to make him into 'inactive' status after the current action( which is changing status as inactive) is inserted.
    This is my urgent requirement . an anybody respond to this immeadately.
    waiting for ur reply.
    thanks in advance.

    Hi Gajesh,
                     The process is as follows :
    1) During Calibration of a product,depending on the technician's User decision , 3 follow up actions are created.
    2) Each follow up action has one FM associated with it, which is customised in      SPRO > Display IMG > Quality Management > Quality Inspection > Inspection Lot Completion > Define follow-Up Action .
    3) In the first case ( first Follow up action when the inspection is successful) the first FM is triggered. In this FM we have to perform the following steps :
                                   a) Determine the Maintenance Order and the equipment.
                                   b) Incase both are available, status of equipmnt should be changed to 'A',
                                       Maintenance Order should be changed to 'Technically completed' and
                                       Maintenance Notification to 'Notification Completed' .
    If you need further info pls let me know.
    Thanks,
    Vasuki

  • Backing up actions - Not working after re-install.

    I recently had hard drive issues that led to PC issues so I decided to do a full re-install of Windows 8.1 and all my programs.
    After installing Ps CS6 64-bit, when I loaded my backed up actions into Ps, some of my actions would not work.  Giving me 'missing' notifications when I ran them.  Things like 'Vignette Portrait 15%' which involved the steps - new layer, selection, feather, inverse selection, fill, set current layer (15% layer opacity is what caused this label) - this one would not work.  I understand some of the more complex ones like logo placement which involved a 'paste' step would not work, because it doesn't know where to paste from.  But then wouldn't that be the same instance after a reboot?  Because it still worked after a reboot.  Simple things like a 50% reduction action worked fine with steps - Image size (width 50% with scale styles with constrain proportions).
    Is there any way to avoid this?  Is there another folder I need to back up rather than clicking 'save actions' in the action panel?

    Updating was the first thing I did before anything else, reason being I always have problems with Photoshop and Bridge crashing unless I update it.  Something to do with my video card I think.
    Used the Adobe clean tool.
    Installed CS6.
    Ran update.
    Then rebooted.
    Installed usual third party software.
    Reboot.
    Loaded actions and presets.

  • GP: how to jump back to action in other block

    We have implemented a process in GP using two main blocks X an Y - they stand for different orgunits or phases of the process. In block X are actions A,B,C and in block Y actions D,E. The first action in block Y (D) checks the artefacts submitted from block X and, if not ok jumps back to action B or C in block X. This is implemented using targets of result states.
    Unfortunately it does not jump back to an action inside block X, but to the start of this block - and step A has to be processed (or skipped if marked as optional manually).
    => How can we jump back directly to an action inside the steps of an other block?
    Best regards,
    Manuel

    Hello.
    I've tried the following and it works, but it does not look like the customer expects (blocks X and Y should be invisible in navigation - but they are on the first level below the process and therefore cannot be set invisible):
    -Process P
    --Block W
    ---Action A
    --Block X
    ---Action B
    --Block Y
    ---Action C
    --Block Z
    ---Action D (-> B or C if not ok)
    ---Action E
    When I try the following it does not work, but would lool fine for the customer (blocks X, Y can be set invisible). It jumps to the first action (A instead of B or C) oft the block on the same level with the block conatining the originating action:
    -Process P
    --Block W
    ---Action A
    ---Block X
    ----Action B
    ---Block Y
    ----Action C
    --Block Z
    ---Action D (-> B or C if not ok)
    ---Action E
    These are all sequential blocks beacuse the CallableObjects set different result states.
    The customer would like to hve two blocks in the frist level (blocks W and Z), because the have business-meaning.
    Am I on the wrong path?
    Regards,
    Manuel

  • ADF BC/Faces - Order of validation / backing bean action problem

    Hello,
    I want the user to enter the same "operation date" into all adf faces table rows created in one batch (one transaction).
    So I removed operation date field from the table and added "unbound" date field above the table. The date field value is then copied into all new rows in background. This process is invoked from backing bean from Commit button actionListener method.
    The problem is the validation of the operation date in entity is executed before a new date value is copied into the date attribute (validation of model is in JSF lifecycle executed prior invoking actions in backing beans).
    It means the user can enter dead lock when he enters invalid date (for example date higher then a valid value).
    Then after commit:
    1. First validation is ok (wrong date value haven't been copied into model yet)
    2. backing bean copy action is executed - model now contains wrong date value
    3. Validation before commit isn't successfult - error message is displayed
    4. User corrects the date value and presses commit again but:
    5. First validation is not successful - model still contains recent wrong date value - error message is displayed again
    6.There is no way out from this situation
    I'm going to override lifecycle to be able to invoke copy method before validation cycle. Is this solution acceptable? Do you have any other suggestion?
    Thank you.
    Rado

    hi Rado
    Would it make sense to design your ADF BC View Objects in some kind of master-detail shape that fits your data?
    View Object : OperationMaster (OperationDateAttr, ...)
    View Object : OperationDetail (OperationAttr1, OperationAttr2, ...)
    View Link : OperationDetailForMasterVL (based on some attribute that keeps the detail rows together)
    You would need some Application Module method that does the "row batch setup", but it look like your already have something like this.
    A change to OperationMaster.OperationDateAttr could update all its detail rows date attribute.
    I think that building a UI on this would be less "view layer dependant".
    Just a suggestion.
    regards
    Jan Vervecken

  • Trigger Backing Bean Action from Java script

    Hello
    I'm quite new to JSF, Would like to know how we can trigger a bcaking bean action method using java script as part of form submit.
    Already I added one commandbutton with an action method defined in backing bean, But our requiremnt is to trigger the same action even if the user submits form by pressing Enter key.
    Targeted device is Windows Mobile IE ( In IE Mobile, we can't track onkeydown, onkeyup, onkeypress, onmousemove, onmousedown and onmouseup event. )
    1. How the JSF binds a backing bean method with JSF commandButton control on runtime. I didn't find any hidden value corresponding to this commandButton.
    2.How we can trigger a bcaking bean action method using java script as part of form submit
    Thanks
    Jobinesh

    thanks a lot for the replies. I'll try it out.
    But one question, just because of curiosity
    1. How the JSF binds a backing bean method with JSF commandButton control on runtime. I didn't find any hidden value/or any other flag corresponding to this commandButton from the genarted html for the correspondant jsf soure.

  • ISub back in action!!

    I'm not sure if this is still a issue for anyone but here it is.
    Please note: that I've only tried this on a PPC running OSX 10.5.7 and "NOT" an Intel. AND Backup before you try this.
    The procedure is as outlined on, "Paul Tung's" post, back on May 17, 2006.
    Topic : Possible iSub Solution in Mac OS 10.4.6!!
    http://discussions.apple.com/thread.jspa?threadID=485373
    1) Download the following files:
    a) Mac OS 10.5.3 Update or Mac OS 10.5.3 Combo Update. I used the Combo.
    (Addresses an issue with stuttering video and audio playback in certain USB devices.) - I should read the "detailed information" link more often!
    http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=19138&cat=60&platfor m=osx&method=sa/MacOSXUpdCombo10.5.3.dmg
    b) Onyx
    http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=00059&cat=15&platfor m=osx&method=sa/OnyX.dmg
    c) Pacifist
    http://www.charlessoft.com/Pacifist.dmg
    2) Install Onyx and Pacifist programs
    3) Go to: Macintosh HD (Your HD) -> System -> Library -> Extensions AND "Trash" the following file -> AppleUSBAudio.kext
    and enter your admin password when prompted.
    4) Open the downloaded Update. Start Pacifist, read or click OK on "First Launch Quick Start" window.
    Click Open Package and then select the MacOSXUpdateCombo10.5.3.pkg (under DEVICES in Sidebar menu).
    5) Once loaded, go to: System -> Library -> Extensions -> AND single click: AppleUSBAudio.kext.
    6) Click the Install Button - Top left. It will ask you to install, and click install. (Make sure Allow Admin Privileges is selected).
    7) Once done, quit Pacifist and start Onyx. This process will clear the "older" AppleUSBAudio.kext is out of the system.
    8) In Onyx, go to Cleaning and make sure System and Kernel Caches is selected. Also, select Core Files and Temporary files too.
    9) Once done, restart the computer, and go to the sound control panel and set your iSub.
    Thank you PAUL TUNG! and "LONG LIVE MICHAEL JACKSON"- R.I.P

    OS X 10.6 Snow Leoprd & ISUB
    Summary:
    The Harman Kardon iSub is not always working on Intel Macs without the use of other USB audio hardware. It is NOT working on the latest Intel Quad MAC PRO but is on a Dual G5 under OS X 10.5.8.
    Steps to Reproduce:
    1. Plug in iSub into any USB port.
    2. Check Apple System Profiler. Device is correctly listed in Apple System Profiler, but does not work, and does not have separate volume control in the SOUND Control Panel.
    Expected Results:
    Expected iSub to work in conjunction with internal speakers, external USB speakers, or with external non-USB speakers, as it should.
    Actual Results:
    Device is listed in Apple System Profiler, but does not work, and does not have separate volume control
    Regression:
    This bug does not occur on PowerPC based Macs, just on Intel based Macs. Tested on a Power MAC dual g5 under OS X v10.5.8, Power Mac G4 400 Sawtooth, Power Mac G4 867, Power Mac G5 Dual 2GHz, Intel Mac Mini 1.5GHz Core Solo, Intel iMac 20" 2.0GHz Core Duo, Intel MacBook Pro 17" 2.16GHz Core Duo, Mac Pro Quad 3GHz under OS X 10.6 Snow Leopard.
    Workaround not working in Snow Leopard:
    Attach another USB audio device (sound card, USB headset) and select that for sound output. The iSub and it's volume control will magically appear in the sound control panel. Once you select Internal Speakers or another non-USB output, the iSub and it's volume control will disappear, and will cease outputting audio.
    Initially, for bug # 4590777, Apple had listed it as a 'duplicate' bug, so there was some hope of having this fixed. As 10.4.4 was the initial OS X build that shipped on the first set of Intel Macs, maybe 10.4.5 would remedy this. Then the updates kept coming. And still, it wasn't working.
    Once 10.4.9 was released, I tried the iSub again on all my Intel Macs. Again, no dice. So I sent in another bug report for Apple to fix. I was hoping this would be fixed prior to Leopard's launch. To my dismay, I received the following email from Apple.
    "Hello, This is a follow-up to Bug ID# 5061928. We have received the following update regarding this bug:
    <GMT14-Mar-2007 23:41:32GMT> Vanaja Pasumarthi:
    Engineering has provided the following feedback regarding this issue:
    Unfortunately, we have had to discontinue the support for iSub for built in audio. This is behaves (sic) as expected. Please disable iSub on yellow machines for all configurations.
    We have closed this report as resolved. Thank you for taking the time to notify us of this issue.
    Best Regards,
    Vanaja P.
    Apple Developer Connection
    Worldwide Developer Relations"
    This has been an issue for quite some time. As an owner of a few Intel based Macs, I'm disappointed that Apple has decided to discontinue support for their quickly emerging platform. It sort of goes against the statement from Apple that "Everything just works." Funny how the iSub does work in Windows Vista, however.
    Please post this for the other iSub owners who might as well know this now instead of waiting even longer.
    -Anthony V."
    An iSub owner reply on using an iMic as a workaround. (this was before OS X 10.5/Leopard was released - see top of page for notes on iSub problems in Leopard.-Mike)
    "I started trying workarounds (I found one that works!)
    Here the setup, done with a pair of klipsches, an iMic and the iSub. First plug your iMic into your USB port on your Tower or USB Hub, Then plug your speakers in to speaker icon side of the iMic then plug in your iMic into another USB port or your USB hub. Check your Sound Preferences and you will have both of the Klispches and the iSub working!
    (he later wrote)
    I'm using the imic to insure I can use both my klipsch speakers at the same time I'm using the isub not one or the other. Adding another usb device only gives you the option on an intel mac to use your internal speaker on your tower and an isub. By pluging my speakers into the imic I have the ability to use and control the volume for both my external speakers and the isub.
    -George H."
    The isub issue is not fixed as of OS X 10.6 and the workaround does not seem to work either. Bob.

  • My 3GS 32gb Iphone has just started cutting out even when battery is almost charged - I have to charge it for a short time to prompt it back into action - I now have to watch apps with the charger connected no problems then?

    I have just started getting a problem with my 17 month old 3GS 32gb Iphone (no heavy use) in the sense that it keeps randomly cutting out and it requires a short boost charge to get it started again even when the battery is charged between 70 to 90%.
    Any suggestions?

    Have you tried any of the Basic Troubleshooting Procedures...
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these Steps and you still have issues... Then a Visit to your Local Apple Store is the Next Step... Be sure to make an appointment first...

  • Is Your ATV2 Back In Action?  What Happened?!

    Well, mine was down for more than 24 hours, suffering from the same issues so many others on here were experiencing (no Home Sharing, no Internet, did not recognize Apple ID, etc.).  However, at about 10pm tonight I was watching my Blu Ray player and I see the ATV light turning on and off a few times.  I wasn't doing anything with the network but it appeared to be switching on by itself.  Then, when I checked it out I just had to reconnect to my Wi-Fi network and everything was 100%!
    Whatever happened was obviously on Apple's end, but the fact that they didn't issue any type of statement during that time period is NOT a good indicator of what we may be facing in the post-Steve Jobs world.  A horrible stumble on Apple's part.

    Hmmm.   I don't know.
    Though if I type "Utility" in the search box at the type of Launchpad, all the Utilities show up.
    Good question.

  • Action = BACK

    Can we use action = BACK inside any automatic activity or does it need to be used only in the EXCEPTION FLOW?
    Will it work in any other automatic activity and go back to the previous activity?
    I am trying to use it and it does not work except in the EXCEPTION FLOW..

    Yes - you're correct. Both "action = BACK" and "action=SKIP" both work inside an Exception's Handler's flow. They're ignored inside of the process itself.
    Know you know this, but you'd need to use conditional transitions to send the work item instance backwards in the process.
    Dan

  • Action / actionListener in h:commandButton with managed beans

    I have a problem with a backing bean whose method is not invoked when i click it. I've seen some posts on here about this yet, I still don't understand what I am doing wrong, if anything.
    Some context...I've modeled my application after 'jcatalog' from this article:
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html . It's simpler than the article -- I'm not using Spring/Hibernate and the persistence is the file system. For each business object (Resource), there's a backing bean (ResourceBean).
    In short, I can't get the backing bean to respond to the button event for 'Add' bound to addAction. This is just like the jcatalog 'createProduct' impl -- which doesn't use the (FacesEvent fe ) approach.
    Anyway, I would appreciate anyone's help to get past this.
    -Lorinda
    (Below are the codes...)
    Here's my beans-config.xml:
         <!-- view -->
         <managed-bean>
              <description>
                   Managed bean that is used as an application scope cache
              </description>
              <managed-bean-name>applicationBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ApplicationBean
              </managed-bean-class>
              <managed-bean-scope>application</managed-bean-scope>
              <managed-property>
                   <property-name>viewServicesManager</property-name>
                   <value>#{viewServicesManagerBean}</value>
              </managed-property>
              </managed-bean>
         <managed-bean>
              <description>
                   View service manager impl for business services
              </description>
              <managed-bean-name>viewServicesManagerBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ViewServicesManagerBean
              </managed-bean-class>
              <managed-bean-scope>application</managed-bean-scope>
         </managed-bean>
         <managed-bean>
              <description>
                   Backing bean that contains product information.
              </description>
              <managed-bean-name>resourceBean</managed-bean-name>
              <managed-bean-class>
                   com.intalio.qa.tcm.view.beans.ResourceBean
              </managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    (Note, the applicationBean uses view services manager. The manager is used by the ResourceBean. (It's initialized by the h:output dummy variable reference at the top of my .jsp page)). I can see the initialization in the debug trace.
    Here's the resource bean:
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.FacesException;
    import javax.faces.model.SelectItem;
    import com.intalio.qa.exceptions.DuplicateIdException;
    import com.intalio.qa.exceptions.TCMException;
    import com.intalio.qa.tcm.model.Resource;
    import com.intalio.qa.tcm.view.builders.ResourceBuilder;
    import com.intalio.qa.tcm.view.util.FacesUtils;
    * Resource backing bean.
    public class ResourceBean extends RootBean {
    * The Resource id
         private String id;
         * The Resource name
         private String name;
    * Description
    private String description;
         * the resource type id associated with the Resource
         private String resourceTypeId;
    // the resource type id associated with the Resource
    private List resourceTypeIds;
    * @return Returns the resourceTypeIds.
    public List getResourceTypeIds() {
    return resourceTypeIds;
    * @param resourceTypeIds The resourceTypeIds to set.
    public void setResourceTypeIds(List resourceTypeIds) {
    this.resourceTypeIds = resourceTypeIds;
         * Default constructor.
         public ResourceBean() {
    super();
    init();
         * Initializes ResourceBean.
         * @see RootBean#init()
         protected void init() {
              try {
                   LOG.info("ResourceBean init()");
                   if (id != null) {
                        Resource resource = viewServicesManager.getResourceService().getResourceById(id);
                        ResourceBuilder.populateResourceBean(this, resource);
              } catch (TCMException ce) {
                   String msg = "Could not retrieve Resource with id of " + id;
                   LOG.info(msg, ce);
                   throw new FacesException(msg, ce);
         * Backing bean action to update Resource.
         * @return the navigation result
         public String updateAction() {
              LOG.info("updateAction is invoked");
              try {
         //          Resource Resource = ResourceBuilder.createResource(this);
              //     LOG.info("ResourceId = " + Resource.getId());
              //     viewServicesManager.getResourceService().updateResource(Resource);
                   //remove the ResourceList inside the cache
                   //FacesUtils.resetManagedBean(BeanNames.RESOURCE_LIST_BEAN);
              } catch (Exception e) {
                   String msg = "Could not update Resource";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(msg + ": Internal Error.");
                   return NavigationResults.FAILURE;
              LOG.info("Resource with id of " + id + " was updated successfully.");
              return NavigationResults.SUCCESS;
         * Backing bean action to create a new Resource.
         * @return the navigation result
         public String addAction() {
              LOG.info("addAction is invoked");
              try {
                   Resource resource = ResourceBuilder.createResource(this);
    LOG.info("between");
                   viewServicesManager.getResourceService().saveResource(resource);
              } catch (DuplicateIdException de) {
                   String msg = "This id already exists";
                   LOG.info(msg);
                   FacesUtils.addErrorMessage(msg);
                   return NavigationResults.RETRY;
              } catch (Exception e) {
                   String msg = "Could not save Resource";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(msg + ": Internal Error");
                   return NavigationResults.FAILURE;
              String msg = "Resource with id of " + id + " was created successfully.";
              LOG.info(msg);
              return NavigationResults.SUCCESS;
         * Backing bean action to delete Resource.
         * @return the navigation result
         public String deleteAction() {
              LOG.info("deleteAction is invoked");
              try {
         //          Resource Resource = ResourceBuilder.createResource(this);
         //          viewServicesManager.getResourceService().deleteResource(Resource);
                   //remove the ResourceList inside the cache
    //               FacesUtils.resetManagedBean(BeanNames.RESOURCE_LIST_BEAN);
              } catch (Exception e) {
                   String msg = "Could not delete Resource. ";
                   LOG.error(msg, e);
                   FacesUtils.addErrorMessage(null, msg + "Internal Error.");
                   return NavigationResults.FAILURE;
              String msg = "Resource with id of " + id + " was deleted successfully.";
              LOG.info(msg);
              FacesUtils.addInfoMessage(msg);
              return NavigationResults.SUCCESS;
         public String getId() {
              return id;
         * Invoked by the JSF managed bean facility.
         * <p>
         * The id is from the request parameter.
         * If the id is not null, by using the id as the key,
         * the Resource bean is initialized.
         * @param newQueryId the query id from request parameter
         public void setId(String newId) {
              id = newId;
         public String getName() {
              return name;
         public void setName(String newName) {
              name = newName;
         public String getDescription() {
              return description;
         public void setDescription(String newDescription) {
              description = newDescription;
         public String getResourceTypeId() {
              return resourceTypeId;
         public void setResourceTypeId(String newResourceTypeId) {
              resourceTypeId = newResourceTypeId;
         public String toString() {
              return "id=" + id + " name=" + name;
    Here's the jsp:
    <f:subview id="resourcesCombinedView_subview">
         <h:form id="createResourceForm" target="dataFrame">
              <h:outputText value="#{applicationBean.dummyVariable}" rendered="true" />
              <div align="center">
              <head>
              <link href="../../css/stylesheet.css" rel="stylesheet" type="text/css">
              <FONT color="#191970" size="4" face="Arial">Resources View</FONT>
              </head>
              <table style="margin-top: 2%" width="35%" cellpadding="10">
              <div align="left">
              <FONT color="#191970" size="3" face="Arial">Update Resources </FONT>
              </div>
                   <tr>
                        <td align="center" valign="top" align="center" style="" bgcolor="white" />
                        <table>
                             <tbody>
                                  <tr>
                                       <td align="left" styleClass="header" width="100" />
                                       <td align="left" width="450"/>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100"><h:outputText value="Id" /></td>
                                       <td align="left" width="450"><h:inputText
                                            value="#{resourceBean.id}" id="id" required="true" /> <h:message
                                            for="id" styleClass="errorMessage" /></td>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100"><h:outputText value="Name" /></td>
                                       <td align="left" width="450"><h:inputText
                                            value="#{resourceBean.name}" id="name" required="true" /> <h:message
                                            for="name" styleClass="errorMessage" /></td>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100" valign="bottom"><h:outputText
                                            value="Type" /></td>
                                       <td align="left" width="550">
                                       <h:selectOneMenu
                                            value="#{resourceBean.resourceTypeId}" id="resourceTypeId">
                                            <f:selectItem itemValue="" itemLabel="Select Resource Type" />
                                            <f:selectItem itemValue="database" itemLabel="Database" />
                                            <f:selectItem itemValue="external application"
                                                 itemLabel="External Application" />
                                            <f:selectItem itemValue="internal"
                                                 itemLabel="Intalio|n3 Products" />
                                            <f:selectItem itemValue="os" itemLabel="Operating System" />
                                       </h:selectOneMenu> <h:outputText
                                            value="#{resourceBean.resourceTypeId}" /> <h:message
                                            for="resourceTypeId" styleClass="errorMessage" /></td>
                                  </tr>
                                  <tr>
                                       <td align="right" width="100" valign="bottom"><h:outputText
                                            value="Description" /></td>
                                       <td align="left" width="450"><h:inputText
                                            value="#{resourceBean.description}" id="description" size="96" />
                                       <h:message for="description" styleClass="errorMessage" /></td>
                                  </tr>
                             </tbody>
                        </table>
                        </h:form></td>
                        <!-- END DATA FORM -->
                        <!-- BEGIN COMMANDS -->
                        <td width="30%" align="left" valign="top"><h:form
                             id="buttonCommandsForm">
                             <h:panelGroup id="buttons">
                                  <h:panelGrid columns="1" cellspacing="1" cellpadding="2"
                                       border="0" bgcolor="white">
                                       <h:commandButton value="Add"
                                            style="height:21px; width:51px;font-size:8pt; font-color: black;"
                                            actionListener="#{resourceBean.addAction}">
                                       </h:commandButton>
                                       <h:commandButton id="deleteCB" value="Delete"
                                            style="height:21px; width:51px;font-size:8pt"
                                            action="#{resourceBean.deleteAction}">
                                       </h:commandButton>
                                       <h:commandButton id="spaceFillerButton" tabindex="-1"
                                            style="height:21px; width:51px;font-size:8pt;background-color: #ffffff;color: #ffffff;border: 0px;">
                                       </h:commandButton>
                                       <h:commandButton id="saveCB" value="Save"
                                            style="height:21px; width:51px;font-size:8pt"
                                            actionListener="#{resourceBean.saveAction}">
                                       </h:commandButton>
                                       <h:commandButton id="updateCB" value="Update"
                                            style="height:21px; width:51px;font-size:8pt"
                                            actionListener="#{resourceBean.updateAction}">
                                       </h:commandButton>
                                  </h:panelGrid>
                             </h:panelGroup>
                        </h:form> <!-- end buttons --></td>
                   </tr>
              </table>
              <HR align="center" size="2" width="60%" />
              <!-- data table --></div>
    </f:subview>

    Hey, anyway, have you note your jsp reference to the backing bean begins with a lowercase letter, and your backing bean class name begins with an uppercase letter?? I think that's it... I think, cause I'm too unexperienced in JSF.... Bye!!

  • Blank page on backing bean exception

    When there is exception in the backing bean, a blank page is displayed. I was expecting response with status code 500. When I debug the http response the status code is 200. I have configured the webapp to display error page on status code 500. Since it is not returning status code 500, this page is not displayed.
    In web.xml
    <error-page>
    <error-code> 500 </error-code>
    <location>/500.jsf</location>
    </error-page>
    I am using Sun RI Implementation of JSF on weblogic 10.3
    Please some one help me.
    Here's a stack trace.
    Note :I purposely introduced devide by zero exception in my backing bean action.
    ####<Mar 11, 2009 10:57:16 AM PDT> <Error> <HTTP> <KOLCHK1-D1> <AdminServer> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1236794236482> <BEA-101107> <[weblogic.servlet.internal.WebAppServletContext@1943319 - appName: 'sam', name: 'hcp', context-path: '/hcp', spec-version: '2.5'] Problem occurred while serving the error page.
    javax.servlet.ServletException: / by zero
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at weblogic.servlet.internal.ForwardAction.run(ForwardAction.java:22)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.ErrorManager.handleException(ErrorManager.java:144)
         at weblogic.servlet.internal.WebAppServletContext.handleThrowableFromInvocation(WebAppServletContext.java:2244)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2093)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Then the problem lies somewhere else. I can't determine it based on the as far given information.

  • PhotoShop CC will not play Layer Adjustment Actions Correctly

    My computer has PhotoShop CC installed on a brand new Dell Windows 7 computer. Previously I used CS4 and it worked great, but now I'm having issues with CC playing back any Action that has layer adjusments. I'll record an action consisting of an edited layer adjustment such as curves, levels, brightness/conrast, etc., and then when I play it back the layer adjustment applied is the default 0. For instance, here I clicked "Create New Action" and labeled it "Curves Layer TEST":
    add a new curves layer adjustment and label it "Brighten":
    Then I add a few points to the curve (overly brightened to demonstrate my issue):
    then I hit the Stop Recording button. But when I look at the curve values in the Actions box of the very curve layer I just recorded, it says the Preset Kind is Default. Why doesn't it say Custom??? The Properties box read "Custom" as I was editing the curve!
    So anyway, I open up my nexy photo and play the Brighten action I just created...
    and nothing happens to the image. Oh, it now has a curves layer on top, but it's the Default straight line. What happened to the curve I edited and recorded!!??
    What's the deal? This is the same process I used in CS4, CS2 and every other PhotoShop incarnation and it worked fine, until CC. Is this a bug? Or is there a new process to creating layer adjustment actions???

    Adobe added the adjustment panel in CS4. Adobe also changed how the action recorded records adding adjustment layers in CS4.  Before the Adjustment panel when you clicked on one of the add adjustment layer icons Photoshop would open the adjustment type options dialog window which you would set and commit. When you committed the settings the action recorder would record a single step that added the adjustment layer with the setting you set. After Adobe added the adjustment panel the action recorder records a step Make adjustment layer Adjustment type preset default as soon as you click on the adjustmet type icon. If you then make changes to the settings when you move onto the next Photoshop operation the action recorder records a second step Set current adjustment layer to type preset kind custom and settings.  Adobe also introduced many problems with the adjustment panel. The two step recoding can be a problem because it possible to add steps between the two steps and the step set current adjustment layer will fail if the targeted layer was changed by the addition.  The adjustment panel also has two options in its fly-out menu the change Photoshop operation. They can break new and old actions that add adjustment layers. For how adjustment layers will get added may not be the way they were  added when the action was recorded. These options work more like global Photoshop Preferences actions have no control over.  However the options do not alway work like set. So if you try real hard you can record actions that add adjustment layers that will alway work the way you designed your action to work.  Adobe does not want to fix these problems. I tried to get Adobe to fix these bugs for years. I have now given up.

  • Tab and back-tab out of a JTable

    Hi There,
    I have been working for some time on improving the default behaviour of the tab key within editable JTables. It largely works as required now, but I'm stuck on getting back-tab to leave the table if on row 0, col 0. I register tab and back-tab action in the table's ActionMap that looks like this:     
         class TabAction extends AbstractAction {
              public void actionPerformed(ActionEvent e) {
                   if (getRowCount() > 0) {
                        int row = getSelectedRow();
                        int column = getSelectedColumn();
                        if (row < 0 || column < 0) {
                             row = 0;
                             column = 0;
                        do {
                             if (++column >= getColumnCount()) {
                                  row++;
                                  column = 0;
                        } while (row < getRowCount() && ! isCellTabbable(row, column));
                        if (row < getRowCount()) {
                             changeSelection(row, column, false, false);
                        } else {
                             clearSelection();
                             transferFocus();
                   } else {
                        transferFocus();
         class BackTabAction extends AbstractAction {
              public void actionPerformed(ActionEvent e) {
                   if (getRowCount() > 0) {
                        int row = getSelectedRow();
                        int column = getSelectedColumn();
                        if (row < 0 || column < 0) {
                             row = getRowCount() - 1;
                             column = getColumnCount() - 1;
                        do {
                             if (--column < 0) {
                                  row--;
                                  column = getColumnCount() - 1;
                        } while (row >= 0 && ! isCellTabbable(row, column));
                        if (row >= 0) {
                             changeSelection(row, column, false, false);
                        } else {
                             clearSelection();
                             transferFocusBackward();
                             KeyboardFocusManager fm = KeyboardFocusManager.getCurrentKeyboardFocusManager();
                                // fm.upFocusCycle(BTTTable_Editable.this);                         
                             // fm.focusPreviousComponent(BTTTable_Editable.this);
                   } else {     
                        // transferFocusBackward();
                        // KeyboardFocusManager fm = KeyboardFocusManager.getCurrentKeyboardFocusManager();
                           // fm.upFocusCycle(BTTTable_Editable.this);                         
                        // fm.focusPreviousComponent(BTTTable_Editable.this);
         }transferFocus() to go to the next screen component works fine - as long as I callsetFocusTraversalPolicyProvider(true); when I create the JTable.
    But the backward traversal just doesn't work - instead it does nothing the first time you press back-tab on row 0 col 0, then if you press it again, focus goes onto the last row/col of the table.
    As an alternative, I thought maybe I could call the Ctrl-back-tab action, but I can't find that registered in the action map - can anyone tell me how ctrl-back-tab is called and whether I can call that code directly?
    Any ideas?
    Thanks,
    Tim

    Where's the rest of your code? What good does posting
    the Actions do if we can't execute your code and see
    how you've installed the Actions on the table? Who
    knows where the mistake is. It may be in the posted
    code or it may be in some other code.Well I assume the Action is registered okay because back-tab within the table works fine, and in fact using a debugger I can see that the focus request code (transferFocusBackward) is being called at the right time. I followed it into that code and it appears that it is picking up the tableCellEditor as the "previous" component which is "why" it isn't working right - not that that helps me to fix it.
    Anyway, just to confirm, here is a complete standalone testcase:import java.awt.Dimension;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.KeyboardFocusManager;
    import java.awt.event.ActionEvent;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusListener;
    import java.awt.event.InputEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.AbstractAction;
    import javax.swing.ActionMap;
    import javax.swing.InputMap;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.KeyStroke;
    * <br>
    * <br>
    * Created on 14/11/2005 by Tim Ryan
    public class TabTable extends JTable implements FocusListener {
         protected KeyStroke TAB = KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0);
         protected KeyStroke BACK_TAB = KeyStroke.getKeyStroke(KeyEvent.VK_TAB,
                   InputEvent.SHIFT_DOWN_MASK);
         protected KeyStroke LEFT_ARROW = KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0);
         protected KeyStroke RIGHT_ARROW = KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0);
         public TabTable(Object[][] rowData, Object[] columnNames) {
              super(rowData, columnNames);
              initialise();
         public TabTable() {
              super();
              initialise();
         private void initialise() {
              addFocusListener(this);
              InputMap inMap = getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
              ActionMap actionMap = getActionMap();
              inMap.put(LEFT_ARROW, "None");
              inMap.put(RIGHT_ARROW, "None");
              actionMap.put(inMap.get(TAB), new TabAction());
              actionMap.put(inMap.get(BACK_TAB), new BackTabAction());
              setCellSelectionEnabled(true);
              putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
              setFocusTraversalPolicyProvider(true);
         public void focusGained(FocusEvent e) {
              if (getRowCount() > 0 && getSelectedRow() < 0) {
                   editCellAt(0, 0);
                   getEditorComponent().requestFocusInWindow();
         public void focusLost(FocusEvent e) {
         public void changeSelection(int row, int column, boolean toggle, boolean extend) {
              super.changeSelection(row, column, toggle, false);
              if (editCellAt(row, column)) {
                   getEditorComponent().requestFocusInWindow();
          * This class handles the back-tab operation on the table.
          * It repeatedly steps the selection backwards until the focus
          * ends up on a cell that is allowable (see <code>isCellTabbable()</code>).
          * If already at the end of the table then focus is transferred out
          * to the previous component on the screen.
         class BackTabAction extends AbstractAction {
              public void actionPerformed(ActionEvent e) {
                   if (getRowCount() > 0) {
                        int row = getSelectedRow();
                        int column = getSelectedColumn();
                        if (row < 0 || column < 0) {
                             row = getRowCount() - 1;
                             column = getColumnCount() - 1;
                        do {
                             if (--column < 0) {
                                  row--;
                                  column = getColumnCount() - 1;
                        } while (row >= 0 && ! isCellTabbable(row, column));
                        if (row >= 0) {
                             changeSelection(row, column, false, false);
                        } else {
                             clearSelection();
                             // transferFocusBackward();
                             KeyboardFocusManager.getCurrentKeyboardFocusManager().focusPreviousComponent();
                   } else {
                        // transferFocusBackward();
                        KeyboardFocusManager.getCurrentKeyboardFocusManager().focusPreviousComponent();
          * This class handles the tab operation on the table.
          * It repeatedly steps the selection forwards until the focus ends
          * up on a cell that is allowable (see <code>isCellTabbable()</code>).
          * If already at the end of the table then focus is transferred out
          * to the next component on the screen.
         class TabAction extends AbstractAction {
              public void actionPerformed(ActionEvent e) {
                   if (getRowCount() > 0) {
                        int row = getSelectedRow();
                        int column = getSelectedColumn();
                        if (row < 0 || column < 0) {
                             row = 0;
                             column = 0;
                        do {
                             if (++column >= getColumnCount()) {
                                  row++;
                                  column = 0;
                        } while (row < getRowCount() && ! isCellTabbable(row, column));
                        if (row < getRowCount()) {
                             changeSelection(row, column, false, false);
                        } else {
                             clearSelection();
                             transferFocus();
                   } else {
                        transferFocus();
          * Some cells can be tabbed to, but are not actually editable.
          * @param row
          * @param column
          * @return
         private boolean isCellTabbable(int row, int column) {
              return (column % 2 == 0);
         public boolean isCellEditable(int row, int column) {
              return (column == 1 || column == 3);
          * @param args
         public static void main(String[] args) {
              JFrame frame = new JFrame("Tables test");
              frame.setName("TablesTest");
              frame.setSize(600, 400);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panelMain = new JPanel(new GridBagLayout());
              frame.add(panelMain);
              Object[][] tableData = new Object[2][6];
              Object[] columnHeadings = new Object[] {"H0", "H1", "H2", "H3", "H4", "H5"};
              GridBagConstraints gbc = new GridBagConstraints();
              gbc.anchor = GridBagConstraints.NORTH;
              gbc.insets = new Insets(10, 10, 10, 10);
              JTextField field1 = new JTextField("left", 8);
              field1.setName("left");
              panelMain.add(field1, gbc);
              Dimension tableSize = new Dimension(300, 300);
              BTTTable table3 = new BTTTable_Editable(tableData, columnHeadings);
              table3.setName("Editable");
              JScrollPane scroll3 = new JScrollPane(table3);
              scroll3.setPreferredSize(tableSize);
              panelMain.add(scroll3, gbc);
              JTextField field2 = new JTextField("right", 8);
              field2.setName("right");
              gbc.gridwidth = GridBagConstraints.REMAINDER;
              panelMain.add(field2, gbc);
              frame.setVisible(true);
    }I thought it might be the focusGained() code, but commenting that out makes no difference.
    And here is the code I would use to go to the
    previous component:
    KeyboardFocusManager.getCurrentKeyboardFocusManager().
    focusPreviousComponent();I tried that too, as you can see from my original post. It gives the same answer.
    So the big question is why does the FocusManager think that the "previous" field to the table is an editor component within the table?
    Regards,
    Tim

  • Af:commandMenuItem action only works first time

    I am using the af:panelPage, and have added a menu1 facet that contains an af:menuTabs component with 3 af:commandMenuItems. I'd like the selection of each tab to invoke a bean 'action', where I'll set some flags that control the rendering of different subviews.
    I really like JDeveloper and ADF Faces... but I must be misunderstanding something basic. It all seems easy, and when I run and select one of the tabs, the correct 'action' is called and all works great. But when I then select a different tab, the 'action' is not called. Nothing happens after this.
    I'm still learning both web-aps and JSF stuff, so hopefully I'm just doing something dumb.
    The .jspx stuff looks like:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:c="http://java.sun.com/jsp/jstl/core"
     xmlns:af="http://xmlns.oracle.com/adf/faces/EA16"
     xmlns:afh="http://xmlns.oracle.com/adf/faces/EA16/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
     doctype-system="http://www.w3.org/TR/html4/loose.dtd"
     doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="try1">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <af:form>
      <af:panelPage binding="#{backing_rmMain.panelPage1}">
        <f:facet name="menu1">
          <af:menuTabs binding="#{backing_rmMain.mainTabsBar}">
            <af:commandMenuItem text="Overview"
              binding="#{backing_rmMain.overviewTab}"
              action="#{backing_rmMain.overviewTabAction}"/>
            <af:commandMenuItem text="Configuration Setup"
              binding="#{backing_rmMain.configTab}"
              action="#{backing_rmMain.configTabAction}"/>
            <af:commandMenuItem text="Results View"
              binding="#{backing_rmMain.resultsTab}"
              action="#{backing_rmMain.resultsTabAction}"/>
          </af:menuTabs>
        </f:facet>
        <f:subview id="overviewPage" rendered="#{backing_rmMain.showOverview}">
          <jsp:include page="/WEB-INF/pages/Overview.jspx"/>
        </f:subview>
        <f:subview id="configPage" rendered="#{backing_rmMain.showConfig}">
          <jsp:include page="/WEB-INF/pages/Config.jspx"/>
        </f:subview>
        etc...
      </af:panelPage>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    The backing bean action handlers simply set some booleans and return (I've tried returning both null and a simple string value... I'm not using navigation rules for this). If I set breakpoints, the action handlers get called, but only for the first selection.
    Thanks for any suggestions or help.
    Don

    After a couple of days of "try this, try that" I've concluded that the problem was caused by the <jsp:include>. As I'm learning, one must be careful when mixing JSF and ADF components, as well as how components are nested within containers.
    I was hoping there would be a way to visually develop a page fragment in one file, and then include it in another file. But I could not find a way to do this.
    What I'm doing for now is:
    1. Create a jspx file for my sub-page (so I can develop it graphically).
    2. Create a jspf fragement file, and include that in my main page using <jsp.directive.include>.
    3. copy/paste from the jspx file to the jspf file to test (but only copy the portion between the <af:form> block.
    Seems to work. I'm open to better suggestions.
    Don

Maybe you are looking for