Requery Condition with custom save button.

Hi,
I've set the 'Requery Condition' for my group equal to 'After Commit' and it doesn't seem to refresh my page when I do a commit using a custom button bound to my method in the managed bean.
Do I need to do anything extra in my bean where I am committing the record in order to make the 'Requery Condition' work on my group ?
Thanks,
Shishir

Hi,
It depends on your version of JHeadstart what is happening with the Save functionality. In general, you should 'copy' whatever JHeadstart is doing.
In my 10.1.3 version, it executes the action 'Commit' and the actionListener '#{bindings.Commit.execute}'. So indeed, try to execute the Commit binding as HJHorst told you, which should cause the onCommit functionality in the JHeadstart PageLifecycle class to fire and set the #{jhsAfterCommit} we were talking about before.
Take a look at the JhsPageLifecycle class, onCommit function and you know what I will mean. This class 'captures' commit functionality, which will not be captured if you simply call getDBTransaction().commit().
Regards
Evert-Jan de Bruin

Similar Messages

  • How to create a navigation bar with custom made buttons?

    I'm used to work with a similar program as Muse. In there we can create a single button and link them together into a navigation bar. I have tried all sorts of tutorials but none of them is discussing this possibility.
    To summorize. The idea is to create a button in photoshop and to use this as a theme to build a navigation bar. Possible or not and how? Thanks for assistance. Rgds Rufin

    Hi Brad,
    Thanks for your reply.
    No, not really. I used to work with XARA up till now. And being an Adobe Cloud user I think it a bit silly using two different systems. In XARA I can create a custom button and turn them into a navbar. For your information I include a few links to sites I created with Xara and I would like to know if I can create the same type of navbars with Abobe Muse. I already found out that all the other functions are available and some work a lot better in Muse, but I’m stuck on the navbar issue. I know I can create a button in Adobe PS and use it in Muse. But I didn’t manage to figure out how to create a navbar in Muse on basis of a button created in PS.
    www.restaurant-cedric.be or www.discoamigo.com or www.radioparadijs.be
    Grtz,
    Rufin
    LOGO-RUFIN'S-REISBUREAU-outlook
    Koningslaan 36 – b31
    8300 Knokke – Heist
    Tel: 050621052
    Fax: 050621072
    e-mail:  <mailto:[email protected]> [email protected]
    <http://www.rufins.be/> http://www.rufins.be
    <http://www.travelcoop.be/> travelcoop_logo_2013[1]  <http://ferventreisagent.be/rufins-reisbureau> klein logo
    Van: Brad Lawryk
    Verzonden: zondag 12 oktober 2014 19:40
    Aan: RUFIN DUWEL
    Onderwerp:  How to create a navigation bar with custom made buttons?
    How to create a navigation bar with custom made buttons?
    created by Brad Lawryk <https://forums.adobe.com/people/Brad+Lawryk>  in Help with using Adobe Muse CC - View the full discussion <https://forums.adobe.com/message/6817739#6817739>

  • JQuery Custom Save Button - Save, Validation, and Redirection Issues

    We have a custom list form that we are trying to save, validate, and redirect. We can get the button to save and validate, but not redirect. And vice versa. We have tried several variations on the lines in red, all with either
    no save or no redirect. We are also using this custom list form on a custom master page.
    Is there something that we are doing wrong?
    <script>
    $(document).ready(function() {
        var button = $("input[id$=SaveItem]");
        // change redirection behavior
            button.removeAttr("onclick");
            button.click(function() {
                var elementName = $(this).attr("name");
                var aspForm = $("form[name=aspnetForm]");
                var oldPostbackUrl = aspForm.get(0).action;
                var currentSourceValue = GetUrlKeyValue("Source", true, oldPostbackUrl);
                var newPostbackUrl = oldPostbackUrl.replace(currentSourceValue, "custompageurl.aspx")
                if (!PreSaveItem()) return false;
                                                    if (SPClientForms.ClientFormManager.SubmitClientForm('WPQ1')) return false;
                                                    if (!Page_ClientValidate()) return false;
                                                    WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(elementName, "", true,
    "", newPostbackUrl, false, true));
    </script>

    Hi,
    From your description ,my understanding is that you want to redirect to your custom page after you create a new item.
    You could accomplish you requirement via sessionvars.js file, please refer to this article:
    http://spjsblog.com/2009/09/04/redirect-from-newform-to-editform-or-custom-page/
    Here is a similar case for reference:
    https://social.technet.microsoft.com/Forums/office/en-US/b2b70571-d8bf-4633-9ed4-99f4ee40fdc3/redirect-to-a-home-page-when-on-click-of-save-button-in-a-discussion-forum-thread?forum=sharepointdevelopmentprevious
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Keeping session using custom save button in managed bean

    Greetings,
    I'm building a application based on BC + ADF(JSF).
    All around the app. I need two buttons, one for committing and actualizing the UI data, and other to return to the previous page.
    Instead of customizing those buttons every time they occurs, I've haded a managed bean to do the work. This managed bean as "request" scope.
    The process of editing a form, requires me to have one form to only view the data and other to edit the data.
    The issue is: when saving a form, it should return ("back" action) to his precedence, keeping the session state.
    That is: If I'm editing "process 2" when i commit it should go to "process 2" in read only mode.
    This works fine if i use "hardcoded buttons", but when i use the managed bean to handle those buttons action, when committing, it goes to the first on the list. It doesen't keep the session state.
    How can i keep the state ?
    Thanks
    here it is the managed bean:
    package fc.view.backing;
    import fc.model.FirstCareAppModuleImpl;
    import javax.faces.context.FacesContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.view.faces.component.core.nav.CoreCommandButton;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    import oracle.jbo.ViewObject;
    public class fcLib {
    private BindingContainer bindings;
    private CoreCommandButton commandButton_save;
    private CoreCommandButton commandButton_backOnePage;
    private CoreCommandButton commandButton_backHome;
    * Get and set bindings
    public BindingContainer getBindings() {
    return this.bindings;
    public void setBindings(BindingContainer bindings) {
    this.bindings = bindings;
    * Getters ans setters for "save" and "back" buttons
    public void setCommandButton_save(CoreCommandButton commandButton_save) {
    this.commandButton_save = commandButton_save;
    public CoreCommandButton getCommandButton_save() {
    return commandButton_save;
    public void setCommandButton_backOnePage(CoreCommandButton btn) {
    this.commandButton_backOnePage = btn;
    public CoreCommandButton getCommandButton_backOnePage() {
    return commandButton_backOnePage;
    public void setCommandButton_backHome(CoreCommandButton btn) {
    this.commandButton_backHome = btn;
    public CoreCommandButton getCommandButton_backHome() {
    return commandButton_backHome;
    * Back actions for back buttons
    public String commandButton_backOnePage_action() {
    return "back";
    public String commandButton_backHome_action() {
    return "home";
    * Save button action - Used in al pages that do save (commit) data
    public String commandButton_save_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    OperationBinding operationBinding2 = bindings.getOperationBinding("Execute");
    operationBinding.execute();
    operationBinding2.execute();
    // It should be a error page
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    // Refresh main view object
    DCBindingContainer bc = (DCBindingContainer)FacesContext.getCurrentInstance().getExternalContext().getRequestMap().get("bindings");
    FirstCareAppModuleImpl fc = (FirstCareAppModuleImpl)bc.findDataControl("FirstCareAppModuleDataControl").getDataProvider();
    ViewObject vo_SitSocProf = fc.findViewObject("EpisodiosMain");
    vo_SitSocProf.executeQuery();
    System.out.println(" All done. Ciao ");
    return "back";
    }

    Hi
    I re-execute the query only to refresh the AM VO data.
    I'm using AM EO to access DB Views, that use IOF triggers to update/insert/delete into the DB.
    Using the application, when updating data, changes wont reflect in the UI if I don't refresh the "master" VO, that is "EpisodiosMain". I'm doing a commit and a execute to a "detail" VO.
    "If you need to execute the query and set it back to the last row you worked with, get the row key before executing the query so you can set the current row back to this rowkey"
    Could you please throw a example on how to do this ?
    "Reaching through to the AM to execute the VO isn't best practices. You should grap the associated iterator in teh binding instead and perform the execute operation. Note that usig ADF binding there are only rare situations in which you need to access teh business service directly as you do. "
    Again, could you please post an example of how to do this, or introduce me to some documentation.
    Thanks
    Message was edited by:
    Buondi

  • Issue with custom toolbar button in alv and leave screen

    Hi,
    in one subscreen (say screen 100)i have an alv with custom ADD  toolbar button..so in the user_command event handler ,i call a antoher screen(dialogue)..like if i click on ADD button ,it should display dialogue screen(say 200) and after entering input in dialogue screen i click on CONINUE to retrun to screen 100..problem is for the first time i click on ADD button its working fine ,succesffyuly returned to screen 100...but for the second time i click on add button , i have to click on twice the CONTINUE button to retrun to screen 100..when debuggin i found the user_command event routin is executin twice ..any solution..
    Thanks,
    srini

    Apparently handler is set for every new ALV instance. This you get by executing CREATE OBJECT alv... every time PBO is raised. Ensure you are executing this statement only once duirng program lifetime. Then the system will match event handler only with one ALV instance (executing it once).
    if r_alv is not bound.
       CREATE OBJECT r_alv ...
       SET HANDLER ...
    endif.
    Regards
    Marcin

  • Data View with customized command buttons

    I would like to show data from a table in browse window and place customized command buttons such as search key, filter, etc.
    Please advise.

    What you describe is a form. And you don't want a browse window, but a grid inside this form. The only thing you set in a grid in the first degree is the recordsource, and then it will display the same data view as a browse.
    The rest of your idea can be placed into the same form as controls, textboxes, buttons, etc. and you might make use of the idea sketched by Alaa Mukhtar.
    In the second degree, right click on controls you put on a form while designing it with the form designer, and you can get a help via a builder you get offered in the context menu.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • XML Form Builder-Problem with the save button

    Hi All,
    I created a project in XML Form Builder.
    I included a button "Save" in my project.
    All is working fine when i preview my project in XML Form Builder.
    The problem is when i run my project with iview.
    I suppose the form to save my input and then to be closed but
    unfortunately it did not.
    I don't know where the problem is as in the XML Form Builder everything seems ok.
    Thank you for your help!
    Regards,
    Ari

    Hi Carsten,
    Thank you for your help.
    There is no javascript error in the form.
    In the status bar when i have my mouse over the button i can see "javaxcript:HrefSubmit('save',"");"
    And when push the button "Transering Data..."
    I created the form in the Xml Form Builder and in preview there the project works.
    What do you mean "Did you access your Form using the KM Admin Explorer via a comman?"
    How can i have acess there?
    I appreciate you help!
    Regards,
    Ari

  • I need a code to be able to save my form to excel with a save button????

    This is the codes very simple right now but i can not get a code or understanding of what to put for the import part or Dim file path. The excel sheet i have saved in C:\connecttoexcel\ but do have the exact code needed.
    Public Class Mesquite
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        End Sub
        Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
            IsNumeric(TextBox1.Text)
        End Sub
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        End Sub
        Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
            TimeValue(TimeOfDay)
        End Sub
    End Class

    I'm sorry but there isn't enough information here to help you.  You can't "save a form to Excel"... you could copy data from the Form's controls into an Excel spreadsheet, but it doesn't make sense to "save a form".  There's
    also no indication of how you want to interface with Excel... will there always be a version of Excel installed on the computer running your program?  If so, what versions of Excel do you need to target?  What version of Visual Studio are you using? 
    What Windows OS will you be targeting?
    Please explain what you are trying to do in greater detail, answering not just the questions above, but also providing a detailed description of what you are trying to achieve.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • How can I write a code that triggers when clicking on Save button

    I want to hide certain fields inside my tracking list, if the login user is not part of the “Managers” group.
    To do so I want to add the following Page-load code inside a web part :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    {SPGroup group = site.Groups["Managers"];
    bool isUser = site.IsCurrentUserMemberOfGroup(group.ID);
    if (isUser)
    {textbox.Visible=false;}}
    And the following custom code that triggers when saving the form :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["ListName"];web.AllowUnsafeUpdates = true;
    SPListItem item = list.Items[SPContext.Current.ListItem.UniqueId];
    txtTitle.Text = item["Title"] as string;item.Update();web.AllowUnsafeUpdates = false;
    But I am not sure where exactly I should add the custom code for the save button ? I tried writing it inside the Oninit method , but I got many errors as shown below:-
    So can anyone advice how i should write the web part to include the Page load & the custom save button code?
    second question in general is my above approach considered valid , i mean to hide/show list columns using web parts ?

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Adobe Designer 7.0 save button and ID system needed

    Hello, I need help with create save button what works with older version too.
    I have Adobe designer 7.0 pro
    After click save button you can not changes anymore information.
    Then I need ID making system. It would be club ID. ID will be include personal sex, birthday, and filling date.
    EX: 3290580020505 ( 3- male (4-female), 29.05.80 birthday (day,month,year), 02.05.05 means filling date. (day,month,year)
    When person will fill application and she/he choose sex, birthday, then automatically its will create the ID and its possible to see in ID form.
    Then When click Save button then what is ID number then automatically it adds end of the application form name.
    EX: ID is "3290580020505" and pdf application name is "New member". Then After Save name changes "New member- 3290580020505"
    How it is possible to do and when you do not understand what I mean pls let me know.
    I really need something similar system.

    LiveCycle Reader Extensions Server is server product that is used to unlock or activate functionalities in Reader that only otherwise available in Acrobat. By enabling rights to PDF documents, this allows end users who are using Reader to save, fill in, annotate, sign, and submit PDF documents...
    To learn more about LiveCycle Reader Extensions Server, go to
    http://www.adobe.com/products/server/readerextensions/main.html

  • How to handle custom component data on overviewset save button CRM UI

    Hi,
    I have added a custom component to a standard view which is enchanted.
    I can handle any data with my buttons on the component but after editing data
    i need the save the data when the save button on the overview(top) is pressed.
    I have redefined save button of overview but i cant get my data.
    My node name is Root. I think i couldnt bind it to overview.
    How can i do that?
    Thank you

    Probably it can be done by
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUITechnical-CreatingTableViewInWebUI
    i am trying
    Thank you

  • Replace save button with update, after data is added in db.

    I am forking on a AIR desktop application with sqlite database.
    I have a form created in a custom component which have 2 buttons save and update.
    I have created a class to handle all database related functionalities.
    when i click on the save button of the form, data is inserted into the table.
    So far it's working fine.
    No when data is inserted in database, i want to disable the save button, and activate the update button on the form. To run the update query i need id of the last added row, which i can obtain from lastInsertRowID on SQLEvent.RESULT event.
    My question is how can i pass this ID from my class to the custom component?
    Best Regards,
    Alok Jain

    Hi Alok,
    You can create a public bindable property in your custom component. And set this property from a class which handles your DB activitis. You can find explore BindingUtils class if you want to run some function when a particular property value is changed.
    Hope this helps.

  • I had my favorite actress record my custom voicemail greet (Iphone 6), but in all of the hustle and bustle, I didn't tap the 'save' button. Is there a miracle I can pray for? I assume it never existed in the device, but it DID record. Anybody???

    I had my favorite actress record my custom voicemail greet (Iphone 6), but in all of the hustle and bustle, I didn't tap the 'save' button. Is there a miracle I can pray for? I assume it never existed in the device, but it DID record. Anybody??? It was recorded on March 25. 2015 around 10:45-ish (in NYCon 45th street), if that matters at all. Not like I can call her up and get her to do it again. Desperation, here, people!!
    Stockardguru

    I went in to voicemail, signed up with my pin and then opened it up clicked on custom greeting pressed record, she said the greeting, I pressed stop. There was a red line when I pressed stop. It was in the voice m ail app. I just forgot, being so nervous and all to press record.

  • Issue with enabling the save button for Oracle Composer

    Hi
    I was trying to create a custom webcenter portal application through JDeveloper which allows the user to edit the content at runtime with the help of oracle composer.
    Followed the steps below as specified in the developers guide.
    1. Implemented ADF security.
    2. Updated the adf-config file with the required namespaces.
    3. Updated the web.xml file to set the appropriate filter mappings.
    The web application is deployed successfully without any errors. However, the save button doesn't seem to get enabled. So, not very sure if the sandbox is enabled.
    Have a hunch that there could be a problem in configuring it with the datasource as while deploying the prompt still refers to the file system mds and not from DB.
    Could somebody please provide clear steps as to how to go about the dataSource creation and configure this datastore for enabling the sandbox. It would really help in understanding it better.
    Thanks

    First of all, are you using webcenter 11.1.1.3 or 11.1.1.4?
    Judging from your explenation i should say you are using .3 because in the later releases you don't need to configure adf security anymore.
    If you are using .3 than you should complete following steps:
    http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_page_editor_mds.htm#CHDBHBDA

  • Tried purchasing iTunes music. Put in my apple id and password then i was directed to a 'Terms and Conditions' page. I checked the box then clicked the 'accept' button next page read 'your Session has timed out '  try again  with a Done button to click on

    Tried purchasing music from the iTunes Store. When the window popped up I put in my apple id and password. Then I was directed to a 'Terms and Conditions' page. I checked the box next to the 'Yes I agree to these terms and conditions' - then clicked the 'accept' button next page read 'Your Session has timed out. Try again.'  with a 'Done' button to click on. Oh the same thing happens when i try to download  free iTunes. Yes I have tried & tried it again I even logged off and singed back in-- no joy 
    After accessing my iTunes account I was not able to change anything like my credit card number when I tried and was sent right to the 'Your session has timed out. Try again.'
    The last time I purchased any anything was on September 25th 2011 and the 'terms & conditions' page was last updated on October 12, 2011
    Does anyone have an idea to what is going on with my iTunes version 9.2.1 (5) and I can not upgrade to a higher version my iMac does not have the intel processor chip.Thank you for your time and help with this matter. You are greatly appreciated 

    I am having the same problem also! I posted on here about it, but no one has responded with ideas. I called technical support and e-mailed them, the only suggestions they gave was for the to turn off my firewall. But I didn't change anything, so it shouldn't suddenly stop working. Maybe this is just an iTunes issue? But it doesn't even recognize my account anymore, and I cannot log in now.
    If you happen to get an answer, will you please let me know what works for you?
    Thanks!

Maybe you are looking for

  • Meter reading order simulation

    Hello experts, I need to "simulate" meter reading order creation process, to download orders (EL35, with specific formkey) and use the file for external system. Is this possible? Thanks, Angela

  • Price updation for Partial delivered case

    Dear All, I raised an invoice for 5 qty out of 10 nos from the sale order. Now I want to sell the balance qty with updated price. I changed the price through VK12. I changed the pricing date to current date in the sale order to effect the updated pri

  • Integration with Peoplesoft using OA adapter

    Hi I am not experiened on integrating/consuming Peoplesoft functionality from external system/application/BPEL/OSB. What i understood after reading few messages that Peoplesoft Intergration Broker can be used to expose Peoplesoft component interface

  • Virtual domains vs alias

    Awhile back I was posting quite a bit about mac mail and Windows AD questions. That was in prepartion to move a client from Powweb hosted pop/exchange to they're own Mail server.  I'm converting them this week but there was something I wanted to make

  • ITunes has disabled by CD's functions

    I bought my new Nano yesterday, installed iTunes and evertime I start iTunes I get a message saying, 'The registry settings used by the iTunes drivers for importing and burning CD's and DVD's are missing. This can happen as result of installing other