IPhone - HELP with selecting a row and loading a specific webpage

Thee following code works to open different webpages...if i click on Row 0 then it opens the page...
http://www.webpage.com/iphoneapp/1.html
But I need each row selected to open an unrelated webage.
Since the title is different depending on the row that is selected, can I add another criteria within this code (i.e. if title = "@Joey" then self loadremotehtml..... if title = "@Billy" then selfloadremotehtml....
Where/How do I add this other variable? THANKS!!
else if([name isEqualToString:@"Band Blogs"]) {
MoreBioViewController2* bioViewController = [self.navigationController.viewControllers objectAtIndex:1];
self.title = [bioViewController.displayList objectAtIndex:bioViewController.selectedBioIndex];
[self loadRemoteHTML:[NSString stringWithFormat:@"http://www.webpage.com/iphoneapp/%d.html",bioViewController. selectedBioIndex+1] ];

Use a h:commandButton and the HtmlDataTable#getRowData().
Also see this article for some pointers: [http://balusc.blogspot.com/2006/06/using-datatables.html].

Similar Messages

  • Help with select list item and dynamics action

    G'Day Apex Gurus,
    I having problems trying to achieve to trigger the help window of a select item automatically. A help window is triggered when the select item label is clicked but my client would like to be triguered automatically as soon as the user click to see the options in the select list.
    I think that I should be able to do it with dynamic actions but I can not get it to work.
    I know when someone click on the label of the select list item trigger this JavaScript
    javascript:popupFieldHelp('277938589795252851','1545903379570909')
    So I want to trigger the javascript also when the user click of the select list item and pull down the options and for that I think that Dynamic actions is the way to go but I can't get it right.
    This is what I a doing:
    I created a Dynamic option as follow:
    Name : test
    Sequence: 30
    Even: Click
    Selection type: Item(s)
    Item(s): P1_RATING <- a selection list item
    Condtion: - No Condition -
    True Actions
    Sequence: 10
    Action : Execute JavaScript Code
    Fire when event result is :True
    Fire on page load: ticked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
    I appreciate any one who can tell me what i am doing wrong here or provide a solution to my problem of achieving to trigger the help window of a select item automatically.
    Kind regards
    Carlos

    Hi Carlos,
    I set up a test case in exactly the same way and it worked fine for me. I created a page item called P1_DA_DEMO and added some static select list values then added some help text. The settings I used are below, I suggest you try again but also make sure you have no other Javascript errors on the page. Use a tool like firebug to check.
    Name : Dynamic Action Demo
    Sequence: 10
    Even: Click
    Selection type: Item(s)
    Item(s): P1_DA_DEMO <- a selection list item
    Condtion: - No Condition -
    True Actions
    Sequence: 10
    Action : Execute JavaScript Code
    Fire when event result is :True
    Fire on page load: Not Ticked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
    Event Scope set a s Bind.
    Thanks
    Paul

  • My iphone 3g got stuck with the apple logo and loading bar since  last night when i try to reset the iphone pls help thanks!

    My iphone 3g got stuck with the apple logo and loading bar since  last night when i try to reset the iphone pls help thanks!

    Can you reset the phone by holding the on/off switch and home button down until your phone reboots and the Apple logo again displays?

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • I have an iphone 4S with broken wifi (!) and I need to sync my contacts before I set up my new iphone 6. I thought contacts synced automatically with itunes but seems not.  I've found my Apple address book but contacts are outdated. What to do? Help!

    I have an iphone 4S with broken wif i :-( and I need to sync my contacts before I set up my new iphone 6. I thought contacts synced automatically with itunes but seems not.  I've found my Apple address book but contacts are outdated. What to do? Help!

    If your Bluetooth is working, you may be able to tether your phone to another device, and backup that way.  Either via iCloud or one of many Apps that send yourself a VCF file containing your contacts.
    You may have to update to a later IOS via USB and iTunes, not sure if IOS 6 has Bluetooth Tethering.
    I would have thought you could also switch off cloud sync'ing for your contacts, this should ask a question if you want to keep the contacts on your phone.  An iTunes Backup and then Restore to your new iPhone should restore the local contacts.  Then sync these back to the iCloud.
    Hope this helps.

  • Hello...I´ve just updated my Iphone 4 with 5.1.1. and my Iphone does not start at all....Nothing... Help pls

    Hello...I´ve just updated my Iphone 4 with 5.1.1. and my Iphone does not start at all....Nothing... Help pls

    Have you tried a reset by pressing and holding the sleep/wake button and the home button for 10-15 seconds until the Apple logo appears, ignore the red slider.  Then turn back on. You won't lose any data doing the reset.

  • I have iphone 3g with ios 4.1 and i can,t download any applications from apple store please help

    i have iphone 3g with ios 4.1 and i can,t download any applications from apple store please help

    Your phone is carrier locked to a carrier other than the one you are trying to use.
    It was apparently hacked to unlock it prior to your attempt to update. Updating has re-locked it to the original carrier.
    Contact them and find out what their policy is.

  • I have an iPhone 5s with iOS 8.1 and iMovie no longer shows up as an option to export to through garageband. How do I fix that?

    I Dont know what changed or when it changed, but I created a song in garageband on my iPhone 5s with iOS 8.1 and I selected it to export it to iMovie and when I selected that iMovie wasn't an option. I'm not sure if it's a GarageBand issue or an iMovie issue or an iOS 8.1 issue. Can I change it in settings or do I have to wait for another update or what?

    Which screen exactly is missing, when you select a song in "My Songs" and press the "Share" button
    ? The "Open in ..." in the first screenshot?
    You may have to scroll the panel upward to see the second row with the
    After pressing "Open in", you will first see the dialog to set the parameters of the shared song, before the second screen will be presented.
    Do you see the second screen, but iMovie is missing?

  • Help with SELECT - selecting range of numbers

    Hi,
    I need a help with SELECT statement. I want to select Dates starting from today and ending 30 days back. So the result would be like:
    TRUNC(SYSDATE)
    TRUNC(SYSDATE) - 1
    TRUNC(SYSDATE) - 2
    TRUNC(SYSDATE) - 3
    TRUNC(SYSDATE) - 30I was thinking to simply select truncated SYSDATE in first column, and in second column numbers 0, 1, 2, ... 30. Then I would simply do a difference first column - second column. But how to select such sequence of numbers? I don't want to select each number (date) in separate select statement and then unioning them.
    Does anybody have an idea?
    Thanks for help, Dan

    SQL> select trunc(sysdate) - level + 1 as dt
      2  from dual
      3  connect by level <= 31
      4  ;
    DT
    07/01/2013
    06/01/2013
    05/01/2013
    04/01/2013
    03/01/2013
    02/01/2013
    01/01/2013
    31/12/2012
    30/12/2012
    29/12/2012
    28/12/2012
    27/12/2012
    26/12/2012
    25/12/2012
    24/12/2012
    23/12/2012
    22/12/2012
    21/12/2012
    20/12/2012
    19/12/2012
    DT
    18/12/2012
    17/12/2012
    16/12/2012
    15/12/2012
    14/12/2012
    13/12/2012
    12/12/2012
    11/12/2012
    10/12/2012
    09/12/2012
    08/12/2012
    31 rows selected

  • Multiple selection of rows and delete the same

    hi how can we select the multiple rows in a table and delete the same.
    if i have 3 rows i have to select 2 rows and if i press the delete button the selected rows should be deleted.
    Can any one help me .
    Thanks
    Badri

    hi
    in the layout of the screen u might have dragged and dropped the table control
    double click on it u will get attributes screen in that u select MULTIPLE under Line-Selection
    under attributes tab.
    the internal table in table control must be like
    data : begin of itab occurs 0,
             empno type .......,
             empname......,
             empcity.....,
             check(1), " for tab selection"
             end of itab.
    data : itab1 like itab occurs 0 with header line.
    in the attributes screen of the table control
    pass the value ITAB-CHECK to the field W/SELECTION
    in SE51
    PBO
    Module_status_0800
    loop with control table_control_name.
    module_fill_tcontrol.
    endloop.
    PAI
    Module_user_command_0800
    loop with control table_control_name.
    module_read_tcontrol.
    endloop.
    in se38
    Module_fill_tcontrol. 
    endmodule.
    Module_read_tcontrol.
    READ TABLE itab1 INDEX control-current_line.
      IF sy-subrc EQ 0.
        MODIFY itab1 FROM itab  INDEX control-current_line.
      ELSE.
        MOVE-CORRESPONDING itab TO itab1.
        APPEND itab1.
        CLEAR itab1.
      ENDIF.
    endmodule.
    module_user_command.
    case sy-ucomm.
    WHEN 'DELE'.
          DELETE itab1 WHERE check = 'X'.
    endcase.
    endmodule.
    Regards
    Murali.M

  • I have just updated my iPhone 4 with latest IOS 7 and now wi fi greyed out and Bluetooth not working. Tried reset, restore everything - no use. Its out of warranty too. I refuse to pay for a new phone when clearly this is an apple issue not phone issue.

    Can anyone help? I updated my iPhone 4 with latest iOS 7 and now wi fi is greyed out, Bluetooth won't work and tbh am so angry! Phone now out of warranty so apple won't help without it costing me. Don't want to pay as its an apple problem not phone problem. It worked ok before. Tried everything, even clearing it down. Can't even back it up now unless I connect to a pc!

    I have not had wifi since November when I upgraded to the newest IOS version.  I called the Apple help line and they told me some things to do and I tried them all and they worked for a few hours and then wifi shut off again.  I kept doing what they told me and it worked for a couple more days and then I could never turn it on again.  My blue tooth doesn't work either.  I had to actually increase my data usage with AT&T becuase of this.  When I did that in December I went to the Apple store and was told that it is a hardware issue and since my phone is out of warranty I would have to pay for a new phone because they could not fix the issue.  My upgrade isn't up until June 2014 so not only do I have to wait for the upgrade and I am not paying for a new phone but I have to pay $10 plus extra a month on my cell phone bill because I was going over on my Data!!!  I have been beyond upset about this and Apple is not doing anything about this nor did they offer up some way to resolve the issue because obviously it is not just some rare incident if several people are having this issue.  Who knows how many people out there have had this issue and have not said anything about it.  Now there is a newer update that I can't do because it requires wifi in order to download.
    June can not get here fast enough and I may not go back to Iphone after dealing with this for so long with no help from Apple.

  • TS2756 iam using iphone 4S with win 7 PC and i cannot connect to the internet through my phone but i tried with my other 4S and it works but what should i do for the first iphone 4S???

    iam using iphone 4S with win 7 PC and i cannot connect to the internet through my phone but i tried with my other 4S and it works but what should i do for the first iphone 4S???
    as i said i have two iphone 4S,,,,,
    1st one --- has os 5.1
    2nd one has os 6.0
    i tried 2nd one with carrier reliance gsm nd it works with that personal hotspot setting using USB...
    but i want to connect the first 4S with carrier TATA DOCOMO GSM but its not working with the same USB feature????
    plz reply asap...!!!
    thnxxx in advance!!!

    If not this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem.
    Also heating sometimes works. See:
    Why can't I select my wifi settings?
    A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Then:
    Does the iOS device connect to other networks? See other networks? If yes that tends to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I have an iPhone 3G with iOS 4.1 and want to update it to 4.2 but my iTunes window shows update available to be iOS 6.1.3.. How do I update my iOS??

    I have an iPhone 3G with iOS 4.1 and want to update it to 4.2 but my iTunes window shows update available to be iOS 6.1.3.. How do I update my iOS??
    I really need help.. My iTunes version is 11.2 I guess..

    http://support.apple.com/kb/HT4972
    1. Backup.
    A 3g can go up to only 4.2.1.
    A 3gs can go up to 6.1.3.
    Need the latest version of itunes.
    Follow link above.

  • I have a Iphone 3gs with the reading list and I was upgrading my phone however Im changing to a samsung galaxy s3, I wanted to know how to send or sync my reading list on my phone to maybe an email or something so that I could copy it to my galaxy??

    I have a Iphone 3gs with the reading list and I was upgrading my phone however Im changing to a samsung galaxy s3, I wanted to know how to send or sync my reading list on my phone to maybe an email or something so that I could copy it to my galaxy??

    Go to supportprofile.apple.com and remove your device. Alternatively you can call in to apple and have Apple look up your phone number. They may be able to remove it from their end.
    If it does not show up in either of these places, have the people whe own the other iPhone send you a message> this message will be blue for an iMessage> have them push an hold on that message and select the option "send as text"> this should send the message as green> do this two - four time till it starts sending as green on its own.> this should fix it.

  • Help with opening Adobe Reader and downloading updates

    I can not open Adobe .pdf files any longer (this started yesterday, prior to that I could open adobe files).
    When I double click a .pdf file I get this notice on my screen: Windows cannot access the specified device path or file. You may not have the appropriate permission to access file.
    So I went to the Adobe download site to download a new copy of Adobe.  When I start the download I get this on the screen:  The instruction at "0x0e3a0068" referenced memory at "0x0e3a0068."  The memory could not be written.  Then two options are listed: click OK to terminate or cancel to debug.  So I click on cancel and I get this on my screen: Internet Explorer has closed this webpage to help protect your computer.   A malfunctioning or malicious addon has caused I.E. to close this webpage.
    I don't have AVG running, I do have avast but I've disabled it.  I ran Registry Mechanic and an I.E. erasure program but nothing helps.
    I have gone into I.E. and reduced the security level to its lowest state but no joy.
    So, any ideas or suggestions on what's the problem and how to overcome it would be appreciated.  Thanks, in advance, for your reply.  Jim R.

    Hi Mike..tried that as well but no joy.  A friend of mine was looking at it all and noticed that it was an I.E. thing as far as not letting me redownload the reader so I went to Mozilla Firefox and I could download a new version but....whenever I attempt to open a .pdf file I get that message, "Windows can not open the specified device, path or file. You man not have the appropriate permissions to access the item." 
    Damn...this is irritating as I need to get to some of thos files as I need them for a Journal I'm working on as editor-in-chief. 
    It all worked just fine last Saturday but starting Monday when I was on my flight out to D.C.  no joy. 
    Sigh...Jim R.
    Jim R.
    Date: Tue, 1 Dec 2009 14:50:27 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help with opening Adobe Reader and downloading updates
    Under the help menu, there is an option to repair the installation of reader. Did you try that?
    >

Maybe you are looking for

  • Payment Program Document not automatically Cleared

    Hi, We created payments through F110 payment program and the vendor invoices were paid on 14th October. We then ran the program again on 31st October and the same invoices were paid again. We use the payment list to manually pay the telegraph transfe

  • Skype Freeze my computer/Skype me Congela La Compu...

    Hi i installed skype in win 7 pro and when i install it m computer freeze i cant do anything even move the mouse only i can shut down my computer by taking the power and when i delet it my computer is back to normal pls said if there any solution for

  • Settings in OsX to hook up two computers trough Airport Express

    I want to get access to a external harddrive with Mp3s that is connected to my iMac mini through my G5 that are both connected to my Airport netwoork at home. What would be the best way to set it up? What should the settings be on the computers?

  • Iphone 5 not recognised

    Hi After updating to IOS 7 my Iphone 5 is now no longer recognised by itunes. I am running Windows 8 and have uninstalled and reinstalled itunes. My other devices ipad 2 and iphone 4s are both recognised.

  • Why won't the Tabs function work (Open new window in a new tab instead)??

    My current problem is- - I'm running FF.32, and when I click on a link (in an email, article, webpage link... anything) it opens in the Current window... it doesn't open a new* window, or new tab (as selected)... it "closes" the current page and open