Change Spry:setrow behavior

The title basically covers it. I need to know how to change
the spry:setrow behavior from onClick to onMouseover. The
documentation says that spry:setrow defaults to onClick, which
leads me to believe that it should be fairly simple to change the
behavior. Anyone know how?
Thanks!

Hey Ross,
spry:setrow is a short way of writing
onclick="datasetname.setCurrentRow('{ds_RowID}');"
Simply change that to onmouseover and it should work.
Thanks,
Don

Similar Messages

  • The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    If the mouse clicks something on its own then it looks like you have a hardware problem with the trackpad or possibly the battery that is right underneath the trackpad.
    I have read that the battery can swell and that would put pressure on the trackpad.

  • Spry:setrow , how does it default to onClick?

    Hi,
    the Spry Data References says that spry:setrow "spry:setrow is use to update the current row number of the data set." and that is used much like spry:setCurrentRow.
    Then it says it defaults to onClick,
    And then it gives the following example:
    <ul spry:repeatchildren="dsEmployees">
    <li spry:setrow="dsEmployees">{firstname} {lastname}</li>
    </ul>
    So, from the above example, I can deduce the following:
    The data set "dsEmployees" is being access and from it the {firstname} and {lastname} elements' content are extracted row by row to be added to each  <li> elements.
    So my questions are:
    1. The statement "spry:setrow="dsEmployees" above is NOT setting any current row number.
    2. What does "spry:setrow defaults to onClick mean?? .  OnClick is a javascript attribute that is usually initialized to handle the event onclick, so I don't understand how "spry:setrow" related to onclick, can someone explain?
    thanks

    1. The statement "spry:setrow="dsEmployees" above is NOT setting any current row number.
    If the above is a statement then I can tell you that the statement is incorrect. If the above is a question, then I can tell you that the dataset gets the current row assigned by clicking on the element.
    2. What does "spry:setrow defaults to onClick mean?? .  OnClick is a javascript attribute that is usually initialized to handle the event onclick, so I don't understand how "spry:setrow" related to onclick, can someone explain?
    When the element is clicked on, the current row will be set. By default, this does not happen when there is no onclick event.
    To illustrate the setrow onclick event and using your original markup
    <ul spry:region="dsEmployees">
      <li spry:repeat="dsEmployees" spry:setrow="dsEmployees">{firstname} {lastname}</li>
    </ul>
    we add a detail region
    <div spry:detailregion="dsEmployees">
      <div>{joinDate}</div>
      <div>{salary}</div>
      <div>{@id}</div>
    </div>
    Now every time we click on an li-element the current row is set and the detail region shows the result.
    Gramps

  • Changing (overriding) default behavior of  af:inputText

    Hi all,
    Is it possible to change the default behavior of the <af:inputText> or add a new one by overriding CoreInputText . e.g: like oracle forms, enter button to navigate to next item.
    Thanks in advance,
    Ahmad Esbita

    InputTexts are more than enough for me, but I was wondering if I can add some kind of functionality to them and if yes, how ?
    In my post the example was :"enter button to navigate" , some people are used to the idea of enter button navigation such as accountants ,they also relay on the mouse poorly when they are working,and what if we are asked to provide this property, and thats all.
    Regards,
    Ahmad Esbita

  • How do I change mouse button behavior in firefox to make new mouse shortcuts?

    Hi,
    For some time now I've wondered if it is possible to easily change the default behavior of mouse buttons in Firefox. What I'd like to do is define a new mouse button combination which replicates the function of an already-defined keyboard shortcut. In particular, currently, when one holds down the shift key while left-clicking the mouse while over a link, that link is opened in a new window. What I'd like to do is to have exactly the same behavior occur when I click and hold the left mouse button while pressing and releasing the right mouse button. This then makes opening a link in a new window a menu-less, one-handed operation.
    Anyone have any ideas how this might be done? Thanks!

    Hello,
    Does this addon - https://addons.mozilla.org/en-US/firefox/addon/mousecontrol/ meet your requirement? Also, you can check the list of mouse shortcuts here [[Use mouse shortcuts to perform common tasks in Firefox]]
    Hope this helps.

  • Change keyboard tab behavior

    This one is tough to search for, with so much duplicity of meaning in the words key, tab, navigate, etc.
    I have a tabular form where the optimal way to navigate is to go down each column instead of across each row; i.e. when the tab key is pressed, I want the focus to change from the current cell to the cell in the same column but immediately below the current cell.
    I looked at html tabindex, and I'm not sure how to make that work.
    So: can tabindex be used to change the navigation behavior of the tab key? Or, is there another way to change the tab key behavior to go column by column instead of row by row?
    TIA.
    Rick.

    Rick - I know that is possible (in theory) to trap the keystroke using JavaScript and replace it (or, do a focus() call or similar to move the focus to another element), but figuring out where you are in the table can get quite hairy.
    To be honest, it's one of these things we've been meaning to implement on one of our apps (our issue is moving to the next element when the user presses ENTER), but haven't got round to yet.
    I'd therefore be very interested to hear if you crack it (either using JS or some other method).
    Cheers,
    John.

  • How to Change Spry Menu Links

    I have a Spry Horizontal Menu on my page, and have a few
    questions on creating customized Links:
    - I know how to add a Link to my Reports, Pages, etc using
    the Link Properties box
    - I also know how to open the Link in a _blank page using the
    Target property box
    But
    - How do I change the Menu Link in code to open my new page
    in a smaller, new window?
    (Right now, the TicketSummaryAcct.cfm page opens up fine, in
    a new "full-sized" window)
    Here is the code currently listed under that Menu button:
    <li><a href ="reports/TicketSummaryAcct.cfm"
    title="Click here to print the report by Account Number to PDF"
    target=>_blank">by Acct# Prompt</a></li>
    Thanks,
    jlig

    In the header of the webpage:
    <script type="text/javascript">
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "',
    'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=300 ');");
    </script>
    in the link section:
    javascript:popUp('reports/TicketSummaryAcct.cfm')
    don't use a target attribute, as it will break the javascript
    in my experience. If you are using the pop-ups in more than 1
    webpage, or even for good programming practices, make a function
    page.
    Webpage name: newWindow.js
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "',
    'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=300 ');");
    And then in the header of the webpage(s) that you need the
    popup for, add this:
    <script src="newWindow.js"
    type="text/javascript"></script>

  • How do I change the download behavior so that the "save as" radio button is selected by default instead of "open with" in the download window?

    For most file types whose download behavior is set to "always ask" the "save as" option is selected by default in the download window. However, for a few others the "open with" option is selected instead.
    Note that Firefox is not automatically opening some files instead of saving them. I still get to choose between saving or opening them, but certain file types start with "open" selected whereas for others "save" is the default.
    What I'm looking for is a way to change all file types to default to "save as" in the download window.

    see : [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    see also : [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types Set how Firefox handles different types of files]
    thank you

  • Changes to mailbox behaviors not being saved.

    Hey guys,
    I have two Google accounts set up on Apple Mail. When I try to edit the Mailbox Behaviors (under Preferences>Accounts>Mailbox Behaviors) they are never saved. My steps are:
    1. Go to Mailbox Behaviors
    2. Uncheck Drafts & Sent
    3. Click the other account, choose another tab, or close preferences
    4. Dialog appears asking if I want to save the changes
    5. I choose to SAVE.
    6. Go back into Mailbox Behaviors - the changes were not saved (i.e. everything is still checked).
    Any ideas? I'm running 10.9 on a retina Macbook Pro.

    OK...my previous attempt didnt work as the settings came back after a full sync.  However, I found another thread that solved my problem.  Hope this helps!
    https://discussions.apple.com/thread/5468664?start=15&tstart=0
    Steve Rhyne Oakland, CA
    Re: Mavericks Mail app and Gmail Drafts folder 
    Oct 24, 2013 10:30 AM (in response to Igor D.)
    I had the same problem and it was causing dozens of versions of autosaved drafts to appear in my Trash. (Gmail autosaves drafts at the server level and trashes previous saves. The feature is not customizable.)
    This fixed it for me, at least for the time being:
    1) Quit Mail.app.
    2) Log into Gmail in your favorite web browser.
    3) Click on the gear menu and select "Settings".
    4) Click on the "Labels" tab.
    5) Under "System Labels", next to "Drafts", click on "show if unread" and uncheck the "Show in IMAP' box.
    Now disable "Store draft messages on the server":
    6) Launch Mail.app.
    7) Select Mail > Preferences...
    8) Click on the "Accounts" button in the toolbar.
    9) Click once on the account name and then click the "Mailbox Behaviors" tab.
    10) Uncheck the "Store draft messages on the server" box.
    11) Close the window and opt to save your changes when prompted.
    A few other Gmail / Mavericks Mail.app discoveries:
    * You must enable the "Show in IMAP" option for the "All Mail" label in Gmail if you had it disabled before. (Google this tip for explanations and ramifications.)
    * Mail.app now seems to automatically map the Sent, Junk, Trash and Drafts folders, i.e. you can't use this menu command anymore: Mailbox > Use This Mailbox For > Drafts / Sent / Junk / Trash
    * I used to add the "[Gmail]" prefix under the "Advanced" tab of my mail account to eliminate it from the IMAP view, but it doesn't seem to be necessary any more, and might even have been causing some weirdness.

  • Changes in ACR Behavior

    Today I was notified of updates to Bridge and Camera RAW when I rebooted in Win7 64, and changes to Camera RAW only in XP 32.
    In Win7 I allowed the updates, and then opened  a file to see what I could see. I was shocked by what I saw.
    Apparently, the update took some xmp data from a file previous to the update, and applied it as a new default setting for my camera, as if I had myself done that, which I can assure you I did not, as I want to be sure my starting place for the evaluation was consistent, even if incorrect for the particular image.
    Here's the changes:
    1) All images now read 2010, including images never before opened anywhere and showed 2003 when first opening these in the current ACR. Ok, I can live with that.
    2) The Detail menu reflects a set of sharpness and noise settings I applied during my most recent runs for a particular ISO value which I had saved. Again these showed up on images from February never before opened anywhere. Not so acceptable at all.
    3) The "Enable Lens Profile Corrections" is now checked...total disagreement here! I have never saved (clicked Done) on any image I used to check the behavior of Lens Corrections.
    So, I reset all to the former defaults and saved as new camera raw defaults.
    I switched to XP CS5 and the notification of the update showed up. It only said Camera raw updates. I did not allow the updates, but went immediately to the same image I used to check the behavior in Win7 64. They all were at my selected defaults...no sharpening, noise or checked "Enable Lens Profile Corrections" IOW business as usual which I had so carefully selected and matched to the Win7 version.
    I ran the updates, and the only change I saw here was that the 2010 now ran without my selecting it, but all the other settings remained at MY default settings.
    I am at a loss to explain or accept. There is, of course, the remote possibility I did change the default settings in ACR Win7 version, but the change in "Enable Lens Profile Corrections" would have been excluded.
    Or my Fairy Godmother decided I  didn't know what the F I am doing and did it for me!
    So, it behooves the user to maintain a check on all default settings when updates are applied. I do that anyway, but I can get lazy or in a schedule conflict and simply run it.
    Note: What I had hoped I would see:  New lens data in ACR is provided including the 18 to 105 is now available. It isn't.
    Lawrence
    I posted this in error in the Lens Correction Creator thread. My bad!

    This is the Lens Profile Creator forum.  You might have better luck with a post like this one in the Camera Raw forum.

  • Mail not saving changes in Mailbox Behaviors

    For one of my accounts since the upgrade to Mavericks when I enter the Mailbox Behaviors section, I found that Drafts, Junk and the one under Trash named Store Deleted messages on the server is checked.
    I uncheck them because I doon't want them checked. I Save the changes I made then go back to that account and the same ones I just unchecked are now checked again. Its not saving what I just unchecked.
    What the heck is wrong?
    Also noticed that in OSX 10.8 I could drag all my email accounts to a different order than the way they are now listed. Can't do that now.

    Thanks for discovering this issue being connected to drafts. I have trouble with this for a couple of months as well.
    Since you assume it to be connected to "drafts", I suggest to deselect "Store draft messages on the server" for your IMAP-Account. I just did this for myself, to see if it helps, and can't give you results yet. Maybe you just wanna try simultaneously. I guess, the reason for our problem could me some messy communication between Mail and the server, where one party get's confused.
    Greetings
    Paul

  • Please change text highlight behavior

    The highlight behavior was changed from InDesign CS6 to InDesign CC wherein it previously "inverted" the text and background. So if the text was black on white, it became white on black. Further, what was behind the text was treated the same way. So if there was black text on top of a blue image, the text became white while the image became orange.
    This behavior worked and accounted for ANY combination of text and background.
    The new behavior is that the text is highlighted using your operating systems highlight color. The default color for OS X is a light blue.
    Thus if you have light grey or light blue text, it disappears into the highlight block. Even white text, which is very common in magazine and brochure design, becomes extremely hard to read.
    But the larger problem is created when working on a background. Whereas the background was previously inverted, it is now entirely covered. You can't see it anymore.
    I constantly have to do designs based on previous versions/designs. In some cases, a design was created in illustrator or photoshop and I have to recreate it in InDesign. This used to be pretty simple. I'd pull the old design in as a placed object, set it's opacity to 50% and put it on a locked layer. Then I'd rebuild it in InDesign. But with the text highlight behavior, this becomes virtually impossible. As soon as you select the text that you need to adjust to match the background, the background itself becomes invisible—covered up by a light blue highlight.
    I've included two images here to demonstrate the problem created by the new behavior.
    So my feature request is simple: Revert the text highlight behavior.

    I can't agreee more! We just updated all of our Production Macs to CC here and do much of the same work to client files when all we have is a reference PDF. We have to be able to re-set type to match exactly their previous designs and not being able to see that underlying PDF is a horrible drawback. There must be a way to make that highlight color transparent, even if it's a Preference to be changed.
    I will say the only passable way I've found so far, and it's far from ideal, is to place the original PDF, make sure Transaprent Background is selected and put it on a Layer above the new text items. Some caveats are, if there's anything in that PDF that obscures the new text frames it can be problematic, and you have to Lock that PDF layer or selecting items can be infuriating as well. NOT a solution, just a workaround at best.

  • Changing clip name behavior for duplicate clips

    Suppose I have one duplicate clip that I have copied into two bins, like so:
    -- Sunday's clips bin
              - clip_name_one
    and
    -- Flowers bin
              - clip_name_one
    If I change the name of one, I expect it to change the name of the other also, since it is the same clip, just placed in two different places (not two separate files).  Instead it only changes in one place, like so:
    -- Sunday's clips bin
              - clip_name_one
    and
    -- Flowers bin
              - clip_name_one_tulip
    Is this intentional behavior? I can't imagine how confusing this will be for logging when I make duplicates in multiple places for organizational purposes. I may even end up with the same clip with multiple names. The same is true for the metadata associated with the clip - if I add a comment in the comment field, it does not propogate. Markers, however, DO propogate to both, which is exactly as I would expect. Why not the metadata?
    Is there a way around this (short of never duplicating clips)?

    I agree, Premiere Pro is a bit weird in what it does and doesn't carry across duplicate clips. For instance, you can interpret the frame rate for a duplicate different than the other version of it. But if you go to timecode and enter a changed start timecode it effects both instances. I get why you would want to sync both name and metadata, but I also see benefits to not syncing it. Either way, I agree the option should be there. There also should be an option like fcp7 has, to rename a clip based on file name, or rename a file name based on clip name (but there isn't).
    That said, instead of creating duplicates of the clip in different organizational bins, you could create custom metadata columns. Therefore creating sort of a virtual bin.
    You could do that by going to the top right of the project panel and clicking on the little down arrow. Then go to metadata display (while in list view). Then you can click on Add Property in the Premiere Pro Project Metadata area. Then you could do a custom property, decide whether you want integer, real, text or boolean. You'd probably want text. So you could choose text and name it Flower. Then you could hit ok. Go back to list view, and type in flower
    Then in your project panel search box, type in flower and find all clips using it. A work around for sure, but may achieve what you want.
    P.S. It would be much better if you could create a boolean field and just search by the word flower and everything checked would come up in the search. Unfortunately the search is a bit stupid when it comes to this. So if you search flower with a bloolean field, nothing will come up! You have to search true or false, and then ANY checked box will show. Quite dumb! Definite feature request!

  • Change spry submenu background color only?

    Is there a way to change the background or background color
    on the spry horizontal or vertical menus without changing the main
    menus?

    Also, whether you are using a vertical or horizontal menu you
    can find the necessary tag within CSS. Adobe as done a fairly good
    job on commenting exactly what is going on.
    I worked on a project for Alabama Marriage & Family using
    horizontal menus. You can take a look at my navigation and see how
    I structured my CSS. Each sub-menu actually has different CSS
    properties so it made it a little more difficult.
    http://www.alabamamarriage.org/new/Templates/achmiTemplateA.dwt.php

  • Changing Tab Focus Behavior

    I have two machines running Firefox 4.0. Both have Tab Mix Plus installed. Each exhibits a different behavior when opening multiple tabs.
    To open multiple tabs, I simply highlight a number of links on a page, right click and select Open Links in New Tabs from the menu
    In both cases this action results in each link opening in a new tab. In both cases the focus stays on the current tab.
    However on one machine if I change focus by clicking on the tab next to the current one and then close it, the focus goes back to the first tab.
    On the other machine if I change focus by clicking on the tab next to the current one and then close it, the focus moves to the tab immediately to the right of the closed tab.. This is the desired behavior.
    What do I need to change on the first machine to get it to behave like the second one?
    I tried doing a visual compare of the configuration setting on each machine both for Firefox and Tab Mix Plus but couldn't find any difference in settings.

    You can set all other controls not to be tabbed through and the tab control to have its pages tabbed through. That way, when you use tab, only the tab control's pages will be on the tabbing list. This, however, is probably less straightforward.
    I'm not sure what's the problem with the method you outlined. In most cases, if you want something to happen, you will have to code it. This appeares to be one of those cases. You can make a subVI to do the tabbing for you, if you don't want to have to code all of it in your VI. Pass the reference of the tab control into the VI after you detect the event and use that to decide whether to increase or decrease the tab value. Be sure to cycle the number back to the first page when it reaches the end.
    Try to take over the world!

Maybe you are looking for

  • Kext cleanup, now time machine and itunes not working

    I cleaned up all my kext files from Sep 2013 back (as suggested in an article) to address the kernel_task overload, but now itunes won't play (play button works but songs do not move forward), time machine will not restore backup and no audio comes f

  • Adobe 9 standard print preview not updating

    I am having a issue with Adobe 9 stardard on win7 64bit. The issue is happening on more then on pc. The issue is, when the page size is changed in the print menu, by clicking the properties button. The preview of the document does not update to the p

  • How do I transfer iPhoto library to an external hard drive?

    How do I transfer my iphoto library to an external hard drive. Dragging it does not seem to work.

  • Specifiying Language for Document Properties if PDF Form

    In order for a pdf to be 508 compliant it's language must be specified. I've created a form and for the life of me can't figure out how to specify the language for this document such that Adobe Reader knows it's english.  In a pdf NOT created using l

  • Cannot remote Mailbox Search after Discovery Mailbox was removed.

    I was trying to remove the mailbox search by running Remove-MailboxSearch "test" -Verbose and got the following error: Can't remove mailbox search 'test' because there is still at least one mailbox on In-Place Hold. The, I tried to run Set-MailboxSea