[UIX / Event] Parameters on event

Is it possible to put paramater in event ?
I trigger an event on the load of my page by puting this :
<event name="*">
<method class="view.Auser" method="ensCheckUserDroit"/>
</event>
the fact is that i want to put some parameters on that event.
I already try this on my bean : event.getParameterNames() but it is totally empty.
I can't put parameters on form because of the event name="*".
Can you help me ? is it possible to put parameters ?
Thanks for your help
Use : JDev 10.1.2 UIX 2.2.16

sorry to reply to my own thread but i need a clue to move on.

Similar Messages

  • Javascript triggering a uix event

    I'm using the <uix:body onUnload="javascript commands">
    Is there a way for javascript to trigger a uix <event> in this situation?
    Thanks, Steve

    I have a suggestion on how to call a close event back to the server side. The code looks like this:
    alert('Logging User Off');
    window.open('/url.for.logoff.processing.htm?paramForSessionId"+sessionID+"', 'LogOff', 'top=7000,left=7000');
    alert('User Logged Off');
    Does anyone know how to get the information needed for the window.open command?
    Thanks, Steve

  • Help w/ ADF UIX event parameters

    Is there any way to add a parameter when firing an event like this:
    ==========code=============
    <link text=" Accounts "
    destination="${ctrl:eventUrl(uix,'changePage')}"/>
    ===========================
    Bellow is how I used to fire events using a link but since the production release of 10g that doesn't work anymore. Destination is now required and when specified the <fireAction> content is ignored and when it's not specified, the link is dead (not clickable)
    ==========code=============
    <link text=" Section1 " destination="">
    <primaryClientAction>
    <fireAction event="changePage" formSubmitted="false"
    unvalidated="true">
    <parameters>
    <parameter key="destPage" value="Section1Page"/>
    </parameters>
    </fireAction>
    </primaryClientAction>
    </link>
    ===========================

    Hi -
    Is there any way to add a parameter when firing an
    event like this:
    ==========code=============
    <link text=" Accounts "
    destination="${ctrl:eventUrl(uix,'changePage')}"/>
    ===========================I don't think we have a EL function which specifically deals with query parameters, but in a pinch you could do something along the lines of:
    destination="${ui:concat(ctrl:eventUrl(uix,'changePage'), '&amp;amp;destPage=Section1Page')}"/
    Bellow is how I used to fire events using a link
    but since the production release of 10g that doesn't
    work anymore. Destination is now required and when
    specified the <fireAction> content is ignored and
    when it's not specified, the link is dead (not
    clickable)
    ==========code=============
    <link text=" Section1 " destination="">
    <primaryClientAction>
    <fireAction event="changePage"
    formSubmitted="false"
    unvalidated="true">
    <parameters>
    <parameter key="destPage" value="Section1Page"/>
    </parameters>
    </fireAction>
    </primaryClientAction>
    </link>
    ===========================
    I was able to verify that there is a regression in fireAction behavior. A simple fireAction like this:
    <link text="Test">
      <primaryClientAction>
        <fireAction event="changePage" formSubmitted="false"/>
      </primaryClientAction>
    </link>...no longer works unless a destination is specified. The same ClientAction works just fine if formSubmitted="true". I have logged a bug against UIX to track this issue. In the meantime, it seems like you could specify the empty string as your destination - in which case I believe that the event will be delivered back to the same page. Or, if you need to explicitly specify a page, perhaps you could use a combination of ctrl:pageUrl() and fireAction, eg:
    <link text=" Section1 "
          destination="${ctrl:pageUrl(uix,'testPage')}">">
      <primaryClientAction>
        <fireAction event="changePage" formSubmitted="false" unvalidated="true">
          <parameters>
            <parameter key="destPage" value="Section1Page"/>
          </parameters>
        </fireAction>
      </primaryClientAction>
    </link>Andy

  • Calling javascript function within a uix event

    JDeveloper Version: 9.0.3
    Technology: UIX
    Goal: To gracefully log out of a database connection, invalidate session, and close browser.
    Currently I have a logout.uix page that contains a cancel and logout button. The cancel button redirects the user to the calling page. The logout button fires a logout event that in turn calls a servlet method that closes the user's database connection and invalidates the session.
    Question: Upon returning to the logout.uix page, how do I call the self.close() javascript function that will force the user to close the browser?
    Thanks in advance for any assistance you can provide.
    OraTeam

    yes, I think it can be achieved. Something like this should suffice
    <button text="Log Out" onClick="script that closes the window" >
                            <primaryClientAction>
                            <fireAction event="YourEvent goeshere" formSubmitted="true">
                              <parameters>
                                <parameter key="Session" value="closeSession"/>
                              </parameters>
                            </fireAction>
                          </primaryClientAction>
                        </button>in the event handler you should register the event that you would specify above.
    <handlers>
        <event name="YourEvent goeshere" >
          <method class="com.test.ConnectionInvalidate" method="closeConnection" />
        </event>
      </handlers>In your class the method would be like this
    public class ConnectionInvalidate {
    public static EventResult closeConnection( BajaContext context,
                                                    Page page,
                                                    PageEvent event )
                                                    throws Throwable
    //from the event get the parameters. (if required)
    // code here for the close of connection
    }When you click the button called "Log Out" the event is fired which closes the connection and javascript is also called which closes the window. Both will happen simultaneously.
    hope this helps.
    regards,
    raj

  • UIX event question

    I've a page with 2 frame : frame1 and frame2
    I want that when an event is generated from a page in frame1 (ex: submit a form), the page to load in response of this event (ex page that contains the riepilog of the choices) must be loaded into frame2.
    It's possible to do this type of action? if it's so how can I do this.
    Thank for your help,
    Andrea

    Hi Markus,
    this is OK, but my problem is that the image tag have this structure:
    <image source="image.jpg" ctrl:event="operation">,
    because when the user click the image, the event have to do some operation on server-side and then refresh the content of the page into frame2.
    If I use the structure:
    <link destination="theContentForFrame2.uix"
    targetFrame="frame2">
    <contents>
    <image source="myImage.png ctrl:event="operation"/>
    </contents>
    </link>
    the result is the event on server-side, the page "theContentForFrame2.uix" is not loaded into frame2.

  • UIX Event result question

    Hi,
    I have one page with 2 frame : frame1,frame2
    I want to show the EventResult generated from a page loaded in frame1 (Ex: submit a form), into one page in frame2
    It's possible to do this type of action? If so, how can i do?
    Thanks for yuor help
    Andrea.

    Hi Markus,
    this is OK, but my problem is that the image tag have this structure:
    <image source="image.jpg" ctrl:event="operation">,
    because when the user click the image, the event have to do some operation on server-side and then refresh the content of the page into frame2.
    If I use the structure:
    <link destination="theContentForFrame2.uix"
    targetFrame="frame2">
    <contents>
    <image source="myImage.png ctrl:event="operation"/>
    </contents>
    </link>
    the result is the event on server-side, the page "theContentForFrame2.uix" is not loaded into frame2.

  • UIX event handler + struts

    Hi,
    I'm using UIX + struts in jdev10g and im getting problems trying to handle a simple action binding event like the "Next" operation. Below is a short example of what im trying to do.
    Test.uix
    <submitButton text="Next" model="${bindings.Next}" id="Next2" event="next"/>
    <event name="next" source="Next2">
    <invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding"
    instance="${bindings.Next}"/>
    </event>
    testAction.java
    public void onNext(DataActionContext ctx)
    if (ctx.getEventActionBinding() != null)
    ctx.getEventActionBinding().doIt();
    If i run the code above i can see that it executes ctx.getEventActionBinding().doIt(); but the action binding never gets executed, and this efect is the same for other actions like create,previous etc...
    Another thing that calls my attention is that every time i drag a operation from the DataControl Palette the event name is always "action"
    <submitButton text="First" model="${bindings.First}"
    id="First0" event="action"/>
    So how is the correct way to handle events in the UIX + Struts?????
    Please i need a help on this one!!!!!
    Tanks,
    Eduardo M. Sasso

    First of all tanks for the help.
    But what i want to do is to subclass the DataForwardAction for my DataPage and let the struts controller handle the event, just like the documentation says...
    About Event Handling in Applications Using Oracle ADF, UIX, and Struts
    http://helponline.oracle.com/jdeveloper/help?topic=adf_auixadfevents_html
    If i try to do the same thing using jsp it works great...
    This is problem is getting me nuts!!! it looks to me that this problem is very easy to solve but i just cant see the solution....
    tanks again

  • UIX: event submission with fileUpload component.

    Hi,
    Is it possible to have some event submission when a file is selected in a UIX file upload component.
    I want to be able to trap the event and update the page to display the file name and a "Update" button.
    I want to implement the ADF upload file functionality in a UIX page.
    Any pointers would be be very helpful.
    Thanks.

    Ahhh, I needed the line
    <code>
    myForm.setEncodingType("multipart/form-data");
    </code>
    I should read more!
    Shame I can't reward myself the points
    Patrick.

  • Uix event handling problem

    hi,
    I use Jdeveloper 9.0.5.1 and I want to handle an event of an UIX page.
    when I add the method onMyEvent(DataActionContext ctx){...} to make some task, the link with the next page is not called.
    If I don't catch the event, the next page comes well.
    thanks you for any help

    Hello,
    I tried this on 9.0.5.1 Production and it worked. This is what I did...
    I create a Web Application. On the struts-config palette I put two DataPages and a Forward link between them that I named foo. DataPage2.uix I added <styledText text="Hello!"/>, and on DataPage1.uix I added a submitButton with event="foo".
    Then I clicked on DataPage2 and clicked on "Go to Code", and I added an onFoo method:
    public class DataPage1Action extends DataForwardAction
      // To handle an event named "yourname" add a method:
      // public void onYourname(DataActionContext ctx)
      public void onFoo(DataActionContext ctx)
        System.out.println("hello, I'm in onFoo!");
      // To override a method of the lifecycle, go to
      // the main menu "Tools/Override Methods...".
    }Then I ran DataPage1 from the struts-config palette, and this worked.
    If this doesn't work for you, consider getting the very latest JDeveloper.
    Thanks,
    Jeanne

  • UIX/BC4J:  Page properties/Events/Methods

    The following is code for a UIX page event handler and a method that attempts to locate the data that is selected from a bc4j:table, use it, and then handle redirection to the next page.
    I had to comment out the setPageProperty block due to an error, oracle.jbo.Key, that keeps the method from running. This also means my page property is not available for use by the method.
    When the method runs I expected to be able to see the row that was selected in the table by virtue of the findRowByKey ... keyBinding ... selectionKey. Instead, the return value for the line: Row row = vo.getCurrentRow(); is always the last record in the view object.
    This led me to the alternative plan to create a page property for the selectedKey and use vo.getRow(key) to get the record. This won't work for me because I can't get the page property to work.
    Can you help me with my understanding/syntax please?
    **** UIX Event Handler ****
    <event name="getemployee">
    <bc4j:findRootAppModule name="AppModule">
    <bc4j:findViewObject name="VO">
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:keyBinding>
    <bc4j:handlers>
    <!-- Gives page error: oracle.jbo.Key -->
    <!--
    <bc4j:setPageProperty name="selectedKey">
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:setPageProperty>
    -->
    <method class="PageController" method="getInfo" />
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    **** Method that should use page property to display record from view object. ****
    public static synchronized EventResult getEmployeeInfo(BajaContext context,
    Page page,
    PageEvent event) {
    ViewObject vo = ServletBindingUtils.getViewObject(context);
    String selectedKey = page.getProperty("selectedKey");
    System.out.println("selectedKey: " + selectedKey); //null
    // I am hoping to get the property here.
    //Row row = vo.getRow(selectedKey);
    Row row = vo.getCurrentRow();
    System.out.println("Current Info- Item1:" + row.getAttribute("Item1") +
    ", Item2: " + row.getAttribute("Item2"));
    }

    Hello Vincent,
    I'm not sure why it does not work. Perhaps you haven't set the keystamp in your table?
    <bc4j:keyStamp>
    <bc4j:rowKey name="key"/>
    </bc4j:keyStamp>
    Besides your code tries to get the row in two times. Once in your event handler and ones in your method. That's not necessary, just do it once, either in your UIX page or in your Java method.
    If you do it in your UIX page, you can get the row directly in your method. Here is an example:
    UIX
    <bc4j:findRootAppModule name="appModule">
    <bc4j:findViewObject name="viewObject">
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key"/>
    </bc4j:keyBinding>
    <bc4j:handlers>
    <method class="..." method="doSomething" />
    </bc4j:handlers>
    </bc4j:findRowByKey>
    <bc4j:executeQuery/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    Then you can access row in your method
    Row row = (Row)bajaContext.getProperty("http://xmlns.oracle.com/uix/bc4j", "row");
    Regards,
    Christian

  • Event handlers in a template file in uix

    Is it possible to define event handlers in a uix template file. I would like to define a global button kind of like the following code:
    <globalButton source="toolbar_icon_prefs.gif" text="My Profile"
    destination="UsersMyProfile_View.uix" event="event1" />
    I would probably remove the destination field and let the java program called by the event decide the destination.
    The event handler would need to not interfer with event handlers defined on individual pages.
    Thanks, Steve

    Sorry, Steve, but event handlers are not supported in templates.
    - Ryan

  • UiXML event handlers - how to define once across pages

    I have a number of event handlers which will be used by several of my pages. Is there a way of including the definitions in each of those pages having only defined them once?
    Cheers
    Ian

    The simplest approach is to override AbstractPageBroker.getEventHandler() - but
    that requires that the page broker have global knowledge of all your pages.
    So, what follows is a way to add a single element to any of your pages that will
    add event handlers (in this case, a single handler).
    It's a little less trivial than I'd assumed, but I've included here actual functional
    source code to implement the whole thing. This is a very, very silly example;
    it lets you add a single element to a page:
    <page xmlns="http://xmlns.oracle.com/uix/controller">
      <scream xmlns="http://www.example.org/scream"/>
    ...With this element, the "scream" event will be handled by, well, screaming.
    Silly, yes; but it demonstrates the technique. Exactly the same technique
    would also let you execute code immediately before and/or immediately after
    a page renders (e.g., automatically register data providers). Here's the code;
    it's four classes, but they're all small.
    ScreamUIExtension[b]
    package scream;
    import oracle.cabo.ui.UIExtension;
    import oracle.cabo.ui.laf.LookAndFeel;
    import oracle.cabo.share.xml.ParserManager;
    public class ScreamUIExtension implements UIExtension
      public void registerSelf(ParserManager manager)
        manager.registerExtension("http://www.example.org/scream",
                                  new ScreamParserExtension());
      public void registerSelf(LookAndFeel laf)
    }[b]ScreamParserExtension
    package scream;
    import java.util.Dictionary;
    import org.xml.sax.Attributes;
    import oracle.cabo.share.xml.BaseParserExtension;
    import oracle.cabo.share.xml.LeafNodeParser;
    import oracle.cabo.share.xml.NodeParser;
    import oracle.cabo.share.xml.ParseContext;
    import oracle.cabo.servlet.ui.UINodePageDescription;
    public class ScreamParserExtension extends BaseParserExtension
      public NodeParser startExtensionElement(
        ParseContext context,
        String       namespaceURI,
        String       localName,
        Attributes   attrs)
        if ("scream".equals(localName))
          return new LeafNodeParser()
            protected Object getNodeValue(
              ParseContext context,
              String       namespaceURI,
              String       localName,
              Attributes   attrs)
              return "This doesn't matter in this example...";
        return null;
      public Object elementEnded(
        ParseContext context,
        String       namespaceURI,
        String       localName,
        Object       parsed,
        Dictionary   attributes)
        Object value = attributes.get("scream");
        if (value == null)
          return parsed;
        if (!(parsed instanceof UINodePageDescription))
          logWarning(context,
                     "The \"scream\" elements may only be used inside of <page>");
          return parsed;
        return new ScreamPageDescription((UINodePageDescription) parsed);
    ScreamPageDescription
    package scream;
    import oracle.cabo.servlet.ui.UINodePageDescription;
    import oracle.cabo.servlet.ui.UINodePageDescriptionProxy;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.event.EventHandler;
    import oracle.cabo.servlet.event.TableEventHandler;
    public class ScreamPageDescription extends UINodePageDescriptionProxy
      public ScreamPageDescription(UINodePageDescription uinpd)
        _uinpd = uinpd;
      public EventHandler getEventHandler(BajaContext context)
        TableEventHandler teh = new TableEventHandler();
        teh.registerEventHandler("scream", new ScreamEventHandler());
        teh.setDefaultEventHandler(getPageDescription().getEventHandler(context));
        return teh;
      protected UINodePageDescription getPageDescription()
        return _uinpd;
      private final UINodePageDescription _uinpd;
    ScreamEventHandler
    package scream;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.event.EventHandler;
    import oracle.cabo.servlet.event.EventResult;
    import oracle.cabo.servlet.event.PageEvent;
    public class ScreamEventHandler implements EventHandler
      public EventResult handleEvent(
        BajaContext   context,
        Page          page,
        PageEvent     event)
        System.out.println("SCREAM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
        return null;
    }Now, to register these, you'll want a WEB-INF/uix-config.xml like so:
    <configurations xmlns="http://xmlns.oracle.com/uix/config">
      <application-configuration>
        <ui-extensions>
          <extension-class>scream.ScreamUIExtension</extension-class>
        </ui-extensions>
      </application-configuration>
    </configurations>If you did want to add pre- or post-rendering code, just override
    different methods inside your PageDescription class.
    Final note: all of this should work unmodified in 9.0.2 except for
    the uix-config.xml; you'd have to use the older, deprecated WEB-INF/web.xml
    UIX configuration parameters in 9.0.2.

  • UIX: Anybody have example of lovValidate checking against db?

    Hi gang
    Does anybody have an example in UIX of using the lovValidate event to check a user entered messageLovInput value against the database, and if an invalid entry, via showWindow, forcing the user to select a value from the LOV?
    Any help appreciated.
    CM.

    Okay, IperProcedureCode is the attribute in the VO that the lovInput is attached to. When you write bindings.<attributeName> in your EL, then this comes out as the DCControlBinding (or a subclass) in the Java code. So I pass the binding into the EL method in order to get access to the binding container, the AM, the VO ... whatever.
    I have defined that EL method myself and it's no big deal. You add an UI extension in your UIX config and in that UI extension you register the new EL functions.
    This is the EL class:
    package com.ge.med.bone.el;
    import ...
    public class DataUtilityElFunctions {
      public static Method lookupInput;
      static {
        try {
          lookupInput = DataUtilityElFunctions.class.getDeclaredMethod( "_lookupInput",
                                                                        new Class[] {
                                                                          JUCtrlAttrsBinding.class,
                                                                          String.class,
                                                                          String.class,
                                                                          String.class
        } catch( NoSuchMethodException nsme ) {
          // Will never ever happen!
      //~ Constructors ***********************************************************************
      private DataUtilityElFunctions(  ) {}
      //~ Methods ****************************************************************************
       * Performs the lookup of user input.
       * @param binding The JUCtrlsAttrsBinding as used to bind text fields.
       * @param input The input the user has typed in.
       * @param setResult Pass 'true' if you want to set the result automatically in the
       *        attribute.
       * @param clearUnresolved Pass 'true' if you want the attribute to be cleared if it
       *        couldn't be resolved. Needs setResult='true' to work.
       * @return The looked up value or null if none found or ambigous.
      public static String _lookupInput( JUCtrlAttrsBinding binding,
                                         String input,
                                         String setResult,
                                         String clearUnresolved ) {
        String lookupResult = null;
        String attributeName = null;
        if( ( binding != null ) && ( input != null ) && ( input.length(  ) > 0 ) ) {
          BaseViewObject viewObject = (BaseViewObject)binding.getViewObject(  );
          DCBindingContainer container = binding.getBindingContainer(  );
          attributeName = binding.getAttributeNames(  )[ 0 ];
          BaseViewObject vo = (BaseViewObject)binding.getViewObject(  );
          BaseAttributeDef attributeDef = vo.findExtendedAttributeDef( attributeName );
          if( attributeDef != null ) {
            TextLookupData data = new TextLookupData( container, attributeDef, attributeDef,
                                                      true );
            data.lookupInput( input );
            if( data.isAllLookedUp(  ) ) {
              LookupDataItem item = (LookupDataItem)data.getLookedUpDataItems(  ).get( 0 );
              lookupResult = item.getResolvedObject(  ).toString(  );
          if( ( setResult != null ) && setResult.equals( "true" ) ) {
            if( lookupResult != null ) {
              binding.setInputValue( lookupResult );
            } else if( ( clearUnresolved != null ) && clearUnresolved.equals( "true" ) ) {
              binding.setInputValue( null );
            } else {
              binding.setInputValue( input );
        return lookupResult;
    }We use our own VO base class, don't let that disturb you. The TextLookupData class encapsulates the lookup. We already use this class in our Swing client to do the lookup. It uses the container to get to the AM, then creates the lookup VO, sets a nifty where-clause, executes the VO and then returns the lookup result after removing the lookup VO again.
    Again, no big deal.
    The EL function, as you can see, returns the result of the lookup or null if the lookup failed. I use this in the UIX event handler to determine whether the attribute that controls the LOV window showing should be set to "true" or "false".
    param.seachText contains the user input at the moment of validation.
    Of course, you could move the lookup stuff in a AM method if you prefer it that way.
    The UI extension class:
    package com.ge.med.bone.uix;
    import ...
    public class BoneUiExtension implements UIExtension {
      //~ Constructors ***********************************************************************
       * Default constructor.<br> Creates the object and sets the parameters.<br>
      public BoneUiExtension(  ) {}
      //~ Methods ****************************************************************************
       * Registers the parser manager
       * @param manager The parser manager.
      public void registerSelf( ParserManager manager ) {
        manager.registerFunction( "http://xmlns.med.ge.com/centricity/bone/el/data",
                                  "lookupInput",
                                  new JavaMethod( DataUtilityElFunctions.lookupInput ) );
       * Register renderers with the look-and-feels.
       * @param laf The LAF or LAF extension to register with.
      public void registerSelf( LookAndFeel laf ) {}
    }and in our uix-config.xml:
          <extension-class>
            com.ge.med.bone.uix.BoneUiExtension
          </extension-class>In the UIX page that holds the lovInput I just add the namespace:
    xmlns:dataEl="http://xmlns.med.ge.com/centricity/bone/el/data"Now I can simply call the EL function whenever I like. This EL stuff is pretty handy. I also use it to get custom labels that we defined for our attributes and to access resource bundles.
    The input field contains a (medical) procedure code. Just for user convenience I also display read-only the description of the medical procedure after validation. This read-only field (with id _procedureName) needs a refresh after validation/lookup. That's why it's a partial refresh target.
    That must be the longest posting I ever posted here :o)
    Sascha

  • How to import user defined class in UIX page?

    Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
    Thks & Rgds,
    Benny

    what you are referring to is not javascript.
    it is JSP scriptlets. These are very different.
    In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
    However, you can run java code from within a UIX event handler; see:
    http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
    event handler code is run before the page is rendered.

  • UIX/BC4J: Update/Caching problem?

    Dear all,
    we are using UIX with BC4J to build a web application that models sort of a workflow. We factored the application into multiple application modules nested in one root module. We have two VOs (VO1 and VO2) that are both based on the same EO. Both VOs live in different application modules (AM1 and AM2). One UIX page adds rows to the EO through VO1 (using Java to handle the UIX event), another UIX page displays the new rows through VO2 (using bc4j:table).
    Now during testing I encounter the following problem: After I add rows in VO1 and do AM1.getTransaction().commit(), I don't see any changes in VO2. As a workaround, I do VO2.executeQuery() immediately after the commit, but shouldn't the changes be automatically propagated if the VOs are based on the same EO?
    Is there a way to notify changes across user/session borders, e.g. if user A updates VO1, user B immediately sees the changes in VO2?
    Many thanks for any help!
    Markus.

    I think the behaviour you describe is normal and there are reasons for it: see a section entitled "How Does the Business Logic Tier Cache Data?" in the help. (In particular, the "Multiple view object instances and update, delete and insert behaviour" near the bottom.)
    Basically, because BC4J doesn't have an arbitrary-SQL evaluator it can't generally tell whether an entity belongs in a different view or not.
    I recall having read in these forums before (Sung Im, I think) that you're allowed to add a row to more than one view (and that only one entity will be created) but I think the views have to be of exactly the same format.
    HTH
    Mike.

Maybe you are looking for

  • How to clear the line items once posted...

    hello experts, i m workiing on Enhancements in fi/co...i m not able to get the actual exit.. How to clear the line items once postings has been done...i.e. once v do postings in f-48 v assign an assignment with special GL a/c as 'A'(one line item gen

  • Making a digital clock

    Hello, I am learning java and i can make simple programs. i have only taken 2 years of java programmin in school. i wanted to try something harder, i don't know if i am ready for it or not. I want to make a digital clock in java, and maybe modify it

  • Centro Calendar and Contacts do not sync

    I have had a problem syncing my contacts an calendar entries for several weeks. I use a Palm Centro.  I have tested with both Desktop and Outlook 2003.  Both have the same symptoms.  I am intrigued by other users problems that have been resolved by r

  • Unable to export some versions to .tiff

    I have a handful of photos from the same trip (shot over several days), all taken with a Canon 40D. I was able to successfully export versions of over 10 photos as .tiff. For some reason there are (seemingly) random photos that just will not export.

  • Why won't the PDF open from Webhelp

    So... I am using RH10 to generate Webhelp. I am on Windows 7. That said, I have a very small test project I am building for a presentation today.  I have placed a special icon in my help that has an attached PDF file.  The purpose is to have the user