Commit operation button not working

jdevloper 11.1.2.0
version 64
i drag and drop operation commit to my page and
make disable proporty false
but commit button just post my new value in page and not commit in database
and this the code source
<af:commandButton actionListener="#{bindings.Commit.execute}" text="Commit" id="cb7"
                                                  disabled="false" partialSubmit="true"/>
and this source for page
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="doctype.jsf" id="d1">
        <af:messages id="m1"/>
        <af:form id="f1">
            <af:pageTemplate viewId="/myTemplate.jsf" id="pt1">
                <f:facet name="body">
                    <af:decorativeBox id="db1">
                        <f:facet name="center">
                            <af:table value="#{bindings.DocTypeView1.collectionModel}" var="row"
                                      rows="#{bindings.DocTypeView1.rangeSize}"
                                      emptyText="#{bindings.DocTypeView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                      fetchSize="#{bindings.DocTypeView1.rangeSize}" rowBandingInterval="0"
                                      filterModel="#{bindings.DocTypeView1Query.queryDescriptor}"
                                      queryListener="#{bindings.DocTypeView1Query.processQuery}" filterVisible="true"
                                      varStatus="vs"
                                      selectedRowKeys="#{bindings.DocTypeView1.collectionModel.selectedRow}"
                                      selectionListener="#{bindings.DocTypeView1.collectionModel.makeCurrent}"
                                      rowSelection="single" id="t1" width="500" columnStretching="last"
                                      displayRow="first" allDetailsEnabled="true"
                                      partialTriggers="::cb1 ::cb2 ::cb3 ::cb4 ::cb5 ::cb6">
                                <af:column sortProperty="#{bindings.DocTypeView1.hints.TypeId.name}"
                                           sortable="true" headerText="Type Id"
                                           id="c1" align="center">
                                    <af:inputText value="#{row.bindings.TypeId.inputValue}"
                                                  label="#{bindings.DocTypeView1.hints.TypeId.label}"
                                                  required="#{bindings.DocTypeView1.hints.TypeId.mandatory}"
                                                  columns="#{bindings.DocTypeView1.hints.TypeId.displayWidth}"
                                                  maximumLength="#{bindings.DocTypeView1.hints.TypeId.precision}"
                                                  shortDesc="#{bindings.DocTypeView1.hints.TypeId.tooltip}" id="it1">
                                        <f:validator binding="#{row.bindings.TypeId.validator}"/>
                                        <af:convertNumber groupingUsed="false"
                                                          pattern="#{bindings.DocTypeView1.hints.TypeId.format}"/>
                                    </af:inputText>
                                </af:column>
                                <af:column sortProperty="#{bindings.DocTypeView1.hints.TypeName.name}"
                                           sortable="true" headerText="Type Name"
                                           id="c2" align="left" rowHeader="false">
                                    <af:inputText value="#{row.bindings.TypeName.inputValue}"
                                                  label="#{bindings.DocTypeView1.hints.TypeName.label}"
                                                  required="#{bindings.DocTypeView1.hints.TypeName.mandatory}"
                                                  columns="#{bindings.DocTypeView1.hints.TypeName.displayWidth}"
                                                  maximumLength="#{bindings.DocTypeView1.hints.TypeName.precision}"
                                                  shortDesc="#{bindings.DocTypeView1.hints.TypeName.tooltip}" id="it2">
                                        <f:validator binding="#{row.bindings.TypeName.validator}"/>
                                    </af:inputText>
                                </af:column>
                            </af:table>
                        </f:facet>
                        <f:facet name="top">
                            <af:panelGroupLayout layout="horizontal" id="pgl1">
                                <af:commandButton actionListener="#{bindings.Commit.execute}" text="Commit" id="cb7"
                                                  disabled="false" partialSubmit="true"/>
                                <af:commandButton actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                                                  disabled="#{!bindings.CreateInsert.enabled}" id="cb5"/>
                                <af:commandButton actionListener="#{bindings.First.execute}" text="First"
                                                  disabled="#{!bindings.First.enabled}" partialSubmit="true" id="cb1"/>
                                <af:commandButton actionListener="#{bindings.Previous.execute}" text="Previous"
                                                  disabled="#{!bindings.Previous.enabled}" partialSubmit="true"
                                                  id="cb2"/>
                                <af:commandButton actionListener="#{bindings.Next.execute}" text="Next"
                                                  disabled="#{!bindings.Next.enabled}" partialSubmit="true" id="cb3"/>
                                <af:commandButton actionListener="#{bindings.Last.execute}" text="Last"
                                                  disabled="#{!bindings.Last.enabled}" partialSubmit="true" id="cb4"/>
                                <af:commandButton actionListener="#{bindings.Delete.execute}" text="Delete"
                                                  disabled="#{!bindings.Delete.enabled}" immediate="true" id="cb6"/>
                            </af:panelGroupLayout>
                        </f:facet>
                    </af:decorativeBox>
                </f:facet>
            </af:pageTemplate>
        </af:form>
    </af:document>
</f:view>

see its my code
i not know java well  its cant defined in variable bc
and when i put it in above it cant know ValueBinding vb
package view;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
import oracle.adf.model.BindingContext;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.binding.BindingContainer;
import oracle.binding.OperationBinding;
public class messageAfterCommit {
    public messageAfterCommit() {
    public BindingContainer getBindings() {
         return BindingContext.getCurrent().getCurrentBindingsEntry();
    public String msgAction() {
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("Commit");
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty()) {
           // return null;
   // And here is getBindings() method:
                  FacesContext fc = FacesContext.getCurrentInstance();
                  ValueBinding vb = fc.getApplication().createValueBinding("#{bindings}");
                  DCBindingContainer bc = (DCBindingContainer) vb.getValue(fc);
         return bc;
       // return null;

Similar Messages

  • Overriding Commit action does not work

    Hello
    I am using Jdeveloper 10g (9.0.5.1), and created a simple uix input form with Create and Commit operation buttons. It works very nicely.
    However, I am trying to override the Commit action because i would like to present a confirmation message for the commit process.
    I followed the Online help to override Commit action as f
    1- Changed the event property from 'action' to 'Commit'
    2- right click the datapage and selected "Go to Code"
    3- inside the DataAction Class i wrote the following
    public void onCommit(DataActionContext ctx)
    System.out.println("test override commit");
    if (ctx.getEventActionBinding() != null) ctx.getEventActionBinding().doIt();
    When i run the sample and add a new record, then press the Commit button, The function onCommit is called and the System.out.println is executed however, the Commit operation does not seem to work and the commit button is still enabled, no changes are seen in the database. When the commit is pressed one more time, the commit seems to work fine.
    I repeated the procedure over and over again, still no result
    I believe that overriding action buttons is important for developing non-trivial Web Applications. I appreciate any response
    thanks

    I am not sure why you used this method to get your application module:
    svc = (ApplicationModule)ctx.getBindingContext().findDataControl("ApplicationModuleDataControl").getDataProvider();
    Does your code get something different than doing it this way:
    ctx.getBindingContainer().getApplicationModule()
    The following scenario did not work because it did not pick up the values from the messageLovInput and the 2 messageTextInput fields. The fields are in the DataActionContext request object but they don't get written to the database, so I had to add the setAttribute methods in order to attempt to get it to work but there are still other problems that have arisen doing it this way (i.e. can't get the new dbsequence id for additional inserts into another table within the onCommit).
    1. Drag and drop a Commit button on the page.
    2. In the action I put the following code:
    public void onCommit(DataActionContext ctx){
    // Do validation here
    //In order to get the data in the database, I had to add the following 5 lines of code:
    ViewObject vo = ctx.getBindingContainer().getApplicationModule().findViewObject("NetView1");
    Row row = vo.getCurrentRow();
    row.setAttribute("NetId",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_NetId"));
    row.setAttribute("PermittedCount",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_PermittedCount"));
    row.setAttribute("Frequency",ctx.getBindingContainer().getHttpServletRequest().getParameter("VB_Frequency"));
    //Commit
    ctx.getBindingContainer().getApplicationModule().getTransaction().commit();
    }I don't think it should be this difficult to get the onCommit event to work.

  • Delete operation is not working to delete selected row from ADF table

    Hi All,
    We are working on jdev 11.1.1.5.3. We have one ADF table as shown below. My requirement is to delete a selected row from table, but it is deleting the first row only.
    <af:table value="#{bindings.EventCalendarVO.collectionModel}" var="row"
    rows="#{bindings.EventCalendarVO.rangeSize}"
    emptyText="#{bindings.EventCalendarVO.viewable ? applcoreBundle.TABLE_EMPTY_TEXT_NO_ROWS_YET : applcoreBundle.TABLE_EMPTY_TEXT_ACCESS_DENIED}"
    fetchSize="#{bindings.EventCalendarVO.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.EventCalendarVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.EventCalendarVO.collectionModel.makeCurrent}"
    rowSelection="single" id="t2" partialTriggers="::ctb1 ::ctb3"
    >
    To perform delete operation i have one delete button.
    <af:commandToolbarButton
    text="Delete"
    disabled="#{!bindings.Delete.enabled}"
    id="ctb3" accessKey="d"
    actionListener="#{AddNewEventBean. *deleteCurrentRow* }"/>
    As normal delete operation is not working i am using programatic approach from bean method. This approach works with jdev 11.1.1.5.0 but fails on ver 11.1.1.5.3
    public void deleteCurrentRow (ActionEvent actionEvent) *{*               DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    // Get an object representing the table and what may be selected within it
    ViewObject eventCalVO = dcItteratorBindings.getViewObject();
    // Remove selected row
    eventCalVO.removeCurrentRow();
    it is removing first row from table still. Main problem is not giving the selected row as current row. Any one point out where is the mistake?
    We have tried the below code as well in deleteCurrentRow() method
    RowKeySet rowKeySet = (RowKeySet)this.getT1().getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)this.getT1().ggetValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData();
    rowData.getRow().remove();
    The same behavior still.
    Thanks in advance.
    Rechin
    Edited by: 900997 on Mar 7, 2012 3:56 AM
    Edited by: 900997 on Mar 7, 2012 4:01 AM
    Edited by: 900997 on Mar 7, 2012 4:03 AM

    JDev 11.1.1.5.3 sounds like you are using oracle apps as this not a normal jdev version.
    as it works in 11.1.1.5.0 you probably hit a bug which you should file with support.oracle.com...
    Somehow you get the first row instead of the current row (i guess). You should debug your code and make sure you get the current selected row in your bean code and not the first row.
    This might be a problem with the bean scope too. Do you have the button (or table) inside a region? Wich scope does the bean have?
    Anyway you can try to remove the iterator row you get
    public void deleteCurrentRow (ActionEvent actionEvent) { DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    dcItteratorBindings.removeCurrentRow();Timo

  • Button not working in browser

    I am coding a video player in Netbeans 6.8. just find two problems:
    1. the browser button not working in browser when I run the project from Netbeans under "run in browser" mode. however under "standard execution" mode, everything is fine.
    2. can not run the jar file in the project's dist directory directly. in other word, I can not run the jar file outside of Netbeans.
    I appreciate any help. thanks.
    Main.fx:
    package gui;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color.*;
    * @author Jethro
    var face=Face{};
    function run(){
        Stage{
            title: "player"
            resizable:false
            scene: Scene{
                width:800
                height:600
                fill:DARKBLUE
                content: [face]
    }Face.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.control.Button;
    import javafx.scene.layout.VBox;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaError;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.media.MediaView;
    import javafx.scene.control.ProgressBar;
    * @author Jethro
    public class Face extends CustomNode {
        public var lbf=LBF{};
        public var enable=true;
        public var mark="play";
        public var sourceOfMedia:String;
        public def player=MediaPlayer {
            repeatCount:MediaPlayer.REPEAT_FOREVER
            onError:function(e:MediaError){
                var er=e.message;
         media : bind Media {
              source: sourceOfMedia
        public def view=MediaView {
                mediaPlayer:bind player
                preserveRatio: true                    
        public def bar=ProgressBar {
                height:10
                width:bind scene.width
                progress: bind
                    if(player.media !=null){
                        player.currentTime.toMillis()
                            /player.media.duration.toMillis();
                    }else{
                        0.0
        public var play=Button {      
            onMousePressed:function(e:MouseEvent){
                if(enable and player.media != null){
                            mark="pause"; println("playing...");                       
                            sourceOfMedia=lbf.uri;
                            player.play();
                            enable=false;
                }else{
                    mark="play";
                    player.pause();println("paused...");
                    enable=true;
         text: bind mark       
        public override function create(): Node {
            return Group {
                content: [
                    VBox{
                        content: [
                            lbf,
                            bar,
                            play,
                            view,
    }LBF.fx:
    package gui;
    import javafx.scene.CustomNode;
    import javafx.scene.Group;
    import javafx.scene.control.TextBox;
    import javafx.scene.layout.HBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.text.Font;
    import javafx.scene.text.Text;
    import javafx.scene.Node;
    import javafx.geometry.HPos;
    import javafx.geometry.VPos;
    import javafx.scene.control.Button;
    import javax.swing.JFileChooser;
    * @author Jethro
    public class LBF extends CustomNode{
        public var uri:String;
        public var whereis=Text {
            fill:Color.BLUE
         font : Font {
              size: 20
         x: 10, y: 30
         content: "location: "
        public var location=TextBox{
            text:"the song's location"
            columns:40
            selectOnFocus:true
        public var browser=Button {
         text: "Browser"
         action: function() {
                    var jfc=new JFileChooser();               
              jfc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
                    var val = jfc.showOpenDialog(null);
                    if(val == JFileChooser.APPROVE_OPTION) {                   
                        location.text = jfc.getSelectedFile().getAbsolutePath();
                        uri=jfc.getSelectedFile().toURI().toString();
                        println(location.text);
        public var face=Group {
         content: [
              Rectangle {
                        x: 0, y: 0
                        width: 800, height: 50
                        fill: Color.SILVER
                     HBox{
                         width:800
                         height:50
                         hpos:HPos.CENTER
                         vpos:VPos.CENTER
                         spacing:5
                         content: [whereis,location,browser]
        public override function create():Node{
            return face;
    }

    thanks for your reply but I need more specific operation.
    maybe I am not very clear about the problem one. I mean when I run the code in standard mode, if I click the browse button, a window will pop out and I can choose a video file from my local harddisk. but if I run it in "web start execution" mode and "run in browser" mode. the browse button make no response when I click it.
    Edited by: Phoenix2006 on Feb 8, 2010 2:35 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:37 PM
    Edited by: Phoenix2006 on Feb 8, 2010 2:42 PM

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • IPhone 4 middle button not working

    Having problems with the iPhone 4 middle button not working anyone else with the same problem ?
    Thanks

    i have the same problem. since you're software is already iOS 5.1 go to settings>general> accessibility>the settings after triple click home, i forgot what is it called but that would help.

  • Iphone 4 Home button not working after upgrade to OS 4.3.5

    Iphone 4 Home button not working after upgrade to OS 4.3.5.Please help!!!!!!!!

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • Iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 home button not working, called never fixed, then cracked screen before bringing it back again, will they blame the cracked screen if i bring it back?

    I bought an iPhone 4 less than a year ago, then one day the home button randomly stopped working, I bought the warranty so I decided to call in and see what was wrong with it. The girl said that restoring the phone would correct the problem which it did. But it is only a temporary fix, it happens more often now. So I was meaning to call in soon, but the other day my phone fell out of my pocket IN CASE from a foot height and cracked the screen. I nearly threw up. All the years I have had a phone I have never cracked or broken one, strongest screen my ***. Anyway, if I contact them again now will they fix the home button problem? or will they say that the cracked screen is obviously the cause of the home button not working? which it is not!! I don't care about the screen being cracked its not on the actual screen just on the side so its irrelevant to me. Plus I heard it is outrageosly pricey to replace.

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Iphone 4 Home button not working after upgrade to OS 4.3.1

    I've just upgrade my iphone 4 to OS 4.3.1 and I'm having issues with home button not working. Need to hit it several times before I can close an app or wake the iphone. Any one having this issue?

    It seems that settings of mail accounts have something to do with it. I've delete my gmail account and am now using Microsoft Exchange. It seems better, yet not perfect. The issue is definitely due to OS 4.3.1
    Apple answer is - no answer. It is a shame that the quality of their products, in terms of design and concept, is not match by a care for customers. It is not normal that I, as a customer, have to spend hours reading Apple Discussions forum to try to understand what the problem is. A little more respect for a customer that spend big $$$ buying their products wouldn't hurt.

  • Iphone 4 volume buttons not working

    iphone 4 volume and mute buttons not working, checked all settings they are all fine and when headphones in it works??? When I take out headphones the volum buttons do not work, when phone rings or text receives only vibrates???? HELP!!!!

    This could be due to some debris or dirt inside the  headphones jack that makes the iPhone think that the headphones are connected even when they are not.
    Try to see if you can clean the jack being very careful, with canned air as sold in electronics store.  Some people have been successful by introducing and withdrawing the headphones jack several times in a row to displace whatever is in there if it is lodged in.
    Avoid introducing anything else like a pointed object.  You could damage the jack.
    If all of this does not work, I would try first resetting the phone by holding the home button and the power button together for about 15 seconds or until the whilte apple appears, then waiting until the phone resets.  If the problem continues after this, take it to an Apple Store to see what they believe should be done.

  • Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Ipod 4th gen volume buttons not working. Volume bar not showing in music or video apps, not a speaker problem as this works fine when testing built in alarm tones???

    Have you tried the standard fixes:
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTunes
    - Restore the iPod to factory defaults/new iPod.
    If still problem you likely have a hardware problem and an appointment at the Genus Bar of an Apple store is in order.

  • IPod touch 5th gen. Home button stuck and power button not working! Please help!

    I have an iPod 5th Generation and the home button is jammed down! It felt sticky earlier but now it's stuck down. I used it when the home button wasn't working and had to use my notifications to change from app to app (as I didn't know about assistive touch). I turned it off, but now the power button is no longer responsive! The button isn't stuck, but it doesn't work anymore. It was working fine before, but now it won't respond. Please help!

    Try:
    http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • TS3694 No sound and ringer button not working. I cannot play music but when I put my Iphone 4 on the dock it plays music. This happens when I updated my phone to IOS 6.1.3..The phone doesnt have any carriers we only used this just like Itouch. Please help

    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.

    Hi there,
    Thanks for reaching out to the community.
    Please help. Since I updated my Iphone4 to ISO 6.1.3...The ringer button not working, can't play any music (but ok with the dock), headphone sound is muffled. What can I do? I tried restoring and downgrading but it won't let me.
    It appears like you may have a hardware issue with your ringer button and internal speaker that came to light after the update. If you have already restored your iPhone back to factory settings using iTunes, you may need to have your phone serviced.
    Some potential good news... Check your headphone jack for lint. There may be enough to cause a muffled connection. You can try to blow it out with compressed air or very carefully pulling out any solid objects that may affect the connection.
    Best of luck!

  • Music buttons not working in lock screen on my iPhone 4 after iOS7 update.

    After I updated my iPhone 4 to iOS7, the music buttons like PLAY, REWIND and FORWARD are not working in the locked screen as well as on swipe up menu. Any resolution please?

    hi there
    i had a problem with my wifes iphone 4s, today morning while travelling to work i changed a setting on repeat option and changed it to repeat artist, it was fine until when i finish my work and on my way back i found songs are not playing anymore, lots of stop signs next to my song list, play/pause button not working, album arkwork keep moving from one to another on its own, so after i reach home i try to do some research on Apple support communities, try to soft reset my phone closing all the apps on background didnt work, also note that control centre music player was not working as well. none of the solutions worked. after trying for two hours i found out that the trouble is in repeat options , so i changed it from repeat artist to repeat off. and the music start playing as usual, but i still have those stop buttons next to the songs i tried to play earlier. At least it fixed temporarily. please also note that in the meantime i tried to sync my phone with the pc and suddenly its start syncing all the songs again assuming there were no songs on my iphone.  so guys i think soft reset might not help all the time but try to remember what settings you changed recently and change it back to the original option, not sure ,but it might help.

Maybe you are looking for