Autosubmit and CRUD

Hi.
JDeveloper 11.1.1.2, jsff, bc4j
From a field with Autosubmit and a valueChangeListener I want to do a SELECT and based on the result perhaps an UPDATE. Hence I need a database connection.
QUESTION:
What is the best way to get access to the database in the above scenario:
a)
by writing the code into the ApplicationModuleImpl and execute this code.
b)
by writing a managed bean that do a create/get an ApplicationModuleImpl and then in turn get the dbConnection from there.
Best regards
Erik

Put any DB code in your model layer, so in that respect, option A.
Then, expose the service method in your AM to the client interface and create a method binding for it in your page definition and call it through the binding layer.
In general, if you are using ADF binding, don't ever deal with AMs directly in your view layer.
John

Similar Messages

  • AutoSubmit and RichTextEditorInsertBehavior collision

    Hi OTN,
    I have a problem with AutoSubmit and RichTextEditorInsertBehavior.
    On my ADF JSF page there is RichTextEditor. It is bound to CLOB VO attribute.
    The component has two additional options.
    1. There is a popup with big (in size) RTE bound to the same VO attribute - used for comfortable editing. The values of both RTEs should always be synchronized.
    2. There is also another popup (without RTE) where you can choose some items to insert into text. RichTextEditorInsertBehavior is used and items should be inserted to the position in the text where cursor was (this is common for RichTextEditorInsertBehavior).
    The problem is: to keep both RTEs sync I set AutoSubmit="true" for the first RTE.
    But as a side effect the RTE is redrawn at focus loss and cursor position resets - RichTextEditorInsertBehavior inserts text at 0 position instead of previous cursor position.
    How can I keep both components' value sync and have an ability of text inserting?
    Thanks.
    JDeveloper 11.1.1.3, ADF BC
    Edited by: ILya Cyclone on Dec 14, 2010 6:42 PM

    I don't see any way of manipulating the cursor position, and as you have seen, it apparently resets to the beginning of the field when it is refreshed as part of a PPR request.
    John

  • AutoSubmit and mouse clicks.

    There seems to be a usability problem when using the autoSubmit feature in ADF Faces. Whenever the user enters a new value in an autoSubmit field and then clicks on some other action component (e.g. a CommandButton, CommandLink, a selectInputText icon, etc.), the autoSubmit for the modified field occurs and the appropriate backing bean is invoked. However, the action component event is not then fired and the user basically has to click again to get the desired action. This behavior is very different when they don't first modify an autoSubmit field where the action event is fired on the first click.
    While I can understand why this is physically happening, our application users see this as a bug and want it fixed. Has anyone found a solution to this or reported it as a bug to Oracle?
    I tried searching for a solution and couldn't find anything useful. Bug I do seem to remember something I thought was in the adf-faces-config about passing click or first click, but now I cannot find it.
    Thoughts or ideas?

    Hi jdrogers,
    I feel your pain about the focus "jumping" back to the ppr-event object.
    I might have a solution for you to try.
    I did the following (after a lot af javscript debugging the alert way).
    Here is what i did:
    unziped Core.js from the file
    adf-faces-impl.jar
    put it in the following directory in my project:
    \public_html\META-INF\adf\jsLibs
    changed line
    2075 to
    _pprEventElement=null;//window.document.activeElement;
    Notice the difference in javacript code for "gecko" an IE.
    It now works for me.
    Could you (and everybody with the same problem) try this and tell me of any side-effect you might notice.
    To Oracle: is this a way of fixing this problem??? Does it cause any other problems??
    regards
    Johnny

  • Validating components even with autosubmit and immediate

    Greetings:
    I am working in a application using ADF 11g. In my page, I have a <af:selectOneRadio> with two options (selectItem). These selectItem's have both immediate and autoSubmit attributes equal to true. Next, there is a <af:panelGroupLayout> which partialTriggers attribute points to prior selectOneRadio. Inside panelGroupLayout, there are some <af:inputText>'s. All of them are required. Depending of selectOneRadio value, some inputs will have their label changed, while others will be (or not) renderized. After this panelGroupLayout, I have a <af:commandButton>, where there will be the real submission.
    What I was expecting was, when I changed the select value, a partial submission would be done, without validation, and changed the labels or rederization of components inside panelGroupLayout. However, the components are being validated. The error messages are shown and the components chagings are not happening.
    Googling for some solution (https://www.google.com.br/search?q=adf+not+validate+at+partial+submit) , I found some suggestions that either did not work or thought too complicated (e.g. Use a subform and configure the page definition XML (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/40-ppr-subform-169182.pdf)). I think that there is a simpler solution, but I could not found it.
    Below my JSF code:
       <af:form id="formCadastroUsuarioLicitacoes" usesUpload="true">
           <af:panelGroupLayout halign="end" id="pnGL1">
                <af:selectOneRadio id="radioType" value="#{viewScope.myManagedBean.type}" immediate="true" required="true"
                                        styleClass="radioType" autoSubmit="true">
                   <f:selectItem itemLabel="Type A" itemValue="a" id="itemA"/>
                   <f:selectItem itemLabel="Type B" itemValue="b" id="itemB"/>
                </af:selectOneRadio>
                   <af:panelGroupLayout id="panelGroupForm" partialTriggers="radioType" styleClass="AFStretchWidth">
                     <af:inputText id="txfDoc" value="#{viewScope.myManagedBean.document}"
                                       label="#{(viewScope.myManagedBean.type == 'b')? 'Doc B': 'Doc A'}" required="true"
                                       />
                     <af:inputText id="txfcompany" value="#{viewScope.myManagedBean.company}" label="company"
                                       rendered="#{(viewScope.myManagedBean.type == 'b')}" required="true" />
                     <af:inputText id="txfName" value="#{viewScope.myManagedBean.name}"
                                       label="#{(viewScope.myManagedBean.type == 'b')? 'Your Name': 'Name'}" required="true" />
                     <af:inputText id="txfEmail" value="#{viewScope.myManagedBean.email}" label="Email" required="true" />
                     <af:inputText id="txfEmailConfirm" value="#{viewScope.myManagedBean.emailConfirm}" label="Confirm your Email"
                                       required="true" />
                     <af:inputText id="txfphine" value="#{viewScope.myManagedBean.phine}" label="phine"
                                       rendered="#{(viewScope.myManagedBean.type == 'b')}" required="true" />
                     <af:inputText id="txfFax" value="#{viewScope.myManagedBean.fax}" label="Fax"
                                       rendered="#{(viewScope.myManagedBean.type == 'b')}" required="true" />
                   </af:panelGroupLayout>
                <af:commandButton text="Submit" id="btnsubmit" action="#{viewScope.myManagedBean.save}"/>
           </af:panelGroupLayout>
      </af:form>Thanks,
    Rafael Afonso
    Edited by: 993323 on 04/04/2013 13:50

    Hey,
    I hate to be the one to link Oracle docs. Have you read this part though? http://docs.oracle.com/cd/E23549_01/web.1111/b31973/af_lifecycle.htm#CIAIDFGC
    I also know that one of the Oracle Ace people wrote a blog on this. I think it was Timo, but I couldn't track it down. It has been awhile since I read it.
    Anyhow, my suggestion would be to look into the lifecycle methods that get skipped when the immediate value is set and see if that makes your problem any clearer to you.
    I am sorry I couldn't be of more help, I have only looked a little bit into field validations and the immediate field.
    Best of luck,
    Dustin

  • ADF Faces: af:input text with autosubmit and tabbing

    We have a series of af: inputText fields in a table. The autosubmit attribute is set to true so that we can process the change and also update some totals in the table. Only trouble is the user has to tab out of the cell twice. The first tab submits the change, the second moves the focus to the next cell.
    This really is not user friendly. Any ideas to fix/workaround this???

    G'day RZ
    How are you doing the PPR? Using the partialTriggers attribute or programmatically in your ValueChangeListener?
    This is what I tried:
    A page:
    <af:inputText label="Label 1"
                  binding="#{backBean.inputText1}"
                  id="inputText1"
                  autoSubmit="true"
                  valueChangeListener="#{backBean.doSomething1}"/>
    <af:inputText label="Label 2"
                  binding="#{backBean.inputText2}"
                  id="inputText2"
                  autoSubmit="true"/>
    <af:inputText label="Label 3"
                  binding="#{backBean.inputText3}"
                  id="inputText3"
                  autoSubmit="true"
                  partialTriggers="inputText1"/>And in my backing bean the following ValueChangeListener:
    public void doSomething1(ValueChangeEvent event) {
      String value1 = inputText1.getValue() == null ? null : inputText1.getValue().toString();
      String value2 = inputText2.getValue() == null ? null : inputText2.getValue().toString();
      inputText3.setSubmittedValue(null);
      inputText3.setValue(value1 + value2);
    }On running the web page, entering a value in inputText1 and tabbing out, the cursor correctly moves to inputText2 with inputText3 being updated via the PPR and ValueChangeListener.
    So I'm guessing you're doing something interesting in your ValueChangeListener to exhibit the problem you're seeing.
    With apologies if I'm telling you to suck eggs here, but best start with the basics and eliminate them first.
    CM.

  • A single TX for message consumption and CRUD operation

    consider the following scenario?
    message producer inserts message into a queue (MQ queue, or a TIBCO JMS Server), MDB running on WebSphere application server consumes the message, parses it and calls a stateless session EJB , which in turn inserts it into the DB.
    Can the message consumption (by MDB) and DB insert (by session bean) be part of the same transaction? Meaning, if the DB insert fails, the rollback would result in the message remaining in the queue, so another MDB instance would pick it up.

    Yes, in fact that is the spec-required behavior for JMS MDBs with container-managed
    transactions and tx attribute REQUIRED. Of course, the stateless session bean would also
    have to have container-managed transactions and a tx attribute that will result in the MDB's
    transaction being used (e.g. REQUIRED, SUPPORTS, etc.)
    In that case, the message delivery itself is considered to be a unit of work within the global
    transaction. If the transaction does not commit, the message will be redelivered.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Autosubmit and scriptaculous

    Hi,
    I have a litlle problem. I want a scriptaculous effect on an element that is refresh by a partialtrigger. Here is my code... If I refresh all my page it works but it's not the interest of ajax.
    Thank you for helping...
    Phil
    <af:inputText id="leNumDocument"
    label="Num&#xE9;ro de document :"
    value="#{permisBeanValues.numDocument}"
    required="false"
    disabled="#{!permisBeanValues.testComplet2}"
    autoSubmit="true"
    valueChangeListener="#{permisBeanActions.valueChangeDocument}"
    immediate="true">
    <f:validator validatorId="numeroPermisValidator"/>
    </af:inputText>
    <af:outputText
    id="leTypeDeDocument"
    value="#{permisBeanValues.type}"
    partialTriggers="leNumDocument"/>
    <script type="text/javascript" language="javascript">
    // <![CDATA[
    Effect.Pulsate('permisForm:leTypeDeDocument',{duration: 3})
    // ]]>
    </script>

    philippe,
    The code below will fire on the valueChange just before the autoSubmit on the field. The code provided by Simon will take effect directly after the partial page submit. The effect looks similar in either case to the user, though the example below removes the need to have JavaScript in your server code. Hope that helps.
    --Ric
    <af:inputText id="leNumDocument"
    label="Num&#xE9;ro de document :"
    value="#{permisBeanValues.numDocument}"
    required="false"
    disabled="#{!permisBeanValues.testComplet2}"
    autoSubmit="true"
    valueChangeListener="#{permisBeanActions.valueChangeDocument}"
    immediate="true">
    <af:clientListener method="someChange" type="valueChange"/>
    <f:validator validatorId="numeroPermisValidator"/>
    </af:inputText>
    <af:outputText
    id="leTypeDeDocument"
    value="#{permisBeanValues.type}"
    partialTriggers="leNumDocument"/>
    <script type="text/javascript" language="javascript">
    // <![CDATA[
    function someChange(event)
    Effect.Pulsate('permisForm:leTypeDeDocument',{duration: 3})
    // ]]>
    </script>

  • How do you find good apps on itunes. Poor search facility and crude index.

    How on Earth are you meant to find anything on itunes if you don't already know its name? There are so many apps these days that the good ones are drowned out. itunes used to allow you at least to sort by 'popularity'. They should take a leaf out of Tripadvisor and rank by feedback as well as creating a proper index instead of over generalised categories like 'utility' and 'games'

    I'm not an app-user myself, but some people I know who are report that AppShopper is worth trying. Here's a link to their site:
    [AppShopper|http://appshopper.com>

  • If your ipod freezes, skips songs, and wont load, read this

    ok, i have a 4th gen 40gb ipod which worked fine until i upgraded to itunes 5. now my ipod shows a folder with !, songs skip, and it freezes after 5 songs.disk mode didnt help either, as it didnt show up on my computer even though the ipod displayed do not disconnect. I found a fix for it. it sounds dangerous and crude, but it worked for me, and some other people. plug your ipod into your computer and it will say dont disconnect, and your comp probably will be locked up like normal until ipod loads, then take your ipod, and hit it on its side on a hard surface. do it while you hear the Hard drive spinning. NO JOKE. my ipod started working right after. however, the sound is really crappy now, but i was at least able to backup my files, and i'm going to use my warrenty to get a new one. the reason this works is beacuse somehoew the hd pin is out of place, and you can hear it clicking. hitting it will get it back in place. i know this sounds crazy, but trust me, it will stop skipping songs and freezing, and will appear on your computer. I warn you however, if you break your ipod doing this, dont blame me, i'm just saying this because it worked for me. give it a try if nothing else works. hope this helps. itunes 5 was really bad. anyone know where to get itunes 4.9, that was fine for me, and i had a separate podcasting program anyway.
    --Peace

    Hi Mark,
    I tried entering the serial number onto the apple website, but it says my iPod had not been registered (although I have registered it!).
    Anyway, I phoned apple support and they told me to go to depot.info.apple.com/ipod and fill in a service request. Unfortunately it said that my iPod is out of warranty, so I had to phone again to get them to update their records about the and they are sending out a service box in the next few days
    I think I'm definately going to take out the applecare service now!

  • Once and for All ---- Please

    Hello all,
    I have used CF for several years now and bought Flex as soon
    as it was released. In my process of understanding how Flex handled
    Remote objects for CF I decided to use the CF Builder wizard for
    Flex that creates all kinds of nice CFC's and stuff for me to
    connect to a database and CRUD the data within. Ok all fine and
    dandy on the local machine, works great, I am impressed! That is
    until I try to upload the app to my Shared Server (HMS) and I get
    all kinds of cryptic error messages like:
    (mx:rpc:Fault)#0 error id = 0
    faultCode ='Client.Error.MessageSend"
    faultDetail = "Channel.Connect.Failed error
    NetConnection.Call.Failed :HTTP:Status 500"
    faultString = "Send Failed"
    message = "faultCode.Client.Error.MessageSend
    faultString:'Send Failed'
    faultDetail:'Channel.Connect.Failed error
    NetConnection.CallFailed: HTTP: Status 500" name = "Error"
    rootCause = (Object)#1
    code = NetConnection.Call.Failed"
    description = "HTTP: Status 500"
    details = "
    http://www.MYDOMIAN.com/flex2gateway/"
    level = "error"
    So I have read the DOCs and read all the blogs I can find on
    the subject but no one can clearly answer as to why I can not make
    this work on a Shared Server if I can make it work on my local box,
    Heck I can even tap into the MySQL database on the Shared Server
    via the Flex builder. I use HostMySite.com with the CF package if
    that helps.
    If it is just a matter of something on my hosts end I need
    them to configure for me that would be nice to know, or if I simply
    can't use Flex and CF together on a Shared Server all together.
    That would be nice to know. But for all the hype Flex is getting
    and how easy it supposed to be to create an app with CF, I am
    wondering why someone can not answer this question once and for
    all. I know others have posted to this and many other forums asking
    the same things I am. Is it too much to ask one of the Flex Gurru's
    of Adobe, or anywhere else for that matter to help us out?
    Not everyones wants to run their own server and I would think
    that Adobe would have kept that in mind when creating Flex, and how
    it would run on shared servers.
    So please if anyone can help understand this please let me
    know.
    Thanks

    Halodev / Peter,
    I was JUST about to ask the same question. The problem I was
    having was migrating a Flex app created on my local machine,
    connecting with my local CF app, to a test (model of production)
    server.
    I knew the following:
    1) The flex app worked as expected
    2) The data was not an issue, as I mapped a datasource to my
    production DB
    My main concern was getting the Flex app to work on the test
    server, but my biggest issue was the fact that the setup of my
    local and test servers are different. Example, I have a single
    instance locally, running off localhost. On my test server, I have
    multiple JRUN instances on the D-drive (as opposed to the c-drive,
    locally).
    From this post, I figured out that I needed to change the
    project properties to account for the different location of the
    flex-config file. I right clicked on the project and selected
    properties, and altered the values in the "Flex Compiler" and "Flex
    Server" sections to reflect the TEST server locations of the
    flex-config file.
    Now, to make life hard on myself, the "d" drive on my laptop
    is the CD ROM, and when I tried to enter the path in FB, I got an
    error saying that the path was invalid. I looked into partitioning
    my drive, but I was warned off it by our tech guy here (besides, it
    seemed too much like real work!). SO, I burned a CD with the proper
    path, just as a temporary solution.
    I re-built the app, and deployed ALL of the files in the
    local projects "bin" directory. It worked, eventually, but there
    are some questions I have, maybe, Peter, if you read this you could
    help.
    1) I had trouble with SSL - my test servers use them (as do
    the production servers). The SWF started to load but I got a 403
    error (that is SSL related, I believe). I'm not sure if that was
    when it was loading, or trying to access the CFC. Any thoughts on
    this? Are there known SSL issues?
    2) The whole "D" drive thing was a pain. As I mentioned, I
    have multpile JRUN instances on my Test (and Dev) server - one for
    each site. If I created a single generic site on the c-drive, would
    all sites that access flex be able to use that flex-config file, or
    do they need to access the local file? I'm not really getting how
    the flex services-config.xml file relates. Maybe I'll re-read your
    posts in this thread.
    3) Do I need to copy all the files from the bin directory, or
    is that over-kill? What is the bare-minimum code I need to get the
    Flex SWF to run? Could I just copy a sub-set of the HTML to a
    content management system?
    Any help with the above is appreciated.
    I'm not sure if I answered the original question, or
    contributed positively to this post - I hope I did, and that
    someone will find this information useful in the future.
    Cheers guys,
    David

  • Problem with crude operations in master detail tables

    Hi,
    I have Master-Detail tables in my page and crud operations are there for both the tables. Create/delete/edit are working fine on the master table but i am facing the following problems for the detail table
    1.delete operation is alway referring to the 1st record.
    2.Edit operation is working fine for the 1st time but when i amt trying to edit any other record it's refer to the previous record, if i did the same again then it's pointing to current record.
    Selected row keys and selectionListner and row selection is defined on my detail table as shown below.
    selectedRowKeys="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.makeCurrent}"
    rowSelection="single"
    Please do need full.

    Hi,
    Thanks for your quick reply.
    I am using JDeveloper 11g. Yes i select the record, i am using a popup for delete operation so i write a button which invoke popup in that popup i am asking confirmation like do you wanted to delete for not. in the OK button i have return logic like
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Delete2");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    operationBinding = bindings.getOperationBinding("Commit");
    result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    FacesContext fc = FacesContext.getCurrentInstance();

  • Data Association Between BPM Process Objects and EO,VO

    Hi
    I have an ADF screen where I am displaying values from database through EOs and VOs. My problem is after the user selects a value on the screen,I dont know how to map these selected values to BPM Process Data Objects.
    Is there not a better way to achieving the below requirement.
    "I have a dropdown on the screen.The value for the dropdown is being retrieved from a database table.After users selects a particular value from the dropdown, I have to map the value selected(including the rowset) to a BPM Data Object defined as a collection."
    Please help.It is very urgent
    Regards...

    There are a few moving pieces to get the value of a field on a form changed when another field's value changes.
    Look at the my blog on this from July using-database-driven-list-values-populate-bpm-variable (http://www.avioconsulting.com/blog/datwood/2012/07/02/using-database-driven-list-values-populate-bpm-variable). This goes into how to bind the BPM data object variables to a data source different than the default human task, set the autosubmit property, set the partitial trigger property and create the action binding you will need. Because you are not going to initialize your form with values when it first comes up, you just need to skip the "Initialize the ADF Form With Values Read from the Database" section.
    Where I have you dragging over the "FirstName" and "LastName" name elements from the ADFbc data control, if you needed to populate BPM data object variables - you'd also need to drag these over into the form from the human task in the data control tab. Make the FirstName field autosubmit and then make your human task field have a partial trigger pointed to the FirstName field, then you'd be populating the BPM data object's element.
    Know this is a lot to throw at you, but try getting the autosubmit working with the "listener" partial triggers and you should be able to get it going.
    Dan

  • Problem in Keeping one table columns in multiple pages and achive commit

    Hi,
    i'm using ADF BC+JSF. I have one table which holds 100 column, when i design the UI page, i'm using show one tab to show the fields and kept 50 columns in one tab another 50 columns in second tab. I filled the first tab 50 columns and i try to move to second tab then it showing error stating that you are filled the remaining columns which there in second tab.
    pls. help me to resolve.
    regards
    Bmgan

    Thanks Steve. Unfortunately we want to validate when users click on a button to fire the commit call. Since we do a lot of partial page rendering and sometimes we have to refresh the entire page (i.e. when coming back from pop-ups), this solution won’t work. Any ideas on how we can validate from the entity while at the same time showing the standard ADF error messages. We tried other approaches (like the ones from the below link) with no luck.
    validations, autosubmit and partial page requests

  • Entering a Value and Tabbing out of af:inputListOfValues displays the wrong value

    Good morning. I am having an issue with the autosubmit and tabbing out of af:inputListOfValues in my code.
    Problem: When I type in a valid value and tab out of the field, it ignores the value I entered and displays whatever the first list in the query result instead regardless of the value I typed.
    My code snippet. What it does is simply an LoV search of Employee No attached to an entity attribute and depending on selection, it will display the Employee Name within the page. (it also retrieves a table view depending what employee number was entered)
    <af:inputListOfValues id="empNoId"
                 popupTitle="Search and Select: #{bindings.EmpNo.hints.label}"
                  value="#{bindings.EmpNo.inputValue}"
                  label="#{bindings.EmpNo.hints.label}"
                  model="#{bindings.EmpNo.listOfValuesModel}"
                  required="#{bindings.EmpNo.hints.mandatory}"
                  columns="#{bindings.EmpNo.hints.displayWidth}"
                 shortDesc="#{bindings.EmpNo.hints.tooltip}"
                   binding="#{workLocationBean.txtEmpNo}"
                  partialTriggers="id1"
                 valueChangeListener="{bean.onEmpNoChange}"    
                 autoSubmit="true">
            <f:validator binding="#{bindings.EmpNo.validator}"/>
      </af:inputListOfValues>
    Other things to note:
    When I enter a valid employee number and click anywhere in the page (not TAB), it behaves correctly.
    I have been trying to figure this out for days. Even my valueChangeListener gets the wrong value (when I do System.out) when I tab out so I am not sure where to catch it and replace it with the correct value.
    Thank you.

    This usually happens when primary key is not set in view object used by LOV.
    Dario

  • Help with midi/usb interface and Logic 8

    Hi there,
    So here is the 'goal'
    I have a SoftStep (MIDI USB interface) running into Logic 8 or Mainstage - my ideal scenario would be to pre-load various loops, clicks and Ambient Pads into Logic - these are usually in MP3 format.
    Ideally, I would then be able to assign various buttons on the MIDI footpedal to start, stop and cycle through the various files.
    Is this possible, and if so, how would I go about setting this up?
    Many thanks in advance for your help.
    T

    he driver is indeed a universal version.
    Cool.
    I doubt it's the MIDI interface simply because when I used it to connect a Roland Juno-D to the computer, it worked perfectly fine.
    Ok, cool. Rules that out
    Notes get ''stuck'' on the visual keyboard, some notes are still considered 'pressed' until I press them again. There aren't many but it's worth noting.
    Is it always the same notes? For instance, if C3 will never give a note off, it might indicate a problem with the actual keyboard mechanism in the piano.
    ANYWAYS, when I've placed a monitor inside the environment at the places you mentioned, I can indeed see those odd low notes.
    So it seems like the piano is sending low notes as you play the keyboard...
    So I see this is a pretty solid visualize representation of what I thought was wrong. Note the C-2 is lower than I can even reach on my standard sized piano (my lowest note is A-1).
    It certainly seems as though the piano is sending spurious MIDI data, as I mentioned, it might be the actual physical keyboard mechanism is mistriggering. From the things you've tried, it certainly sems to be the actual piano that's playing up, and not the MIDI interface or computer.
    At this stage, I'd probably try playing around with the piano's MIDI settings, trying a reset procedure if it has one. It might be something as simple as dirt and crud in the keyboard causing mistriggering.
    While you could use the environment to filter out those C-2 notes, it's not really going to help if the piano is missing note offs and triggering wrong notes. It might, as you initially suspected, be knackered...

Maybe you are looking for

  • Some terminal color functions, including directory-based prompt colors

    All of this code is taken from my ~/.bashrc. Note that some variables are outside of functions. It should be easy to adapt everything below to your own preferences. This is my PS1 prompt. Note how the color variables are used. COLOR_1="\[\e[1;37m\]"

  • After update 10.5.6 error UserEventAgent [184]

    I'm just getting UserEventAgent [184] error, several times. Process: UserEventAgent [184] Path: /usr/sbin/UserEventAgent Identifier: UserEventAgent Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [174] Date/Time: 2008-12-18 11:00:2

  • Lightening to 30 pin Adaptor  issues

    Recently bought a genuine lightening to 30 pin Adaptor  from JR ,but whenever i use the 30 pin cable with this adaptor , the IP5 behaves erraticly. Many time the touchscreen stops responding or apps start to launch on its own. There is not particular

  • NotSerializableException for Proxy

    We have a remote object in a pure java client, that is sent as a parameter to an EJB method on an app server. When the ejb method is invoked passing the remote object as the parameter, we get the following error on the pure java client. Exception Mes

  • Nokia 5230 V20.0.005 SMS restart issue

    Hi guys, The long awaited update finally came. I installed it and now whenever I send an SMS the phone restarts. It's very annoying. Does anybody know how get rid of this issue? Thank you,