Selectitems populated in action and validation issue

I have a SelectOneMenu populated using an action because its values depends on a submitted input text value.
On first submit the action is invoked and the submitted input text value is used to fetch selectitems values, on next submit I receive a validation error because the getter of the selectitems does not returns the same list during the apply request values phase as it did during the render response of the previous request.
I solved restoring the list of value from request to request using a Tomahawk savestate component,
any other workaround?
Thank you

I mean that you need <h:inputHidden binding="#{bean.hidden}" /> and use HtmlInputHidden#get/setValue() in your bean. The setter of a bound component won't be called in subsequent requests. Use lazy loading in the getter of the list.

Similar Messages

  • OnSubmit and validation issue

    This is my first time posting here and I am new to CF. I took
    and passed a figleaf course on Cold Fusion and have some other
    programing background.
    The issue that I cannot seem to resolve has to do with
    onSubmit. Here is some very basic code straight out of my Fast
    Track to CF class...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Insert Artist Form</title>
    </head>
    <body>
    <h2>Insert an Artist</h2>
    <cfform name="insArtist">
    First Name:
    <cfinput type="text" name="FirstName" maxlength="20"
    required="yes" message="Please input an artist first name."
    validateat="onserver" /><br/>
    Last Name:
    <cfinput type="text" name="LastName" maxlength="20"
    required="yes" message="Please input an artist last name."
    validateat="onsubmit" /><br/>
    <cfinput type="submit" name="Insert" value="Insert Artist"
    />
    </cfform>
    </body>
    </html>
    When I leave the fields blank the onServer message does come
    up.
    If I take out first name and try to verify only Last Name I
    can click as much as I like on the Submit button but the alert
    never comes up with the message "Please input an artist last name."
    I have set up a system using XP SP3 and the same issue
    happens on Firefox 3.0.3 or IE 7.
    I am using CFEclipse, Apache, and CF8. I have Virtual Hosts
    set up for my sandbox.
    Please let me know if any other information is needed.
    Thanks for your help.
    Dave

    Error Console in Firefox specifies this line as a problem...
    if( !_CF_hasValue(_CF_this['LastName'], "TEXT", false ) )
    This is code that is generated by CF on the fly though.. All
    I'm doing is setting onSubmit.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head><script type="text/javascript"
    src="/CFIDE/scripts/cfform.js"></script>
    <script type="text/javascript"
    src="/CFIDE/scripts/masks.js"></script>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Insert Artist Form</title>
    <script type="text/javascript">
    if (window.ColdFusion)
    ColdFusion.required['FirstName']=true;
    </script>
    <script type="text/javascript">
    if (window.ColdFusion) ColdFusion.required['LastName']=true;
    </script>
    <script type="text/javascript">
    <!--
    _CF_checkinsArtist = function(_CF_this)
    //reset on submit
    _CF_error_exists = false;
    _CF_error_messages = new Array();
    _CF_error_fields = new Object();
    _CF_FirstErrorField = null;
    //form element LastName required check
    if( !_CF_hasValue(_CF_this['LastName'], "TEXT", false ) )
    _CF_onError(_CF_this, "LastName",
    _CF_this['LastName'].value, "Please input an artist last name.");
    _CF_error_exists = true;
    //display error messages and return success
    if( _CF_error_exists )
    if( _CF_error_messages.length > 0 )
    // show alert() message
    _CF_onErrorAlert(_CF_error_messages);
    // set focus to first form error, if the field supports js
    focus().
    if( _CF_this[_CF_FirstErrorField].type == "text" )
    { _CF_this[_CF_FirstErrorField].focus(); }
    return false;
    }else {
    return true;
    //-->
    </script>
    </head>
    <body>
    <h2>Insert an Artist</h2>
    <form name="insArtist" id="insArtist"
    action="/content/contactnew.cfm" method="post" onsubmit="return
    _CF_checkinsArtist(this)">
    <!-- First Name:
    <input name="FirstName" id="FirstName" type="text"
    maxlength="20" /><br/> -->
    Last Name:
    <input name="LastName" id="LastName" type="text"
    maxlength="20" /><br/>
    <input name="Insert" id="Insert" type="submit"
    value="Insert Artist" /> <input type='hidden'
    name='FirstName_CFFORMREQUIRED' value='Please input an artist first
    name.'>
    </form>
    </body>
    </html>

  • OAF Personalization and Validation Issue

    hi Gurus and Experts
    Lets say I have my lines contain following attributes, and I have following users (User-Cre, User-LA)
    User-Cre > LinesId
    User-Cre > LinesNumber
    User-Cre > ItemCategory
    User-Cre > ItemId
    User-Cre > RequestedQty
    User-LA > SanctionedQty
    User-LA > LPQty
    User-LA > AuthorityLetterNumber
    User-LA > Remarks
    I have mentioned the fields filled by respective user. I want fields to be shown to relevant users only, for example last 4 fields should not be shown to "User-Cre" and first five fields should not be shown to "User-LA". I guess I can achieve it through OAF personalization using SPEL. Problem is I have some validation on both sets of attributes. I want to know that if validations will be fired on User-LA related attributes when these fields will not be rendered using OAF Personalization ? Kindly explain it deeply so that my understanding become clear. If there exist any coding then please write it here and please give some more smart techniques to do so. Many many thanks in advance
    Regards

    Hi,
    I have mentioned the fields filled by respective user. I want fields to be shown to relevant users only, for example last 4 fields should not be shown to "User-Cre" and first five fields should not be shown to "User-LA". I guess I can achieve it through OAF personalization using SPEL. Problem is I have some validation on both sets of attributes. I want to know that if validations will be fired on User-LA related attributes when these fields will not be rendered using OAF Personalization ? Kindly explain it deeply so that my understanding become clear. If there exist any coding then please write it here and please give some more smart techniques to do so. Many many thanks in advances
    You can achieve this requirement by using SPELL for the following columns. You can set those columns rendered = false //by SPELL
    Even though you will set it rendered false, all the validation will get fired related to those field. Try to find out whether there is any validation for the given columns. If there is some sort of validations done then you need to go for overriding Validation methods.
    Regards,
    Gyan

  • I'm having an issue displaying a button using advanced actions and rollover slidelets.

    I'm having an issue getting a button to display after the learner places his mouse over three different rollover slidelets which are all on the same slide. I created three variables and assigned each to the rollover slidelets. I also created a conditional action that I assigned to the slide. The variables are set to zero and then the action is to assign the variable with 1 after it's rolled over. The conditional action says that once all three variables are equal to 1, show the button and continue. Unfortunately the button is not displaying after the three rollovers have been viewed. Any insight?

    I can only suspect what is going wrong, it would have been a lot easier if you did show those actions.
    My suspicion is due to this sentence '... a conditional action that I assigned to the slide'? There are two slide events: On Enter, and On Exit. Read more about those events:
    http://blog.lilybiri.com/events-and-advanced-actions
    Those events can trigger an advanced action but only at that frame: first frame (On enter), last frame of the slide. But you expect the button to appear when the three rollover events have occurred? That means the condition has to be checked by each action triggered by the rollover events. Have multiple examples on my blog for such use cases, latest one was:
    http://blog.lilybiri.com/blog-after-posterous-clickclick
    Shortly:
    Use the On Enter event of the slide to reset the three variables to zero, that will be a standard advanced action with three Assign statements (this is not necessary if you never expect the user to return to that slide)
    Use each Rollover event to trigger a conditional advanced action with two decisions:
    First decision 'Always' will be a mimicked standard action, and toggles that variable to 1
    Second decision 'Checkit' will have your condition to see if the three variables are equal to 1, if Yes show the button, if No, nothing has to happen (or maybe Continue, depends on setup)
    Lilybiri

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Unable to expand DG is Lync client - Cannot perform this action, and the cause is unknown.

    Hi,
    I have a user in our Hong Kong office that is unable to open a distribution group she has added to her Groups. She gets the error message "Cannot perform this action, and the cause is unknown. Contact your support team to investigate."
    I can add the group and expand it, so can some of her colleague, and some cannot. Her colleagues who can have the same client and global policy settings as she does. 
    I read in a similar thread that this could be resolved by confirming the server times on Lync, AD (domain controller checked and Exchange but they were all correct and in sync. 
    The global policy is set to 250 max contacts - but does a DL count as 1 contact, or does it count all the people within the DG? I am getting HK to confirm she does not have too many contacts but I dont think this is the issue. 
    Anyone else come across this issue?
    Phil

    You can run the command Test-CsGroupExpansion to test the ability of a user to employ group expansion.
    For the usage of the command, you can check
     http://technet.microsoft.com/en-us/library/gg399009.aspx
    Lisa Zheng
    TechNet Community Support

  • JSF Actions and ActionListeners with Tiles and forms

    I�m having a problem trying to use the Tiles functionality in Struts 1.1 with JSF and was wondering if anyone could help me.
    I have defined a very simple header, menu, content Tile that doesn�t involve nesting of tiles (ExampleTile_content1Level.jsp).
    I have 3 JSP pages, the first testHarness.jsp is NOT built using Tiles and is just used to load some test data into a session scoped bean using an actionListener and then forward to a Tile generated page (ExampleTile3.jsp) using a hard-coded action �applicationSummary� when a commandLink is pressed. This works fine for both the action and actionListener.
    ExampleTile3.jsp contains another commandLink that is meant to forward to another tile ExampleTile2.jsp. This also works until I try to add the <h:form> � </h:form> tag around the outside of the <h:panelGrid> tags in ExampleContent1.jsp when the action and actionListener then fail to fire and I get an �Error on Page� message in Explorer the detail of which says �Error �com_sun_rave_web_ui_appbase_renderer_CommandLinkRendererer� is null or not an object�.
    However I need a form so that I can bind UI controls to data from the bean stored in the session scope. This is only a problem when I use Tiles to define the pages. Does anyone know what I am doing wrong?
    Any help would be much appreciated.
    Tiles.xml
       <definition name="example3" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header-title" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleMenu.jsp" />
              <put name="content" value="/pages/exampleContent1.jsp" />
       </definition>
       <definition name="example2" path="/pages/exampleTile_content1Level.jsp" >
              <put name="headerClass" value="someStyle"/>
              <put name="menuClass" value="someStyle"/>
              <put name="contentClass" value="someStyle"/>
              <put name="header" value="/pages/exampleHeader.jsp" />
              <put name="menu" value="/pages/exampleHeader.jsp" />
              <put name="content" value="/pages/exampleContent2.jsp" />
       </definition>ExampleTile3.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example3" flush="false" />
         </h:form>
    </f:view> ExampleTile2.jsp
    <f:view>
         <h:form>
              <tiles:insert definition="example2" flush="false" />
         </h:form>
    </f:view> Faces-config.xml
    <navigation-rule>
        <from-view-id>/pages/testHarness.jsp</from-view-id>
           <navigation-case>
                <from-outcome>applicationSummary</from-outcome>
                <to-view-id>/pages/exampleTile3.jsp</to-view-id>
              <redirect/>
           </navigation-case>
    </navigation-rule>
    <navigation-rule>
        <from-view-id>/pages/exampleTile3.jsp</from-view-id>
           <navigation-case>
                <from-outcome>nextPage</from-outcome>
                <to-view-id>/pages/exampleTile2.jsp</to-view-id>
                <redirect/>
           </navigation-case>
    </navigation-rule> ExampleTile_content1Level.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <f:subview id="header-title">
              <tiles:insert name="header-title" flush="false" />
         </f:subview>
         <f:subview id="menu">
              <tiles:insert name="menu" flush="false" />
         </f:subview>
         <f:subview id="content">
              <tiles:insert name="content" flush="false" />
         </f:subview>
    </h:panelGrid> ExampleHeader.jsp / ExampleMenu.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" columnClasses="someSyle">
         <h:outputFormat value="This is the {0}.">
              <f:param value="Header / Menu as appropriate "/>         
         </h:outputFormat>
    </h:panelGrid> ExampleContent1.jsp
    <tiles:importAttribute scope="request"/>
    <h:form>     <----- Fails with this tag included but works without it.
    <h:panelGrid columns="1" >
              <h:outputFormat value="This is the {0}.">
                   <f:param value="Content on the FIRST page"/>
              </h:outputFormat>
              <h:commandLink action="nextPage" immediate="false">
                   <h:outputText value="Click to go to next page"/>
              </h:commandLink>
    </h:panelGrid>
    </h:form> ExampleContent2.jsp
    <tiles:importAttribute scope="request"/>
    <h:panelGrid columns="1" >
         <h:outputFormat value="This is the {0}.">
              <f:param value="Content on the SECOND page"/>
         </h:outputFormat>
    </h:panelGrid>

    jezzica85 wrote:
    Hi everybody,
    I want to overload a method so it can take either 2 Actions, 2 ActionListeners, or one of each. The issue with this is that I'd have to make 4 overloaded signatures and almost identical methods, like this:
    method( action, action )
    method( action, listener )
    method( listener, action )
    method( listener, listener )
    Well, if you want to support that then you are just going to have to do suffer through it, the only shortcut I can recommend is that your method(action, listener) and method(listener, action) are the same so you only have to implement 1 and just use the other as a entry point to call the one you wish to contain the code.

  • Action batch export issue with image trace

    So, currently I'm working on batch processing jpeg sequences using illustrator's image trace and distortion effects. I have batch exported the image traces of the sequences via Adobe bridge.  Now I'm trying to create an action which opens the .ai files containing those image traces, apply a graphic style to the trace, and export a png from that.  I'm banging my head against the wall trying to get this to work right now. If I do the steps (step by step... not using a recorded action) I want on a single file, it works great, but the moment I batch export using the action I've created, it puts the original .png image that the image trace was linked to, on top of the image. The result is a bunch of .png exports that look exactly like my original image sequence.  If I add a "save" function to the action and open the resulting .ai files, I can see that the image trace vectors are in the file. The "linked png" however visible on the layer above those vectors.  Anyone have any idea what I'm doing wrong? How do I get rid of that pesky linked image.
    Also, for anyone who might be thinking that it has something to do with expanding the image trace before applying effects, this issue I'm running into, I've determined, is happening higher up in the hierarchy of the actions... If I simply make an action to open the image trace illustrator file and save it back out, the same issue occurs... placing the .png "linked file" on top of the vector image.
    While I'm at it, I might as well ask if anyone knows how to change the illustrator default image trace preset.... Without being able to change it, or much less specify in the action sequence that I'd like to use a user created image trace preset rather than the default setting, it's greatly overcomplicating my workflow. Makes what could easily be one-step batch processing into two. Seems pretty silly if you ask me.
    Please, if you guys have any insights on this, let me know. It's super frustrating... By the way, if you're wondering what type of effect I'm going for, the idea (as well as some explanation into their own process) starts at 12:44 of this video (http://vimeo.com/77427470).
    THANKS!

    Just wanted to let you guys know, for anyone who might be having my same issue... My home computer, even after a fresh install of Illustrator, was still placing the linked jpeg over the traced vector shapes when batch exporting... I did however find a workaround.  Rather than using Bridge CS6 for the batch image tracing, I used Bridge CS5 to trace in Illustrator CS5. Then, I used Illustrator CS6 to batch export an action that imported and applied an effect to those image traced sequences.  When you do this, it forces you to expand the tracing on import (because of the difference in Illustrator versions I'm assuming).  This way, when you batch run the action, it's already working with expanded vector shapes.  Not sure why this works, but it does.
    Also, I was having some issues getting Illustrator to apply the graphic style when batch exporting. I got it to work by copying an object with that particular graphic style to the clipboard, then adding in the action I was running a "paste" command, followed by a "clear" command.  I can only assume that Illustrator was having issues loading custom graphics styles while batch exporting. The paste/delete technique is annoying, but gets it done.
    Anyways. Just wanted to check in on this one. I'm happy I was able to muscle my way through it all.

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • Dynamic actions and PA-PD integration a problem

    Are you aware of an update problem with MSS and PA-PD integration?  This information was made available in a presentation to us last year.  Was this issue resolved in mySAP ERP 2004?
    Dynamic actions and PA-PD integration a problem
    Dynamic actions and PA-PD integration are not
    processed on updates made from the web (but in the
    background through a batch or call transaction session)
    That’s why most standard PCRs require HR to process
    the transaction using the SAP GUI in the foreground
    This normally affects changes to infotypes 0000 &
    0001
    Then the next slide states:
    Workaround for dynamic actions
    Review dynamic actions in table T588Z (use SE16 to
    display) and document the infotypes and values that
    trigger dynamic actions
    Incorporate those infotypes into your background
    processing and web forms (if necessary)
    Workaround for PA-PD integration
    Include the integration steps for these infotypes in your
    background processing (just as in conversions)

    Hi John,
    Not sure if it is fixed.. or can be fixed.. we are still in 47  & Use custom code to account for Dynamic Actions.. the PCR processes use the function module HR_MAINTAIN_MASTERDATA to update the infotypes. This function mimics a BDC & hence cannot handle Dynamic Actions... Basically, the issue is not with MSS but it is the way Dynamic Actions work.. to quote SAP  "Dynamic actions are not correctly processed in batch input sessions since in batch input the sequence of the screens needs to be predefined correctly. To be able to process dynamic actions in batch input, the checks of the dynamic actions need to be programmed when creating the batch input session. To avoid errors when programming and running the session, the static actions  only are processed in batch input. Calls of infotypes that are triggered by dynamic actions should be realized by separate Transaction calls.
    Please take a look at OSS Note #386027 for additional info about Dynamic Actions.
    Regards,
    Suresh Datti

  • Actions and ActionListeners as parameters

    Hi everybody,
    I want to overload a method so it can take either 2 Actions, 2 ActionListeners, or one of each. The issue with this is that I'd have to make 4 overloaded signatures and almost identical methods, like this:
    method( action, action )
    method( action, listener )
    method( listener, action )
    method( listener, listener )It seems like doing it this way would result in a lot of extra code, and hence become a real pain in the neck. So, I was curious, has anyone else either tried to do this before, or do you have any ideas as to how I might be able to do this more efficiently? When I looked at the API it didn't look like Actions and ActionListeners share a root class I can use.
    Thanks,
    Jezzica85

    jezzica85 wrote:
    Hi everybody,
    I want to overload a method so it can take either 2 Actions, 2 ActionListeners, or one of each. The issue with this is that I'd have to make 4 overloaded signatures and almost identical methods, like this:
    method( action, action )
    method( action, listener )
    method( listener, action )
    method( listener, listener )
    Well, if you want to support that then you are just going to have to do suffer through it, the only shortcut I can recommend is that your method(action, listener) and method(listener, action) are the same so you only have to implement 1 and just use the other as a entry point to call the one you wish to contain the code.

  • Actions and Save for Web

    I have tried to research this on my own searching the forum and asking users far more advanced than I am to no avail. I thought it might be possible that someone here would know whether what I want is feasible.
    I use the "Optimize to file size" feature in the Save For Web Panel constantly. I am planning on doing a large amount of conversions in the near future (by which I mean resaving .jpegs at a certain dimension and resolution. As far as the dimension and resolution go, there is no difficulty creating an action to do that. But the icing on the cake for me is have them all processed through Save for Web at a certain file size (for the sake of argument, say 500K). Yes, I know that the resulting images will vary in quality (obviously) because the end result will very much depend on their file size to begin with but that is not an issue for me for my purposes.
    Save for Web has various presets and allows you to save presets; however, it does not allow you to save the Optimize to file size as a preset. When I try to record an action, and go to the Save for Web, use the Optimize etcetera, the action created lists the quality of the image I process to record the action. So, for example, if my image is less than 500K, the quality recorded in the action is 100. If my image exceeds 500K, the quality might be 86 and that is what the action records. For whatever reason, what is recorded is the quality rather than the 500K. I am not sure if this is being written clearly enough to explain. I want every image to end up being 500K regardless of what the final quality is (quality being the difference between the original image and the image as saved by Save for Web). But actions are saving the attribute of quality rather than file size.  Sigh. I think I am just repeating myself trying to make it clear but probably failing. In case a screen shot helps clarify, here it is. If this can't be done, I would love to know that so I can give up trying.

    I want every image to end up being 500K regardless of what the final quality is (quality being the difference between the original image and the image as saved by Save for Web).
    You may have to resort to Scripting for this task … it may need a fairly convoluted approach but I think it has come up before, so someone may be able to help you over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting

  • Sources are current and valid. TTLs are however, invalid. Failed to attach update to the automation wrapper, error = 0x87d00215_

    Hi,
    I recently tried to deploy Windows 7 update to my client computers. I am able to download and distribute it to DP, but somehow it wouldn't install into my client computers. Can anyone help me? Below text is copied from my scanagent.log and updatesdeployment.log
    files from my client computer.
    Any assistance is highly appreciated.
    Scanagent.log
    - - Calling back to client on Scan request complete... ScanAgent 4/10/2014 8:01:17 AM 77868 (0x1302C)
    CScanAgent::ScanComplete- Scan completion received. ScanAgent 4/10/2014 8:01:17 AM 77868 (0x1302C)
    - -Processing Scan Job TTL invalidity request ScanAgent 4/10/2014 8:04:34 AM 75864 (0x12858)
    - -Processing Scan Job TTL invalidity request ScanAgent 4/10/2014 8:09:29 AM 80536 (0x13A98)
    *****ScanByUpdates request received with ForceReScan=0, ScanOptions=0x00000008,  WSUSLocationTimeout = 604800 ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    - - -Evaluating Update Status... ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    Found CategoryID of :bfe5b177-a086-47a0-b102-097e4fa1f807 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    CScanAgent::ScanByUpdates - Found UpdateClassification 0fa1201d-4330-4fa8-8ae9-b877473b6441 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    Sources are current and valid. TTLs are however, invalid. ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    Sources are Valid, so converting to Offline Scan. ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): CScanJob::Scan- Requesting Offline Scan with last known location. ScanAgent 4/10/2014 8:50:32 AM 90080 (0x15FE0)
    No CatScan history exists ScanAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    Sources are current and valid. TTLs are however, invalid. ScanAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): CScanJob::Execute- Requesting scan with CategoryIDs=BFE5B177-A086-47A0-B102-097E4FA1F807 ScanAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): Scan Succeeded, setting flag that performed scan was catscan ScanAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): CScanJob::OnScanComplete - Scan completed successfully, ScanType=2 ScanAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): CScanJobManager::OnScanComplete -ScanJob is completed. ScanAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    ScanJob({1B5BE021-EAEF-43E2-A7A2-329D803F2248}): CScanJobManager::OnScanComplete - Reporting Scan request complete to clients... ScanAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    - - -Evaluating Update Status... ScanAgent 4/10/2014 8:50:41 AM 90080 (0x15FE0)
    - - Calling back to client on Scan request complete... ScanAgent 4/10/2014 8:50:41 AM 90080 (0x15FE0)
    UpdatesDeployment.log
    Message received: '<?xml version='1.0' ?><SoftwareUpdatesMessage MessageType='EvaluateAssignments'><UseCachedResults>False</UseCachedResults></SoftwareUpdatesMessage>' UpdatesDeploymentAgent 4/10/2014 8:04:34 AM 75864
    (0x12858)
    Removing scan history to force non cached results UpdatesDeploymentAgent 4/10/2014 8:04:34 AM 75864 (0x12858)
    Evaluation initiated for (0) assignments. UpdatesDeploymentAgent 4/10/2014 8:04:34 AM 75864 (0x12858)
    Message received: '<?xml version='1.0' ?><SoftwareUpdatesMessage MessageType='EvaluateAssignments'><UseCachedResults>False</UseCachedResults></SoftwareUpdatesMessage>' UpdatesDeploymentAgent 4/10/2014 8:09:29 AM 80536
    (0x13A98)
    Removing scan history to force non cached results UpdatesDeploymentAgent 4/10/2014 8:09:29 AM 80536 (0x13A98)
    Evaluation initiated for (0) assignments. UpdatesDeploymentAgent 4/10/2014 8:09:29 AM 80536 (0x13A98)
    Message received: '<?xml version='1.0' ?>
     <CIAssignmentMessage MessageType='EnforcementDeadline'>
         <AssignmentID>{85D3A208-0AE4-46F6-87C3-8A94CCA8361C}</AssignmentID>
     </CIAssignmentMessage>' UpdatesDeploymentAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    Assignment {85D3A208-0AE4-46F6-87C3-8A94CCA8361C} has total CI = 1 UpdatesDeploymentAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    Deadline received for assignment ({85D3A208-0AE4-46F6-87C3-8A94CCA8361C}) UpdatesDeploymentAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    Detection job ({D4D22069-E341-476B-9048-4C4FAFF7075D}) started for assignment ({85D3A208-0AE4-46F6-87C3-8A94CCA8361C}) UpdatesDeploymentAgent 4/10/2014 8:50:32 AM 94188 (0x16FEC)
    DetectJob completion received for assignment ({85D3A208-0AE4-46F6-87C3-8A94CCA8361C}) UpdatesDeploymentAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    Raising client SDK event for class CCM_SoftwareUpdate, instance CCM_SoftwareUpdate.UpdateID="Site_95D1BDFA-B063-4820-8D5D-497ECA9F10BB/SUM_eaf2ae60-e6f3-4d39-a014-ae25e07361a6", actionType 12l, value NULL, user NULL, session 4294967295l, level 0l,
    verbosity 30l UpdatesDeploymentAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    Update (Site_95D1BDFA-B063-4820-8D5D-497ECA9F10BB/SUM_eaf2ae60-e6f3-4d39-a014-ae25e07361a6) added to the targeted list of deployment ({85D3A208-0AE4-46F6-87C3-8A94CCA8361C}) UpdatesDeploymentAgent 4/10/2014 8:50:41 AM 94188 (0x16FEC)
    Failed to attach update to the automation wrapper, error = 0x87d00215 UpdatesDeploymentAgent 4/10/2014 8:50:41 AM 83412 (0x145D4)

    Tested on the following steps:
    1.       Start an elevated command prompt,and run wbemtest.exe
    2.       Click Connect, and specify the path: root\ccm\SoftMgmtAgent and connect
    3.       Select Query, and type select * from DownloadContentRequestEx2
    4.        Select query, and select * from downloadinfoex2
    5.       Delete each instance that returned by the query.
    6.       Restart SMS Agent Host service, and check to confirm the instances didn’t come back.
    7.       Trigger Software update evaluation cycle and try to install update again
    Didn't managed to execute step[5] as there is nothing for me to delete. Once I ran through the above steps, I noticed the following error in ScanAgent.log file. Also, I found some error in ClientIDManagerStartup.log. Can anyone tell me what is wrong
    here? Thanks
    ScanAgent.log
    *****ScanByUpdates request received with ForceReScan=0, ScanOptions=0x00000008,  WSUSLocationTimeout = 604800 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    - - -Evaluating Update Status... 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    Found CategoryID of :bfe5b177-a086-47a0-b102-097e4fa1f807 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    CScanAgent::ScanByUpdates - Found UpdateClassification 0fa1201d-4330-4fa8-8ae9-b877473b6441 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    Sources are current and valid. TTLs are however, invalid. 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    Sources are Valid, so converting to Offline Scan. 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    ScanJob({8985F022-97C1-4D5E-80FF-4385E36D3316}): CScanJob::Scan- Requesting Offline Scan with last known location. 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    Catscan history version is up-to-date and TTL is valid 4/10/2014 9:30:00 AM 108228 (0x1A6C4)
    ScanJob({8985F022-97C1-4D5E-80FF-4385E36D3316}): CScanJob::Execute - SKIPPING SCAN and Using cached results, ScanType=2 4/10/2014 9:30:00 AM 108228 (0x1A6C4)
    ScanJob({8985F022-97C1-4D5E-80FF-4385E36D3316}): CScanJobManager::OnScanComplete -ScanJob is completed. 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    ScanJob({8985F022-97C1-4D5E-80FF-4385E36D3316}): CScanJobManager::OnScanComplete - Reporting Scan request complete to clients... 4/10/2014 9:30:00 AM 105440 (0x19BE0)
    - - -Evaluating Update Status... 4/10/2014 9:30:00 AM 108228 (0x1A6C4)
    - - Calling back to client on Scan request complete... 4/10/2014 9:30:00 AM 108228 (0x1A6C4)
    - -Recovering persisted Scan requests... 4/10/2014 9:31:55 AM 106812 (0x1A13C)
    ScanJob({0A14B277-B6B7-4D3A-B945-9E9586EAA3B6}): CScanJob::Scan - Recovered Scan request waiting for ScanRetry, but MAX Scan Retry is completed. No Scan Retry will be attempted, returning E_FAIL. 4/10/2014 9:31:55 AM 106812 (0x1A13C)
    ScanJob({0A14B277-B6B7-4D3A-B945-9E9586EAA3B6}): CScanJobManager::Initialize - failed at CScanJob::Scan() with Error=0x80004005 4/10/2014 9:31:55 AM 106812 (0x1A13C)
    CScanAgent::OnStartup - failed at Initialize with error=0x80004005 4/10/2014 9:31:55 AM 106812 (0x1A13C)
    - -Processing Scan Job TTL invalidity request 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    *****ScanByUpdates request received with ForceReScan=0, ScanOptions=0x00000008,  WSUSLocationTimeout = 604800 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    - - -Evaluating Update Status... 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    Found CategoryID of :bfe5b177-a086-47a0-b102-097e4fa1f807 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    CScanAgent::ScanByUpdates - Found UpdateClassification 0fa1201d-4330-4fa8-8ae9-b877473b6441 for Update:eaf2ae60-e6f3-4d39-a014-ae25e07361a6 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    Sources are current and valid. TTLs are however, invalid. 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    Sources are Valid, so converting to Offline Scan. 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): CScanJob::Scan- Requesting Offline Scan with last known location. 4/10/2014 9:32:30 AM 107756 (0x1A4EC)
    No CatScan history exists 4/10/2014 9:32:30 AM 106040 (0x19E38)
    Sources are current and valid. TTLs are however, invalid. 4/10/2014 9:32:30 AM 106040 (0x19E38)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): CScanJob::Execute- Requesting scan with CategoryIDs=BFE5B177-A086-47A0-B102-097E4FA1F807 4/10/2014 9:32:30 AM 106040 (0x19E38)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): Scan Succeeded, setting flag that performed scan was catscan 4/10/2014 9:32:44 AM 107756 (0x1A4EC)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): CScanJob::OnScanComplete - Scan completed successfully, ScanType=2 4/10/2014 9:32:44 AM 107756 (0x1A4EC)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): CScanJobManager::OnScanComplete -ScanJob is completed. 4/10/2014 9:32:44 AM 107756 (0x1A4EC)
    ScanJob({5FD26726-F1E3-4C33-BF65-21EFEF9EC0BF}): CScanJobManager::OnScanComplete - Reporting Scan request complete to clients... 4/10/2014 9:32:44 AM 107756 (0x1A4EC)
    - - -Evaluating Update Status... 4/10/2014 9:32:44 AM 106040 (0x19E38)
    - - Calling back to client on Scan request complete... 4/10/2014 9:32:44 AM 106040 (0x19E38)
    ClientIDManagerStartup.log
    [----- SHUTDOWN -----] 4/10/2014 9:31:37 AM 3976 (0x0F88)
    [----- STARTUP -----] 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Machine: GHQ-ITD-LT036 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    OS Version: 6.1 Service Pack 1 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    SCCM Client Version: 5.00.7804.1000 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    'RDV' Identity store does not support backup. 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    CCM Identity is in sync with Identity stores 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    'RDV' Identity store does not support backup. 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Client is set to use HTTPS when available. The current state is 480. 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Begin searching client certificates based on Certificate Issuers 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Completed searching client certificates based on Certificate Issuers 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Begin to select client certificate 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    There are no certificates in the 'MY' store. 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Raising event:
    instance of CCM_ServiceHost_CertRetrieval_Status
     ClientID = "GUID:88760DF6-ABF1-4131-829D-365431082860";
     DateTime = "20141004013141.072000+000";
     HRESULT = "0x87d00280";
     ProcessID = 104240;
     ThreadID = 105612;
     4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Failed to submit event to the Status Agent. Attempting to create pending event. 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Raising pending event:
    instance of CCM_ServiceHost_CertRetrieval_Status
     ClientID = "GUID:88760DF6-ABF1-4131-829D-365431082860";
     DateTime = "20141004013141.072000+000";
     HRESULT = "0x87d00280";
     ProcessID = 104240;
     ThreadID = 105612;
     4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Unable to find PKI Certificate matching SCCM certificate selection criteria. 0x87d00280 4/10/2014 9:31:41 AM 105612 (0x19C8C)
    Initializing registration renewal for potential PKI issued certificate changes. 4/10/2014 9:31:49 AM 103528 (0x19468)
    Succesfully intialized registration renewal. 4/10/2014 9:31:49 AM 103528 (0x19468)
    [RegTask] - Executing registration task synchronously. 4/10/2014 9:31:49 AM 103528 (0x19468)
    [RegTask] - Client is already registered. Exiting. 4/10/2014 9:31:49 AM 103528 (0x19468)
    Read SMBIOS (encoded): 3600320039003500350031002D003000310052003300390030003000300030003100 4/10/2014 9:31:49 AM 103528 (0x19468)
    Evaluated SMBIOS (encoded): 3600320039003500350031002D003000310052003300390030003000300030003100 4/10/2014 9:31:49 AM 103528 (0x19468)
    No SMBIOS Changed 4/10/2014 9:31:49 AM 103528 (0x19468)
    SMBIOS unchanged 4/10/2014 9:31:49 AM 103528 (0x19468)
    SID unchanged 4/10/2014 9:31:49 AM 103528 (0x19468)
    HWID unchanged 4/10/2014 9:31:51 AM 103528 (0x19468)
    GetSystemEnclosureChassisInfo: IsFixed=TRUE, IsLaptop=TRUE 4/10/2014 9:31:51 AM 103528 (0x19468)

  • Up-grading to CS5 and about actions and plug-ins

    Is there a fast, easy way to import my actions and additional plug-ins from my CS4 photoshop to my new upgraded CS5 photoshop.  Or do I have to install them all over, individually?  HELP!

    Don't try for "fast and easy".  You will more likely get into trouble - this has been shown time and again.
    Plug-ins:
    See if the manufacturer has released an update that's Photoshop CS5-compatible and get that if so.
    Run the installer if they provided one.
    If the installer doesn't see the new Photoshop, you may have to isolate the plug-in files (there may be supporting files) and copy them manually.  If this is the case, let us know here in a follow-up message - the description how to do that can be complex.
    Create a new folder, separate from Photoshop's installation area and one you're going to keep, into which to put manually-installed plug-ins.  Point Photoshop's Extra Plug-ins folder at the new folder.
    For those plug-ins without installers, copy your manually-installed plug-ins to your new folder.  Restart Photoshop CS5 to get it to see them there.
    Actions:
    Older actions are usually perfectly compatible with Photoshop CS5, but it doesn't hurt to check to see if the maker has issued a newer set.
    For those that you created, modified, or don't know where you got, in your older Photoshop click the set name once to highlight it, then click the little fly-out icon at the upper-right of the ACTIONS panel, and choose Save Actions.  Save them in a folder separate from the Photoshop installation area.
    You can usually just double-click a .atn file to load it into the newer version of Photoshop.  If not, use the fly-out menu and choose Load Actions.
    -Noel

  • 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.

Maybe you are looking for