Problem with repeating htmlb:tray onExpand event

I have an htmlb:tray in my bsp application with an onExpand event.  I want a report generated and displayed when the tray is expanded, and this works the first time that I click on the tray icon.  However, if I am still on the same page, close the tray, and then re-open it, the tray expands with empty content.  If I set breakpoints in DO_HANDLE_EVENT, DO_INIT, and DO_REQUEST, nothing is caught.  It is as if no event is raised after the first time that the tray is opened.  If I leave the page and come back, then my process is working again.
I cannot assume that my users will only open a tray once while on a page.  Is there a trick to get the onExpand event to trigger more than once?  (I have several trays with various reports on the page, and I don't want to pre-generate all of them.)
Janice Ishee

Hi,
You need to use <b>onCollapse Event</b> also. I tested. Its working fine after adding the onCollapse Here is the sample code:
<b>Layout:</b>
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
  <htmlb:page title=" " >
    <htmlb:form>
      <htmlb:tray id          = "TermReq"
                  title       = "Termination request"
                  width       = "225"
                  onExpand    = "getTermReq"
                  onCollapse  = "dummy"
                  isCollapsed = "<%= query->enab_trmreq %>" >
        <htmlb:trayBody>
          <htmlb:textView text   = "Hello World!"
                          design = "EMPHASIZED" />
          <htmlb:button text    = "Press Me"
                        onClick = "myClickHandler" />
        </htmlb:trayBody>
      </htmlb:tray>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
Event handling:
EVENT_ID1 TYPE REF TO IF_HTMLB_DATA.
EVENT_ID1 = CL_HTMLB_MANAGER=>GET_EVENT_EX( REQUEST ).
CASE EVENT_ID1->EVENT_SERVER_NAME.
  WHEN 'tray'.
  WHEN 'getTermReq'.
    QUERY->ENAB_TRMREQ = ''.
  WHEN 'dummy'.
    QUERY->ENAB_TRMREQ = 'true'.
ENDCASE.
Hope this will solve your problem.
Raja T
Message was edited by:
        Raja T

Similar Messages

  • Problems with Repeating Events on Palm and iCal

    Hi,
    I'm having a problem with daily-repeating events entered into either my Palm or iCal. When I put events in my palm and sync them to iCal, the iCal calendars look right, but then the Palm events become truncated,i.e. only the first day of daily event will be visible. If I do nothing but just sync again, the events in iCal become weirdly duplicated, i.e. if an event had two repeats, the "original" occurrance will be there, along with a second, starting on next day of the series, lasting for the same number of repeats. Is there any way to make one calendar the overwriting calendar while using iSync? Or do you know of some other fix? This problem doesn't seem to affect other repeating events, either monthly or yearly.
    Thanks
    20" iMac with Intel   Mac OS X (10.4.10)   500 GB HD, 2GB RAM 60GB Video iPod

    As I just posted in another thread, there are a whole series of 'representation disconnects' between the Palm calendaring application and iCal.
    While this article— iSync: About Syncing Recurrent Events Between iCal and Palm OS Based Devices—would lead to you believe that iSync is primarily the issue, it's not: this behavior occurs primarily because of the differences between the calendaring programs in each environment, and only secondarily because of the manner in which records are pushed and pulled by the synchronization framework.
    iSync itself is simply another compliant sync client, and there is unfortunately no workaround for the issues delineated in the article.

  • How do i solve the problem with repeated renew lease requests

    How can i solve the problem of repeated renew lease requests?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430http://support.apple.com/kb/ht1430
    You don't say what you are doing or trying to do. See #5 below.
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netwhttp://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-wonhttp://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bughttp://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading-http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.hhttp://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h Mt
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sighttp://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-Ohttp://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connecthttp://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipadhttp://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asphttp://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxEhttp://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmzhttp://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Serious problem with TSCAL per user Licensing (Event 4105 on Licenseserver)

    Hello,
    i've got a problem with Terminalservice-Licensing: We migrated our AD from W2003 to W2008. At the same time, we updated our Terminalservice-Licenseserver to W2008 (Memberserver, no DC). We are using per-user TSCAL licensing. The problem is, that for (nearly) every user that logs on to a W2008 Terminalserver, an event 4105 is generated in the eventlog of the Licenseserver, that  means that the licence server cannot update the ad user properties when he delivers the cals.
    We have discovered that the terminalserver-licenceserver group is under the security properties of the user listed but has no rights. For new created users the rights "terminalserver-licenceserver read/write" are correctly set and for those users no event 4105 is generated. The problem is, that License-reporting (usage) is only working for those newly created accounts and not for old ones. Why doesn't the terminalserver-licenceserver group have the rights to modify the Terminalserver-AD attributes for older accounts (these accounts were created when the domain-level was W2003)??? Is there a workaround or hotfix from Microsoft to correct the securitysettings ??
    Many thanks
    Ralf

    Hello Ralf,
    Thanks for your post in our forum.
    Based on my understanding on your post, you have met the following issue:
    You have migrated the Active Directory domain from Windows Server 2003 to Windows Server 2008; You have also upgraded the Terminal Server License Server from Windows Server 2003 to Windows Server 2008. After that, when the existing terminal users access the Terminal Server, an Event ID 4105 is logged to claim that the License Server fails to update the AD user’s properties.
    According to the analysis on the second paragraph of your post, I think it is a known issue caused by insufficient permissions of the migrated users created in Windows Server 2003 domain environment. As you’ve found, the permissions required are for the Terminal Services Licensing Servers
    group:
    ·          Read Terminal Server license server
    ·          Write Terminal Server license server
    To fix this issue, please give these two permissions to the existing users.
    After that, please confirm if the License Usage Report is working for the old users.
    For more information about Event ID 4105, please refer to:
    Event ID 4105 — Terminal Services Per User Client Access License Tracking and Reporting
    http://technet.microsoft.com/en-us/library/cc775179(WS.10).aspx
    Please feel free to let me know if I can provide any further assistance. Thank you for your cooperation.
    Lionel Chen
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact [email protected]

  • Latest iTunes update problems with repeated error messages every 65 seconds??

    After this mornings' update of iTunes.  Problems with Applemobiledeviceservices.exe.  Error message every 65 seconds - software exception (oxc06d007e) occurred in the application at location 0x7c812fd3.
    How do I stop this?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Issue working with a htmlb Tray

    I have a tray in an iView with some data in it.  I am trying to query the state of the tray in order to preserve the persistence of if the tray is collapsed or not so the state is the same after a page refresh.
    I tried doing the follow (as I have for all other components):
    <b>Tray textTray = (Tray) getComponentByName("textTray");
    if (textTray != null)
      bean.setTextTrayIsCollapsed(textTray.isCollapsed());
    }</b>
    In order to fetch the component information form the jsp page and save it in a bean...
    I noticed this never worked and when I debugged it I found that the textTray tray object was always null.
    I tossed this line and debugged:
    <b>Component comps[] = getComponents();</b>
    and found that the tray object never appears in the array of components.
    I was wondering if anyone knew how to access this tray in my iView. I think I have found a work around if not using the onCollapse event but would like to keep things the same if possible.
    cheers,
      D.

    Hi,
    Only components of a form are available in the java part of the code, as only their values are submitted for the HTTP post/get event.
    You will need to do some client side javascripting in order to get the tray status I believe, and would than have to make the value found part of the form that is submitted (using standard html you would update an input field of type="hidden", but I am not quite sure how you do it htmlb).
    Dagfinn

  • Sender FCC , problem with Repeating Field under a Sub-structure

    Hi,
    I have an Input File as
    D,TH_ ,10/31/2008,ABC,pieces
    PF, 10/31/2008,11/2/2008,11/3/2008,11/4/2008
    P,mat,CS,100,120,130,125,150,170,120
    P,mat,CS,100,120,100,110,140,120,110
    I need to Implement an FCC to convert this to
    a Structure like this
      Recorset
        Header           1....1
            Unique Id
            date Time
            CustomerCode
            Code
            Unit
        Dates         1
         date          1....n
        Products       1....n
          product      1
          unit         1
          quantity     1.....n
    This this is a Variable recordset type ( i.e each ROW has a Different Structure) the following keys D,PF,P  are defined, for the header, dates, and Product Information.
    The Following FCC parameters are applied
    Document Name :  MT_FILE_INPUt
    Document NameSpace = http://xyz.com
    Recordset Name = "Recordset"
    Recordset structure = Header,1,Dates,1,Products,*
    keyname              = Key
    Keytype               = String
    Header.FieldSeprator = ,
    Header.FieldName = Unique Id,date Time,CustomerCode,Code,unit
    Header.keyValue = 'H'
    Dates.FieldSeprator = ,
    Dates.Fieldname   = 'date'
    Date.keyValue    = 'PF'
    Products.FieldSeprator = ,
    Product.FieldName =  product,unit,quantity
    Product.KeyValue  = 'P'
    Now the Problem is as Follows:
    1) I have a Repeating Field Quantity under the Product and Date under the Dates Sub-structure,  This is not getting Repeated at all.
    Is there a Way to achieve the same
    2) Another Point is That, i do not want to take the key Value in the XML structure after converion, is there a way to avoid it
    Please let me know if any blogs are available
    Any help would be appreciated.
    Thanks,
    Best Regards
    Abhishek

    can u try.. i haven't tired this.
    quantity is occuring multiple times, but if that is fixed no# of occurance,, you can can try with this?
    P,mat,CS,100,120,130,125,150,170,120
    Product.FieldName = product,unit,quantity,quantity,quantity,quantity,quantity,quantity
    let me try ..
    As long as the quanitfy defined under Product.FieldName are more than the input msg quantity values (100,120..), you will be safe...
    Edited by: Anand on Oct 31, 2008 3:54 PM

  • Dynamic tables on one page - overflow problem with repeating header/footer

    Hi,
    with the help of the user RADZMAR I was able to create dynamic tables..
    But now, I have got the next problem.
    2 different tables are placed on 1 page.Each of them should be dynamic.
    Please let me list what is working, and what not:
    each textfield should be expandable (-> working)
    Table 01 should be overflowing to page 02 (-> working)
    Table 02 should be overflowing to page 02 (->working)
    Table 02 should be scrolling to page 02 if tabele 01 is growing (->working)
    Table 01 and Table 02 should be splittable (->working)
    header 02 + the footer 02 ( from table 02) should be repeated on every page (->working)
    header 02 + the footer 02 ( from table 02) should not be stand alone, indepentenly on which page (-> NOT WORKING)
    In other words:
    How can I reach, that the header and the footer enclose at least ONE textfield-row ?
    The setting "keep with previous / following" did not helped me.
    If the text in table 02 is large, the settings "keep with..." cause some layout destructions.
    This is the screenshot of the problem:
    Here you can download my doc:
    https://acrobat.com/#d=V*HZAV8VILZarp6gF0B3nw
    Thanks and Greetings
    Nuri

    Your question was "... but the font on the footer is much larger than that of the template", yes?
    I only can repeat, look at the difference of:
    1. index.html (Font-size > medium) >
    2. Calendar.html (Font-size > no entry):
    > "... font on the footer is much larger than that of the template",
    Hans-Günter
    P.S.
    See us again - maybe - at Monday > we will do a nice little trip to Austria.

  • Problem with Repeating Subform bnot displaying

    I have a reapting subform but when I use the addInstance or InsertInstance, it is not adding a row onto the screen.  I can see from the instanceManager.count that the number of rows has increaes but they are not visible. 
    The Hierarchy is:
    CreateMaterialForm - Subform Flowed, top to bottom    binding: $record.MaterialNode
    ==== ClassificationForm - Subform Flowed, top to bottom     binding: CLASS
    ======== ClassLevelForm - Subform Flowed, top to bottom , Repeat Subform, Min count 1    binding: CLASSTAB[*]
    ============ ClassLevelValue - Text Field     binding: VALUE
    I only ever have the first row regardless of how many rows I add to the data structure at run time.    If I start the table with Min of 5, then the rows will be displayed as I add them to the data table.   
    How do I get the subform to expand to display the additional rows?   I have even tried placing a Button where the click event I did the AddInstance and sthat still did not add more visible rows.  It added rows according to the instanceManager.count. 
    NWDS 7.0.19
    Live Cycle 8.01
    Glenn

    Hi Glenn,
    Have you set the dynamic property of the form true?
    Please write the following code in wddoModifyView mthod of the view:
      if(firstTime) {
        IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("YOUR_FORM");
        iForm.setDynamicPDF(true);
    Also do the following:
    In Adobe LiveCycle Designer 7.1 you can discover whether your adobe form was created as dynamic. Open your created pdf file in LiveCycle Designer. Menu File -> Form Properties -> tab Compatibility, Form Type. There must be Acrobat 7.x Dynamic PDF Form File.
    Hope this helps.
    Amit
    Edited by: Amit on Oct 28, 2009 8:43 AM

  • Problem with repeating songs

    When i am playing the music in a playlist on my iPhone, it constantly loops to keep repeating the same song rather than the next song on the list. Does anyone know if there is a setting i can to change to stop this happening please?

    Actually after i posted this question, the laptop came up with a similar question and answer.
    Many thanks to the previous person as that solved the problem
    Brilliant
    Phil

  • Problems With Vertical Photos in One Event Folder

    This is my first post here on these forums...I tried searching for an answer first and couldn't find one.
    I have one event folder that is having problems. I am unable to export or even duplicate any pictures that are in the vertical position. This folder did not have this problem about a month ago, but since then I have added photos and now a problem has occurred. I have an album that contains some of these photos and they have the same problem there (for obvious reasons, since they are the same photo). All my other event folders are fine and do not have this problem. Did this folder somehow become corrupt? I haven't messed around with my library at all (at least not that I am aware of, I pretty much stay out of finder). At first I thought it may be because the pictures in the folder were taken with two different cameras, but I have other folders like that and they do not have this problem.
    I tried rebuilding the library (cmd+alt and clicking iPhoto), but they did not fix my problem.
    Any help would be greatly appreciated!

    mogunn:
    Welcome to the Apple Discussions. There is a way I think you can recover that event. Open the library package like this and go to the Originals/event folder for the problem event. Copy it to the desktop and confirm that the photos are there and you can open them with Preview. Next open iPhoto and delete all photos in the event and then reimport the event folder from the desktop.
    Warning: while in the library package via the Finder do not rename, move any file or folder. Just copy that one event folder to the desktop.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Problem with TextLine not getting mouse events when expected

    Hi All,
    I am cross-posting the discussion I put on the TLF forum here (sample code is in that post)
    http://forums.adobe.com/message/3768763#3768763
    The issue is to do with non/slow response when clicking to edit multiple TLF text elements on a base group. Thanks to some extra work by Jin-Huang the problem is apparently that when the edit functionality is set (by setting the interactionManager), the TLF class cannot receive any more events until the mouse leaves and re-enters the TextLine you are supposed to be editing. This sounds like a Flex bug.
    I guess my questions are (1) is this actually a Flex bug? and (2) does anyone know a workaround so the thing can start accepting input immediately without further mouse actions?
    Thanks,
    Darryl.

    What happens if you use two RichEditableText controls or two TextAreas
    instead?  By trying to install your own editing controls, you might have to
    fully conform to the IFocusManagerComponent interface for focusable
    components otherwise you might run into issues like this.

  • Problem with accessing Items through Form_Load event

    Hello,
    i'm trying to do some change in some items of a form which i created (with UDO Form Generator). i'm catching it through Form_Load event:
    oItem = oForm.Items.Item("4");
    for some reason, i get this error msg: Item - Invalid item  [66000-3].
    although the item name is currect (i tried all the items - non of them work).
    when i'm catching it through diffrent event, it works fine. just not through Form_Load event (i tried both BeforeAction False and True).
    I also checked that it works fine through the system forms. just not with my form.
    what might be the problem?
    Thanks
    Rob

    Hi Robert,
    I recommend you do your changes in your file/XML file before you load your form. It's much quicker and easier this way
    e.g
    //make your changes in your xml form
    SBO_Application.LoadBatchActions(ref YourXMLFileString);
    Cheers, Lita

  • Problem with Print Preview and Print events

    Hello Experts,
    We have developed a program, in which, I m trying to display the % values in the Sub Totals and Grand Total lines, The logic and program functionality is performing very well. The report is displaying the output the way end user is willing to see.
    The main problem is, the entire % values are going to a toss when we click the Print Preview or trying to print the report, which is not supposed to go that  way. I have even tried to debug the program where the problem is evolving in the code, but it is not raised from the code.
    Please refer to the screen shots.Before clicking the Print Preview and after clicking the print preview.
    Do anybody face the same kind of problem ever?
    If so please let me know what could be the best possible solution.
    Thanks & Regards
    Harish Kumar MK

    Hi Harish,
    I have use the below code but not for percentage... I think for percentage you just have to calculate the normal percentage and replace it with a subtotal value.
    This is not your complete code it will be better if you mail your complete code so that i can debug and check.
       TABLES: vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
    *      Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
    *      Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          is_layout   = ls_layout
          it_fieldcat = lt_fieldcat
          it_sort     = lt_sort
        TABLES
          t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    BR
    Sumeet

  • Problems with .chart-plot-background and event handlers

    Hello. I'm trying to add event handlers to my chart so that the user can be allowed click within the chart itself to perform certain actions like dragging, zooming, etc. To avoid having to deal with handling mouse clicks that lie outside the chart itself (for example on the axes), I've found that:
    .chart-plot-background
    is the Region that gives me the entire chart and nothing else. However, when I attach mouse listeners to this Region, the event is only registered on half of the cells in the chart. If you've seen the default JavaFX Chart background layout, you know that it contains alternating rows of cells with slightly different coloring. I've found that only the rows with the lightest gray coloring actually register a mouse click on them, which makes me believe the dark grey cells are not part of the .chart-plot-background, but something else on top.
    To me, this feels like an oversight in how the regions of the chart are defined. Why can I not get a listener to work on the whole chart and nothing else? Currently the only workaround seems to be to take the Region:
    .chart-content
    instead, and compute the difference between this region and the .chart-plot-background in order to manually suppress mouse clicks that lie outside .chart-plot-background.
    Anyone have suggestions? Is this worth issuing on the JavaFX Jira?

    Hello,
    I'm not an expert on controls, but here is my guess based on your description: when you register an event handler on a "background" node, it is called only when the mouse hovers over the background node - I suppose the light gray is the background with the light gray cells being transparent and dark grey cells being filled. So the behavior seems correct - you can't expect the events to be delivered to background when it is covered by other nodes. I think you really should register the handler on the entire chart and filter out the events you don't want to handle. This however should not require much of computing the difference between the regions, it should be possible to do just something like
    if (!background.contains(event.getX(), event.getY())) {
        return;
    Provided that the background doesn't reach under the axes as well. Note that if there are any different transforms between the background and the node with the handler registered on it, you may need to recompute the coordinates by
    background.sceneToLocal(event.getSceneX(), event.getSceneY());
    And use the contains method on that.

Maybe you are looking for

  • How do I copy music from my pc to my iPhone 4S?

    How do I copy music from my pc to my iPhone 4S?

  • App Signing Error, Number of Folios Does Not Match the Main Folio File

    Hi All;   I have a 250 page standalone app that I am trying to compile for the Apple Store. I read through the forums and enabled "AppBuilderLoggingEnabled.cfg" in my user directory to capture the issue. Here is the snippet of the log that was create

  • How to Impliment Streams replication in a Single Database

    Hi, I need to impliment Oracle Streams in a single Database (Source and Destination are same--In Same database). I have four Diferent schemas in this database. i need to replicate some selected tables from each Schema (some selected columns in each t

  • BT netprotect...updated yesterday and now won't ac...

    Hi! During yesterday BT netprotect updated itself and I thought all was ok. Turned on the PC this morning to find a windows message saying security was at rislk and firewall and anti viral software were not turned on. Cliked 'turn on' and seemed OK b

  • Manage Profile Targets

    Post Author: cbaumann CA Forum: Publishing Hi all I am testing a publication with profiles. In my profile I can add my universe. But here is 1 field for the Class Name and Variable Name. the class name would be the folder in my universe while the Var