Rollback button action.

Hi. I put commit and rollback buttons in my form. I navigate through records, then edit one record and press rollback button. After that button click I am returned to first record. HOW to stay in current record after I press rollback button?
Can anyone give example to resolve this problem?
Best regards, Debuger

A simple google search reported the following.
Stay on previous or next row on rollback.
Re: current row after rollback
http://adfbugs.blogspot.in/2010/02/rollback-to-same-row-with-view-criteria.html

Similar Messages

  • Rollback button

    Hi all!!
    I'm trying to include a Rollback button in a form, but it doesn't works.
    The UIX code is:
    <submitButton text="Cancelar"
    model="${bindings.Rollback}"
    id="Rollback0"
    event="action"
    disabled="${createMode}"/>
    When i execute the form and test the button i got this error "java.lang.NullPointerException". I have no idea what's happening, because when i put and use a Rollback button in a table it works fine.
    Any help will be appreciated.
    Roxana

    Hi Steven and thank you for your answer. This is the error that apper in the console:
    05/06/17 09:30:47 javax.servlet.ServletException
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.renderError(StrutsUixLifecycle.java:345)
    05/06/17 09:30:47      at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    09:30:47 DEBUG (JhsDataAction) -No commit event in request and multiRowUpdateEvent request param not set, multi-row update NOT executed
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
    05/06/17 09:30:47      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/06/17 09:30:47      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/06/17 09:30:47      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    05/06/17 09:30:47      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    05/06/17 09:30:47      at java.lang.Thread.run(Thread.java:534)
    05/06/17 09:30:47 javax.servlet.ServletException
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.renderError(StrutsUixLifecycle.java:345)
    05/06/17 09:30:47      at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)
    05/06/17 09:30:47      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
    05/06/17 09:30:47      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    05/06/17 09:30:47      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/06/17 09:30:47      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/06/17 09:30:47      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    05/06/17 09:30:47      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/06/17 09:30:47      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/06/17 09:30:47      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/06/17 09:30:47      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/06/17 09:30:47      at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    05/06/17 09:30:47      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    05/06/17 09:30:47      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    05/06/17 09:30:47      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    05/06/17 09:30:47      at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Thanks in advance
    Roxana

  • Value  set in constructor is not getting saved in button  Action method

    Hi All,
    I am not understanding why the value set ( On Condition )in constructor is not hold in the button actoin method.
    Could any body explain me on that
    for this I will try to explain with sample example
    I have taken a button and add a integer property in session bean.
    now if session bean's property is even then I am trying to set the button value to bidNow other wise Accept Invitation.
    Till this opstion everything is OK
    but once I click on Button,
    Constructor is doing the right job only. But I do not understand why in button action I am getting the First Value only.
    public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                if (getSessionBean1().getIntValue()%2==0)
                    button1.setValue("BidNow");
                else
                    button1.setValue("Accept Invitation");
                getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
                log("In Constructor Button Value : "+button1.getValue());
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
        public String button1_action() {
            // TODO Replace with your code
            log("In Action Button Value : "+button1.getValue());
            return null;
        }and here is the log
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.234+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:20.250+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:35.906+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:35.921+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
    [#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]As per this log every time I am getting Bid Now only in action, though the value is changed in Construtcor
    Can u explain the reason for this

    Hi Sudhakar,
    Please try the following and you will get an idea as to what is happening:
    1. Drag and drop a button, 2 outputText components
    2. Add a property to the session bean called intValue of type int. Customize it to set it's initial value to 0
    3. Add the following lines of code to the constructor
    outputText1.setValue("" + getSessionBean1().getIntValue());
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    4. Double click on the button component to go to the button action method.
    5. Add the following line of code
    outputText2.setValue("" + etSessionBean1().getIntValue());
    6. Save and run the application
    7. Watch the values of outputText1 and outputText2 with each click of the button
    Also, try the application with the following code block in the button action method:
    if(getSessionBean1().getIntValue()%2==0){
    button1.setValue("Bid Now");
    } else{
    button1.setValue("Accept Invitation");
    getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
    outputText1.setValue(button1.getValue());
    outputText2.setValue("" + getSessionBean1().getIntValue());
    When the above code block is in the button action method the values set to button are as expected.
    Hope that helps
    Cheers
    Giri :-)

  • How to view an Image in ABAP Webdynpro on button action

    Hi Experts,
    I want to view an image on a button action without creating a new view or window.
    I just need to display the image.
    Thanks,
    R Sahu

    Hi Rabi,
    Add Context Attribute "SOURCE_IMG" with type String.
    Add Image UI "img_id" in layout and bind its source with this context attribute.
    on any method where you want to change/show image dynamically, put this code :
    here url can be path to image on local or any url-path for web image.
    call method wd_context->set_attribute
           EXPORTING
             name = 'SOURCE_IMG'
             value          = url .
    I hope this is what you are looking for.
    Thank you
    Meet Vajaria

  • Command link / button action is not taking place if i use it in iterator.

    Hi,
    I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
    Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
    Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
    I have tried in different ways.like
    case1:
    <tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
    <tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
    <tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
    varStatus="subIndx" rows="100">
    <tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
    styleClass="af_m_listingPrimaryDetails" id="pb1">
    <f:facet name="toolbar"/>
    <tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
    varStatus="clsIndx" rowSelection="none"
    binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
    emptyText="No Records" width="100%">
    <tr:column id="c9" sortable="false" styleClass="width:100%">
    <*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
    id="commandLink2" styleClass="af_m_listingLink"
    *action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
    //remaining code
    in this case commandlink action is not able to invoke serachaction() method
    case 2:
    <tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
    id="commandLink2" styleClass="af_m_listingLink"
    action="classdetails}"></tr:commandLink>
    in this case its not able to navigate to classdetails page.
    I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
    i tried with actionlistener too.. but no use.. please help me out of this problem .
    *Update to issue:*
    The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
    the structer of my code is
    < iterator1>
    #command link action1
    < iterator2>
    #command link action2
    </ iterator2>
    < /iterator1>
    #command link action1 is working but "#command link action2" is not...
    Thanks
    Shyam
    Edited by: shyam on Dec 26, 2011 5:40 PM

    Hi,
    To solve my problem I used a af:foreach instead.
    <af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
    <af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
    <af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
    </af:commandLink>
    </af:forEach>
    By the way you need to convert the iterator to an Array using a ManagedBean.
    public Object[] toArray() {
    CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
    indicators = new Object[cm.getRowCount()];
    for(int i=0;i<cm.getRowCount();i++){
    indicators[i] = cm.getRowData(i);
    return indicators;
    public static Object getEL(String expr) {
    FacesContext fc = FacesContext.getCurrentInstance();
    return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
    Hope that helps-
    Edited by: JuJuZ on Jan 3, 2012 12:23 AM
    Add getEL Method

  • How to use the cases in button action?

    Hi Experts,
    I want to get a prompt message if the field is empty.I got it but at the same time if the field is filled I want the other action to be performed that is to call a BAPI and give me output.How can I give two events for the same action.
    How to use the cases in button action?
    So, please guide me.Urgent need
    Regards
    Nutan

    Hi Nutan,
    if I understand you, then you have a simple validation. Therefore you can use the validation functionality of VC for your components. An alternative could be by writing a new ABAP RFC function module like:
    BAPI Input parameters as input and BAPI output parameters as output and an additional return code or string for a message:
    IF I_FIELD IS INITIAL.
      E_RETURN_CODE = "THE FIELD IS EMPTY."
    ELSE.
      CALL FUNCTION <YOUR_BAPI>
      <BAPI PARAMETERS>
    ENDIF.
    I hope that helps.
    Best Regards,
    Marcel

  • InDesign Button Action for PDF – Open File (in new window)

    I am using the 'Open File' action on buttons in a document i am making which will eventually be a PDF, but am wanting to specify the button action to open the file (another PDF) in a new window.
    I have found that I can achieve this and add button actions with this specific behavior in Acrobat, but it seems to be missing in indesign's abilities as far as I can see. Is there a way to do this in indesign so that i do not have to tinker in acrobat after I have made my PDF. As if I have changes to the PDF, all buttons then have to be totally re-done each time, and i will have possibly 900 buttons!!
    Thanks.
    (Using indesign CS4)

    Jeff,
    You are correct. I want to have a DVD with multiple PDFs. The main one almost acting as a table of contents for the rest.
    Problem = the 'main one' is 62 pages long, many hundred buttons and every page has at least a few of these links needed.
    Which means, if you are correct (and I believe you are, hope you aren't) that I need to custom code these buttons in Acrobat.
    The method is easy, but x300 = painful. And then the kicker... Boss says, 'Change slide 30' ... which means: Back to InDesign, Export to PDF, Recode ALL BUTTONS.
    *Note, there are some 'interactive' buttons with roll over states. So I don't think replacing the pages would work.

  • ADF UIX cancel/rollback button?

    Hi
    We're having a fair amount of trouble implementing a "cancel" button in our ADF UIX application (JDev 10.1.2). Apologies to those who read this same post on the ODTUG mailing list..... I'm hunting for even a hint of an answer before I approach Oracle Support.
    To set the scene, we have a parent VO "Departments" with child VOs "Dispatch" and "Agency". Dispatch also has a FK to Agency.
    We have a UIX view-screen that displays in a master-detail relationship Departments and Dispatch. From this screen the user can select the edit button, which navigates to an input-form screen to edit the currently selected Dispatch record.
    The Dispatch record has effective_from and effective_to dates. The underlying EO has a MethodValidator that ensures the from date <= the to date.
    On the edit screen we currently provide 2 buttons, Ok and Cancel. The Ok submitButton is bound to the commit binding, and navigates back to the view page via a struts link on completion.
    If the user selects the ok button and MethodValidator returns an error, the edit page's MessageBox displays the error and the user remains at the edit page until they resolve the issue.
    Our problems start with the cancel button.
    Originally we implemented the Cancel button as a simply "button" that navigated back to the view page. This worked well as the changes are never submitted, and on returning to the view page the record is presented in it's original state before being edited, thus the user's changes have been "cancelled".
    However if the user was editing an existing record, entered invalid dates that violated the MethodValidator, clicked ok and saw the MethodValidator error, then clicked cancel, on returning to the view page, any changes to the underlying record are visible including the invalid dates. I believe this occurs because the record has been submitted to the mid-tier by the ok button, and as such the changes now lies in the mid-tier.
    Given that a cancel "button" which simply navigates back to the view page is not a viable solution, we decided to investigate using a rollback button on our edit page, which then navigated back to the view page.
    There is a nasty side affect in using the rollback functionality, and has been a continuous frustration mentioned on OTN. When rollback is issued, it appears all iterators in the running application have their current row reset to the first element.
    This is a pain as in our example this results in not only the Dispatch iterator being reset to the first element, but also the parent Departments iterator, and presumably all other iterators in the application too. This would be an extreme annoyance to the user in every time they selected cancel, they would then need to navigate back to the correct Departments and Dispatch record if they wanted to make a different change.
    As such it is necessary to write some code to store the iterator positions before issuing the rollback, rolling-back, then restoring the iterator positions from the saved states.
    Luckily we found some code on OTN to do this:
    ADF - cancel button not working in input form(add new row)?
    This mechanism appeared to work, but, then, we did find one problem.
    I described at the beginning that our Dispatch VO is not only related to Departments but also Agency. To cater for this in our edit screen by including a LOV bound <messageList>, which displayed the relating Agencies for the user to select from.
    In using the pinched OTN rollback code, in the same scenario as previously, when the user edits a record, invalidates the MethodValidator after clicking ok, then clicks cancel, on returning to the view page, the field in Dispatch that represents the Agency is incorrectly showing a numeric result such as 0, 1, 2 etc. We realised that the value being shown is the previous edit screen's <messageList> internal index number representing the value selected in the list, and not the actual value itself.
    We're note sure why the OTN rollback code is causing this to occur. Though it restores the Agency iterator's position, it shouldn't result in the <messageList> index being written to the underlying Dispatch agency field, but rather the value the <messageList> index represents.
    It appears to me we're caught between a "rock and a hard-place" here. The simple solution of using a cancel "button" doesn't work when errors are raised. The complex case of using a "rollback" button doesn't work due to the problem with the <messageLists>.
    My research on OTN shows the "cancel vs rollback" button is a common frustration. Can somebody help me in providing a satisfactory "cancel" button that I can use throughout my app please?
    Many thanks in advance.
    Chris Muir

    The stack:
    Class                     Method
    UsrEcvAmpdsViewRowImpl    setAgency
    UsrEcvAmpdsViewRowImpl    setAttrInvokeAccessor
    ViewRowImpl               setAttribute
    DCDataControl             setAttributeInRow
    DCJboDataControl          setAttributeInRow
    JUCtrlValueBinding        setAttributeInRow
    JUCtrlValueBinding        setInputValue
    JUCtrlValueBinding        setInputValue
    InitModelListener         _setInputValue
    InitModelListener         _doModelUpdate
    InitModelListener         eventStarted
    AbstractPageBroker        _fireUIXRequestEvent
    AbstractPageBroker        handleRequest
    BaseUIPageBroker          handleRequest
    PageBrokerHandler         handleRequest
    UIXServlet                doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    ServletRequestDispatcher  forward
    RequestProcessor          doForward
    RequestProcessor          processForwardConfig
    RequestProcessor          process
    ActionServlet             process
    ActionServlet             doGet
    HttpServlet               service
    HttpServlet               service
    ResourceFilterChain       doFilter
    JAZNFilter                doFilter
    EvermindFilterChain       doFilter
    ADFBindingFilter          doFilter
    ServletRequestDispatcher  invoke
    ServletRequestDispatcher  forwardInternal
    HttpRequestHandler        processRequest
    HttpRequestHandler        run
    HttpRequestHandler        run
    ReleasableResourcePooledExecutor$MyWorker run
    Thread  runAt a wild guess, InitModelListener is causing the issue, because it's the first place where we can see a setInputValue occuring?
    To make this official I've raised a TAR (4613003.992) with Oracle Support with a cut down version of our app to work through the issue.

  • Button actions only work the first time used then nothing?

    This is what I have...
    I Have 2 buttons in MC named mcMovieTrans the AS for these buttons are in the MC's timeline, the code is:
    stop();
    function playLifeboy(event:MouseEvent):void
    gotoAndStop(3);
    function playKrave(event:MouseEvent):void
    gotoAndStop(2);
    lifeboy_btn.addEventListener(MouseEvent.CLICK, playLifeboy);
    krave_btn.addEventListener(MouseEvent.CLICK, playKrave);
    when the buttons are activated they go to there corresponding frames and Stop. As an example of what happens next I'll show you frame 3 which plays MC mcKraveMovie:
    Frame 45 has a flv. movie on it that plays at this frame. The AS for this timeline on Frame 45 is:
    stop();
    function playReturn(event:MouseEvent):void
    gotoAndPlay(46);
    return_btn.addEventListener(MouseEvent.CLICK, playReturn);
    The AS for the timeline on Frame 90 is:
    MovieClip(parent).gotoAndStop(1);
    This is where the problem occurs because when this action takes place and it returns to the parent MC (mcMovieTrans) The buttons actions dont work anymore.
    And I get this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at capQinc_fla::mcMovieTrans_89/frame1()[capQinc_fla.mcMovieTrans_89::frame1:15]
    at flash.display::MovieClip/gotoAndStop()
    at capQinc_fla::mcKraveMovie_97/frame90()[capQinc_fla.mcKraveMovie_97::frame90:1]
    Thanks

    Thanks,
    I replaced all the button symbols that where in tweens on the MC mcKraveMovie with static art. But I still Get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at capQinc_fla::mcMovieTrans_89/frame1()[capQinc_fla.mcMovieTrans_89::frame1:15]
    at flash.display::MovieClip/gotoAndStop()
    at capQinc_fla::mcKraveMovie_97/frame90()[capQinc_fla.mcKraveMovie_97::frame90:1]
    This is the timeline for the (Parent) MC mcMovieTrans:
    If that helps at all, the only place where the buttons are (and there actions) are in Frame 1 of this Timeline
    Thanks

  • Button action in Firefox 2 on XP

    I know this is a hail Mary play, these issues are so random
    and impossible to troubleshoot, but my boss told me ask around, so
    ask around I shall...
    We have a SWF (
    http://dev.binaryinteractive.com/bluetooth/consumer/html/onthego_demo.html)
    that plays perfectly on MacOSX Safari and Firefox, Windows XP IE,
    and occasionally in Firefox 1 and 2. But there are 2 machines in
    our office that will not recognise button actions when using FF2.
    More troubling is that our client has the same problem, so we
    REALLY need a fix quick. Not being able to replicate the problem (3
    machines with FF 2.0.0.6 and 2.0.0.14 willplay the SWF just fine)
    makes troubleshooting impossible.
    Just wonder if there were any plug-ins or extension to either
    Firefox or to XP that would make a few instances of FF to fail.
    Any thoughts or guidances would, well you know...TIA <3
    <3
    cheers
    mm66

    You can find the Import menu entry in the Bookmarks Manager (Library)
    *Bookmarks > Show All Bookmarks > Import & Backup > Import Data from Another Browser
    *http://kb.mozillazine.org/Import_bookmarks
    *https://support.mozilla.com/kb/Importing+bookmarks+and+other+data+from+Safari

  • ADOBE DPS - MAGAZINE to TABLET in INDESIGN.....Need to brush up my tablet design in DPS (did it a few yearscback), can anyone recommend on the Adobe site tutorials that I can download, with artworks /buttons / actions and put it together?

    ....Need to brush up my tablet design in DPS (did it a few years back), can anyone recommend on the Adobe site tutorials that I can download, with artworks /buttons / actions and put it together?

    See this forum post here from Bob. Best place to learn DPS is on Adobe TV http://tv.adobe.com/product/digital-publishing-suite/
    If you are specifically looking to learn how to create interactive overlays, go here http://helpx.adobe.com/digital-publishing-suite/help/overview-interactive-overlays.html Watch the videos on "Folio Overlays panel, Part I & Part II"

  • Does the Video Button Action really work?

    According to teh Adobe site, the Video button action should be functional:
    I have not been able to get it to function so far. I am truing to get the button to play a video from a Navigation point. Am I doing something wrong (likely) or is the Adobe site incorrect.

    Thanks Bob. That would be a great feature to add. I'm using DPS to create some interactive video applications and that would give me lots of new abilities.

  • Submit button (Action)

    I was curious if there was a way to have two (or more actions) connected to a submit button.  With the action tool, I know I am limited to one.  is it that way if I create a javascript?

    <form action="xxx.php" method="post">
    email: <input type="text"><br>
    <button type="submit">Submit Now</button>
    </form>
    This form action stands for submit button action. It may be either a PHP scipt that is connected to a database or an email account.

  • How to intercept the InCopy 'Save' button action?

    Hi,
    I have an InCopy plug-in that can successfully intercept ‘Save’ actions from the File->Save menu (using an Action Filter).
    But in InCopy there is also a Command Bar that contains a ‘Save’ button. The problem is that I cannot work out how to intercept this button action from within the plug-in code.
    I have tried ‘Spy’ and tracing events and so far there does not appear to be any clue to what I should be intercepting to achieve this.
    (the button action does not appear to trigger a FileSave action... which is what I was hoping it would do).

    Thanks for the reply, I am beginning to think that I need to do something similar.
    Did you disable the button via code?
    I know that the class id (boss) for this button is kSaveButtonBoss.
    Regards
    Malcolm

  • Parent Table - Child Form(bounded task region)- Commit-Rollback Button's

    Hello,
    Here's my simple scenario:
    Jdev 11.1.1.2
    One Am(datacontrol).
    One vertical panel splitter
    On top A panel collection with a read-only table(employees VO), The table lists just a few of the attributes, so it's really just for browsing, and a toolbar with createinsert, commit and rollback button's.
    At bottom: A PanelTab with a bounded task flow - region. The child region(bounded task flow) contains an editable ADF form(same VO) will all attributes available for editing. The form(child region) also contains a 'submit' button (to post changes).
    When run the page commit and rollback button are disable. (ok)
    Navigation and sincronize between table and task flow works fine because i set partialtrigger. (ok)
    When i change some attribute in the form and then press summit button, I want the commit and rollback button's became active..
    . . any help would be much appreciated.
    Edited by: user7056373 on 08-ene-2010 3:23

    Hi Bart,
    if your bounded task flow is placed in .jspx using region it is possible to reach binding container of that task flow.
    You can use handies by Edwin Biemond:
    # // main jsf page  
    # DCBindingContainer dc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();  
    # // taskflow binding  
    # DCTaskFlowBinding tf = (DCTaskFlowBinding)dc.findExecutableBinding("dynamicRegion1"); 
    # // pagedef of a page fragment  
    # JUFormBinding form = (JUFormBinding) tf.findExecutableBinding("regions_employee_regionPageDef"); 
    # // handle to  binding container of the region. 
    # DCBindingContainer dcRegion   = form;  but ExecuteWithParam works for me in bounded task flow - I think you have mistake in your NDValue="#{pageFlowScope.pclNummer}". you should use $ instead #
    regards,
    Branislav

Maybe you are looking for

  • Looking for a specific 8-bit synth plugin

    There was one I found a while ago (maybe a year or so) that had a lot of Nintendo-type preset sounds. At the time, it wasn't Leopard compatible so I didn't keep it on my system. I've done some searching and checked out a couple plugins since includin

  • Text disappearing and reappearing InDesign CC

    Hi there, this being my 1st post please excuse any errors in eticate... I have an issue within InDesign CC when editing text in text boxes. Intermitently it seems that when highlighting text it seems to dissapear before oyu can edit it, BUT it is in

  • OWB workflow process job error

    Hi, I tried the sample in OBE for OWB. When I start to execute "LOAD_EXPESNE_WH" process, I got the following log file(see below). The job ended in error, but I don't know further information where the error is happening. Can you explain what the err

  • Pull Price from basic Price List

    Hi Experts, Could you help us build a FMS to populate item price in a marketing document from the basic price List (price list 1) if the price is blank, not found in the Special Prices and then in the assigned pricing list for a specific customer? Le

  • Portlet Form Example

    Can anyone point me to an example of a portlet in PLSQL that is interactive. IE it shows a form and takes the input from that form when submitted. I am able to show information from PLSQL in the portlet but can't work out how to take information from