Open a new mail item in Lotus notes with all names from table view..

HI
the requirement is like this .. There is a table view with checkboxes..
Now user will select the particular checkboxes and one mail should be created in Lotus Notes with all the user ids selected.
How do i achieve
1) Selecttion of either all ( Select ALl/deselect all ) or some users funtionality in table view
2) Opening a new mail item with all users selected.

Hi Raja
The problem is this
I have 2 buttons mail to Selected  and mail to all .
          <htmlb:button id            = "b_mailtosel"
                        text          = "Mail to Selected"
                        onClick = "onInputProcessing(b_mailtosel)" />
          <htmlb:button id            = "b_mailtoall"
                        text          = "Mail to all"
                        onClick = "onInputProcessing(b_mailtoall)" />
Table view below is having this value..
<htmlb:tableView id             = "tab1_list"
                      table          = "<%= i_list %>"
                       footerVisible  = "false"
                       selectionMode = "MULTISELECT"
                       design          = "ALTERNATING"
                       emptyTableText = "No data available"
                       width          = "100%"
                        >
OninPut processing
WHEN 'b_mailtosel'.
      application->s_flag = '1'.
      l_tv ?= cl_htmlb_manager=>get_data( request = request
                                           name    = 'tableView'
                                           id      = 'tab1_list' ).
      IF NOT l_tv IS INITIAL.
        table_event = l_tv->data.
        IF NOT table_event->PREVSELECTEDROWINDEXTABLE IS INITIAL.
        i_selected_mail = table_event->PREVSELECTEDROWKEYTABLE.
        ENDIF.
      ENDIF.
table_event->PREVSELECTEDROWKEYTABLE is blank since there is no key column defined in the Tableview  ( since this combination doesnt work with select all ) .
    WHEN 'b_mailtoall'.
    cl_htmlb_manager=>check_tableview_all_rows(
      rowcount = rowcount
      request = request
      id = 'tab1_list'
      check = 'X'
      application->s_flag = '1'.
      l_tv1 ?= cl_htmlb_manager=>get_data( request = request
                                           name    = 'tableView'
                                           id      = 'tab1_list' ).
      IF NOT l_tv1 IS INITIAL.
        table_event1 = l_tv1->data.
        IF NOT table_event1->PREVSELECTEDROWINDEXTABLE IS INITIAL.
        i_selected_mail = table_event1->PREVSELECTEDROWKEYTABLE.
        ENDIF.
      ENDIF.
NO DATA is coming in Select all too..
HOw do i frame my code to atleast get the values...

Similar Messages

  • Form does not display all records from table

    Hi guys
    I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
    Any help will be appreciated.
    Thanks

    hi
    Set the block property of "Query All Records" to "YES"
    hope it will work.
    Faisal

  • My e mails are getting clogged up with all emails from the discussions how do i stop it

    how do i stop all the emails i get from the discussion communities

    See picture for correct settings.
    http://i1224.photobucket.com/albums/ee374/Diavonex/9289c68227745e5d5abc200010aad 40c_zpscd1a7a2c.jpg

  • Programatically create new mail item and open - body text lost on subsequent saves

    Hi,
    I have a problem with trying to create new GroupWise mail item from a
    button in a C3PO. I require programmatic access to this via the Object
    API, so it must be a saved draft. This is relativley straight forward to
    do - just create a mail item using the object API, and then use the Token
    API to open this item.
    This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
    when the user does a subsequent save, the body text of the message
    dissappears in the GUI (it is updated correctly in the draft however) -
    and all subsequent saves cause the body text to dissappear. If you close
    the mail item and open the draft manually you can continue as normal.
    As a test, I also tried to use the Token API to create a new mail item,
    and then again to save the item in the work in progress folder. This
    seems to work fine the very first time you do this, but each subsequent
    time the same behaviour is seen - i.e. the body text of the email is
    deleted from the GUI. Also, another observation here, event though the
    mail item was saved in the WIP folder via the token API command
    ItemSaveMessageDraft, it moves into the users MailBox when the user saves
    it manually.
    I have posted the two snippets of code from my test C3PO project at then
    end.
    This is a major problem, as we need to be able to reliably create new mail
    items from a toolbar button, so any help very much appreciated.
    Regards
    Greg
    Test case 1: Create a new message object in the WIP folder, and then open
    it using Token API...
    Dim sRetString As String
    Dim DraftMail As Object
    Set DraftMail =
    g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
    ("GW.MESSAGE.MAIL", egwDraft)
    g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
    Test case 2: Create a new mail via token API, then use token API to save
    the item in the WIP folder...
    Dim sRetString As String
    ' create the new mail item...
    g_Commander.Execute "NewMail()", sRetString
    ' Get the folder path as a string..
    Dim GWFolder As Object
    Dim sAccount As String
    Dim sFolderPath As String
    sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
    Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
    sFolderPath = sAccount & "\" & GWFolder.Name
    ' dirty the message so save works...
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
    ' do the save...
    g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
    sRetString

    Hi,
    I have a problem with trying to create new GroupWise mail item from a
    button in a C3PO. I require programmatic access to this via the Object
    API, so it must be a saved draft. This is relativley straight forward to
    do - just create a mail item using the object API, and then use the Token
    API to open this item.
    This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
    when the user does a subsequent save, the body text of the message
    dissappears in the GUI (it is updated correctly in the draft however) -
    and all subsequent saves cause the body text to dissappear. If you close
    the mail item and open the draft manually you can continue as normal.
    As a test, I also tried to use the Token API to create a new mail item,
    and then again to save the item in the work in progress folder. This
    seems to work fine the very first time you do this, but each subsequent
    time the same behaviour is seen - i.e. the body text of the email is
    deleted from the GUI. Also, another observation here, event though the
    mail item was saved in the WIP folder via the token API command
    ItemSaveMessageDraft, it moves into the users MailBox when the user saves
    it manually.
    I have posted the two snippets of code from my test C3PO project at then
    end.
    This is a major problem, as we need to be able to reliably create new mail
    items from a toolbar button, so any help very much appreciated.
    Regards
    Greg
    Test case 1: Create a new message object in the WIP folder, and then open
    it using Token API...
    Dim sRetString As String
    Dim DraftMail As Object
    Set DraftMail =
    g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
    ("GW.MESSAGE.MAIL", egwDraft)
    g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
    Test case 2: Create a new mail via token API, then use token API to save
    the item in the WIP folder...
    Dim sRetString As String
    ' create the new mail item...
    g_Commander.Execute "NewMail()", sRetString
    ' Get the folder path as a string..
    Dim GWFolder As Object
    Dim sAccount As String
    Dim sFolderPath As String
    sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
    Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
    sFolderPath = sAccount & "\" & GWFolder.Name
    ' dirty the message so save works...
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
    g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
    ' do the save...
    g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
    sRetString

  • TS3276 cannot send open a new mail window. hear a small beep

    it will not let me open a new mail screen. The mail is working (all green dots) I just hear a faint beep.....please help!

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Click the Clear Display icon in the toolbar. Try the action again. Post any messages that appear in the Console window – the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Why does pages 09 keep opening a new mail message

    I'm using pages 09 now (was using 08; tried the new 5.0 but it is useless based on backward compatability)
    When I click on a name in a document it immediately opens a new email message with To as the contact  I clicked on. I've tried turning off all the auto complete, etc I can find but it still happens.
    Specifically,
    if I go to the footer, the next time I land on a name in the body of the document it opens up a new email.
    Once I close the mail message I can continue typing, editing etc.; but the moment I go to the footer and then return to the text box it jumps to a new mail message when I click on a name.
    How do I turn this off?
    George O.

    More on this and a correction-
    there is a part of this document outined in blue- whenever I go into this part from the footer it initiates an email to me;  it doesn't matter where I click. My earlier question said when I click on a name this happens; but actually anywhere in the outlined area.
    some of the document does not have thin blue outlines; when I go there I'm ok- no new email.
    so, what are the blue lines about?
    and why does it send me an email when I move into the outlined area?
    thanks for any help !
    george

  • I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    Since you can't delete Apple IDs and having multiple Apple IDs can cause confusion, what you may want to do is rename your existing Apple ID to the new email (desired Apple ID).  That would in effect do what you want, get rid of the old and give you the new.
    See "Apple ID: Changing your Apple ID"
    ivan

  • When I open a new website, the page does not open, instead it places a tab in the bottom task bar? How can I change the settings so as when I open a new website the page is automatically displayed on my desktop. Thank You!

    When I open a new website, the page does not open, instead it places a tab in the bottom task bar? How can I change the settings so as when I open a new website the page is automatically displayed on my desktop. Thank You!

    Tools > Options > Tabs - is the last preference there check-marked??

  • I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites.

    I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites. I was able to get window open from the help "window" and open sites from there just not from new: window tab or bookmarks those stay invisible? I tried the help suggestions, safemode,etc.

    Hi CMorenoOT,
    This prompt is usually displayed when your Apple ID needs to be configured for the iTunes Store. You'll want to run through the additional steps to setup your country, and payment information.
    iTunes: How to set up an Apple ID within iTunes
    http://support.apple.com/kb/HT2731
    Tip: If you are trying to create an account using an existing Apple ID, like your iCloud email address, you will receive a prompt telling you that your email address is already an Apple ID. Simply tap Continue, and then tap Use Existing Account on the following screen.
    - Next, you'll be required to enter your billing information. To choose a different Credit Card type, tap one of the available options, and then tap Done. You will not be charged until you make a purchase.
    - Once you've filled out all of the fields for your billing information, tap Next.
    For more information:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    Thanks,
    Matt M.

  • I can not right click in my bookmarks "open in new tab"? Other areas yes, but not in my bookmarks. I have to open a tab first , then left click, to open. Is something wrong, the option to open in new tab is there, but not highlighted?

    the option to open in new tab is there, but not highlighted?

    now it is working?! Go figure. Yeah! Thanks anyway......

  • Pushing BO inbox item to Lotus Notes and SAP Inbox.

    Hi ,
       Can we  Push BO inbox item to Lotus Notes and SAP Inbox. if we do it then how to do it.
      Thanks in Advance.
    Regards,
    Yagyashikha

    Hi,
    well you should ask your Lotus Notes administrator to setup an SMTP gateway on the LotusNotes side for you. I know that this is possible but I have not done it myself before. And since this is an SAP BusinessObjects forum I am not sure you will get an answer about this here.
    Regards
    Stratos
    PS: I found the following link in the internet
    [http://www-12.lotus.com/ldd/doc/domino_notes/Rnext/help6_admin.nsf/89d3962efd85426f85256b870069c0aa/f0e11c47fc62bc2e85256c1d00394ef9?OpenDocument]
    Not sure if this applies to your version though.

  • Whenever I access my Hotmail inbox to open a new mail it starts reloading the mail after every second unless i switch it to full view?

    whenever I access my Hotmail inbox to open a new mail it starts reloading the mail after every second unless i switch it to full view. Kindly help me to solve this continuous problem.

    I confirm this is a known bug and Microsoft are working on a fix. They plan to fix this before Firefox 4 reaches release candidate phase.
    A workaround is to change a preference in Firefox:
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''html5.enable''' and double-click on it to change its value to '''false'''
    If you do this, remember to set the preference back to true by double-clicking on it again when Firefox 4 release candidate is made available, the bug should be fixed by then.

  • You can't open the application "Mail" because it is not supported on this type of Mac

    For some reason I can not open Mail application anymore; I keep receving this weird message. "You can’t open the application “Mail” because it is not supported on this type of Mac."
    I'm using an IMac 24-inch, Early 2008 and running OS X10.8.2.  Ever since I downloaded this latest version of OS X Mountain Lion my computer has slown down considerably

    Hi mende1,
    Problem solved!! Following you suggestion, I reinstalled Mountain Lion and everything is working just fine now.
    Thank you very much for your help, I really appreciated.
    Cheers
    Chris

  • HT4597 Why can I only see new mail in icloud and not in my normal in box

    Why can I only see new mail in icloud and not in my usual mail in box

    sonnay, are you also in South Africa like the original poster whose message you tacked onto?
    A lot of countries only have app store, no music or video stores. Because of copyright laws that are different between every nation. Stupid, that the laws are different, but that's the way it is.

  • When I click on the - fire fox disappears from the task bar; it is still open but gone from the task bar, if I click on any icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Question
    When I click on the - to minimize fire fox, it does not close the window but the firefox icon disappears from the task bar; it is still open but gone from the task bar, if I click on any other icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

Maybe you are looking for