Somebody help: JSF validation issue

Hi,
It's my first project using JSF. There is a jsp listing customer info with an h:dataTable component, and at the top of the page there is a form with several fields such as name, age and so on therefore the user can add a new customer. The user can edit an existing customer in that form as well, by selecting one of the rows of the dataTable.
The name field is constrained by a required="true" attribute. The problem I encounted was: I clicked the "Add" button with the name field(<h:inputText id="name">) keeping blank, validation failed, and that's what I expected. Then I selected a customer from the dataTable, but the customer info did not appear at the upper form fields, though it seems that a customer had been selected to be updated.
Below are the code snippets of the jsp & backing bean(I'm sorry for the formatting):
<f:view>
       <h:form>
              <h:inputHidden value="#{custBean.editing}"/>
             <h:inputHidden value="#{custBean.selectedId}"/>
            <h:outputLabel for="name" value="Name:"/>
            <h:inputText id="name" value="#{custBean.name}" required="true"/>
           <h:message for="name"/>
           <h:commandButton rendered="#{custBean.editing}" value="Update" action="#{custBean.update}"/>
          <h:commandButton rendered="#{custBean.editing}" value="Cancel" action="#{custBean.cancel}"/>
         <h:commandButton rendered="#{not custBean.editing}" value= "Add" action= "#{custBean.add}"/>
    <h:form>
    <h:form>
         <h:dataTable value="#{csutBean.custModel}" var="cust">
               <h:column>
                        <f:facet name="header">
                               <h:outputText value="Name"/>
                        </f:facet>
                    <h:outputText value="#{cust.name}"/>
              </h:column>
              <h:column>
                      <h:commandButton value="Edit" action="#{custBean.selectForUpdate}" immediate="true"/>
               </h:column>
          </h:dataTable>
    </h:form>
</f:view>
// CustomersBean.java
// imports...
public class CustomersBean extends Object{
        private int selectedId;
        private String name;
        private DataModel custModel;
        public int getSelectedId()
               return selectedId;
        public void setSelectedId(int id)
              selectedId= id;
         public boolean isEditing()
                return editing;
         public void setEditing(boolean editing)
                this.editing= editing;
          public void DataModel getCustModel()
                  if(null== custModel)
                          custModel= new ListDataModel();
                  List<Customer> cl= SomeOtherBean.getCustomers();
                  custModel.setWrappedData(cl);
                  return custModel;
          public void add()
                 Customer cust= new Customer();
                cust.setName(name);
                 SomeOtherBean.add(cust);
               cancel();
         public void update()
                Customer cust= new Customer();
                cust.setId(selectedId);
                cust.setName(name);
                 SomeOtherBean.update(cust);
                 cancel();
          public void selectForUpdate()
                  selectedId= ((Customer)custModel.getRowData).getId();
                   editing= true;
          public void cancel()
                    editing= false;
                   name="";
}

I did not express the issue clearly. It would work well if I revoke the "required" atribute from the "name" inputText. Validation is the root cause I think.
I do have a POJO named Customer to hold the row data, and it could be called a DTO right? The editing property is just a flag indicating user action status. And the selectedId property may be delegated from the id property of the Customer POJO.
Thanks for the interesting article anyway.

Similar Messages

  • Hi.. I keep getting error message " No sim card installed " .. Can somebody help me out in this issue ? please

    This message keeps coming almost now regularly too often .. Please somebody help me how to solve this .. I have tried removing the sim card but it is of no use ..

    Hello henry lfrommiami,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where your iPhone gives you the message "No SIM Card installed" please follow the steps below.
    Update your iPhone to the latest version of iOS.
    Turn airplane mode on and then off again.
    Restart your iPhone.
    Check for a carrier settings update. Go to Settings > General > About. Install any available update.
    Remove the SIM card and make sure that it's a valid SIM that your carrier provided. Also make sure that it's not damaged, worn, or modified. Then reinsert it.
    A SIM tray that comes with one iPhone model won't necessarily work with a different iPhone model. When you insert the correct SIM tray, the SIM tray should be flush with the device.
    If you have another SIM card, insert it. You can use a SIM card from any phone with the same format as your iPhone SIM card. If your iPhone works with that SIM card, contact the carrier that issued your original SIM card.
    Restore the iPhone.
    If you still see the issue, contact Apple support.
    If you see 'No SIM' alert on iPhone
    Cheers,
    Alex H.

  • My account was deleted for security issues. I made a new account, but I can't syncronise my apps with this new account. I bought a new Iphone and would like to transfer the apps ans music on this new one. Can somebody help me?

    My account was deleted for security issues. I made a new account, but I can't syncronise my apps with this new account. I bought a new Iphone and would like to transfer the apps ans music on this new one. Can somebody help me?

    Why would you make a new account?  This will likely cause many problems.  Just get you old account enabled.
    Apple ID: "This Apple ID has been disabled for security reasons" alert appears
    Frequently Asked Questions About Apple ID
    Everything you purchased with the old account will always be tied to that account.  You will have to authorize the computer for that account and you will have to update the apps from that account.

  • Can somebody help me in finding a solution or an explanation to the problem I am currently experiencing as well as others wherein we cannot connect to the iTunes store (iTunes could not connect to the store. An unknown error occurred (0x80096004))?

    Can somebody help me in finding a solution or an explanation to the problem I am currently experiencing as well as others wherein we cannot connect to the iTunes store. An error message appears and either says "iTunes could not connect to the store. An unknown error occurred (0x80096004). Make sure your network connection is active and try again" or "iTunes could not connect to the store.Make sure your network connection is active and try again." Despite the fact that my network connection is working quite fine, this problem still persists. I can say that my connection is fine because I can surf the internet and furthermore, I used to connect to the iTunes store just before this incident happened which started from April 17, 2014 and persists until today. I tried to solve the problem by following the troubleshoot procedures given in the support section of this site but it really did not solve the problem. I believe that others are experiencing this situation as well very similar to mine when it comes to the time of occurrence as I have read in the discussions in this site. Even though we have different network connections, operating systems and other specifications, we still experience the same problem, so is there really a problem with our computers or is it with the iTunes? And by the way, my computer works under Windows XP. Thanks a lot. God bless.

    Try this...
    Triple click anywhere in the line below to select it and press Ctrl+C to copy it.
    cmd /k netsh winsock reset
    Press the WinLogoKey+R to open the run dialog, then Ctrl+V to paste, then press enter/return.
    You should get something similar to this:
    Reboot the computer and the problem should be resolved.
    If it doesn't work then perhaps a full tear down and rebuild of iTunes will fix things. See Troubleshooting issues with iTunes for Windows updates for details.
    tt2

  • I drained my ipad's battery and trying to charge it. but it won't turn on. i tried it overnight but still the ipad is dead. can somebody help me?

    i drained my ipad's battery and trying to charge it. but it won't turn on. i tried it overnight but still the ipad is dead. can somebody help me?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • HT204380 Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    I have the same problem. FaceTime works fine on my iMac but when trying to use FaceTime on my Macbook Air, I have the same issue you describe.

  • Using Tabs in Generated Pages - Validation Issue

    Hi,
    We're using JHS 10.1.3.0.97 and are using the "stacked" regions functionality
    to make the form less cluttered.
    The problem we're having now is that whenever a user wants to
    view the items on a tab (that is not currently the selected one),
    a validation issue is thrown saying that all the mandatory fields need to be entered first.
    Is there a way to avoid this message and postpone the validation until the
    user clicks on the "Save" button?
    Regards,
    Cliff

    Cliff,
    I am sorry, in the 10.1.3.1 release we switch off server-side model validation on a partial page request.
    It is not possible to switch off the client-side validation, because the only way to do this, is by setting immediate=true on the tabs. However, with this setting JSF will skip the Model Update phase, which means that any changes you made to the tab region you are going to leave by clicking another tab, would be lost.
    The only alternative is by creatign a custom templates and generating the required items with showRequired="true" instead of required="true" which means required items are never checked client-side.
    Steven Davelaar,
    JHeadstart Team.

  • Noise problem when I look at pictures in full size (or smaller) on monitor. If I enlarge pictures the noise is gone. ??? Can somebody help? Thank you

    I have a noise problem when I look at pictures in full size (or smaller) on monitor. If I enlarge pictures the noise is gone. ??? Can somebody help? Thank you

    How useful screenshots might be in illustrating an issue pertaining to the screen display in comparison to a merely verbal description!
    Does turning off »Use Graphics Processor« in the Performance Preferences and restarting Photoshop have any bearing on the issue?
    What are your Performance Preferences?
    Please read these and proceed accordingly:
    Best practices: Usage | Adobe Community
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html

  • Validator issue

    Hi Gurus,
    I have a list which has say 2 elements say 'X', 'Y'.
    When i select X i display input component iinp1, inp2 - both are marked as required
    When i select Y i display input component int3,inp4 - both are marked as required
    I have a save button.
    Scenario :
    I select Element X from the list. My page shows input 1, inp2.
    Now i don't enter anything and select Y from the list.
    Issue: Elements don't change as jsf validator fires. So i have to enter value in inp1,inp2 then only they r hidden and inp3, inp4 are shown
    How to handle this scenario ?
    thns

    @Nikhil Gokhale : Tried using your code .. FacesContext.getCurrentInstance().renderResponse(); skips PPR so nothing happens
    btw my code is as asked
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelHeader text="Party" id="ph1">
        <f:facet name="toolbar">
          <af:toolbar id="t2">
            <af:commandToolbarButton text="Save and Create Activity" id="ctb1"
                                     action="#{PartyAndOpportunityPageBean.saveAndCreateActivityListener}"
                                     rendered="false"/>
            <af:commandToolbarButton text="Save and Close" id="ctb3"
                                     action="#{PartyAndOpportunityPageBean.saveAndCloseListener}"/>
            <af:commandToolbarButton text="Cancel" id="ctb2" action="close"
                                     immediate="true"/>
          </af:toolbar>
        </f:facet>
        <af:panelGroupLayout id="pgl1" inlineStyle="width:992px;"
                             layout="horizontal" valign="top">
          <af:showDetailHeader text="Party" disclosed="true" id="sdh1"
                               inlineStyle="height:340px;">
            <af:panelFormLayout id="pfl2" partialTriggers="partyTypeId">
              <af:selectOneChoice value="#{bindings.PartyType.inputValue}"
                                  label="#{bindings.PartyType.label}"
                                  required="#{bindings.PartyType.hints.mandatory}"
                                  shortDesc="#{bindings.PartyType.hints.tooltip}"
                                  id="partyTypeId" autoSubmit="true"
                                  immediate="true" valuePassThru="true"
                                  readOnly="#{pageFlowScope.partyId!=null}"
                                  valueChangeListener="#{PartyAndOpportunityPageBean.changePartyType}">
                <f:selectItems value="#{bindings.PartyType.items}" id="si4"/>
              </af:selectOneChoice>
              <af:inputText value="#{bindings.PartyName.inputValue}"
                            label="#{bindings.PartyName.hints.label}"
                            columns="#{bindings.PartyName.hints.displayWidth}"
                            maximumLength="#{bindings.PartyName.hints.precision}"
                            shortDesc="#{bindings.PartyName.hints.tooltip}" id="it3"
                            rendered="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                            partialTriggers="partyTypeId"
                            readOnly="#{pageFlowScope.partyId!=null}"
                            required="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}">
                <f:validator binding="#{bindings.PartyName.validator}"/>
              </af:inputText>
              <af:selectOneChoice value="#{bindings.PersonPreNameAdjunct.inputValue}"
                                  label="#{bindings.PersonPreNameAdjunct.label}"
                                  required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                  shortDesc="#{bindings.PersonPreNameAdjunct.hints.tooltip}"
                                  id="personPreNameAdjunctId"
                                  rendered="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                  readOnly="#{pageFlowScope.partyId!=null}">
                <f:selectItems value="#{bindings.PersonPreNameAdjunct.items}"
                               id="si5"/>
              </af:selectOneChoice>
              <af:inputText value="#{bindings.PersonFirstName.inputValue}"
                            label="#{bindings.PersonFirstName.hints.label}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                            columns="#{bindings.PersonFirstName.hints.displayWidth}"
                            maximumLength="#{bindings.PersonFirstName.hints.precision}"
                            shortDesc="#{bindings.PersonFirstName.hints.tooltip}"
                            id="it4"
                            rendered="#{bindings.PartyType1.inputValue == 'PERSON'}"
                            readOnly="#{pageFlowScope.partyId!=null}">
                <f:validator binding="#{bindings.PersonFirstName.validator}"/>
              </af:inputText>
              <af:inputText value="#{bindings.PersonLastName.inputValue}"
                            label="#{bindings.PersonLastName.hints.label}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                            columns="#{bindings.PersonLastName.hints.displayWidth}"
                            maximumLength="#{bindings.PersonLastName.hints.precision}"
                            shortDesc="#{bindings.PersonLastName.hints.tooltip}"
                            id="it5"
                            rendered="#{bindings.PartyType1.inputValue == 'PERSON'}"
                            readOnly="#{pageFlowScope.partyId!=null}">
                <f:validator binding="#{bindings.PersonLastName.validator}"/>
              </af:inputText>
              <af:panelLabelAndMessage label="Land Line" id="plam1"
                                       rendered="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                       showRequired="true">
                <af:panelGroupLayout id="pgl4" layout="horizontal">
                  <af:selectOneChoice value="#{bindings.FixCountryCode.inputValue}"
                                      label="#{bindings.FixCountryCode.label}"
                                      required="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                      shortDesc="#{bindings.FixCountryCode.hints.tooltip}"
                                      id="soc9" simple="true">
                    <f:selectItems value="#{bindings.FixCountryCode.items}"
                                   id="si15"/>
                  </af:selectOneChoice>
                  <af:selectOneChoice value="#{bindings.FixAreaCode.inputValue}"
                                      label="#{bindings.FixAreaCode.label}"
                                      required="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                      shortDesc="#{bindings.FixAreaCode.hints.tooltip}"
                                      id="soc10" simple="true">
                    <f:selectItems value="#{bindings.FixAreaCode.items}" id="si16"/>
                  </af:selectOneChoice>
                  <af:inputText value="#{bindings.FixPhoneNumber.inputValue}"
                                label="#{bindings.FixPhoneNumber.hints.label}"
                                required="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                columns="7" maximumLength="7"
                                shortDesc="#{bindings.FixPhoneNumber.hints.tooltip}"
                                id="it17" simple="true">
                    <f:validateLength minimum="7" maximum="7"/>
                    <f:validator binding="#{bindings.FixPhoneNumber.validator}"
                                 validatorId="javax.faces.Length"/>
                  </af:inputText>
                </af:panelGroupLayout>
              </af:panelLabelAndMessage>
              <af:panelLabelAndMessage label="Mobile" id="plam2"
                                       rendered="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                       showRequired="true">
                <af:panelGroupLayout id="pgl3" layout="horizontal"
                                     rendered="#{bindings.PartyType1.inputValue == 'PERSON'}">
                  <af:selectOneChoice value="#{bindings.PrimaryPhoneCountryCode.inputValue}"
                                      label="#{bindings.PrimaryPhoneCountryCode.label}"
                                      required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                      shortDesc="#{bindings.PrimaryPhoneCountryCode.hints.tooltip}"
                                      id="primaryPhoneCountryCodeId" simple="true"
                                      readOnly="#{pageFlowScope.partyId!=null}">
                    <f:selectItems value="#{bindings.PrimaryPhoneCountryCode.items}"
                                   id="si6"/>
                  </af:selectOneChoice>
                  <af:selectOneChoice value="#{bindings.PrimaryPhoneAreaCode.inputValue}"
                                      label="#{bindings.PrimaryPhoneAreaCode.label}"
                                      required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                      shortDesc="#{bindings.PrimaryPhoneAreaCode.hints.tooltip}"
                                      id="primaryPhoneAreaCodeId" simple="true"
                                      readOnly="#{pageFlowScope.partyId!=null}">
                    <f:selectItems value="#{bindings.PrimaryPhoneAreaCode.items}"
                                   id="si7"/>
                  </af:selectOneChoice>
                  <af:inputText value="#{bindings.PrimaryPhoneNumber.inputValue}"
                                label="#{bindings.PrimaryPhoneNumber.hints.label}"
                                required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                columns="7" maximumLength="7"
                                shortDesc="#{bindings.PrimaryPhoneNumber.hints.tooltip}"
                                id="it6" simple="true"
                                readOnly="#{pageFlowScope.partyId!=null}">
                                <f:validateLength minimum="7" maximum="7"/>
                    <f:validator binding="#{bindings.PrimaryPhoneNumber.validator}"/>
                  </af:inputText>
                </af:panelGroupLayout>
              </af:panelLabelAndMessage>
              <af:inputText value="#{bindings.EmailAddress.inputValue}"
                            label="#{bindings.EmailAddress.hints.label}"
                            columns="#{bindings.EmailAddress.hints.displayWidth}"
                            maximumLength="#{bindings.EmailAddress.hints.precision}"
                            shortDesc="#{bindings.EmailAddress.hints.tooltip}"
                            id="it7" readOnly="#{pageFlowScope.partyId!=null}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}">
                <f:validator binding="#{bindings.EmailAddress.validator}"/>
              </af:inputText>
              <af:inputText value="#{bindings.Address1.inputValue}"
                            label="#{bindings.Address1.hints.label}"
                            columns="#{bindings.Address1.hints.displayWidth}"
                            maximumLength="#{bindings.Address1.hints.precision}"
                            shortDesc="#{bindings.Address1.hints.tooltip}" id="it8"
                            readOnly="#{pageFlowScope.partyId!=null}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}">
                <f:validator binding="#{bindings.Address1.validator}"/>
              </af:inputText>
              <af:inputText value="#{bindings.PostalCode.inputValue}"
                            label="#{bindings.PostalCode.hints.label}"
                            columns="#{bindings.PostalCode.hints.displayWidth}"
                            maximumLength="#{bindings.PostalCode.hints.precision}"
                            shortDesc="#{bindings.PostalCode.hints.tooltip}"
                            id="it22" readOnly="#{pageFlowScope.partyId!=null}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}">
                  <f:validateLength minimum="3" maximum="5"/>
                <f:validator binding="#{bindings.PostalCode.validator}"/>
              </af:inputText>
              <af:selectOneChoice value="#{bindings.Country.inputValue}"
                                  label="#{bindings.Country.label}"
                                  shortDesc="#{bindings.Country.hints.tooltip}"
                                  id="countryId"
                                  readOnly="#{pageFlowScope.partyId!=null}"
                                  required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}">
                <f:selectItems value="#{bindings.Country.items}" id="si8"/>
              </af:selectOneChoice>
            </af:panelFormLayout>
          </af:showDetailHeader>
          <af:spacer width="10" height="10" id="s1"/>
          <af:showDetailHeader text="Opportunity" disclosed="true" id="sdh2">
            <af:panelFormLayout id="pfl4" partialTriggers="partyTypeId">
              <af:inputText value="#{bindings.OpportunityName.inputValue}"
                            label="#{bindings.OpportunityName.hints.label}"
                            required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                            columns="#{bindings.OpportunityName.hints.displayWidth}"
                            maximumLength="#{bindings.OpportunityName.hints.precision}"
                            shortDesc="#{bindings.OpportunityName.hints.tooltip}"
                            id="it1">
                <f:validator binding="#{bindings.OpportunityName.validator}"/>
              </af:inputText>
              <af:selectOneChoice value="#{bindings.ExistingCar1.inputValue}"
                                  label="#{bindings.ExistingCar1.label}"
                                  required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                  shortDesc="#{bindings.ExistingCar1.hints.tooltip}"
                                  id="soc3"
                                  rendered="#{bindings.PartyType1.inputValue == 'PERSON'}">
                <f:selectItems value="#{bindings.ExistingCar1.items}" id="si3"/>
              </af:selectOneChoice>
              <af:selectOneChoice value="#{bindings.MediaName.inputValue}"
                                  label="#{bindings.MediaName.label}"
                                  required="#{bindings.PartyType1.inputValue == 'PERSON' or bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                  shortDesc="#{bindings.MediaName.hints.tooltip}"
                                  id="soc1">
                <f:selectItems value="#{bindings.MediaName.items}" id="si1"/>
              </af:selectOneChoice>
              <af:selectOneChoice value="#{bindings.PurchaseType.inputValue}"
                                  label="#{bindings.PurchaseType.label}"
                                  shortDesc="#{bindings.PurchaseType.hints.tooltip}"
                                  id="soc2" required="true">
                <f:selectItems value="#{bindings.PurchaseType.items}" id="si2"/>
              </af:selectOneChoice>
              <af:selectOneChoice value="#{bindings.CustomerCategory.inputValue}"
                                  label="#{bindings.CustomerCategory.label}"
                                  required="#{bindings.PartyType1.inputValue == 'PERSON'}"
                                  shortDesc="#{bindings.CustomerCategory.hints.tooltip}"
                                  id="customerCategoryId"
                                  rendered="#{bindings.PartyType1.inputValue == 'PERSON'}">
                <f:selectItems value="#{bindings.CustomerCategory.items}" id="si9"/>
              </af:selectOneChoice>
              <af:panelLabelAndMessage id="plam3" label="Contact Person"
                                       rendered="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                                       showRequired="true">
                <af:panelGroupLayout id="pgl2" layout="horizontal">
                  <af:selectOneChoice label="Contact Person" id="soc8"
                                      simple="true">
                    <f:selectItems value="" id="si14"/>
                  </af:selectOneChoice>
                  <af:commandButton text="New Contact" id="cb1"
                                    actionListener="#{bindings.CreateInsertContact.execute}">
                    <af:showPopupBehavior popupId="newContact" triggerType="action"
                                          align="endAfter"/>
                  </af:commandButton>
                </af:panelGroupLayout>
              </af:panelLabelAndMessage>
            </af:panelFormLayout>
            <af:spacer width="10" height="10" id="s2"/>
            <af:popup id="newContact" contentDelivery="immediate">
              <af:dialog id="d1"
                         dialogListener="#{PartyAndOpportunityPageBean.onDialogAction}">
                <af:panelFormLayout id="pfl1">
                  <af:selectOneChoice value="#{bindings.PersonTitle.inputValue}"
                                      label="#{bindings.PersonTitle.label}"
                                      required="#{bindings.PersonTitle.hints.mandatory}"
                                      shortDesc="#{bindings.PersonTitle.hints.tooltip}"
                                      id="soc6">
                    <f:selectItems value="#{bindings.PersonTitle.items}" id="si13"/>
                  </af:selectOneChoice>
                  <af:inputText value="#{bindings.PersonFirstName1.inputValue}"
                                label="#{bindings.PersonFirstName1.hints.label}"
                                required="#{bindings.PersonFirstName1.hints.mandatory}"
                                columns="#{bindings.PersonFirstName1.hints.displayWidth}"
                                maximumLength="#{bindings.PersonFirstName1.hints.precision}"
                                shortDesc="#{bindings.PersonFirstName1.hints.tooltip}"
                                id="it10">
                    <f:validator binding="#{bindings.PersonFirstName1.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.PersonLastName1.inputValue}"
                                label="#{bindings.PersonLastName1.hints.label}"
                                required="#{bindings.PersonLastName1.hints.mandatory}"
                                columns="#{bindings.PersonLastName1.hints.displayWidth}"
                                maximumLength="#{bindings.PersonLastName1.hints.precision}"
                                shortDesc="#{bindings.PersonLastName1.hints.tooltip}"
                                id="it11">
                    <f:validator binding="#{bindings.PersonLastName1.validator}"/>
                  </af:inputText>
                  <af:selectOneChoice value="#{bindings.CountryCode.inputValue}"
                                      label="#{bindings.CountryCode.label}"
                                      required="#{bindings.CountryCode.hints.mandatory}"
                                      shortDesc="#{bindings.CountryCode.hints.tooltip}"
                                      id="soc4">
                    <f:selectItems value="#{bindings.CountryCode.items}" id="si10"/>
                  </af:selectOneChoice>
                  <af:selectOneChoice value="#{bindings.AreaCode.inputValue}"
                                      label="#{bindings.AreaCode.label}"
                                      required="#{bindings.AreaCode.hints.mandatory}"
                                      shortDesc="#{bindings.AreaCode.hints.tooltip}"
                                      id="soc5">
                    <f:selectItems value="#{bindings.AreaCode.items}" id="si11"/>
                  </af:selectOneChoice>
                  <af:inputText value="#{bindings.PhoneNumber.inputValue}"
                                label="#{bindings.PhoneNumber.hints.label}"
                                required="#{bindings.PhoneNumber.hints.mandatory}"
                                columns="#{bindings.PhoneNumber.hints.displayWidth}"
                                maximumLength="#{bindings.PhoneNumber.hints.precision}"
                                shortDesc="#{bindings.PhoneNumber.hints.tooltip}"
                                id="it14">
                    <f:validator binding="#{bindings.PhoneNumber.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.EmailAddress1.inputValue}"
                                label="#{bindings.EmailAddress1.hints.label}"
                                required="#{bindings.EmailAddress1.hints.mandatory}"
                                columns="#{bindings.EmailAddress1.hints.displayWidth}"
                                maximumLength="#{bindings.EmailAddress1.hints.precision}"
                                shortDesc="#{bindings.EmailAddress1.hints.tooltip}"
                                id="it9">
                    <f:validator binding="#{bindings.EmailAddress1.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.Address.inputValue}"
                                label="#{bindings.Address.hints.label}"
                                required="#{bindings.Address.hints.mandatory}"
                                columns="#{bindings.Address.hints.displayWidth}"
                                maximumLength="#{bindings.Address.hints.precision}"
                                shortDesc="#{bindings.Address.hints.tooltip}"
                                id="it13">
                    <f:validator binding="#{bindings.Address.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.PostalCode1.inputValue}"
                                label="#{bindings.PostalCode1.hints.label}"
                                required="#{bindings.PostalCode1.hints.mandatory}"
                                columns="#{bindings.PostalCode1.hints.displayWidth}"
                                maximumLength="#{bindings.PostalCode1.hints.precision}"
                                shortDesc="#{bindings.PostalCode1.hints.tooltip}"
                                id="it12">
                    <f:validator binding="#{bindings.PostalCode1.validator}"/>
                  </af:inputText>
                  <af:selectOneChoice value="#{bindings.Emirate.inputValue}"
                                      label="#{bindings.Emirate.label}"
                                      required="#{bindings.Emirate.hints.mandatory}"
                                      shortDesc="#{bindings.Emirate.hints.tooltip}"
                                      id="soc7">
                    <f:selectItems value="#{bindings.Emirate.items}" id="si12"/>
                  </af:selectOneChoice>
                </af:panelFormLayout>
              </af:dialog>
            </af:popup>
            <af:showDetailHeader text="Interested Models" disclosed="true"
                                 id="sdh3">
              <af:panelCollection id="pc1">
                <af:table value="#{bindings.InterestedModel1.collectionModel}"
                          var="row" rows="#{bindings.InterestedModel1.rangeSize}"
                          emptyText="#{bindings.InterestedModel1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.InterestedModel1.rangeSize}"
                          rowBandingInterval="0"
                          filterModel="#{bindings.InterestedModel1Query.queryDescriptor}"
                          queryListener="#{bindings.InterestedModel1Query.processQuery}"
                          filterVisible="true" varStatus="vs"
                          selectionListener="#{bindings.InterestedModel1.collectionModel.makeCurrent}"
                          id="t1" columnStretching="column:c2"
                          partialTriggers=":::partyTypeId :::ctb3"
                          rowSelection="multiple" contentDelivery="immediate">
                  <af:column id="c5" width="12" rowHeader="true"/>
                  <af:column sortProperty="Selected" sortable="true"
                             headerText="#{bindings.InterestedModel1.hints.Selected.label}"
                             id="c3" rendered="false">
                    <af:selectBooleanCheckbox value="#{row.bindings.Selected.inputValue}"
                                              label="#{row.bindings.Selected.label}"
                                              shortDesc="#{bindings.InterestedModel1.hints.Selected.tooltip}"
                                              id="sbc1"/>
                  </af:column>
                  <af:column sortProperty="RangeDescription" filterable="true"
                             sortable="true"
                             headerText="#{bindings.InterestedModel1.hints.RangeDescription.label}"
                             id="c2">
                    <af:inputText value="#{row.bindings.RangeDescription.inputValue}"
                                  label="#{bindings.InterestedModel1.hints.RangeDescription.label}"
                                  required="#{bindings.InterestedModel1.hints.RangeDescription.mandatory}"
                                  columns="#{bindings.InterestedModel1.hints.RangeDescription.displayWidth}"
                                  maximumLength="#{bindings.InterestedModel1.hints.RangeDescription.precision}"
                                  shortDesc="#{bindings.InterestedModel1.hints.RangeDescription.tooltip}"
                                  id="it15">
                      <f:validator binding="#{row.bindings.RangeDescription.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="RangeCode" filterable="true"
                             sortable="true"
                             headerText="#{bindings.InterestedModel1.hints.RangeCode.label}"
                             id="c4">
                    <af:inputText value="#{row.bindings.RangeCode.inputValue}"
                                  label="#{bindings.InterestedModel1.hints.RangeCode.label}"
                                  required="#{bindings.InterestedModel1.hints.RangeCode.mandatory}"
                                  columns="#{bindings.InterestedModel1.hints.RangeCode.displayWidth}"
                                  maximumLength="#{bindings.InterestedModel1.hints.RangeCode.precision}"
                                  shortDesc="#{bindings.InterestedModel1.hints.RangeCode.tooltip}"
                                  id="it16">
                      <f:validator binding="#{row.bindings.RangeCode.validator}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="Quantity" filterable="true"
                             sortable="true"
                             headerText="#{bindings.InterestedModel1.hints.Quantity.label}"
                             id="c1">
                    <af:inputText value="#{row.bindings.Quantity.inputValue}"
                                  label="#{bindings.InterestedModel1.hints.Quantity.label}"
                                  required="#{bindings.InterestedModel1.hints.Quantity.mandatory}"
                                  columns="#{bindings.InterestedModel1.hints.Quantity.displayWidth}"
                                  maximumLength="#{bindings.InterestedModel1.hints.Quantity.precision}"
                                  shortDesc="#{bindings.InterestedModel1.hints.Quantity.tooltip}"
                                  id="it2" autoSubmit="true">
                      <f:validator binding="#{row.bindings.Quantity.validator}"/>
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.InterestedModel1.hints.Quantity.format}"/>
                    </af:inputText>
                  </af:column>
                </af:table>
              </af:panelCollection>
            </af:showDetailHeader>
          </af:showDetailHeader>
        </af:panelGroupLayout>
      </af:panelHeader>
    </jsp:root>

  • How does iOS 8.1 works in iPhone 5??? Pls somebody help me. I want to upgrade.

    How does iOS 8.1 works in iPhone 5??? Pls somebody help me. I want to upgrade To 8.1

    AM upgrading thru wifi. But thats not my issue. My question is after the upgrade will my iPhone 5 will become slow.
    AM worrying about the performance of my phone after i upgraded to iOS 8.1
    plS help me
    thanks

  • Can somebody help in getting a sample code to upload a csv file

    Can somebody help in getting a sample code to upload csv file from folder every 30 minutes that will update a particular record in crm ondemand

    Hi,
    I'm sorry but I do not have a code sample which performs the scenario you have described below. The samples I did provide are meant to illustrate the use of CRM On Demand Web Services and can be used as a guide to those developing integrations.
    If you have specific questions or issues that arise during the development of your integration please don't hesitate to post them, however, I would recommend that you contact Oracle Consulting Services or one of the many system integrators who actively develop applications which integrate with CRMOD if you require more in-depth assistance.
    Thanks,
    Sean

  • Somebody help me out here!!!!!!! I cant figure out how to play games on mac

    evertime i put a pc game in it asks me to look for a file to open it and its onlys the system profiler and it dont work how the **** do you play games on the mac book pRO!!somebody help me out it!!!!

    The issue is that you are attempting to run software written for one operating system (Microsoft Windows) on another (Mac OS X). That doesn't work... However, that doesn't mean you're out of luck:
    1. Many popular PC games also happen to be available native for the Mac. Check if the particular games you want to play have a native Mac version. If they do, using that is best since it's easier to install and use and will perform best.
    2. Failing that, you can actually run Windows on the Mac in order to run the game. There are two supported methods to do this: dual-booting (selecting which environment to use when you start the computer), or virtualization (running Windows as an OS X application).
    For games, particularly ones heavily reliant on 3D graphics, dual-boot is currently the best option. This is accomplished using an application called "Boot Camp" (search the Apple site) to setup disk space for the two operating systems and installing a menu that appears when you boot where you can select which operating system to run. Any Windows game will run in this way (assuming you otherwise meet the hardware requirements of the game).
    The alternative is virtualization, and there are two packages for that: Parallels and VMWare Fusion (in beta testing). Both will eventually support hardware accelerated 3D, but its not really functional in either yet. However, these applications run Windows as an application under Mac OS X, meaning that you can be running the Windows and Mac OS X applications at the same time (as opposed to Boot Camp, where you have to select at boot time which to run).
    Note that all of the approaches require you to have a copy of Windows to install (preferably a legally licensed one). Most people don't have a copy to use since they receive a hardware-locked OEM version with their computer that isn't transferable.
    The advice above is applicable to Linux as well.

  • Can somebody help me ......

    my iPhone4 suddenly can't on again .... (something like hang ) but in the centre shown a circle moving ( lookslike when we start on the iPhone )    can somebody help me how to solve this issue ?  thanks

    Basics from the manual are restart, reset, restore.
    Have you tried all of these?

  • Hi, my illustrator CS5 freezes at startup. It was working properly till last friday, now i cannot open it. ¿can somebody help me?

    Hi, my illustrator CS5 freezes at startup. It was working properly till last friday, now i cannot open it. ¿can somebody help me?

    Leo,
    You may try the list (5) being less likely).
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Please can somebody help, my imac will not start up, just chimes, apple sign then spinning cog. I have tried many key codes, no success, would really like to talk to someone.

    please can somebody help, my imac will not start up, just chimes, apple sign then spinning cog. I have tried many key codes, no success, would really like to talk to someone.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.fpsaud com.apple.AirPortBaseStationAgent com.apple.installer.osmessagetracing ' ' 1274181950 464843899 1233118628 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { split("'"${p[41]}"'",b);for(i in b) print b[i];if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { split("'"${p[41]}"'",b);for(i in b) print b[i]".plist";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|(Bo|PO).+ sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test osascript\ -e );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:|suhel| VALI|ver-r|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for

  • I cannot play AVI after upgrading to Lion

    After a seamless upgrade I now find that Quicktime no longer plays AVI files. I have Flip 4 Mac and Perian installed but now neither of them seems to do the trick as they did in Snow Leopard. Any thought would be appreciated.

  • Error while changing standard application

    I am making some changes in standard Leave Application. It's reflecting some Error saying 1. The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.aii.proxy.framework.core.AbstractProxy. Fix the classpath

  • Upgrade EPSON driver (C2800): text no longer prints from preview

    Hi, After installing the new EPSON driver under Lion, I can no longer print PDF's from Preview correctly. When I print a file, only the graphics are printed, the text is not present. I have tried printing several different documents, I have reinstall

  • Data Log File Refnum Type Def Bug??

    Hello, I just found some quirky behaviour (LV 7.1.1): 1. In the attached LLB, open "RefnumVI.vi" 2. Select the Data Log File Refnum control and open it for editing (Edit - Customize Control ... from the menu) 3. Close "RefnumVI.vi" but leave "Refnum.

  • Making a portfolio

    After reading and webbing i have been able to make a portfolio website with FC. To be honest i had great help with the following video: http://www.mefeedia.com/watch/29467374 But (why o why is there always a 'but' ) it seems that FC has a transition