Can one button have multiple targets based on value of item?

I have a button on a form and based on the value of an item, when clicked, different pages need to be accessed. Is this possible to do? If so, any ideas are greatly appreciated.
Application Express 3.1.2.00.02

This is quite straightforward to do using conditional branches. Create a branch at the appropriate branch point (e.g. On Submit: After Processing...) for every target page, and set a PL/SQL Expression condition for each branch:
    :request = '<button_name>'
and :<item_name> = <item_value>substituting <tt>&lt;button_name&gt;</tt>, <tt>&lt;item_name&gt;</tt> and <tt>&lt;item_value&gt;</tt> with the appropriate values from your app (and changing the "=" in the item expression if some other condition is used). The built-in attribute <tt>REQUEST</tt> contains the name of the button that submitted the page.

Similar Messages

  • Can one pc have multiple ipods

    I have a problem when trying to download/purchase new music, I receive three security questions to set for security purposes. After listing the questions and answers I click the continue or enter and I receive an error message that my answers could not be saved. This began after entering code from an itunes card recently purchased, I was able to purchase 1 song and then this issue came up.

    Your title seems to have nothing to do with your post.
    Is your question "can one pc have multiple ipods"?  If so, then yes.  You can sync as many ipods as you like to one comptuer.
    Or is your question something to do with the body of your post?

  • Can one textfield have multiple text backgrounds?

    Hello guys,
    I have been trying to find a way to color the backgrounds of different words in a single textfield with different colors. 
    For an example, lets imagine the whole text is a story which has nouns and verbs...etc
    Now I want to show the full text which is my story and highlight the background of nouns in blue, verbs in red.
    Please see the attachment.
    Then I have dedicated toggle buttons for each types. The use of those buttons is removing or showing those backgrounds. For an example and when user clicks on noun button it will remove or show the background of all the nouns. Same for the button for verbs.
    Then you may ask why I can't achieve this by using separate textfield for each word in the story and line them like a paragraph.
    The problem is user should be able to edit those text. So those are INPUT typed textfields. So all the words should move within the boundaries of paragraph when user keep changing one word. Please see the second attachment and you may see that I have changed the first word by typing "abcde", so as I type all other words should move like you type inside a textfield. So thats why I think if we can achieve it using single textfield rearranging words as user types is taken care of the textfiled so we don't need to place all the words manually.
    When I was trying to think of a way to do it, I found that background is only a property of TextField, but not TextFormat.
    If it was a property of textformat then I could have set different formats for different words in same textfield.
    So that option is out.
    Also I thought of using CSS with htmlText. But unfortunately text-background is not supported by actionscript stylesheet class.
    I really appreciate if you can post your expert ideas to help me how to achieve this task.
    Thanks
    Nisha

    Is there an expert to answer this question please?
    Any big guns...

  • Can one instance have multiple redo threads ?

    i was reading the Oracle Data guard 10g guide and it says
    Determine the appropriate number of standby redo log file groups.
    Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups on the primary database. However, the recommended number of standby redo log file groups is dependent on the number of threads on the primary database. Use the following equation to determine an appropriate number of standby redo log file groups:
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database
    while Oracle's definition of redo log states the following
    Redo Threads
    When speaking in the context of multiple database instances, the redo log for each database instance is also referred to as a redo thread. In typical configurations, only one database instance accesses an Oracle Database, so only one thread is present. In an Oracle Real Application Clusters environment, however, two or more instances concurrently access a single database and each instance has its own thread of redo.
    this is confusing, in a typical environment where only one instance accesses a database, can we have more than one redo thread ?

    Though you can create multiple threads but of no use in NON-RAC or non-parallel server configuration.
    Following is the generic formula. You should consider
    maximum number of threads = 1 for single instance (NON-RAC).
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Message was edited by:
    Reega

  • Can one mac have multiple iCloud accounts?

    Hi, we have a family Mac, and everyone uses one Apple ID for iCloud and iTunes except for me. I want to get my Pages documents to sync with my phone iPad and the family mac, but the others in my family still need to use their iCloud account too.

    You can create separate user accounts and sign into your respective iCloud accounts within your user account.

  • Can ipad mini have multiple user accounts

    can ipad mini have multiple user accounts?

    No, iPads are basically single-user devices, it can only have one set of content on it

  • Can a subform have multiple pages defined?

    Can a subform have multiple pages defined to it?
    I have a form and it is calling several subforms. These subforms have multiple pages defined.
    The end result is I'm getting these additional pages overlaying the first page.
    I've verifed my Same Page option, origins, etc.
    I've used subforms before with no problems, however, I have never had a subform with more than one page.

    Its possible, be sure that you have a proper set origin on the sub form call - that can sometimes throw other things off. You also need to be careful of set origins in the subforms since those are relative to the subform call - you should not be using anything with ABS positioning in the subform.
    Do everything as REL/MAX first then adjust your subform calls followed by the content within the subforms. Use the store origin if you need to get positioning in the main form to the subform calls instead of ABS if possible.

  • HT204074 Can one account have 2 user id's?

    My GF just purchased an iphone, as we live together and share the same music and apple tv,s I would like to sign her on to my account. I would go ahead and use my apple id on her phone so we can both access the cloud, but I want us to be able to use facetime when one of us is away. How should I go about this? Can one facetime another device with the same apple id and password, or can one account have 2 users with different ids that both have full access?

    Hi BadLeprechaun,
    The easiest way to do what you are wanting to do is to have your girlfriend set up her own, unique Apple/iTunes/iCloud ID.
    Both IDs can access and use purchases on the same iTunes library as long as the User signed onto the machine is a single user. and by "User" here, I mean th person who is actually signed onto the Mac or Computer - not who is signed onto iTunes, for example).
    Once she sets up her own ID, have her open iTunes on the computer, sign you out of iTunes in the iTunes Store, and sign herself in. Then she needs to authorize that computer so it recognizes her Apple ID as a valid ID to use this iTunes library.
    Then, you both have access to eachother iTunes purchases, and can continue to share any data that is in the Library based on your syncing preferences for your respective devices.
    With her own Apple/iTunes/iCloud account, you wll be able to FaceTime, and message eachother with no issues. Although you use two different phone numbers, if you have both devices signed on with the same Apple/iTunes/iCloud ID, it just looks like another device owned by you, so things start to really get co-mingled.
    Just a suggestion!
    Cheers,
    GB

  • Can one tablepace have their datafile on ASM also filesystem. ???

    Hello Oracle Gurus''
    1.can one tablespace have their datafile on ASM as well as filesystem ?? like 1 tablespace =1ASMfile + 1 localfilesystem file
    2.also tell me will there be any database error code triggered on the DB alert log file. if we use the datafiles on ASM as well as local filesystem for one tablespace??and any performance issues on that tablespaces which resides on filesystem and ASM disk both? ..if all are fine how the filesystem datafile will be support for ASM rebalancing also mirroring level on ASM ??
    3.what is type of SCN? is there any types we have ?
    4.what are the wait events views on RAC clusters used? to monitor the cluster events and rectify the issues?

    user13014926 wrote:
    Hello Oracle Gurus''
    1.can one tablespace have their datafile on ASM as well as filesystem ?? like 1 tablespace =1ASMfile + 1 localfilesystem file
    Yes.
    2.also tell me will there be any database error code triggered on the DB alert log file. if we use the datafiles on ASM as well as local filesystem for one tablespace??and any performance issues on that tablespaces which resides on filesystem and ASM disk both? ..if all are fine how the filesystem datafile will be support for ASM rebalancing also mirroring level on ASM ??
    AFAIK no. The files which are present on the disk/file system only and not on asm, are not managed by it so no support for asm based striping and mirroring would be there for them.Second, rebalancing is NOT done for the files but for the disks when they are not present or have become offline due to some reason.
    3.what is type of SCN? is there any types we have ?
    Just remember one type, System Commit Number and forget about rest.
    4.what are the wait events views on RAC clusters used? to monitor the cluster events and rectify the issues?Please see the Performance Tuning section of Oracle RAC Admninistration guide with a special attention to Cluster wait class and wait events related to it. Best is, use EM and it would show all the things in a nice manner.
    HTH
    Aman....

  • Materials do not have a Target cost collector value/credit for the Final pr

    Hi,
    while running the sap report kkbc_pko, the materials do not have a target cost collector value .
    please guide me how to add the value to the material cost collector
    regards
    yogesh

    Hi,
       The normally the target cost will get updated only if the standard cost is released for the material and also when you execute the variance calculation for the order
    Check these activities and then try
    Regards

  • Can you now have multiple Itunes accounts sharing content on one computer?

    Hi - I was trying to find this information on line but cannot.
    The last "big" Itunes update (11.2?) prevented multiple Itunes accounts from sharing content on one computer.  Well, you can, but with consequences. For example, my husband purchased a movie rental with his Itunes account on our computer when he logged on to Itunes, but then I could not download any Itunes content for 30 days when I logged on to my account. I no longer purchase any content from Apple because of this. I was hoping this feature has been discontinued – it prevents households from purchasing Itunes.  We never pirate or steal any content at all. In fact, this feature forces us out of the Itunes universe to purchase movie rentals and music elsewhere.
    Not just trying to complain, really. Legitimately want to find out if this rights policy still exists before we both try to rent or purchase anything from Itunes.
    Thanks.

    https://discussions.apple.com/message/24659889#24659889
        "Won't it present problems if the daughter needs to reauthorize the computer for her own use before 90 days,"
    No. The 90 day limit ONLY applies to redownloading purchases from iTunes..
    So if she were to redownload purchases from the father's account then she'd have to wait 90 days to redownload form her own account. and the computer can be authorized for multiple iTunes account (pretty sure it's 5) . You don't need to later reauthorize for first account if you authorize for a different account.
    More discussion on 90 day wait period - https://discussions.apple.com/thread/6094005 - disable automatic downloads so message doesn't appear when using multiple accounts.
    Most people don't see the "re"

  • During import, how to auto split one project into multiple albums based on date?

    I believe I've done enough aperture reserach to get all my terminology right, so here goes...
    I've created a file structure within the aperture inspector the the tune of: 
    Year [folder], Type of event (Occasion, special occasion, holiday, vacation) [folder], Project (Wedding), Album (i.e. Day 1, Day 2 or Pre wedding week, event, honeymoon).
    I also have entire months with 7 or 8 pictures each day, that are of the same type/project (random dog pictures) but are distinctly different days (albums - day in park, in bed at night, watching movie). 
    My question is, can I import one project with multiple albums already created based on the date they're taken.  As I can see it, all I can do is split individual projects automatically by date.  But what if one project is over one month, but has multiple distinct days that would be ideal for albums?  One more example.  We did a trip to San Fran.  One day was touring the city, one day was a concert, another day was touring the city.  All one project, but 3 different albums (in my mind).  I had to import as one project, then separately go in and make albums.  I would like that done automatically.
    My suspicion is that I can not natively do this within aperture, and that I would need something called an "applescript."  I haven't done any reserach into that area, so if that's the case and you know where I can find a script that would do this, I'd appreciate the help. 
    Sorry for the wordiness, just wanted to be clear.  Thanks for any and all help!

    Hi,
    You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    MdZ

  • Can a family have multiple iClouds, with 1 iTunes acct?

    We are a family of 4 apple users. I want us to share the same iTunes acct with one way to purchase items, but I want us each to have our own iCloud login for backing up our devices. How can this be done? 
    Also, would we be able to access or see each others i

    Yes, in fact it's recommended that you have separate iCloud accounts.  You can have separate iCloud accounts and still share the same iTunes ID; it does not need to be the same as the ID used for iCloud.
    To create separate iCloud accounts, each person should go to Settings>iCloud on their iOS device and sign in with a separate ID to create their account.  If they have multiple devices, then can create the account on one device, then go to Settings>iCloud and sign in with the same ID on their other devices.

  • One button controlling multiple buttons as3

    I'm trying to follow a tutorial I found online for a randomly selected image without using an XML or AS file.
    The problem is that I want to generate more than just one section, like generate an image from one group, and an image from another group, and etc etc. That's something I can do but there'd need to be a button for each group. It's not exactly horrible, but I was hoping to just have a "one button controls everything". So is there a basic code that will say "When this master button is clicked, all these other buttons are clicked"?
    Here's the tutorial for reference.
    Flash Tutorial: Generate a Random Frame with AS3 -HD- - YouTube

    One approach is to have the event handler of the button call all of the other button's event handler functions, passing its received event argument to them.  If you were to name the other functions in some numeric  pattern then you could loop thru them rather than writing each one out separately.
    Another approach would be to have one single function that works for all the buttons where you test which button was clicked and decide which commands to execute.

  • Jtable: can a row have multiple lines

    Hello all,
    Can a Jtable row have multiple lines? For instance, if the string is too long, can i set a property so that the line breaks and makes the row larger (vertically), rather than carrying off the table (horizontally)? If so, can you please point me in the direction of what property to edit.
    Thanks in advance!

    You should be able to write a renderer using a JTextArea and set it on that column. that should atleast give you a start to wrap the text. But you need to add it to the scroll pane etc etc.
    but i think you need to do more to increase the size of the row vertically.
    Hope this gives you a start
    -nicedude

Maybe you are looking for

  • External link to video inside flash player

    I need to know how to link to a specific video inside an XML playlist that is connected to a flash video player. I can't seem to find any info as to how to do this yet I see it all the time.

  • Substitution for control key

    Dear Gurus,   I am creating a project with 6 WBS elements. When I am creating internal activity then my control key is PS01. My requiremenet is that only for 1st WBS of every project, my internal activity should be ZPS1 and for remaining it would be

  • Still Getting Buffering Issues and Slow Web Page L...

    Since I suspect this issue hasn't gone away - and I/we have been asked to post issues individually rather than clumping into a single tread. I just got back from Spain and after quizzing family it seems we are still getting Stream Buffering Issues (a

  • How do I change the default so my pictures in BridgeCC will open in  PhotoshopCC?

      How do I change default program to Photoshop CC?

  • Crash Premiere Elements 12 // Windows 8

    Bonjour, Depuis une semaine APE12 bloque systématiquement puis ferme (avec un mesg "l'application a rencontré un pb... va fermer" etc..) au moment ou je charge le projet et avant le chargement complet. Un projet précédent se charge mais est 'rouge' s