Tree Doesnt populate the whole data with HTTPService request

Hi,
I am working with the tree control which populates the tree
with the HTTPService request.
Step1. Make a HTTPService Request and fetch the top level
entries.
Step2. When ever the user opens an treeItem by clicking on
the Triangular icon besides the tree item
Make a HTTPService, fetch the data, on the callback method
append the Datasource with the new data for the item to open.
problem is the tree branch gets populated with partial data
instead of the full data where as the DataSource has the full data.
Step3. when ever the user clicks on the item
Make a HTTPService, fetch the data, on the callback method
append the Datasource with the new data for the item to open.
Now the tree item gets populated with the correct data.
tried every thing to refresh the tree....

private function refreshTree():void{
tree.expandItem(rootNode, false);
tree.expandItem(rootNode, true);
this helped

Similar Messages

  • Want to print the whole month with or without overtime for each employee

    Hi,
    I have Oracle forms/reports10g R2, Below query returns employee overtime correctly but I want to add the whole month with it in simple words if one employee have overtime for five days in a month I want the query to return the whole month including five overtime days for each employee and let say if we have ten employees query return whole month for each employee either he have or overtime or not how can I implement this in report it becomes agony for me, anyone please suggest a solution.
    Thanks and regards, Khawar.
    ---Query---
    select o.ot_date , o.start_dt_time as start_time, o.end_dt_time as end_time, o.ot_details, et.holiday, et.staff_id, e.staff_name, e.desig
    from overtime o, emp_ot et, employee e
    where o.complain_no = et.complain_no
    and o.inc_type_code = et.inc_type_code
    and et.staff_id = e.staff_id
    order by 1, 2, 3, e.staff_id

    Hi Michael,
    Thanks for reply, I think I didn't explain as I should, I want to print Overtime report for each employee let say employee A123 did overtime for five days in DEC than what I want is to print report for employee A123 for the whole month means when I print report blank cell should come where A123 don't have data (I mean other 25/26 days).
    The structure of tables are as
    SQL> desc overtime
    Name Null? Type
    COMPLAIN_NO NOT NULL NUMBER(5)
    OT_DATE NOT NULL DATE
    START_DT_TIME NOT NULL DATE
    INC_REF_NO NUMBER(5)
    END_DT_TIME NOT NULL DATE
    INC_TYPE_CODE NOT NULL VARCHAR2(10)
    DISTRICT_CODE VARCHAR2(6)
    BUSBAR_VOL VARCHAR2(5)
    OT_DETAILS VARCHAR2(2000)
    SQL> desc EMP_OT
    Name Null? Type
    STAFF_ID NOT NULL VARCHAR2(8)
    COMPLAIN_NO NOT NULL NUMBER(5)
    INC_TYPE_CODE NOT NULL VARCHAR2(10)
    HOLIDAY NUMBER
    Each employee associated with primary key i.e COMPLAIN_NO and INC_TYPE_CODE
    in each OVERTIME table record we may have more than one employee in EMP_OT table.
    above detail may clear my query.
    Thanks and Regards,
    Khawar.

  • How we can populate the form data from 2D barcode

    Hi All,
    Can anyone tell me how we can populate the form data from 2D barcode, will this can be done through script(javascript)?.
    Thanks & Regards,
    Faisal Afzal

    I was hoping someone could put me in the right direction here. I am basically doing the same . I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.
    The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)
    <?xml version="1.0" encoding="UTF-8"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:datasets>
    <xfa:data>
    <form1>
    The XML structure that is expected by the PDF template is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.
    Thanks

  • How can I see the whole week with calendar built-in app ?

    How can I see the whole week with calendar built-in app ? My husband has an ipad and he can see the whole week and the whole year... is it possible with iphone 4 ?

    What you see is what is available.
    Turning the iPhone into landscape mode with Month, Day, or List view selected provides the closest thing to seeing an entire week.

  • HT201272 How can I see the whole week with calendar built-in app ?

    How can I see the whole week with calendar built-in app ?  My husband has an ipad and he can see the whole week and the whole year... is it possible with iphone 4 ?

    You have posted in the itunes store forum.  This has nothing to do with the itunes store.

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    Hi
    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    Example
    <code>
    SET LINESIZE 4000
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET PAGESIZE 999
    SET MARKUP HTML ON ENTMAP ON SPOOL ON PREFORMAT OFF
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2
    SPOOL OFF
    SET MARKUP HTML OFF ENTMAP OFF SPOOL OFF PREFORMAT ON
    SET LINESIZE 2000 VERIFY ON FEEDBACK ON
    </code>

  • How i map the caf data with data of UWL in web dynpro

    Hi Experts,
    i created a bpm project with nwce 7.1.1 and it have a independent caf to keep it's data and status.
    now i have to create a view(use web dynpro) such like UWL,
    my question is
    how i map the caf data with UWL, and let the view can open the task(popup a window, just like UWL do) for user to finish their job?
    thanks.

    Hi Vic
    Your requirement is exect functionality of UWL based on WEBDYNPRO, CAF and BPM for automation? ,and question is How to use CAF with WD or CAF with UWL API's ?. please clarify it.
    Please fo through from given doc misght give u some idea
    1. [How to develop Web Dynpro UI for your CAF project |http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0722080650DB02400261803144436507End?blog=/pub/wlg/5414]
    Best Regards
    Satish Kumar

  • AD user script to populate the IPPHONE attribute with the last 4 digits of the Telephonenumber attribute

    Good Afternoon Scripting Guys. I have a script that I have been working with pretty much all day today and just cant quite get it to play nice. Our objective is to search AD for specific users (say filtering them out with a username that starts with a "T")
    and User account is "Enabled" then grab the last four digits of their phone number (phone number is set up as follows: (800) 123 456 ) then populate the IPPHONE attribute with the last four digits of their phone number. I have read a ton of online
    blogs with users successfully making this happen but it appears that they are all using Quest (as the commands are all Get-qaduser and Set-qaduser). I need something that runs strictly in native Active Directory Module PowerShell on a Windows Server 2008r2
    Domain Controller.  I am also trying to keep it as simple as possible by using a Get command, then piping a Set command.  I have saved the script into a .ps1 file with the logic as follows:
    $SelUsers = Get-ADUser -filter {(SamAccountName -like "t*")} -Properties ipphone,telephonenumber -searchbase "OU=Test Users,OU=Temporary Org,OU=Test_Domain Users,DC=mydomain,DC=com" | where {($_.enabled -eq $True)}
    foreach ($user in $SelUsers)
     {$user.ipphone = $user.telephonenumber(4,$User.telephonenumber.length-4)
     set-aduser -instance $user}
    What is happening is kind of funny, but aggravating at the same time.  When we run the script, it completes with no errors.  When I pull up the properties of a user in the OU, the IP Phone field is populated with the number 8.  If the User
    account did not have a telephone number, the IP Phone field is populated with a -4.  So, apparently, the script is somehow subtracting the "-4" from the number of all of the Telephone Number field's characters.  Basically 12-4 is 8. 
    If there is no telephone number, then 0-4 is -4.  I have run the Get-ADUser portion of the script independently so I know its getting the correct users.  I also know it is populating the IPPHONE attribute but not with the last 4 digits of the telephone
    number.  Can you guys help out and maybe get this to work correctly?  Also, can you add logic to it to the script to delete any value in the IPPHONE field first, then replace it with the last 4 digits of the telephone.
    Any help would be GREATLY appreciated!!!!!  Thanks Guys...
    Lee

    First thing I would do is modify your filtering. This will remove the unneeded piping to the Where-Object cmdlet and also allow us to only return users who already have something in the telephoneNumber field. It is possible this could return all of your
    users, but if you have service accounts, etc. that do not have a telephoneNumber then they will not be included in your results. It's just a little cleaner.
    $SelUsers = Get-ADUser -filter {(SamAccountName -like 't*' -and Enabled -eq $True -and TelephoneNumber -like '*')}
    I suspect you may have a made a mistake when you entered what your phone numbers looks like. I assume that you forgot a final digit. If this is correct, and you have a space in the phone number between the three digits and the final four then you can use
    the split method to grab the last four digits.
    Foreach ($User in $SelUsers) {
    $Number = $User.telephoneNumber.split(' ')[-1]
    Set-ADUser -Identity $User -Replace @{ipPhone=$Number}
    There's no reason to delete what's in the field first because that's part of what the -Replace parameter will do anyway. This should help get you started!

  • Attach the whole form with XML data when Emailed

    Hi all
    I am new to Adobe Livecycle product. I have been using IBM workplace forms and now want to migrate to Adobe Forms. I want the whole completed PDF form to be attached along with the xml data in it when someone clicks the email button and email is sent. Currently when I am able to attach only the data part to the email.
    Please advice on this...
    Thanks
    Ullas

    The default email submit button is set up to send just the data/ If you drop a button object onto the form, set it to be a submit button, then use the mailto protocol to setup who you want to send it to. One of the button parameters allows you to choose what you want to submit. in your case choose PDF.

  • Can I make a checkbox populate the current date?

    I've been asked to make a form that has quite a few checkboxes.  These checkboxes also need to be marked with a date when checked off.
    Rather than have the person filling out the form type the date every time they check the box, they request that when the user clicks the checkbox that a current date show next to the checkbox.
    I don't know if this can be done with a current date stamp or with having a text box that populates with the current date, etc.
    The forms are also going to be used throughout multiple days, so I can't just call on a "current date" and show/hide that text box like I had originally thought to do.
    I'm also really green to scripting so any help or guidance in the right direction would be much appreciated.
    Thank you.

    The following Mouse Up script for a check box will set the associated text field to the current data when it's selected, and blank the field when not:
    // Mouse Up script for check box
    (function () {
        // Get a reference to the text field
        var f = getField("text1");
        // Set the value of the text field
        if (event.target.value !== "Off") {
            f.value = util.printd("mm/dd/yyyy", new Date());
        } else {
            f.value = "";
    Replace "text1" with the name of the associated text field.

  • Populate Tabular Form Date with Date Sitting on Form itself (i.e. :P#_Date)

    Hello,
    I have a tabular form with two date fields. I need to populate these date fields with two date fields sitting on the form itself.
    The form dates are ":P#_Start_Week" and ":P#_End_Week". These dates can change, based on the user entering the data.
    I then need to move these dates into the tabular form dates for update to a table, when the user clicks the save button on the tabular form entry. I can't seem to figure out how to make this happen.
    On the tabular form element I select Default Type PL/SQL or Function
    Default - sysdate
    This works fine, but trying to use item(application or page item name) with the form field date name does not. I'm still really new to the APEX world, so any help would be greatly appreciated.
    Thanks,
    Elaine

    Thanks to all who were in the process of getting ready to help.
    I found my answer in the threads, after reading many.
    Here is the answer:
    Re: Default a date in a tabular form
    Posted: Apr 14, 2006 3:34 AM in response to: MikeSolis Reply
    Sorry, didn't realize you are using a tabular form,try this instead :-
    Make the default type as "PL/sql source or function" and the default as "to_date(:F586_TODAYDATE)"..shown below. I made sure my computation which sets the application item returns a date.
    Display as - Text field
    Default Type :PL/SQL Expression or Function
    Default :to_date(:F586_TODAYDATE)
    Reference Table Owner - TEST_SCHEMA
    Reference Table Name -EMP
    Reference Column Name -HIREDATE
    HTH
    Vishal
    I can't believe this post is from 2006. Wow! Thanks Vishal!

  • How to populate the whole path of the button in a field when the button is clicked.

    Hi,
    I have around 5 uploads in my file. I kept a hidden field on the header of the form. When ever i click on the upload button, the path of it needs to be populated in the hidden text field.
    by using   this.parent we can get the parent name of the element.
    is there any method similar to the above one to get the whole path of the button????????

    Try putting this script in the click event of the button
    Hidden_Text_Field_Path.rawValue=this.somExpression;
    This ought to work using either FormCalc or JavaScript.  I'm not sure from your description whether you will need to use the full path name for the hidden text field or use a relative one, but that's not too hard to deal with.

  • Can a Photo Gallery be created using the Meta Data with a Widget or Lightroom ?

    I want to create a website with a bunch of photo galleries, but I have to have the Titles and Descriptioins from the Meta data used. 
    Can Muse import Lightroom Photo Gallery's web pages?
    Or, Is there a widget to do this?

    So your saying import a Gallery from Lightroom using Muse's slideshow widget, which ignores titles/descriptions? 
    I'm finding it very difficult to understand why Muse would not use this information as it clearly shows the File Names in Asssets.
    The workflow seems simple: Take A picture, Bring it into Lightroom, Adjust and enter WHAT it is with Titles and Descriptions, use it ALL in a website.
    I've got some 500 photos.
    Re-entering Titles/Description information everytime it's used in a website is not something anybody should have to do.
    Please help, there has to be a better way to do this.
    I'm eager to buy Adobe's product to do this if it can be done.
    Adobe is too smart to leave out something so simple with MUSE.

  • I don't quite understand the whole deal with AA3's "Temp" folder

    So, when exactly can I or should I delete the contents of Auditions temp folder?  Mine is currently at a bit over 400MB but on an 90GB partition.
    But, I'm wondering when it is appropriate to clear some of all of the temp files out of there.
    I just don't understand what they're there for, because as I understood it they are created when you make an edit on a file so that you can undo that edit, if this is true, here are my questions:
    1. Are temp files only important when working on a session?
    Because I mean, if I make an edit in edit view, it creates a temp file...but once I have finalized that edit and saved re-saved the waveform making it permanent, then what is the point of the temp file?  How do I find out which temp files are associated with destructive edits that have been saved and thus making the temp file unnecassary?
    2. Are temp files created when an effect is applied in Multi-Track view?  if they are then:
    IF I delete the wrong temp files does that mean that the efx I applied on certain tracks will no longer be there?  Will efx dissapear from tracks on which I have applied them if I delete temp files?
    Obviously I don't understand, but why do I need 400+ MB of temp files after my projects have been saved and closed?  What is the purpose of all those temp files being there if all my projects are up to speed as far as saving is concerned?
    any insight would be highly appreciated, thanks.
    Kris

    hmmm, thanks for the response but are you sure?
    Because it says specifically to use your biggest partition for the temp files folder...if they are all supposedly erased upon the closing of Audition (which mine are definetly not) then why do they suggest to that you use your biggest partition for the temp folder?
    Here is more from the manual:
    When you edit a file, Adobe Audition copies the audio data into a temporary file for internal use. This process allows for quicker editing, better handling of large files, and the ability to undo changes.
    When specifying folders for temporary files, you should use hard disks with plenty of free space. (To specify these folders, see System  preferences.) If free disk space reaches 45 MB, the Manage Temporary Folder Reserve Space dialog box appears. You can use this dialog box to delete temporary files and clear undo items.
    Use  the status bar to monitor the amount of free disk space. (See Display  the status bar.)
    well if you got to the help files you can see the image too, and it picture where it's giving you the option to delete what appear to be older temp files?
    It seems unlikely that if Audition is deleting temp files upon closing and your temp folder is on your largest drive, that a situation would arise wherebye the temp files eat up so much space in one session that your HD is down to 45MB??
    maybe I'm missing something, can someone confirm what ryclark said?   Is it true that I can manually delete all my temp files and there will be no implications for my sessions which have already been closed?
    thanks again.

  • Is there anyway to populate the Apple map with push pins ie customer lists

    Is there anyway to populate the Apple or Google map on my iPhone 5 with push pins that will stay there?  For example I would like to populate with all of my customers around the country to help me quickly find them when I am on the road.

    The pins don't stay there, but you can bookmark pin positions, and then drop a pin on the desired customer's location by selecting the customer from the bookmarks list.

Maybe you are looking for

  • New apple aluminium keyboard with iBook G4

    Is this keyboard compatible with my laptop? I have some documents i need to type up, and would like to go an ergonomic route, by using an external, full size keyboard. Anyone know if i can use the new Apple keyboard with my iBook? I'm running Mac OSX

  • Movie playback starts with pink screen

    I'm queuing and playing movies with MediaPlayer When a new movie starts playing for a split second the screen shows pink after which the movie starts playing normally. This is very unwanted as I'm building a multimedia application that will be projec

  • Tree Node - Open new FORM

    Dear all. How can i open new FORM, when i double click at (tree) node. Best Regards node |__node1 |__node11 <-- double click and open new FORM |__node12 |__node2 |__node21 Message was edited by: First_Step

  • Installing Oracle R12 External HDD

    Please can anyone provide with me with some good steps to install Oracle apps R12 based on the following information: Windows 7 Professional on Laptop HDD - 100gb External HDD - 500gb Ram- 2gb Thanks in advance Ify

  • List the total users connected at point of time (portal admin)

    Hi Dev2Dev team Is there any way to get List of total users as well as specific users connected to portal at point of time is there any way to get the list from portal admin or from weblogic server is there any tool available for this can anyone prov