Cfgrid and rowStatus.Action

I posted this under 'Rich Forms' as well (just trying to
cover all the bases).
I'm having a problem pulling out the rowstatus property using
actionscript. If I use the following lines of code I receive an
appropriate response (ie: the Index and value of contactD will
appear in the Alert box):
var varIndex = findReferenceResults.getSelectedIndex();
var varID =
_root.findReferenceResults.getItemAt(varIndex).contactID;
alert('Variable Index: ' + varIndex);
alert('contactID: ' + varID);
However, when I try this:
var varIndex = findReferenceResults.getSelectedIndex();
var varID =
findReferenceResults.getItemAt(varIndex).rowStatus.Action;
alert('Variable Index: ' + varIndex);
alert('Rowstatus: ' + varID);
I still get my Index value, but the rowstatus.Action value
comes back as 'undefined'.
In the past, I've used cfgrid with cfgridupdate and with
cfif/cfloop could determine which rows were marked for
insertion/deletion/editing. I'm now switching over to flash forms,
but I'm at a loss as to how to pull the rowstatus property so I
will know which rows need insertion, etc.
Thanks for any help you may can provide!!!!!

Thanks man
Frank Xu Lei--谦卑若愚,好学若饥
[老徐的网站]:http://www.frankxulei.com/
[老徐的博客]:http://54peixun.com/Author/frankxulei
微软WCF中文技术论坛
微软WCF英文技术论坛
微软WCF技术群:166599314

Similar Messages

  • Cfgrid and href attribute issue

    HI Gang-
    I'm building a relatively simple query driven cfgrid, read-only for the most part but I need one of the columns to be a href value that will serve as a drilldown. Everything working fine except that the name/value pair I need appended to the url is being persnickety.
    The url I'd like to build and have effected in the cfgrid is something like "index.cfm?action=drilldown&orderid=#dynamicValue#"
    I finally got it to work, but not as I would like. Turns out both cfgrid and cfgridcolumn tags each have the "href" and the "hrefkey" attributes, which made for a confusing 45 minutes of trial and error.  The closest I could eventually come to my target url of:
    index.cfm?action=drilldown&orderid=#dynamicValue#
    is actually
    index.cfm?action=drilldown&CFGRIDKEY=#dynamicValue#
    Not what I wanted but I can deal for now.
    Has anyone gotten a hold of building out hrefs in cfgrid using custom name/value pairs dynamically? Would love to know how you did it. Code postings would be even better!
    Many thanks,
    Rich

    Quite a challenge, that one. You can run the following example directly. Have a look at my use of the lastName column. You could also have a look at the ext library.
    <html> 
    <head> 
         <title>Grid URL Demo</title> 
         <script type="text/javascript"> 
         function init(){ 
             var grid = ColdFusion.Grid.getGridObject("ArtistGrid"); 
             grid.addListener("rowclick",onRowClick); 
         function onRowClick(g,rowIndex,e){
           var lastName = ColdFusion.getElementValue("ArtistGrid", "artistGridForm", "lastName");
           var url = "index.cfm?action=drilldown&lastName="+lastName;
           ColdFusion.navigate(url);    
         </script>     
    </head> 
    <body> 
         <cfquery name="getArtists" datasource="cfartgallery"> 
         SELECT artistId, firstname, lastname, address, city, state, postalcode, email 
         FROM Artists 
         </cfquery> 
         <cfset args = structNew()> 
         <cfset args.name = "ArtistGrid"> 
         <cfset args.format = "html"> 
         <cfset args.query = "getArtists"> 
         <cfset args.stripeRows = true> 
         <cfset args.selectColor = "##D9E8FB"> 
         <cfset args.width = 600> 
         <h1>Artists Grid</h1>       
         <cfform name="artistGridForm" id="artistGridForm"> 
            <cfgrid attributeCollection="#args#"> 
               <cfgridcolumn name="artistid" display="false"> 
               <cfgridcolumn name="firstname" header="First Name"> 
               <cfgridcolumn name="lastname" header="Last Name"> 
               <cfgridcolumn name="email" header="Email Address"> 
               <cfgridcolumn name="address" header="Address"> 
               <cfgridcolumn name="city" header="City"> 
               <cfgridcolumn name="state" header="State"> 
               <cfgridcolumn name="postalcode" header="Zip"> 
            </cfgrid> 
         </cfform>  
         <cfset ajaxOnLoad("init")>      
    </body> 
    </html>

  • Use of user status and business actions

    Hi all,
    I'm new at status profiles, user status and business actions.
    Currently we are using status profiles and user status for orders - but business actions aren't assigned to the user status. In a project I should evaluate whether we can use those business actions.
    After reading a lot of documentations there is still one question left. What are the business-actions for and how can I use them?
    Let's say I've a status profile with following user status with according business actions:
    - status: new;   business action: to progress
    - status: in progress;   business action: to confirm
    - status: confirmed;   business action: decline or close
    - status: closed;   business action: close
    What happens when a user sets the status of an order to "confirmed"? Will be done additional checks for my order? - If yes: Wich checks will be done and exists there an API to effect these checks or to implement additional checks?
    Regards,
    Christian

    Christian;
    If you´re wanting to speak about Status Profile in OP. You can execute whole theses steps in T-code BS02, when in this IMG:
    1. Enter a Status Profile.
    2. Assign the status profile to an Object Type.
    3. Define the User Status.
    4. Assign Business Transactions to user statuses.
    5. Translate the status profile and user statuses.
    You can also to use this function to simulate the status development for a particular object.
    To do this, select a status profile and branch to the screen "Allowed Object Types". Then place the cursor on one of the object types.
    Using the function Extras -> Status simulation, you can simulate the status changes that could be caused by performing various business transactions, or by changing the staus manually, during the lifetime of the object concerned.
    You can also branch directly from simulation to status maintenance for the object concerned, to display information on which transactions are allowed or disallowed in the current situation.
    The log function records all the changes you simulate and allows you to navigate freely to see what effects these are having.
    Status profile info
    Using the function Extras -> Status profile info, you can display a list of all the entries you have made for a particular status profile. The list is structured as follows:
    The first block contains the permitted object types.
    The second block contains the user statuses.
    The third block contains the following information for each user status:
    which transactions it allows
    which transactions it allows with a warning
    which transactions it disallows.
    I hope help to you
    Regards
    Luciano Nobrega

  • Can I use photoshop text styles and photoshop actions with creative cloud photography?

    I'm really confused by this subscription pricing. If I purchase the $9.99/month, do I get the full desktop app of Photoshop and Lightroom? But I see on this page Products they list something called Photoshop CC that costs twice as much. How is that different from the Creative Cloud Photography?
    My main question is whether I can use photoshop text styles and photoshop actions with Creative Cloud Photography, since I just purchased a bundle that includes these and I want to be able to use them. But I'd also like to understand what comes with all of the various products and how they are different.
    My other question is how is Lightroom different from Photoshop? I have a sense of what you can do in Photoshop but I don't know much about Lightroom at all.
    One more question: the free trial -- is it limited in any way besides the time length? If I do that, will I get a clear idea of all that I will be able to do once I subscribe, or are the functions limited in the trial?
    I tried to just send an email to Adobe to ask these questions but apparently they are not interested in responding to emails from people who are not yet paying customers, so I was directed here. Thanks very much for your help!

    I always like to trot this bit about Bridge once in a while or in the voice of the "Two Bobs" from Office Space,
    "Can you tell us exactly what it is you do around here?"
    What Adobe Bridge does:
    Bridge is the coordinating hub of the Creative Suite. Synchronizing color management settings for all suite programs is done from Bridge, and can only be done from Bridge, to take one important use.
    Bridge displays actual thumbnails of many more file types than Finder or Explorer. It also allows instant play of sound or video files more readily than the native OS file managers.
    Bridge allows direct access to file metadata, to embed copyright information  and keywords where appropriate (e.g., for corporate logo vector and raster files). It also displays the fonts used in an InDesign file, the swatches in an INDD or AI and the output plates (including spot color plates) they use.
    When managing the assets for a design project, Bridge allows quick and simple sorting, rating and custom labeling (with color flash indications) of assets. I can rate images according to whether they are rejects, possibles, for review by client, or approved. The filters built into Bridge allow instant isolation of only the approved images or designs in a folder, only the rejects (for deletion) or only files with certain ratings, no matter how many files it contains. It recognizes aspect ratios, so if I only need a landscape or a 16:9 image in a folder of hundreds of images, I turn off the aspect ratios I don't need.
    Once filtered, the remaining visible files can be selected and copied, moved, or deleted without affecting the rest of the contents of a folder.
    Collections are a massively useful feature. One of my clients is a performing arts center, and in a season we turn out dozens of ads, flyers, brochures, web banners, playbills, billboards and other collateral using the same assets over and over. These assets are organized by artist and/or show on disk, but I set up each season's repeating assets as a Collection in Bridge, so that I just have to open the collection and drag and drop these assets into new INDD, AI, PSD, HTML (in Dreamweaver), FLA or AE projects without having to navigate from folder to folder picking up individual files.
    Bridge's Favorites is another place I stack frequently-accessed folders, such as stock photography, backgrounds, and top-level folders for active projects.
    Assets can be divided into subfolders, but a quick toggle of "Show items from subfolders" exposes all of the assets in a single view while maintaining their organization. I will typically keep AIs, PSDs, EPSs, stock photography and client images in separate subfolders within a project. When I'm ready to start pulling assets into an InDesign layout, I toggle this on and simply drag what I need into the layout.
    Bridge comes with Adobe Camera Raw built in, which is many times faster than using Photoshop to adjust jpegs or tiffs for things like tonal range, white balance, cropping, spotting and sharpening, and is non-destructive.
    One tremendously useful Bridge function for InDesign CS5+ users is the "Show linked files" feature, which opens all the linked files in a layout into a single view, regardless of where they are physically located. I often use this when doing alternative layouts from a client-approved mockup for a campaign, to be certain the same assets are used in each piece, or when creating a motion graphic or interactive piece for the campaign in After Effects or Flash.
    The batch and image processing scripts built into Bridge automate things like creating web-ready small jpegs from multiple images, renaming large numbers of files in place or by copying to an alternative location, creating sets of PSD, png, jpeg or other file types from an assortment of image files, and so on.
    Bridge is so much a part of my daily workflow that on my main workstation I have one monitor dedicated to it almost 100%. Bridge just sits open 24/7, ready for use. I would run at half speed without it, no question.

  • Adobe Camera Raw and Photoshop Actions

    Hi guys,
      I'm having troubles with Adobe Camera Raw settings and Photoshop actions. Basically, here is what I want to do :
      apply settings for the general colours, exposure, tint, etc., but keep an automatic undistortion of the images thanks to the metadata of the CR2 file.
      The preset I've done is working fine, and when I'm in ACR, I can apply the same preset to different photos with different lenses. Then when I'm opening them in photoshop, they look allright.
      The problem seems to appear when I'm creating the action in photoshop. No matter if the lens profile is set to 'auto' in the preset, it looks like it's applying the one from the original preset. Then let's say the preset was created with a 50mm, then when I launch the action on a 85mm, the undistortion is wrong ...
      If anybody has an idea how to fix the problem, that would be really helpful !
      Thanks a lot,
      Julien

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I am moving your post to the correct forum so that it can get proper attention. I understand that it is difficult to determine which forum to post in since there are so many.
    I'll put I this posting in the photoshop community so the experts there can help you.
    We also have many other forums relating to other Adobe products
    http://forums.adobe.com/community/
    http://forums.adobe.com
    Out of curiosity, can you tell me how you found our forum page?

  • Actions and additional actions

    Dear GuruS
    Iam aware of the difference between actions and additional actions , Iam not able to understand one thing , when I try to create an action type and try to activate  the update actions infotype coloumn. I get  a mesage
    upd 0000 ='x' only allowed for upd .0302 ='x'
    What should i do if I want the action type to be only stored in actions infotype but not 0302. It is not allowing me to select only actions infotype update .
    plss help..
    Regards
    Lakshmi

    Yes
    there is a check against U0000 but the system  prompts me to put a check against U0302 also for all the  actions types that I hv created.
    Is there any other settings to decide where the personnel action is going to be stored ..
    Regards
    Lakshmi

  • I have a project in Final cut pro 10.5 and the spinning icon appears with every action and each action takes up to 30 seconds to respond to?

    I have a project in Final cut pro 10.5 and every action takes up to 30 seconds for the program to respond . The spinning icon stays up during this time?

    Are you using Mavericks. If so you should update FCPX

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • [JClient 9.0.3] Trapping events and canceling actions

    Subject: [JClient 9.0.3] Trapping events and canceling actions
    I'd like to be able to, based on some condition, abort certain
    actions (navigate, delete, insert, etc, etc) when the appropriate
    events have been fired.
    E.g., in case the Transaction is dirty and when I navigate to a
    certain row in a certain ViewObject instance, I would like to
    intercept this action and let the user decide what to do:
    Commit/Rollback/Cancel. Of cource when 'Cancel' is selected, the
    navigation-action should be aborted at all.
    I have realised this functionality by subclassing JUNavigationBar
    and either calling super's actionPerformed() or not. This works
    perfectly, but of course there are other means to navigate (a
    JComboBox + NavigationBinding, a JTable or programmatically), so
    I would need to implement similar functionality for each of these
    component types.
    So, what I need to do is to intercept these actions on a lower
    level. It appears that I need to register RowSetListeners to
    ViewObject instances, but as far as I can tell, this way there
    isn't a real way to abort these actions once they are started.
    Am I pherhaps overlooking something? Any help and/or suggestions
    would be greatly appreciated.
    Arno

    Subject: [JClient 9.0.3] Trapping events and canceling actions
    I'd like to be able to, based on some condition, abort certain
    actions (navigate, delete, insert, etc, etc) when the appropriate
    events have been fired.
    E.g., in case the Transaction is dirty and when I navigate to a
    certain row in a certain ViewObject instance, I would like to
    intercept this action and let the user decide what to do:
    Commit/Rollback/Cancel. Of cource when 'Cancel' is selected, the
    navigation-action should be aborted at all.
    I have realised this functionality by subclassing JUNavigationBar
    and either calling super's actionPerformed() or not. This works
    perfectly, but of course there are other means to navigate (a
    JComboBox + NavigationBinding, a JTable or programmatically), so
    I would need to implement similar functionality for each of these
    component types.
    So, what I need to do is to intercept these actions on a lower
    level. It appears that I need to register RowSetListeners to
    ViewObject instances, but as far as I can tell, this way there
    isn't a real way to abort these actions once they are started.
    Am I pherhaps overlooking something? Any help and/or suggestions
    would be greatly appreciated.Yes you're right in saying that there are many ways one could perform navigate - by other controls, by calling next() on the VO or even on the RowSetIterator. Also BC4J does not generate 'events' before navigation to preempt navigation unless a row is 'modified' in which case RowValidation events are generated for the Entities modified in that row.
    The most generic way you may fix this is by 'listening' to rowsetiterator's navigation events and get the PreviousRow from the navigation events and set focus back to it if user presses cancel, or get the current RowKey and let the user commit/rollback and then restore the currency to a row with that rowkey (just in case the MT is set to clear all caches on commit/rollback transaction boundaries). Note that insert/delete events should not be handled this way as those event points are usually generated due to a button action and it's easier to preempt these actions rather than 'let the actions' complete and then perform a rollback-to-a-particular-point.
    Arno

  • HR Headcount and Personnel Actions(0PA_C01) std routines not working

    Hi Friends,
    I have loaded data for Headcount and Personnel Actions(0PA_C01) cube. Here the fields below mentioned are not populating data which are with standard routines. I checked code and also gone through sdn and also with SAP notes but every thing ok.
    We are working with support package 16.
    0AGE,
    0AGE_RANGE,
    0GT_PLAND(country key),
    0COUNTRY_CODE,
    0GENDER,
    0NATION,
    0PERSLANGU,
    0POSTAL_CD(Postalcode),
    0REGION,
    0MAST_CCTR,
    0CNTRCTTYPE(Contract Type),
    0PAYPCT_CHA(Capacity Utilization level in %),
    0HDCNT_FTE(Head Count FTE).
    Can u please give me your views to populate data to the above mentioned fields.
    Here 0GENDER,0NATION,0PERSLANGU,0POSTAL_CD(Postalcode),0REGION are attribute of 0PERSON and in turn is an attribute of 0EMPLOYEE. I can able to see data individually from both 0PERSON and 0EMPLOYEE. but i want to see data attribute data of 0PERSON in 0EMPLOYEE.
    Is it possible? If possible Can you please Explain me?
    Regards,
    Sridhar

    Adjusted transfer rules, so now standard routines are correctly populating fields.
    I have doubt on two fields of cube,
    keyfigures: capacity utilization level
                     head count FTE which is (capacity utilization level / 100)
    Is capacity utilization level  field in BI is equivalent to R/3 Staffing Percentage field ?
    (The staffing percentage indicates which percentage of an employee's time is to be spent in the position entered). If not what field in R/3 is equivalent to capacity utilization level .
    Regards,
    Sridhar

  • RAR: SoD Riskk and Critical Actions risks

    Hi all,
    I would like to get your input regarding different approaches followed in order to load in RAR SoD risk and critical actions risks.
    1) Do you load all of them under the same rule set?
    2) Do you think is convenient to load them under two different rule sets? One for SoD and the other for critical action?
    My decision here since AC modules when calling to RAR are using the default SoD, would be to define everything under the same unique rule set. Agree on that?
    Keep in mind the four GRC AC modules are implemented.
    Thanks for all. Kind regards,
      Imanol

    Hi Imanol,
      It depends on the client requirements. If client wants to see critical risks as well as SoD risks in CUP then same ruleset is the way to go. If client doesn't want to confuse approvers by showing critical risks then separate ruleset is the right way. At my current client, we have separate rulesets for SoD and Critical actions. We ask role owners to reaffirm all the role assignment which contains critical actions quarterly so we are covered from that angle.
    Regards,
    Alpesh

  • How to track agents and there actions at all levels in a workflow

    Hi All,
    We have a requiement where in the task description we are
    required to give the details of the people who had executed the workflow and the action they have taken.
    That is suppose  a user approves or rejects a workiitem.
    Then the another user who recieves the workitem should know
    who the previous users were and what action they had taken
    The previous agent who executed the work item can be identified, but we don't know how to identify what action did the previous user has taken.
    Thanks and Regards
    Shraddha

    You can make use of WI_ACTUAL_AGENT container element of the respective task container in order to know who has executed the last workitem.
    Thanks
    Arghadip

  • Change dock settings and mouse actions in accounts?

    After creating accounts for my class periods I changed the appearance of my/the administrator's dock and the actions of my mighty mouse to enable right click. After logging out and then logging back in as one of my class periods my changes did not carry through.
    Please tell me there is an easier way to change the dock and mouse actions than having to log back in as the administrator, going to EACH account, changing them so they can access system preferences, log back in as the class period, make the changes and finally go back in as the admin to take off their access to system preferences. Yuck...
    Also, when a student is logged into their period is there a way to switch to the admin account temporairily? For example, if they try to open an application they don't have privileges for shouldn't it prompt the admin to type in the password instead of requiring that I log out? Thanks for any help!

    Download and install the Server Admin Tools from Apple. It is intended for OS X Server but works fine on the regular version of Tiger.
    Then have a look at Workgroup Manager. It allows you to set all sorts of preferences for any number of accounts. Think of it like Parental Controls on steroids.

  • Having problems finding and importing actions I recorded in CS5 :(

    Hi. I've recently upgraded from CS5 to CC but I'm now having problems finding and importing actions that I previously had recorded in CS5. Where do I need to look to locate these actions, as they are still in CS5 when I open it.

    You export them using the flyout menu in the top right corner of the actions palette. Conversely, you load them the same way in the new version.
    Mylenium

  • Your information has been sent to our customer service department. We will review your case (est. time 72 hours) and take action as necessary.

    ''locking this thread as it is not a Firefox support issue''
    Your information has been sent to our customer service department. We will review your case (est. time 72 hours) and take action as necessary.
    == URL of affected sites ==
    http://

    Try getting help from Facebook. Those aren't Firefox support issues.

Maybe you are looking for

  • Black background in a pivot table

    Hiiiii, I have a page in sharepoint that contains tables and charts from Excel and it was working perfectly.One of a sudden some parts of this page gives me black background in the pivot table or the charts or the tables that have BI tools.. can u pl

  • JMS Adapter Configuration

    Hi All, Can we control the no. of jms consumer instances that would be fired for the same queue?Say if 10 payloads get inserted into the queue we want only four of them to be processed at a time.So only four consumers fire then when these requests co

  • Portal Runtime error during 1, 2, 3 Drag & Relate?

    Hi, I have successfully install SR1 version of the EP6.  I am attempting to complete the "1, 2, 3 Drag&Relate" weblog.  During one of the steps you have to go to User Administration > User Mapping to set the Everyone group user mapping. I am using sa

  • Home sharing apps not possible. Why?

    I cannot see my apps in the device list when connected to itunes. Also when I check my sharing preferences, apps are not listed, so therefore cannot be ticked. I want to home share some of my purchased apps.  Please help.

  • Problem displaying my form with Form9i

    Yep I got another problem with Form9i :/ The problem is when I try to execute my form, It doesn`t load my form but a form with an Oracle background...anyway nothaing related with the form that I expect to look at. PS: I start Oc4j instance before I l