Is there a method that is Invoked when client calls commit or rollback ?

Jdev 10.1.3.3 Jclient

I looked at the JUNavigationBar soltion even though we dont use the navbar we use the same approach as our current work around but its not that great and it still sets the stage for having the same problem if you want to act on other BC exposed actions/ methods in the pageDef.
It would be great if there was a way to add a lisitener to the pagedef
exposed method, something like (panelBinding.pageDefMethodListener("Commit") )that would allow us to act on the action without having to hard wire the logic and then pass the action around to every panel that need to respond to it.

Similar Messages

  • Is there any method that find IP machine?

    Hi!
    Could someone tell me if exists any method that finds the IP of the PC where the program is running?
    Thanks in advance,
    xxdd

    Hum, I'm assuming you are using sockets on your program.
    Oh, and by the way, I don't really know if this will work or even help you... ok ??
    Socket here = new Socket();
    InetAdress local = here.getLocalAddress();
    String ipadress = local.toString();
    Does this make sence?
    Yours
    Rui
    (ps. import java.net.*; in case you haven't)

  • Is there a method that allow pub decide which sub to get message?

    In durable mode, the subscriber has provide an unique ClientId to tell from other subscriber. so when the server get a message that specified which ClientId should read the message, the sever should send the message to only the ClientId other than broadcast it out to every subscriber of the topic.
    an filter will do the same thing, but it is Setted by client, not from the sender, the sender should has the ability to decide where the message should be send.

    At a slightly higher level the TopicConnectionFactory can reject Connections from users that it does not want to accept.
    A client can create a TopicConnection using createTopicConnection(java.lang.String userName, java.lang.String password), and the server can reject those connections by throwing a JMSSecurityException. So if your particular situations is that you have some group of users that should be able to subscribe to a topic, and another set that shouldn't, this could give you the hooks you need.

  • Flex: Method doesn't work when being called on parentDocument

    Hi,
    I wonder is anyone can look at this code and tell me why calling the  removeSelectedChild works when called from the same document, but  returns the following error when called from the child  document/component.
    "ArgumentError: Error #2025: The supplied DisplayObject must be a  child of the caller."
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
      <mx:Accordion id="myAccordion"
      width="100%" height="100%"
      selectedIndex="0">
      <mx:Script>
        <![CDATA[
          public function removeSelectedChild():void {
            myAccordion.removeChild(myAccordion.selectedChild);
        ]]>
      </mx:Script>
      <mx:headerRenderer>
        <mx:Component>
          <mx:Button click="{ parentDocument.removeSelectedChild() }" />
        </mx:Component>
      </mx:headerRenderer>
      <mx:HBox>
        <mx:Button click="{ removeSelectedChild() }" />
      </mx:HBox>
      </mx:Accordion>
    </mx:Application>
    Clicking on the button in the child produces the expected result,  whilst clicking on the header throws an error despite the fact they both  call exactly the same method.
    Sorry that the example is a little contrived, this problem arose in a  quite complicated view, which was using all kinds of custom components.  This was the only way I could display it in a way that will be quick  for you to compile and easy to focus on the real issue without  background noise.
    I'm pulling my hair out on this one and would really appreciate it if  anyone could help.
    Cheers,
    Chris

    What are you trying to remove?
    myAccordion.removeChild(myAccordion.selectedChild);
    tries to remove the container, which is the child of the Accordion. Is that what you want?
    Also, I'm wondering if  parentDocument.removeSelectedChild() would try to remove the Accordion.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • When I call out on my iphone the receiving party cannot hear me, if I use earphones they can. Is there a fix for this?, when I call out on my iphone the receiving party cannot hear me, if I use earphones they can. Is there a fix for this?

    When I make or receive calls on my iphone 4S the receiving party cannot hear me unless I use earlphones is there a fix for this?

    Hello Fred91
    Start your troubleshooting with the article below to go through and help isolate the issue with your iPhone.
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    Regards,
    -Norm G.

  • Why does backbean's method be invoked when page navigation to other page

    Hi, All
    Why does backbean's method getBeans() be invoked
    when current page(list.jsp) navigation to other page(edit.jsp)?
    //client list.jsp
    <h:dataTable id="items" value="#{userDelegate.beans}"
    var="user" rowClasses="oddRow, evenRow" headerClass="tableHeader" >
    //server backbean
    public class CustomDelegate extends BaseDelegate{
    public ListDataModel getBeans(){}
    when list.jsp first initialize(first load), jsf invoke getBeans(), is right;
    but when from list.jsp navigation to edit.jsp, jsf invoke getBeans() too!
    what's the matter with it?

    How are you invoking the navigation? With a simple h:outputLink which links to another page or with an h:commandLink/h:commandButton which naturally first invokes the backingbean?
    If you're using h:outputLink, then this behaviour may not occur. You may review/redesign your JSF and bean logic.
    If you're using UICommand link/button, then this is usual behaviour. (re)read the JSF lifecycle for an explanation. If you ONLY want to get the navigation case, then you can 1) replace the methodbinding from action or actionListener by just the navigation case string, or 2) add immediate="true" to the UICommand element.
    This article might be of interest: http://balusc.xs4all.nl/srv/dev-jep-djl.html

  • Getting error message when i call newly created method from existing wcf service( System.ServiceModel.ActionNotSupportedException)

    I have existing wcf service which is working fine. I have created new operational method in the one of the servicecontract and I ref that dll into my client and calling that new operational method. when I call the new operational method, I am getting the
    following error message.  old operational method is working fine when I call that.
    Since my service is already there. all the binding information is present already in the config file of service and client. I didn't touch the config file since I just added new method into the servicecontract.
    I am using Tcp connection.
    Please help me regarding this.
    Error :
    {System.ServiceModel.ActionNotSupportedException: The message with Action 'http://tempuri.org/IAccountDetailService/Test' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract
    mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport,
    None).
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at SATT.ServiceContract.IAccountDetailService.Test()
       at SATT.Web.ServiceAgent.AccountDetails.Test() in d:\Gowsiya\Project\SATT\Dev\Src\SATT\SATT.Web\ServiceAgent\AccountDetails.cs:line 31
       at SATT.Web.Controllers.AccountDetailsController.GetPipelineDetails(Int64 mstpid, String pageNumber, String pageSize, String orderColumn, String orderType, DateTime timePeriod) in d:\Gowsiya\Project\SATT\Dev\Src\SATT\SATT.Web\Controllers\AccountDetailsController.cs:line
    57
       at lambda_method(Closure , ControllerBase , Object[] )
       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()}

    Hi Gowsiya,
    Maybe the WCF forum would be better for this issue, you know that this forum is to discuss the VS IDE.
    WCF forum link:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there any API that Cascades and arranges JInternalFrames?

    Hi all,
    I have made an MDI application using JDesktopPane. Is there any method that handles the windows arrange, windows horizontally, windows vertically and cascade windows?
    Thank you in advance kostas!

    Not in the JDK. You either have to write it yourself or find [url http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bjinternalframe+%2Bcascade+%2Btile&col=javaforums&x=23&y=12]some code to do it.

  • Is there a Method out there to solve a nxn linear EQ?

    I am considering using Java on a project I'm doing in school. I need to solve a very large linear equation, or I think it is, 121x121, many many times.
    Is there an Method that I can input a matrix A and a vector b and get x:
    Ax=b ?
    If there is, which I'm sure there is but I can't find it, how will its performance match up with a C++ version (such as lssolve)?
    THANKS!!!!
    Josh

    Have a google search for 'LUP' (or Lower Upper Permutation). If you have to solve 'Ax=b' for many different vectors 'b', a LUP decomposition of your matrix A comes in handy. The general idea is, that any (non singular) matrix A can be written as P*A = L*U, where P is a simple row-permutation matrix and L and U are lower and upper triangular matrixes respectively. Given a problem 'Ax=b', this problem can be rewritten as --
    Ax= b -->
    PAx= Pb -->
    LUx= Pb -->
    Ly= Pb -->
    Ux= y
    Where vector 'y' can be found by simple forward substitution and finally x can be found by a simple backward substitution. This method has the additional advantage of being quite numerically stable (thanks to the partial row permutation matrix P).
    kind regards

  • Music When Putting Call In Hold

    I want to ask how many people would like the opportunity to replace that annoying busy signal that is generated when a call is put on hold with music more enjoyable ..?
    Not be a revolutionary idea for Apple iPhone and phones? Since there is a command of "call waiting" because it can not replace an ugly busy signal repeater with music?
    :-D might be the idea of a new and unique rinvoluzionario updated version of the software for the iPhone.

    It'd be impossible for Apple to implement it on the phone, as the tones are a network (carrier) service/feature and not generated on the phone at all.
    All the ringing, busy, and on-hold sounds that a caller may hear, come from the network, not the recipients phone.
    And, as mentioned, some networks already have services where you can change those tones (for everyone calling or even different sounds for different callers).

  • When I call a landline with skype by iMac (10.7.5) the other side hears my voice very hollow and far.

    Dear mac colleagues,
    I have a imac (2,7 Ghz Intel core, 4Gb internal memory) with Mac Os X 10.7.5. The problem is that the quality of my voice that people hear when I call them by skype 6.4.0.833 is bad (hollow, and far). When I call with my old macbook pro there is no problem. This is very frustrating because of a new iMac computer that powerfull I expect a lot better than this. I tried already to install skype skype again and checked the sound preferences without any result.  Anybody has an idea what I could do?
    greetings Guy

    The following line tells me that this is not a template file, but a document created from a template called index.dwt
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    This means that you saved a child document as a template file at some stage.
    If you go to Modify->Templates->Detach from Template, you can remove the template structure from your document. All you then need to do is to re-save the document as a template.

  • Is there any method to remember the running subtitle and audio stream when navigating through menus?

    I have a language Menu named 'Setup' with 4 buttons 1.English  2.Spanish  3.Spanglish  4.Subtitle Off.
    To reach this page you have to hit Setup button on Main Menu. The setup button takes to a sub-menu of Setup where I have a symbol of 'tick' at Subtitle Off indicating the state of the current subtitle stream. I have 3 more sub-menus with similar buttons but with 'tick' at different languages indicating the state of the current running/selected language, 2nd page has English with tick, 3rd page has Spanish with tick and 4th has Spanglish with tick. My client wants me to jump on the respective language ticked page when you hit the setup button on Main Menu. As far as I understand we cannot assign a code in Encore to a single button to read what subtitle stream is running.
    Is there any method to remember the running stream when navigating through menus?
    I have done this in Sonic Scenarist.
    Regards,
    A Gandhi

    I think this was added in a "newer" version of Encore (meaning anywhere from CS4 up). In any event, it is available in Encore CS6.
    There is a menu (not button) property that allows yoi9u to make the active subtitle track button the default (i.e. selected/highlight shows) just as you want.

  • TimeoutException - when calling web services method that opens a PDF

    I am updating a legacy program which uses Adobe Acrobat 7.0 Professional.  The idea is that the client will call web service methods, which handle opening a PDF, reading from or writing to the PDF, saving if necessary, and closing.  It then returns the data (if reading) to the client.
    The only issue with this that I'm having is that the client will pause for about 60 seconds, and throw a TimeoutException.
    I know that the method on the web services end is working, because I wrote a quick driver which calls the very same method, but it executes normally, and works perfectly.
    My question is basically, is there anything that would cause the client to hang/freeze when calling the web services method to do this task? Everything is running on my workstation, and I've debugged to see that the filename being passed is the same in both tests.
    Thanks!

    Thank you, I somehow missed seeing that subforum. I reposted it in that forum instead. This thread can be deleted/closed. Thanks!

  • I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired

    I have i phone 4s i there is problem of wifi my wifi is not working when i go to the wifi there is no working on off when i update it as a 6.1 ios on that time again it was good but after 2 days again the same problem i am too tired and i also reset network setting but nothing gonna be worked

    Sounds like the device was dropped at some point and damaged as a result.
    Take it to Apple for evaluation and a replacement.

  • I have an iphone 4s, I installed Vtok but the video chatting part of the app is not working when I try to chat with my husband through gmail on his PC. Can I fix this or is there another app that will let me chat with my gmail chat contacts?

    Vtok video chatting is not working on my iphone 4s. When I try to do a video chat with my gmail chat contacts who are using a PC we each only get the voice part of the chat and no video. Is there some way to fix this or is there another program that will let me video chat with my gmail chat contacts? Thank you.

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

Maybe you are looking for

  • Package Explorer Error

    Hi, today I uninstalled Flash Builder 4.0 and installed 4.0.1 Version. After activating FB, I opened and got the following error in the Package Explorer. Could not create the view: Plug-in "com.adobe.flexbuilder.as.editor" was unable to instantiate c

  • Stock Item Release Date not populated in Webtools

    I am looking to alert Online purchases of products that are shown in webtools ( i.e. Active = 'Y') that are not immediately available at a date in the future. It is not possible to use the Valid From Date because this controls the initial visibility

  • How to increase NGROUPS_MAX

    I'm using dovecot as imap mailserver. Since my upgrade to SL I cannot login to imap mailserver because my account is defined to more than 16 groups since having upgraded to SL. I can find 19 groups wehre at least 14 are groups introduced for sharepoi

  • Lost all Address Book info upon upgrading from Snow Leopard to Mavericks.

    Contacts is empty. I did a Carbon Copy Clone before upgrading so I have the abcddb file, but not sure what to do with it to get the info into Contacts. Thanks for any input.

  • Application on Palm TX

    Not sure if this is the right area, but here's my question:  I was trying to find out how much memory I have on the TX, and I beleive there is an app called "Info".  However, it doesn't appear in the Apps list and didn't come up on a search.  If ther