Remove pages selection

Hi all,
Is that possible to delete a selection of pages, such the function with right click on a page selection : "Remove pages" with scripting ?
It's possible to do that with a loop, but the function with right click seems to be really quicker.
Thanks for your help and happy new year everybody.

Hi,
Suppose there is a table where each row has a remove button.
Now associate an event with remove button and in event parameters return the primary key of the row say
vendor_id. Now capture the event in process form request.
if("delete".equals(event))
String vendorid = pageContext.getParameter("vendor_id");//capture the vendor id from the event parameter
//Now loop thru the VO Rows and find the row for that vendor id
for(Row row = (Row)vo.first();row!=null;row= vo.next())
if(vendorid.equals((String)row.getAttribute("VendorId").toString()))
row.remove();
Thanks,
Gaurav

Similar Messages

  • Remove page in I-photo

    I'm making a book in I-photo.  There are some pages I want to delete, however the "Remove Page" selection is grayed out.  Help!

    Maybe my explanation was not clear...  (sorry about the typo)
    It does not matter what external editor is now selected.  I think the default choice is actually to have no external editor and do editing using iPhoto.
    Go to iPhoto preferences, on the Advanced tab.  Find the setting that says Edit Photos.  Change that settting so that it says In Pixelmator...
    NOTE:  To change that setting, you need to select the choice that says In Preview... (if it is currently set to use Preview).  That opens a dialog box where you can find and select Pixelmator instead.
    (My version of iPhoto is 9.3.2.)

  • Earliar i can remove any selection in the page from right mouse key now i can't

    earliar i can remove any selection in the page from right mouse key now i can't

    See this article for some suggestions: [[Firefox has just updated tab shows each time you start Firefox]]
    See also http://kb.mozillazine.org/Preferences_not_saved and [[Preferences are not saved]]
    * [[How to set the home page]] - Firefox supports multiple home pages separated by '|' symbols

  • Just upgraded to 5 from 3 - what happened to the page select icon? Can't find it in customize toolbars.

    Used to be you could select which page you wished to go back or forward to from the arrow icons on the navigation toolbar. The history menu item only shows 10 sites without having to open history for today. What happened? Is there another icon or a new plug in for this functionality? I used it all the time.

    ''what happened to the page select icon (Back/Forward)''
    The back/forward buttons have been moved to right-hand side of the navigation bar and the drop-down was removed. User right-click or hold click for one second to see the tab history. This is item #5 in my list.
    The History menu also has "Open Previous session" and "Open closed windows",
    to see more history use the History sidebar ("Ctrl+H") or the History Library List ("Ctrl+Shift+H") and sort or view by "Last visited".
    You can make '''Firefox 5.0.1''' look like Firefox 3.6.19, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 5.0.1, or 4.0.1, look like 3.6.*)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • How can I completely remove pages from a Pages document?

    I had a 44 page Pages document, 95MB in size (it had a lot of TIFFs in it). I deleted all but 9 pages, removing 15 of the 18 TIFFs, but found the document was still 94.7MB. Huh? I cracked open the document using Pacifist, and found a folder titled ".iWTrash" that is 78.4MB in size, containing 4 blank-icon documents with numbers (00000001, etc) for names. This is apparently the material from all the deleted pages. Why is it being kept? Is there any way I can get rid of it, reduce the  file to the ~16MB it ought to be?
    TIA,
    Andrew Main

    What action did you take to "delete" the 35 pages and 15 TIFFs?''
    I selected them in the thumbnail sidebar and pressed the Delete key. The second time I did it I noticed there is a "Delete Page..." command in the Edit menu, so I used that. Which is what the Pages Manual says to do. In both cases, a dialog appeared asking if I was sure I wanted to delete page XX, and assuring me that "The section containing this page will be deleted." I don't have any sections in the document (it's all one), but I clicked the Delete button and the pages disappeared—but as I said, the document remained the same size, and when I pried it open with Pacifist I saw there was 78+MB of mystery data in it, in a folder titled ".iWTrash". The leading dot makes it invisible I guess, but I don't see why since it's hidden inside the document anyway.
    As I recall, Pages documents were originally .zip files or something easily opened, but I thought I'd read that had changed. The contextual menu's "Open With" gives three possibilities: Archive Utility (which makes the 94.7MB Pages file into a 2.2MB .cpgz file, which when double-clicked recreates the 94.7MB original—now that's compression!); Pacifist (which opens the file so I can see what's in it); and The Unarchiver (which converts the Pages file into a folder of its contents, including the ".iWTrash" folder which is invisible in the Finder because of its leading dot.
    Is this a WP document or a PL document?
    It's a PL document.
    I suspect you had floating images in a Word Processing document and deleted the text. The images are still there on the removed pages, if you do a series of page breaks they should reappear on the additional pages where you can delete them directly.
    Well, no, it's a Page Layout document, and I deleted the pages, not the items on them (half had text, half had TIFF graphics). I tried adding blank pages back into the document, but they're blank; the text and graphics don't appear on them.
    But all that data is still in the file, now in "bulk" form, doing nobody any good.
    Okay, so I took the 9-page (94MB) document, with the 78MB ".iWTrash" folder in it, and deleted four more pages. But this time I first deleted the material on the pages, then deleted the (now blank) pages. Suddenly the document is a mere 6.6MB! I opened it up, and it has only the material that's visible in the document, no ".iWTrash" folder. The other 78MB has disappeared also. Seems kind of tedious if you have to first delete the material on the pages before deleting the pages; but maybe if you delete all the pages (with the material still on them) but one, then delete the material on the last page and then delete that page, it'll get rid of the whole mess? Complicated, and of course none of this is explained in the manual. Nor can I see any logical reason for it.
    Another experiment: I took the 9-page (94MB) document, with the 78MB ".iWTrash" folder in it, and deleted four more pages, by simply selecting them and deleting them (without deleting the material on them first). Now the file is 12.5MB, and Pacifist reveals it has an .iWTrash folder of 5.5MB, i.e. approximately the material that was deleted this time, but it's lost the 78MB that was deleted the last time.
    Well, this is all lots of fun, but it still makes no sense. If it's some kind of "dummy's backup", I can't see any way to make any use of it. Otherwise it just takes up space to no use.
    The other possibility is images on captured master pages.
    Do PL documents have master pages? On which you can place elements that will appear on all pages (such as, say, crop marks)? Seems to me my so-far brief perusal of the Pages Manual indicates not. Which doesn't make sense.
    Thanks, everyone, for your responses.

  • Printing error: The document could not be printed. There are no pages selected.

    I know this has been asked multiple times by different people with different scenarios but none of the troubleshooting has yet worked for me.
    I have a PDF document that has been exported directly out of InDesign that gives me the above message. If I print the document one page at a time, it prints just fine. But if I print it as a whole document, or if I select a subset of pages, it gives me the No Pages Selected error (even when said subset of pages will print individually). I have tried exporting the document using various settings, I have tried converting any embedded documents to images first, I've copied the original InDesign file and tried exporting out of the copy, I have saved the PDF as an optimised PDF with all private application data removed etc, I've tried printing off other computers, I have even tried some of the apparent fixes that have worked for other users. Nothing has worked so far. All other documents that I print work fine, it is quite literally a single PDF that will not print.
    I'm running Creative Cloud for PC and all drivers are up to date.
    Any ideas?

    I have the same problem with my brother printer's

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • There were no pages selected to print.

    Anybody else unable to print and getting the error message
    There were no pages selected to print.

    Things to try:
    Select print as image in the print menu.
    In Reader go to Edit>Preferences>Documents>View documents in PDF/A mode and set it to "Never".
    Remove and reinstall your print driver.
    Repair your Reader installation.

  • When will the "Bookmark this page" selection be returning to the bookmark drop down? No, seriously! We want it back!

    The removal of the "Bookmark this page" selection was a huge mistake. None of the answers really solve the issue. Click the star and then click it again so you can edit the bookmark then move it to the folder you want, or install this add-on to manage your bookmarks. The real fix for this issue is simply to put the selection back. People want simple and when they have something that works well they don't want it to change just because the programmer wanted to do it differently. So when will this functionality be returning?

    * If you click the ★ Star Icon once, the bookmark ends up in the Unsorted Bookmarks folder.
    * If you double-click the ★ Star Icon, you get to pick where to place the bookmark.
    * If you right-click (or Ctrl+click on a Mac) an empty area of the web page and choose Bookmark This Page, the bookmark ends up in the Bookmarks Menu folder and you get to pick where to place it.
    * If you press Ctrl+D (Mac: Command+D), the bookmark ends up in the Bookmarks Menu folder and you get to pick where to place it.
    * You can click and drag the site icon (usually a globe or a padlock) on the left side of the address bar onto either the Bookmarks Toolbar, the Bookmarks Sidebar (Ctrl+B; Mac: Command+B), or the Library (Ctrl+Shift+B; Mac: Command+Shift+B; Linux: Ctrl+Shift+O).
    The following add-on makes bookmarking easier in various ways. Among other things, it's able to remember the last used folder.
    * https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    I see no reason to believe menu items that were deemed clutter will be reintroduced — especially when there are multiple ways to perform the action in question.

  • Acrobat Pro XI, Server 2012 r2 Remote Desktop, cannot print until server reboot, No Pages Selected

    Ever since we migrated to terminal services (remote desktop) this problem has plagued us.
    We are a terminal services environment with 25 users.
    Our version of Adobe is 11.0.10
    I've believe I have traced the issue to temp files in \users\username\appdata\local\temp\XX
    There are [email protected] files that the system locks.
    Once those files are written out and the server locks them down the user cannot print .pdf files any longer.
    ALL OTHER APPLICATIONS WORK PERFECTLY!
    The only way to clear the situation is to reboot the server (not optimal).
    And even then the problem reappears within a day.
    I have read many different versions of this problem and tried many different solutions.
    I have tried having the users go the advanced tab when printing and choose "print as image"
    FAIL!
    I have put a acroct.ini with the following parameters in the windows directory
    [WinFntSvr]
    TTToSysPrintDisabled=1
    T1ToTTDisabled=1
    FAIL!
    I have tried to remove Microsoft security updates related to this issue and 3rd party fonts.
    FAIL!
    I've tried the "Disable Protected Mode at Startup"
    FAIL!
    I have rebuilt our print server with the latest drivers.
    FAIL!
    Since we deal with thousands of .pdf files on a daily basis this has become CRITICAL!
    Please Help!

    Please see this thread: No Pages Selected RDS Server 2012r2

  • How ro Add or remove page numbers?

    How ro Add or remove page numbers in Numbers?

    Hi Michael,
    In Numbers 3.2, Menu > File > Print... to go to Print Preview.
    Hover the cursor over the page display until the page footer appears. Select the page number.
    and press delete. Gone!
    Regards,
    Ian.

  • Why does pressing the L key twice (to cycle through dimming modes) remove a selected photo from a collection?

    That's my question, Why does pressing the L key twice (to cycle through dimming modes) remove a selected photo from a collection? Is my system the only computer that does this when I follow Adobe's directions to cycle through dimming modes by repeatedly hitting L? If not, how dumb is this?

    Hi,
    Check below things
    ---ManagerRendered attribute is transientAttr and type:Boolean
    ---${oa.viewInsatnce.ManagerRendered} ...paste in Readonly property of the item.
    OARow detailsRow = (OARow)detailsVO.*first()*;
    String position=(String)detailsRow.getAttribute("PositionCode");
    String firstname=(String)detailsRow.getAttribute("FirstName");
    System.out.println(firstname); The firstname is got from detailsRow correctly if I entered it on page.
    if ((position == null) && ("PRESIDENT".equals(position)))
    detailsRow.setAttribute("ManagerRendered", Boolean.FALSE);
    else
    detailsRow.setAttribute("ManagerRendered", Boolean.TRUE);
    Regards
    Meher Irk

  • We removed Pages from the computer, but now we can't open Word documents directly. The computer keeps bringing up an alert that it can't find Pages to open the document.

    We removed Pages from my husband's computer, but now when he tries to open documents that were created in Word, we can't open them directly, only through the Word Dialogue box. The computer keeps bringing up an alert that it can't find Pages to open the document.

    Select one of the documents. Press COMMAND-I to open the Get Info window. In the Open With panel select Word from the dropdown menu then click on the Change All button. This should fix the problem.

  • How do I remove Pages 5 and leave Pages 4.3

    I had been using Pages 4.3 very happily and had created some useful files which relied on internal bookmarks and external hyperlinks to the web.
    I upgraded my OS to Mavericks (from OS10.7.3) and along the line upgraded to Pages 5. I was not aware that there would be no back-compatibility with bookmarks. Luckily Pages 4.3 is still in my applications folder in an iWork 09 subfolder. It is however not possible to set the default application as Pages 4.3 - for some reason that just doesn't work.
    Is there a solutions to this, in other words to get Pages 4.3 to open the files by default?
    Alternatively, what is the best way to remove Pages 5, leaving only Pages 4.3 on my system?
    Thanks for any help.

    Pages 4.3 will run just fine in Mavericks. You do need to make sure it is 4.3 & not an earlier version.
    Using Get Info to change all documents to open with Pages 4.3 doesn't work. It will work on individual files, but that could be a lot of files to reset.
    If you want to keep Pages 5 there are a couple of methods to make Pages 4.3 the default. If you don't want to keep Pages 5 you can delete it. Just make sure you've reverted or converted any files to iWork '09 format first.
    Method 1:
    This was first posted by another user in this forum. I can't remember who or when. It has been "fine-tuned" by Peter Breis & I added a note for what works for me.
    1. Move any new iWork apps in another clearly labelled folder. I created a new folder in Applications & named it iWork 13.
    2. Menu > Apple > System Preferences > Spotlight > Privacy > drag the above folder into the list
    3. Move the new iWork folder into the trash (temporarily)
    4. Select any Pages file in Finder > Menu > Info (cmd+i) > Open with: > Pages '09 > Change all
    5. Retrieve the new iWork folder from the trash (right-click > Put back)
    Pages 5 should no longer appear as a default App, and you won't have to keep a copy in a separate drive or dmg.
    Important: Make a note of where and how Pages was installed for the next App Store update and temporarily move it back there before putting it away again in the folder concealed from Spotlight.
    Method 2:
    This is the one I used based on several posts here shortly after Pages 5 was released. I now use method 1 because I find it easier to apply updates when Apple releases them.
    1. After I installed the new iWork updates I created a folder on an external drive & named it "other applications."
    2. I then moved the new iWork apps to this folder & renamed the applications Keynote 6, Pages 5 & Numbers 3.
    I no longer have the new versions of the iWork apps installed on my main Mac. I'm not sure why, but the Mac App Store does not nag me to update.

  • Latest version doesn't print PDFs, says "No pages selected to print" whether I have chosen "All" or "Page 1-N"

    I've installed and reinstalled the latest version of Adobe Reader at least twice, but I still get the same problem - I cannot print PDFs on paper using my local printer.
    Additional info that might be helpful:
    * The printer is connected and tested, and prints from other programs like MS Word.
    * I can print from Adobe Reader to PDF using a program like BullZIP, but this is obviously not useful.
    * I have tested various PDFs, as far as I can see this is not about the type of PDF (whether it contains macros or fields or whatever).
    * The exact error messages are "The document could not be printed" and "There were no pages selected to print" in two separate popup boxes.

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

Maybe you are looking for

  • Crystal Designer Automation

    Hello, There are some features which are available in the Crystal Designer and not available in the RAS SDK. (eg: delete datasource to create a new one, 'setSuppressEmbeddedFieldBlank' function...) Since this is something I really need to automate, I

  • Xcelsius Liveoffice auto upgrade data

    Hi, I use Xcelsius 2008+SP1 FP2 and I've created a dashboards with liveoffice (11.5.10.1262) connection, the data should update on loading and after 5 second. On loading it's ok but after 5 second it doesn't refresh and doesn't show any error. Same t

  • Thunderbird has hijacked Safari rss feeds - how do I stop this?

    I installed Thunderbird a while back just to test its functionality. I use apple Mail. Ever since, when I follow a link to an RSS feed in Safari, Thunderbird opens automatically. But I want to get the feed sent to Mail. Does anyone know how Thunderbi

  • Use Skype on Mac for messages and desktop for call...

    Hi,  I'd like to know how to set up my Skype kit. I have Skype on my iMac, I use it to send and receive messages. I have a Skype phone that I would like to use to make and receive calls. I use both regular skype calls and paid calls (I have a Premium

  • Focus on clicked element - GUI

    Hello, I have some form that user will fill that has many string and enum controlls, more than 40. User wil tab and fill one by one. I want to set focus on controll when user clicks on it. I don't want to make more than 40 event cases and service eac