How can I create UI components dynamically based on the result of WebService/HttpService call?

I would like to create child components of the component
based on a XML which is retrieved by WebService/HttpService call.
createChildren() is the one to be used to create components
dynamically. But if I use createChildren() and call a
WS/HttpService request in createChildren method, I can not get the
result of WS/HttpService request in createChildren().
It seems that the result event is processed later after
createChildren() is completed.
How can I implement my requirement?
I would appreciate any pointer or suggestion.
Best regards
Masa

1) Use a List, with a custom itemRenderer
2) Use a Repeater (Probably easiest)
3) use Actionscript to addChild() components.
Tracy

Similar Messages

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • It wants to verify my account and won't take the password, how can I create a new one or verify the existing one?

    I cloud wants to verify my account and won't take the password, how can I create a new one or verify the one it won't take?

    If you can't remember the password, reset it at...
    iForgot.com

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

  • How can I create a scrolling effect where when the user scrolls down the image will blur out?

    How can I create a scrolling effect where when the user scrolls down the image will blur out?

    Hi there,
    You can create a scroll motion where the image will fade out on scrolling, you need to use the Opacity tab under Scroll Effects Panel.
    If you particularly need the image to be blur out, then you need to edit that image in any image editing program and make one copy of that image as blurred, then place both images (actual and blurred) on that page and use scroll motion or fade option to replace images.

  • How can I create a new dynamic stamp in Pro version ?

    I would like to add a new dynamic stamp but cannot find out how to.

    A simple way is to create a new custom stamp using the UI, and then make it dynamic by opening the resulting stamp file, adding one or more form fields, and the custom calculation script(s) that control the behavior.  If you get stuck with any of these things, post again.
    For everything you need to know about stamps, get this book: http://www.amazon.com/About-Stamps-Acrobat%C2%AE-Paperless-Workflows/dp/0985614706

  • How can i create menu & submenu dynamically in JSF?

    Please tell me how can i generate menu & submenu in JSF using database or dynamically.

    Stephen,
    Check this page out for some elementaries on dynamic pages in UIX. The LOV is essentially just like any other UIX page, with the two differences: it's launched and submitted differently. But these differences don't affect what content is displayed on the page.
    Dynamic Structure in ADF UIX Pages:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.ChildData/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cdynamic%7Ehtml/

  • Creating Region & Items Dynamically based on SQL Result

    Hi,
    I need to create regions dynamically during runtime based on SQL.
    So the number of regions and title will depends on the SQL result.
    I came accross the PLSQL Dynamic Content region type. I searched in the internet, I could not find a matching example.
    I looked at the APEX book, it mentions about 'Creating a Matrix of Fields Programmatically' but It's not very descriptive and it's using www_flow_api which i couldn't find documentation about it.
    So I am turning into this forum for help.
    Can you guys guide me to dynamically create region in a page?
    for e.g
    If my sql returns 5 records, I need to create 5 regions. Each region will contain a dynamically created tabular form as well depending on another SQL (from table function).
    Please let me know if I am not being clear about my question.
    Thanks a lot in advance.

    hello,
    I have the following SQL statement in my region.
    SELECT APEX_ITEM.DISPLAY_AND_SAVE(1,rectype) rectype,
           APEX_ITEM.DISPLAY_AND_SAVE(2,class_id) class_id,
           APEX_ITEM.DISPLAY_AND_SAVE(3,attribute_id) attribute_id,
           decode(rectype,1,'<p style="font-size:17px;color:white;background-color:#383838">'||title||'</p>',
                          2,'<p><b><i><big>'||title||'</b></i></big></p>',
                          3,replace(title,chr(13)||chr(10),'</br>'),
                          apex_item.textarea(4,title,5,200)) title,
           decode(rectype,1,'<p style="font-size:17px;color:white;background-color:#383838">'||review1st||'</p>',
                          2,apex_item.text(5,review1st,3,3),
                          3,APEX_ITEM.SELECT_LIST_FROM_LOV(5,review1st,'ARTIST_RANK',null,'NO'),
                          apex_item.hidden(5,review1st)) review1st,
           decode(rectype,1,'<p style="font-size:17px;color:white;background-color:#383838">'||review2nd||'</p>',
                          2,apex_item.text(6,review2nd,3,3),
                          3,APEX_ITEM.SELECT_LIST_FROM_LOV(6,review2nd,'ARTIST_RANK',null,'NO'),
                          apex_item.hidden(6,review2nd)) review2nd
      FROM TABLE (pkg_artist_review.f_artist_review (:P21_ARTIST_SEQ, :P21_ARTIST_DISCIPLINE,:P21_REVIEW_YEAR))as you can see I use DECODE because I need to do HTML formatting on the value and create ITEM according to the value of 'rectype'
    decode(rectype,1,'<p style="font-size:17px;color:white;background-color:#383838">'||title||'</p>',
                          2,'<p><b><i><big>'||title||'</b></i></big></p>',
                          3,replace(title,chr(13)||chr(10),'</br>'),
                          apex_item.textarea(4,title,5,200)) title, so the report result would look like
    rectype                  title
    [display f01]          title
    [display f01]          title
    [display f01]          title
    [display f01]          [text area f04]My question is :
    I would think my array list f01 and f04 will have different number of values inside.
    f01 will have 4 value, whereas f04 will only have 1.
    I tried to use
    decode(rectype,1,APEX_ITEM.DISPLAY_AND_SAVE(4,'<p style="font-size:17px;color:white;background-color:#383838">'||title||'</p>'),
                          2,APEX_ITEM.DISPLAY_AND_SAVE(4,'<p><b><i><big>'||title||'</b></i></big></p>'),
                          3,APEX_ITEM.DISPLAY_AND_SAVE(4,replace(title,chr(13)||chr(10),'</br>')),
                          apex_item.textarea(4,title,5,200)) title, I only ended up having the HTML code written to the report.
    How can I handle such situation?
    I need my array list to have the same number of records thus i could just use one index to iterate through the value.
    Thanks in advance.
    Edited by: joel2 on Mar 18, 2009 3:40 PM

  • We have too many apple devices, how can I creat another apple ID and divide the devices among 2 Apple Ids?

    Hello all,
    We started off with the original iPhone a few years ago and now between my wife and I (plus Kids) we have too many apple devices under the same apple-ID (2 X iPhone 6+, 2X macbook Pro, 2X iPod-touch and 1X iPad)
    We are constantly running into issues because everyone in the house is using the same apple id, downloading Apps using the same ID, sharing the same cloud and receiving each other's iMessages.
    I know that I can create another Apple-ID, what I am unclear on is once I do have a new apple ID, how do I assign that to half the devices (1X iPhone 6+, 1 X MBP and 1 Ipad)
    Please respond if you are able to help.
    Thank you

    I'm not sure what they told your at the Apple store, but each Apple ID can only create a single iCloud account.  If you want separate accounts for all these devices, they will have to be created using separate IDs.  Note: you can do this and still share the same ID for other services such as your iTunes store account.  The iCloud ID does not need to be the same as the ID used for other services.
    To create an account, go to Settings>iCloud and sign in with a different Apple ID.  If you want to migrate a copy of the current iCloud data to the different accounts, start by saving any photo stream photos that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud that you want to keep, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud; the devices keeping the current account will not be effected by this), provide the password to turn off Find My iDevice and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.

  • How can I create a list of addresses from the Junk folder?

    I am using TB 24.7 and I have a long list of e-mail addresses in my junk folder. I need to harvest those to add them to my server's black list.
    How can that be done?
    Thanks.

    Trying to filter junk messages based on sender email is hopeless. The sender email changes all the time.

  • How can I create hard disk space without emptying the Trash?

    I moved everything in my Pictures folder into Trash, not realising the folder also had the iPhoto library.
    So now all my photos have gone from iPhoto, though they are still in the Trash folder, which has not been emptied.
    I have attempted to restore in two ways:
    1)  Through Time Machine (which has most but not all of the iPhoto library backed up, and
    2)  By dragging the iPhoto library from Trash into Pictures.
    In both cases the restore action fails because during the process I get the message that the start up disk is running out of space.
    One way to create space would be to empty the Trash, but I can't do that because I would lose the photos not backed up on Time Machine.
    I was not aware of any space problems previously, so I wonder if something I have done in this process has filled up my hard disk?  But in any case, the immediate problem remains - how to create space (which will hopefully allow me to restore the photo library), without clearing out the Trash folder.
    Thanks for reading this, and any advice will be much appreciated.

    The following comments are really off topic because unfortunately they come too late to help you in your particular case.  They may even amount to venting.
    The way iPhoto hides your photos in packages that are not readily accessible in the Finder—because you have to Control-Click and open the package to show its contents first—is the main reason I immediately delete iPhoto from my hard drive whenever it gets installed by an OS installation or upgrade.  I hate the "Libraries" paradigm in Apple's Apperture and in Adobe's Lightroom.
    I much prefer the Adobe Bridge paradigm which is totally transparent and instantly reflected in the Finder, just as any changes you make in the Finder is instantly reflected in Bridge.
    After years of trying, I've given up trying to find somene's ear at Apple to let them know how unacceptable iPhoto is (on so many levels).
    Similarly, I have disabled Time Machine on my Leopard boot drive, preferring to rely on SuperDuper, although my main working boot drive is a Tiger volume.  Because of their intrusiveness, I've also permanently disabled Spotblight and the Dashboard on all my OS installs.
    2.5 GHz Power Mac (PPC) G5-Quad; 16GB RAM; mutant, flashed 550MHz nVidia GeForce 7800GTX 1,700MHz 512MB VRAM; ATTO ExpressPCI UL5D LP SCSI card; Mac OS X Tiger 10.4.11 and Leopard 10.5.8 boot drives; Spotblight, Dashboard and Time Machine permanently disabled; dual 22" CRT monitors; USB wireless 'n' available but connected to the Internet via wired Ethernet; FW flatbed scanner; 2 SCSI scanners (one tabloid-size transparency scanner and a film scanner); various internal & external HDs; FW Epson 2200 and Ethernet Samsung ML-2850ND printers; 2 X Back-UPS RS 1500 XS units.

  • How can I create a Splash / Welcome Page before the home page

    I'm trying to create a splash page to inform our users about some changes to the site before they enter the site. I created a new page in the top menu by clicking the left X of the home / index page, which is the result that wanted. But when I click on site properties of this new splash page it has inherited the "index.html" filename and when I export the HTML my home page is now named "index1.html."
    I'm concerned about the effects this will have on our SEO and analytics, so I was wondering if there was a work around for this. Basically I'm looking to have the Splash page with the new information be the first thing visitors see with a button that allows them to enter the main site sfter they've read the information. But I don't want to compromise the page structure by adding another index page or renaming the existing index page.
    Is this possible? Or can someone suggest a way to accomplish this in MUSE?

    CRESDesigner wrote:
    ...Is this possible?...
    Not quite, if you are concerned about SEO. Introductory or 'splash' pages are terrible for this and can hurt your search results even after you pull the splash page down. In regard to SEO, we already shoot ourselves in the foot by using Muse. Be careful about compounding this with a splash page.
    Ideally, your web site would check for the existence of a cookie that identifies if the visitor has seen the alert. If the cookie is not present, a DIV overlay would be presented with your alert. Once that alert is presented, the cookie would be written to prevent further display of the alert. You could achieve this in any other web design program (or text editor) today, or you can submit a feature request and wait for Muse to offer this functionality in months/years.

  • How can I create & print a whole sheet of the same label?

    For example, a full page of return address labels, or "Thank You" on every label? Someone posted a similar question in '07 but there was no solution posted at that time. Does anyone know how to do this in Mail and Address? or even in Pages? Thanks.

    Thank you for your input. I am trying to stay attentive to the things that Mac can do to better, or more so, than the PC. It hard to stay focused on that when the basics (things that I do regularly) seem to be just not even offered...like today, I wanted to get a "receipt" with an email I sent out from Mail and Address Book. However, as you probably know, it isn't a supported function. Again I noticed in the discussions that many folks are disappointed and questioning why something that has been around for so long in other mail software is not a part of Mac's. As far as using Word, I see your point, but I did pay for iWorks because the Apple Store guy told me I can do all the same things and even more than Word. I would have just paid for Word had I known, but now I'm not paying for both. I found avery.com and will use their free online label maker for now till I figure out another way to do it without having to incur another fee. So far, iWorks and Mail and Address not been impressive to me. Hopefully I will keep uncovering aspects of them that make them shine and impress me, and make life easier when on the computer. Thanks. Peace.

  • How can I automatically scale a table based on the page size?

    I have multiple tables within 100s of pages of an InDesign file and when I use the liquid layout to scale the content of the pages based on the size, the tables stay the same. I've searched for a while now and can't come up with anything other than going in and manually doing it - which I don't have the time to do.

    You probably haven't activated the layout adaptation (I'm on german ID, don't know the correct name for it in English) in the mini menu of the Liquid Layout panel.

  • Can JMS Message be filtered dynamically based on the JMS Header variable

    Hi All,
    We have a requirement to filter messages from an MQ (Queue) using the JMS Adapter.
    There is only one subscriber to this Queue.
    Can we use the Message Selector option using the same subscriber to pick different messages based on the context set.
    For example I have two BPEL instances running for the same BPEL process and both of them have to read messages from the same MQ Queue, say SampleQueue.
    The first BPEL instance need to pick the messages when JMSpriority = 1
    The second BPEL instance should pick the messages when JMSpriority = 2
    Is this possible? As the Message Selector in the examples given is expecting a literal on the right side of the expression.
    Ex : Country='UK' Color='Green' etc
    To put the question in a different way, can the right side of the expression in a message selector be a BPEL variable?
    Thanks

    Hi
    I have the same question. Basically, I want to match my response message with the request message. I am putting in an id in JMSCOrrelationID in the request. The applciation that send the response put the COrrelationId, I sent into the JMSMessageId. But now, I want to correlate my request and response? What is the best way to do this in BPEL?
    Can the right side be a variable? I want to say JMSMessageID = 'ID: ' + JMSCorrelationId.

Maybe you are looking for

  • Regarding xml file sequence and sales order sequence not equal

    Hi frnds,                                  The XML File generates after sorting the line items, the sorting is done alphabetically on material master codes but the when the program converts the XML to Sales orders, the line item numbers does not matc

  • Can I run two instances of mail at the same time?

    To avoid accidentally sending an email from the wrong account, I want to use an email program (that can access an Exchange account) "dedicated" to just that account. To do this, I think have to use either Mail or Outlook. I don't have Outlook, and us

  • A/R Credit Memo & A/R Debit Memo

    Hello Experts, In Sales A/R section, we have an option A/R Credit Memo which hits the credit side of the customer (...works fine). For Debit Memos, I could not find an option, what I can see is only A/R Invoice of "Service Type". I think it is not an

  • How can i copy a moving image (video) off the screen?

    How can I copy Video from the screen? IE, is there a similar way to the cmd arrow 4 to copy a screen shot?

  • Report for Asset A/c

    Gernarate report without compromising the reconcilation of AM with FI Thanks and Regards Chiru