How to do SelectAll and DeSelectAll

Hi all,
          wat should be the cardinality and selection of Context node which is binded with Model data of a Table while implementing SelectAll and DeSelectAll buttons
the code i used is
int n = wdContext.nodeTableData().size();
for( int i = 0; i<n; i++)
   wdContext.nodeTableData().setSelected(i, true);
But it is giving error as Selection of nodeTableData does not allow Multiple Selection
or i have to add one more column and context value to my table and implement the following code
For SelectAll
IPrivate<View>.I<Table>Node tNode=wdContext.node<Table>().;
for(int i=0;i<tNodesize();i++)
tNode.get><Table>ElementAt(i).setCheck(true);
Can any one please let me know how to solve this problem
Regards
Padma N

The cardinality need to be 0-n or 1 - n, other wise you cannot select the records  from node, if your bingding with a model node, then you need to set in the cardinality for the satrting node.
otherwise you need to create your value node,
Cheers.
Apparao

Similar Messages

  • JTextField:  How to selectAll() AND Position Cursor at Beginning of Text

    Hi All,
    I have a problem with when a JTextField is selected, I cannot simultaneously selectAll() and position the cursor at the beginning of the text. (selectAll() positions the cusror at the end of the selected text, not the beginning, which is what I require).
    Does anyone have a solution for this as I haven't found an answer as of yet.
    Many thanks.

    Thanks uncle_alice, but as far as I have determined, the setCaret() and selectAll() methods are mutally exclusive. Why do people ask for help and then disagree with the answer given?
    Thanks uncle_alice, I tried the code and it works.It amazes me that it took half an hour to "try" the code. Why not try the code first, ask a followup question later if it doesn't work? Why do we have to waste time resonding to a question twice, just to get you to try the code?

  • How to implement "SelectAll" function in table view?

    hi, experts
    i want to implement "SelectAll" function in table view, just like the SelectAll function in ALV,how to do?
    and, can table view has it's tool bar ,may be on top of it.
    pls help and thanks a lot!!

    Search this forum. You will find plenty of threads on the same...
    Raja

  • How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive w

    How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
    The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.

    If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
    You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
    Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
    There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
    You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
    See:
    http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders
    Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
    You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How to Plot number and string in one row (data logger counter) ?

    hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
    i have problem about plot the number & string in one row, as shown on the picture below :
    how to move that string on one row ? i attach my vi.
    Thanks~
    Attachments:
    MODBUS LIB Counter.vi ‏39 KB

    Duplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • How to place header and footer  in OO-ALV program using class

    How to place header and footer  in OO-ALV program using class tell me wat r the class we shold use and their attributes as well

    Hi Venkatesh,
    Take a look at this how to [ABAP Objects - ALV Model - Using Header and Footer|https://wiki.sdn.sap.com/wiki/x/xdw]
    it's explaining how to define the classes and use it for display an ALV with Header and Footer.
    Regards,
    Marcelo Ramos

  • How to set-up and use FAMILY Sharing

    Can someone please explain to me in detail how to set-up and use FAMILY Sharing, none of the information I have so far found in the documentation helps at all, in fact it puts you in a constant loop giving the same information over and over again
    We have quite a few devices from ipads, iphones and ipods and I need to set-up Family Sharing.
    We have our main Apple ID which is linked to our Payment method, I have now got my son a new iPad, I have created his Apple ID and set-up a link via FAMILY Sharing to our main Apple ID.
    From what I read we should be able to share our purchased Apps between family members.
    So I figured I would be able to get the Apps now via iTunes that are part of the FAMILY Sharing, however when I go into ITunes (latest version downloaded yesterday) I can only see the Home sharing menu item not FAMILY Sharing, so I cannot work out in Itunes how to get Apps that are FAMILY shared.  So ok I will try and get Apps directly via the Ipad using the App Store.  To test it is working I look for a known paid for App, I then go to download it and it is now asking me to pay for it again. 
    Can someone please explain to me in detail how FAMILY Sharing is supposed to work and how I get it to work please.
    Thanks for your help
    Greg

    Hey GregWr,
    Thanks for the question. The following resources provides some of the best information regarding Family Sharing. Included, you’ll find information on making sure the accounts are set to "Share my purchases”, as well as information on downloading Family Member purchases from the iTunes Purchased section. Please note that some applications are not shareable.
    Sharing purchased content with Family Sharing - Apple Support
    http://support.apple.com/en-us/HT201085
    Which purchased content can I share using Family Sharing - Apple Support
    http://support.apple.com/en-us/HT203046
    If you don't see your family's shared content - Apple Support
    http://support.apple.com/en-us/HT201454
    Thanks,
    Matt M.

  • HT204053 there is a new email on my phone apple id when I try to make an app purchase my own apple id does not work. How does this happen and how can I change it back?

    There is a new email address on my phone in the apple id password box.  My password will not work.  How did this happen and how can I change it back?

    Of course your password shouldn't work on a different Apple ID. This can happen for many reasons, no worries, just sign out back back in using your own ID.
    iOS: Changing the signed-in iTunes Store account
              http://support.apple.com/kb/HT1311

  • How do I copy and paste from one page or file to another page or file - on the same screen?

    How do I copy and paste from one page or file to another - on the same screen?

      Open both of your images in the Editor. Click on the image you want to copy and press Ctrtl+A (select all) followed by Ctrl+C (copy) then click the tab for your other image and press Ctrl+V (paste)
    Alternatively click on your background image then simply drag the second image from the photo/project bin and drop it into the main editor workspace on top of the background image. Use the move tool to position and the corner handles of the bounding box to scale.

  • How do I make and distribute and image to multiple macbooks?

    Hello,
    I am the IT support person for a number of schools.  We use a mixture of Macs and PCs.
    I am looking for a nice tidy option to create an image of a "master" client and distribute to a group of student Macbooks.  All the Macbooks are the same model and are all running Snow Leopard (though they were released with Leopard).  Initially, one of the teachers created a user account (called student) with all the software and settings that we needed,  on one of them and used Migration Assistant to copy that account to the others.
    I prefer to have a master image I can restore to at any time.
    I figure that Disk Utility will do the job - I'm just not 100% sure of which steps to take.
    So far I have created my "master" macbook that is set up just the way I want it.
    Next I was going to attach it to the mac I use to run everything on (ARD etc) via firewire and boot the master in Target mode.
    Then I would run Disk Utility on my mac and use the New Image button to create an image called "studentPOD.dmg"  (There is room on my mac for this, or I can put it on an external USB disk)
    Is this correct, and once I have the image, how do I get it onto the other Macbooks?  Is there anything special I have to do to make it bootable?  They all part of a student POD and can be re-imaged at anytime without worrying about losing data...so I can afford to experiment...
    Any help to clarify would be much appreciated.
    Also, should I look for a Snow Leopard server to do this sort of thing?
    Many thanks
    Suzanne

    Making a Master Image on Snow Leopard - this is a bit long winded, sorry!
    Build your Mac the way you want it, all updates, account settings etc, this will be your master image so don’t personalise it too much.
    There are two ways to make an image with Disk Utility - they both use the Restore function.
    The ideal one is to boot from Mac OS X Install DVD and go to Disk Utility.
    The theoretically less ideal method is to boot from the master image itself and then go to Disk Utility.
    The DVD option is theoretically better as it involves copying the master image while it is unused as opposed to the second option which copies the master image while it is in use.  However, I have done this with the master image mounted and it works perfectly.
    If you use the DVD method then the downside is that the Destination image size has to be the same size or bigger than the Source image size, If you use the boot from the master image method, as long as there is enough space in the Destination image to fit the files (usually around 18gb in my images) then it works.  This is good because it means you can fit your master image on a small disk!
    (NB this is not the case with Lion, it will not let you use the master image as a source if you have booted from it)
    Ok, so you are in Disk Utility and you can see your Macintosh HD with your master image on it and you can see your USB drive with it’s empty image on it, this image has to be formatted as Mac OS Extended (Journalled).  It has to be at least as big as the used space on the Macintosh HD master image.
    Now you are going to use the Restore tab to restore the master image to the USB drive.
    Drag and drop the Macintosh HD master image into the Source box
    Click in the Destination box then drag and drop the USB image into it
    Make sure the Erase Destination box is ticked.
    Click Restore and when asked if you are sure click on Erase. (unless you are not sure of course!)
    It might take an hour to restore, once it is finished, boot from the USB image (which will now be named the same as your master image) and make sure it is what you were expecting, test it etc.  I usually rename it at this point to something other than Macintosh HD, this can be done by right clicking on the disk in finder and renaming it.
    Restoring from a disk image:
    On the Mac that you want to re-image with the master image:
    Plug in USB drive containing your master image (created above)
    Boot from Max OS X Install DVD and go to disk utility from the Utilities menu (you will need to go through the “use English as the main language bit” first.
    Disk Utility might take a while to find all the disks / images…
    Highlight Macintosh HD (or whatever the image name on the Mac you are about to re-image is)
    Click on the Restore tab
    Drag and drop the master image into the Source box.
    Click in the Destination box and then drag and drop the Macintosh HD image into it.
    You should have master image in the source box and Macintosh HD image in the destination box.  The erase destination box should be ticked.
    Check everything is how you want it and click on the Restore button.
    It will ask you if you’re sure – if you are then click Erase – if you’re not then click cancel and go play with a PC!
    It will tell you how long it’s going to take, mine take around 45 mins.
    Once it's finished boot from it and bob's your uncle!

  • How do I upload and attach the file to Service Request

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    drangineni
    New Contributor
    Hi,
    I am trying to upload a file and add it to a Service object as an
    attachement. I greatly appreciate if you could provide any code or
    sample...
    Thanks.
    Daya
    Product: CRM OnDemand
    10-21-2006 10:58 AM
    Re: How do I upload and attach the file to Service Request...
    BigSlick
    Valued Contributor
    On Demand doesn't support adding attachments via web services. One
    solution I've seen is depending on the scenario is to create a web link
    field on an object that's based on a custom text field. Your web service
    can populate that custom field and the web link can generate a dynamic
    link to the file in On Demand's UI. However, this depends on where the
    attachment is located and if the user needs some sort of firewall access.
    Hope this helps
    -BigSlick
    10-23-2006 11:43 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Yes this still holds ture.
    Bardo

  • How can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it

    how can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it.  i design patterns but am fairly new to photoshop. i used to be able to click on the drop down menu in patterns in the 'fill' box but cannot now do this.  have i inadvertently clicked on something to turn this facility off?  i now have to go to 'preset manager' and manually move my new design to the first box and click 'done' so that i can use it.

    Which version of photoshop are you using?
    After you define a custom pattern it should be added to the bottom of whatever patterns are already loaded.
    For example, if you define a custom pattern and then go to Edit>Fill>Pattern, the newly defined pattern should have been added to the existing loaded patterns.

Maybe you are looking for

  • Need help with disconnect

    I need some help with the disconnect process in Essbase. Specifically, I need a way to disconnect all current connections. The connections are created two ways: 1) using the built-in Essbase Connect dialog box, 2) the others are connections created u

  • How can i sync my iphone 5 albums to my i photo

    how can i sync my iphone 5 albums to my i photo

  • ?Problem of :: "web-app" must match, help me?

    hi,Experts, Please do me a big favor, Does anybody know what is the exatly problem with my web.xml. My tomcat version is Apache Tomcat/4.1.18. here is the web.xml: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "htt

  • How much has to go wrong before Apple replaces a dud?

    My partner has just bought a new black macbook 2ghz 2gig ram - and within the first 2 weeks we noticed: The battery is dead (shuts down at once if power is disconnected -no charge at all) The headphone socket is broken - a headphone jack doesn't kill

  • Change alternative chart of account

    what is the differents steps and blocking points when you want to change a lot of alternative account (create new one, replace  old account per a new account,...). What are the impacts and the blocking points in financial statement? Thanks for your f