Delete button in xml form

In the RenderListItem form, I did included two buttons :
  - edit button to edit the news => work perfectly
  - delete button to delete the news => the problem
When I click on the delete button, I receive the following message :
XML - Forms 
Item /BvD-it SEPNews/Others/0056c04e-7c12-2a10-8185-c74e6f577c75.xml does not exist
but the file do exist.
When I click on the OK button (at the end of the message), the news is effectively deleted.
So this is functionnaly working, but it comes with a non relevant error message.
Thank you for your help
Vincent

Hi ,
there are various ways of doing it..
You can try as the previous post says or also you can try When new block instance trigger and disable the item
using set_item_property , it all depends on when and how you want to diable that item.

Similar Messages

  • How to disable delete button in a form

    HI
    can anyone show me the procedure to disable the delete button from oracle forms seeded and custom form oracle applications 11i. We are on form patch set level 18
    Regards

    Hi ,
    there are various ways of doing it..
    You can try as the previous post says or also you can try When new block instance trigger and disable the item
    using set_item_property , it all depends on when and how you want to diable that item.

  • Can I use "Delete button" in intaractive form?

    Hello Expert.
    Please tell me the phenomenon of interactive form in Performance Management(MbO or OSA) .
    I use "off line" solution.
    Now our customer would like to delete button as delete some objectives who does not entry any comment.
    Can I use this delete button in interactive form?
    I cannot find the delete button in this form...
    Best regards,
    Makoto

    You should try the LiveCycle Designer forum, but from my experience with Acrobat forms it's not possible. What you can do is either save the file using the desired file name and path (without user interaction), if the script runs from a trusted context, or you can prompt the user with the desired file-name for the file, but not enforce them to use it, nor populate it into the Save As dialog itself.

  • Creating radio buttons in XML Forms Builder

    Hi everyone,
    I can't seem to find any instructions on how to create Radio Buttons in XML Forms builder, anyone has a link or instruction on how to?
    Thanks,
    Samer

    Hi Samer,
    So taking the example for the slides, you need first to create a new child under DataModel for the DataSchema. You can name it "Gender".
    Click on the Radio Button in the Toolbar and drag "Gender" from the left hand site into the Edit Form.
    It should have already a first radio button and in the box on the bottum right you should see the reference in the Schema Reference field (/DataShema/DataModel/Gender).
    You can now drag a second button from the toolbar and place it behind the first one. Make sure you add the same value in the Schema Reference field.
    On the Show form or RenderListItem you need a Control Selector as mentioned on slide 18. You can just use right mouse click -> Add. Go on the new item on the right hand side, and click on "Add Multiple Labels". You can choose now how many radio buttons you have, here 2.
    In our example enter in one Label "Condition" = "true" and "Label" = "Male" and in the other "Condition" = "false" and "Label" = "Female".
    Finally, make sure that the Control Selector has the Schema Reference also as defined above (/DataShema/DataModel/Gender).
    Hope this helps,
    Robert

  • Broken Delete button in Dynamic Form. For the ADDT gurus!

    I have a feeling i may be at Günter's mercy on this one. Hope you have time to look at this; of course for any and all, the same applies!
    I have a dynamic list which i spent quite a lot of time with - rearranging elements within the ADDT generated KT_tng table. Just moving one recordset piece can take up to 30 seconds, so it takes QUITE a while with a lot of data to move.
    Anyways, i seem to have "broken" the delete button in mine. I hope someone can help me fix it, i really dont have time to redo all the changes i did to the dynamic list layout. (i did test as i went to make sure i didnt break it, but guess i just missed a piece..) I changed mainly the location of things, and CSS.
    I have an older version where the delete button works. I have compared but cannot find the answer. Both versions do everything else, live, with the database & their respective dynamic forms.
    I have all 4 files live, and unprotected, for now, and txt versions of all four. If you need to test anything with the live pages, its ok, most of the data is dummy data.
    Ive been saturated in ADDT dynamic lists, and dont have a background of hand coder, but am learning a lot, quick. so i have tried hard to understand this exact issue i created - im not looking for others to do my work. just my little disclaimer :)
    /* TEXT VERSIONS */
    /*Broken delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list.txt
    http://www.aquatictrainingservice.com/admin/courses_form.txt
    /*Working delete button */
    http://www.aquatictrainingservice.com/admin/courses_list2_.txt
    http://www.aquatictrainingservice.com/admin/courses_list2_detailsl.txt
    /*LIVE PHP VERSIONS*/
    /*broken delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list.php
    http://www.aquatictrainingservice.com/admin/courses_form.php
    /*working delete button*/
    http://www.aquatictrainingservice.com/admin/courses_list2_.php
    http://www.aquatictrainingservice.com/admin/courses_list2_detailsl.php
    best
    ben

    Include the following javascript code under the onClick event of the delete button.
    It works for me.
    onClick:
    var x=window.confirm('Are you sure ?')
    if (x)
    do_event(this.form,this.name,1,'ON_CLICK','');
    else
    return false

  • Attaching Javascript function to Buttons in XML forms

    Hi ,
    Can anyone tell me how can we attach Javascript function or code in XML forms ?
    Cheers
    Nitesh

    Hi Nitesh,
    If you use a label with style urBtnStd urTxtStd you can make a link that
    looks like a button which will fire the URL in the Hyperlink property. The
    XMLFB tries real hard not to let you put Javascript in there for security
    reasons. I tried some attribute tailgating, but it filters those kinds of tricks
    out. (This is where you try to try to sneak in another attribute at the end
    of one attribute value by inserting a quote character). You could also
    hand patch the XSL, but this will get overwritten with the next build of
    the XMLFB project.
    Regards,
    Darin

  • Custom Buttons in XML Forms

    Hi Experts,
    Is there a possibility to create a custom button like when i click the button mail should be sent to concerned person along with form.
    and how to create print button?
    Edited by: EPADMIN on Feb 7, 2012 8:10 AM

    To print or send email you can use Javascript in your form.  In the show form insert a Label.
    (--> in the code replace REF by HREF --> if I put HREF in my post it doesn't work...?)
    To print insert
    <A REF="
    javascript:
    window.print()">Click to Print This Page</A>
      in the Caption and set property Display HTML to yes.
    The same to send mail but put
    <A REF="
    mailto:yourmailaddress?suject=Support request">
    Click to mail</A>
      to create a mail to [yourmailaddress] with subject "Support request". 
    (check mailto syntax for further options).

  • Delete button doesn't work in tabular form after upgrade from APEX3.2 to 4

    I just upgraded the APEX from 3.2 to 4.0. However, my application is not working anymore.
    First of all, my delete button in tabular form is not working. When I select a row and click the delete button, the row is not deleted, however the message showed 1 row is deleted.
    Could you anybody tell me how can I debug this problem?
    Thanks a lot !

    I had the same problem. I first tried the solution above, but that didn't work. I also had a derived column for a custom popup and some display only columns. I removed the derived column and took out the display columns from my query. I then made sure my column order matched the source query. I applied changes and the delete button worked. FYI. I found out by some testing that it was actually trying to delete from the table, but with the wrong id. My first editable field was qty so if the qty was equal to 2 it then tried to delete from the table where pk=2(I had to restore that record). I believe it is related to the bug above. Backup your app first. I always do before I mess with the tabular forms.
    Jeff

  • Delete Button in Forms

    Hi All,
    If you want to add a confirmation message to the delete button in a form, just add the following code to the Javascript OnClick event of the button:
    return confirm('Are You Sure You Wish To Delete This Record?');
    I hope this would help somebody

    Hi Francois,
    I will check detail in Help for Form Success and Failure, Thanks for reply.
    Khawar

  • Delete button action and javascript

    Hi! In old JDeveloper 10g I can put to my delete button JavaScript to open confirm window on button click - if(confirm(\'You are about to delete the selected record.\' )) {return true;} else {return false;}"
    What can I do in JDeveloper 11g and how to implement this functionality?
    Best regards, Debuger!

    Timo! When I do like You said then I have error: javax.servlet.ServletException: java.lang.NullPointerException
    I created popup and droped ther my delete button from my form. Then in form I created button that shows popup! I removed delete button disabled property so I can press it. But when I run my app. and click on delete button in popup then the following error occours:
    javax.servlet.ServletException: java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 36 more
    Caused by: java.lang.NullPointerException
         at kokaugi.view.bean.ValueHolder.deleteButtonPases_action(ValueHolder.java:95)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 52 more

  • Where can we change the XML code of the XML form ?

    Hi
    How can we change the coding of the XML forms ? I am able to see xsl and aml forms in KM content ...but i think that are not editable...can anybody help me out
    Thanks in advance

    Hi,
    In KM folder "/etc/xmlforms" you will find a folder with the same name as your XML Forms Builder's project.
    There are *.xml and *.xsl files for each of defined views (Edit, Show, RenderListItem) in this folder.
    You may modify any of these files, the changes will have affect immediately after new version of file is uploaded.
    But remember DO NOT USE "Generate project" button of XML Forms Builder anymore, otherwise your changes will be discarded.
    The simplest way to develop and debug .xsl files is to connect "/etc/xmlforms/your_project" folder by Portal drive and copy xsl files from local computer directly to the KM.
    Regards, Mikhail.

  • Custom Save / Apply Changes / Delete buttons...

    Hi All,
    I wanted to make a custom save / apply changes and delete buttons in my forms. Therefore I wrote some JavaScript functions to call these actions as shown below;
    function saveRecord(pListPage){
    if (P&APP_PAGE_ID._CALLACTIONTYPE!= 'CANCEL') {
    if (P&APP_PAGE_ID._CALLACTIONTYPE!= 'DELETE'){
    doSubmit(P&APP_PAGE_ID._CALLACTIONTYPE);
    lvurl = 'f?p=&APP_ID.:' + pListPage+ ':&APP_SESSION.::NO:' + pListPage+ ':P' + pListPage+ '_CALLTYPE' + ',P' + pListPage+ '_CALLFROM,P' + pListPage+ '_SELECTEDRECORD,' + 'P' + pListPage+ '_MANDATORYFILTER,'+ 'P' + pListPage+ '_MANDATORYFILTERVALUE,P' + pListPage+ '_REFERENCEDBY' + ':' + $v(P&APP_PAGE_ID._CALLTYPE) + ',' + $v(P&APP_PAGE_ID._CALLFROM) + ',' + $v(P&APP_PAGE_ID._SELECTEDRECORD) + ',' + $v(P&APP_PAGE_ID._MANDATORYFILTER) + ',' + $v(P&APP_PAGE_ID._MANDATORYFILTERVALUE) + ',' + $v(P&APP_PAGE_ID._REFERENCEDBY);
    top.location.href = lvurl;
    function deleteRecord(pListPage){
    document.getElementById("P&APP_PAGE_ID._CALLACTIONTYPE").value = 'DELETE';
    confirmDelete(htmldb_delete_message,'DELETE');
    But the problems what I couldnt sort out are;
    1- If any error happens in doSubmit(); (can be any DB error by triggers etc.) I cannot show the error. Does anybody know to check whether doSubmit() returned an error or not...
    2- Delete button shows the confirmation dialog box but when I confirm to delete I got an error show below;
    "     Checksum error for Hidden and Protected item ID (1737324593811176), value (DELETE), posted checksum (D636C53A8C84A57A1BBB04A61B600C4A), expected checksum (********************************), index_i (9), index_j (5), index_m (7); "
    Can you please tell me how to sort this problems or can anybody know that there's another ways to do these things?
    I really need help guys...
    Thank you very much,
    Osman...

    Hi Varad,
    We need to have custom buttons for save etc because there are some parameters must be transferred between screens. Let me explain it like this;
    Normally when you enter the IR screen, we set a couple of hidden items' values. (such as P_CALLFROM, P_CALLTYPE, etc...)
    and then user goes into a record to edit or insert.
    When user saves the record by pressing standard Apex "Apply Changes" button, page will go back to IR page but we loose the parameter which we assigned before...
    That's why I need to have a custom save, delete etc buttons...
    So, if I need to create a custom process, Do I need to collect all the filed values from the page by myself?
    Thanks,
    Osman...

  • XML forms / news - delete button

    In the RenderListItem form, I did included two buttons :
    - edit button to edit the news => work perfectly
    - delete button to delete the news => the problem
    When I click on the delete button, I receive the following message :
    XML - Forms
    Item /BvD-it SEPNews/Others/0056c04e-7c12-2a10-8185-c74e6f577c75.xml does not exist
    but the file do exist.
    When I click on the OK button (at the end of the message), the news is effectively deleted.
    So this is functionnaly working, but it comes with a non relevant error message.
    Thank you for your help
    Vincent

    Thank you Matthias,
    I did add the buttons to the xml forms, not to use the FlexUI command.
    This solution bette fits the layout requirements I've.
    Are you sure about your statement that these buttons are no more supported ? Because I did opened an OSS message about the error, and discussion is going on, they never said it was no more supported. (Next step is to connect to our Portal)
    I'll keep the Treath updated with the solution provided by SAP.
    Thank you and kind regards
    Vincent

  • Is it possible to create a single texbox? and how to delete a button on a form? please asap, badly n

    Is it possible to create a single texbox? and how to delete a button on a form? please asap, badly needed it right now. thx -regards gustavo

    Hello Gustavo,
    You can create a single textbox using the textbox option here (This is for you to enter text - not for the visitor): http://jingsite.businesscatalyst.com/jing/2013-09-30_2212.png
    If you want to create a textbox for the visitors to enter text, then you need to enter a form, and you can delete the "message" field from the "simple contact" form, but not the name and the email fields (those are mandatory and can't be deleted).
    You may want to check external forms in case you want to have the form rather customized, to check if you can have forms with single textbox. An example would be "Jotform".
    Hope this helps.
    Cheers
    Parikshit

  • Re: Enable Save ,Delete buttons in Form

    Hi All,
    I using Jdeveloper 11.1.2.3 ,
    My scnerio is i am taking 2 panel tabs  One tab contain table i.e List, second tab contain the Form i.e Details ,
    I am taking Save,Delete,CreateNew buttons, Whenever i am in List Only CreateNew buttons should enable mode,remaining 2 buttons is in disable Mode.
    and in Details form Save and Delete buttons is Enable Mode.
    How Can i achieve this requirement,
    With regards,
    satishkumar

    Thanks for your Rply Timo,
    I have lot of forms in Application, thats why i am globally defined all the Buttons.
    WithRegards,
    satishkumar N

Maybe you are looking for

  • 'Share Card' not working for Outlook 2011.

    I'm trying to email a contact as an attachment from the Contacts app by using the Share button specifically. I want to send it via Outlook and it gives me the option to within the list. However, upon clicking Share Card with Outlook, all that occurs

  • Thin white line around image

    Using CS3 with Vista.  I have a postcard that has a background image on the bottom layer, another (overlapping) image in the next layer, and type on the top layer.  The image on the middle layer is showing very minor white edges (stitching (?) I gues

  • Nice design: A bunch of calendar appointments that are impossible to delete

    Where I used to work, we had an iCal server through which people could schedule meetings. Those appointments got synced to my phone. I don't work there anymore, and I've deleted the "work" calendar off my system and synced. But my phone is still full

  • ASN Reference document number is invalid error with SA

    Hi~ We have ASN creation error with SA(Scheduling Agreement). Portal Menu : Delivery-Receipts and Requirements-Due List for purchasing document(Supplier) 1. Select SA(Scheduling Agreement) line 2. Click 'Create ASN ' 3. After enter ship from location

  • Pictures as attachments

    How can I send an email that has pictures as attached files and NOT just the picture in the body of the email. I have clicked on the attachment button (then chosen the file) as well as file-->attach and for both the picture appears in the body of the