The implementation of the method of Frank Nimphius's to insert a line at the end of a table?

Mr President.

The implementation of the method of Frank Nimphius's to insert a line at the end of a table?

https://blogs.Oracle.com/jdevotnharvest/entry/how_to_add_new_adf

I put this method is my CustomerViewRowImpl class

Like this

public String onRowCreate() {
 BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
 //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
 //in this sample
 DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");
 //access the underlying RowSetIterator
 RowSetIterator rsi = dciter.getRowSetIterator();
 //get handle to the last row
 Row lastRow = rsi.last();
 //obtain the index of the last row
 int lastRowIndex = rsi.getRangeIndexOf(lastRow);
 //create a new row
 Row newRow = rsi.createRow();
 //initialize the row
 newRow.setNewRowState(Row.STATUS_INITIALIZED);
 //add row to last index + 1 so it becomes last in the range set
 rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow); 
 //make row the current row so it is displayed correctly
 rsi.setCurrentRow(newRow);                          
 return null;
}  

My iterator name is CustomerView1Iterator

What to write get the method at line 5 above

 DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");

Concerning

Hello world

I put my name to vo iterator CustomerView1Iterator instead of allDepartmentsIterator.

And it works quite well

Concerning

Tags: Java

Similar Questions

  • We can insert a new line at the end of af: table declaratively?

    Mr President.

    We can insert a new line at the end of af: table declaratively?

    Concerning

    In the t impl class substitution as below, after that, you should be able to insert at the end of the table.

    @Override

    {} public void insertRow (rank)

    Line lastRow = this.last ();

    If (lastRow! = null) {}

    int j = this.getRangeIndexOf (lastRow) + 1;

    this.insertRowAtRangeIndex (j, line);

    this.setCurrentRow (row);

    } else {}

    super.insertRow (row);

    }

    }

  • How to determine if a table has reached the end

    I use a recursive list of files with a loop for. This in the end is a table, and I want to lnow when the files table has reached the last file if I read them one by one, without deleting them.

    Maybe I don't understand, but if you connect to a loop and indexing is enabled, the loop stops when the last element indexed, just wire the number of loops.

  • Add empty return at the end of the story

    Hi experts

    How to make a script to add a few back empty at the end of the story, not the end is a table without return?

    Thank you

    Respect of

    John

    Hello

    You can target the PointInsertion last object in any object of the unique history of the document and then fill the carriage return:

    app.activeDocument.stories.everyItem().insertionPoints[-1].contents = "\r";
    

    HTH,

    Loïc

    http://www.ozalto.com

  • Table of contents with empty lines at the end

    Hi all

    I need to get rid of these annoying two empty lines at the end of any table of contents.

    Is it possible to prevent them from getting inserted? Or remove automatically after the update?

    This is crucial for me, because the text box (for OCD) adjusts its height automatically to the content (line numbers)!

    Thank you.

    concerning

    Achim

    In my view, this is a bug. And I have pointed out. But it has not been fixed in versions a little.

    My problem with him is if I delete the extra return, it comes at the time when I update the table of contents. And if I have the framework contract to the exact size of the TOC shortened I get an overflow when I update. And I HATE to send anything with an overflow.

    --

    Sandee Cohen

    Instructor in computer graphics

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • How the device a method in the class VOROWIMPL to insert a line?

    Mr President

    My worm jdev is 12 c (12.2.1)

    My use case, is that I want a method in my class vorowimpl to insert a row in my table.

    How to do this?

    Concerning

    OHK, have you checked the above shared link?

    You can use the same code in your class RowImpl and create a line like this

    ViewObject vo = this.getViewObject ();  To get ViewObject class RowImpl

    Line r = vo.createRow ();  To create the new line

    vo.insertRow (r); To insert newly created in the whole of lines


    Ashish

  • SAML 2.0 + ADF | Based on Frank Nimphius safety for everyone

    Hi all

    I took Frank Nimphius security for everyone and enabled to work with a Cluster of WLS + eDirectory LDAP. I was able to make it work on a pre-production (Cluster, HA, LBS, etc) environment.
    The way I did was:
    Configure the WLS to LDAP
    * Let JAAS to do the rest of the security
    * Follow the advice of Frank when I have the application was sent

    But now I need to implement single sing and Sign Out. on each ADF Applications that I will develop.
    To do this, I choose to SAML 2.0.
    Over the years I have another supplier is, I don't have to really worry about implementation of SSO, I just modify the WLS and "speaking with my new provider of security."

    I've worn to a point where I am able to set up a Standalone WLS + unit of Novell Access Manager 3.2 on my laptop and ran a Servelt demo that comes with Novell. This servlet must be able to read some statements.

    Now I'm stuck on two things:

    1. I am not able to configure application of Frank and make it work for SAML 2.0
    2. a RDM are need when WLS is clusted and SAML 2.0 want to be configured. I have no documentation of fürthen to configure WSL + ADF in order to be able to work according to the standards of SAML 2.0.

    If anyone of you has a few entries, I'll be very grateful.

    I can share my notes about how I configured Access Manager from Novell and do work the example provided by Novell.

    Thanks in advance,

    Hector.

    Check if this may help:
    http://Biemond.blogspot.com/2009/09/SSO-with-WebLogic-1031-and-Saml2.html

  • Assistance needed for the registration of the application and store the values in a table

    Hello

    Hope that this explanation is not confusing. I explained my application you want in the text below and also attached a skeleton VI + screenshot hoping that he will clarify

    I try to do a VI that does the following:
    1. some code (blue Subvi) runs every 200ms
    2. every 200ms, a random number is generated
    3. the random numbers are stored in a table in intervals of time s 0.8 ("iterations")
    4. at any time, the (blue Subvi) code needs to have access to the random numbers generated in 'the previous iteration.

    To clarify, the iterations are as follows:
    Iteration #1: 0 - 1.8 s
    Iteration #2: 2 - 2. 8 s
    Iteration #3: 3 - 3.8 s

    Iteration #4: 4 - 4.8 s
    ..
    And so on...

    So for each iteration: the blue (Subvi) needs to have access to the random numbers generated in the previous iteration, for example:

    Iteration #1 (0 - 1.8 s): The blue (Subvi) Gets an array that contains only the zero (random numbers are recorded for the first time)
    Iteration #2 (2s - 2 8 s): The code gets an array containing random numbers of iteration #1
    Iteration #3 (3 s - s 3.8): the code gets an array containing random numbers of iteration #2
    Iteration #4 (3 s - s 3.8): the code gets an array containing random numbers of iteration #3
    ..
    And so on...

    At any given time in time;
    -The code gets an array that contains all the random, recorded during the previous iteration numbers
    -Values since before her previous iteration are ignored and not stored anywhere

    Thus, for example, to the #7 iteration:

    -The values during the iteration #6 are made available to the code in the form of a table

    -Values of #1 to #5 iterations have been deleted and not stored anywhere

    It is important that all values since before recording the previous iteration are deleted because they are not necessary because VI actaual will work for a long period of storage of numbers a lot more than I have indicated here

    Screenshot of the skeleton VI:

    I tried to play with the paintings, the structures of the case and the registers at offset, but everytime I try I get something wrong

    The skeleton VI is also attached (Iteration_VI and Code_SubVI)

    Any suggestions?

    Thank you!

    Yes, I agree that you need help.  First of all, you really do need to learn more about LabVIEW - spend a few hours with the tutorials, such as those mentioned on the first page of the Forums.  Oops - links to the tutorials which had been present for years seem to have been moved "elsewhere" with August 2016 LabVIEW community reorganization.  But look for them...

    Here are a few screws that basically implement what I described above (with some minor modifications).  First of all, this is a Top level VI which runs at 5 Hz (200 msec waits).  It starts with an array of 5 elements of 0, then once per second, this is replaced by a table of random numbers generated by the Random 5-table sub - VI 5 elements.  Note that I do not use a loop timed - those who are really designed for LabVIEW RT, but use the simplest functions on the Palette of the timer.

    Can't you see how that works?  The array to initialize on the left begins you with a table of 5 elements of 0.  The Timer inside the loop, it runs at 5 Hz, 'Index' counts 1, 2, 3,... to tell you where you are, and 5 shows you everything that lives on the shift register.

    Now sub - VI Random 5-table is supposed to do the following - if she was called to 5, 10, 15,..., it must return a (new) array of 5 random numbers, otherwise, it must return the array that was passed in.  So if all "works", table 5 shows 0, 0, 0, 0, 0 for the first second, a table at random for the second second (which is not superfluous!), a different for the third random picture second and so on.  I have already said a way to build this, but I chose a slightly different method (equivalent).

    Whenever it is called, a new random element is generated and added at the end of a (growing) random table stored in the shift register.  If size become 5, we send this Random-table-of-5 out through Out table and reset the register shift to an empty array.

    The case by default (when the size is not equal to 5) is shown below - we just return the array of entry to and accumulate new random table in full growth.

    These code fragments extracted from VI.  If you have LabVIEW 2016 (see the "2016" at the top right of the image?  This shows that it is a snippet of code LabVIEW 2016), you can open a blank diagram and drag this image, where magic OR converts it to a VI.  Otherwise, the code yourself and try out it.

    Caution - it is designed to run once.  If you run the program of high level, a second time, you may find that the new Random 5 - table appears to 0.4 ", 1.4", 2.4"(instead of 1", 2 ", 3").  I leave as an exercise for understand you to (a) why he is and (b) fix the code.  If you can't do that, then move an another 3-4 hours with the LabVIEW tutorials (or start playing with this code, edit it in some small way and to understand how it works).

    Bob Schor

  • What happens to a file at the end of playback of a file reference?

    Question general file IO.

    If I'm reading a binary file and the read operation reaches the end of this file, what happens to the file reference?  It exist in memory at this time, or is he out once labview publishes the end of file error?

    I coded a "departure" from playback and functionality 'stop' and the 'Stop' button is the only method in place for the closing of the reading file reference.  Immediate sights are

    (a) what is happening to the reference of the file once the read operation reaches the end of the file

    (b) it is important that I have never close the reference of the file once the user clicks on 'stop '?  (i.e. is it a best practice out there?)

    I'm under Labview 8.6 on Vista Business.

    The file reference is valid when you reach the end of the file. Each read operation returns an error, but you can write to this location. Writing will succeed because it's normal when you add data to a file.

    Close the reference when the user types stop is OK. If you implement a Replay button that you just need to reposition the pointer at the beginning of the file file and read again. This avoids the need to close and reopen the case.

  • WARNING: The pool_config view or table is not found in the schema: APEX_LISTENER

    Hi, we get this error in an independent ADR on Grizzly implemented.

    August 14, 2014 09:59:05

    oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig

    WARNING: The pool_config view or a table has not been found in the schema:

    APEX_LISTENER

    Oracle.dbtools.rt.web.WebErrorResponse 09:59:05 August 14, 2014

    internalError

    GRAVE: JDBCException [kind = NO_DATA]

    JDBCException [kind = NO_DATA]

    defaults.xml "XXXXX" designate removed for safety, front of post

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    < ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

    Properties of <>

    < comment > saved on Mon Aug 04 16:25:09 EDT 2014 < / comment >

    < key "cache.caching entry" = > false < / entry >

    < key = "cache.directory entry" > / tmp/apex/cache < / entry >

    < key = "cache.duration entry" > days < / entry >

    < key = "enter cache.expiration" > 7 < / entry >

    < key = "enter cache.maxEntries" > 500 < / entry >

    < key = "enter cache.monitorInterval" 60 > < / entry >

    < key = "cache.procedureNameList" / entry >

    < key = "cache.type entry" > lru < / entry >

    < key = "db.hostname entry" > XXXXXXXXX < / entry >

    < key = "db.password entry" > XXXXXXXXXXX < / entry >

    < key = "db.port entry" > XXXX < / entry >

    < key "db.sid entry" = > XXXXXX < / entry >

    < key "debug.debugger entry" = > false < / entry >

    < key "debug.printDebugToScreen entry" = > false < / entry >

    < key "error.keepErrorMessages entry" = > true < / entry >

    < key = "enter error.maxEntries" > 50 < / entry >

    < enter key = "jdbc. DriverType"> thin < / entry >

    < enter key = "jdbc. InactivityTimeout"1800 > < / entry >

    < enter key = "jdbc. InitialLimit' > 3 < / entry >

    < enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

    < enter key = "jdbc. MaxLimit' 10 > < / entry >

    < enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

    < enter key = "jdbc. MinLimit"> 1 < / entry >

    < key = "enter jdbc.statementTimeout" > 900 < / entry >

    < key "log.logging entry" = > false < / entry >

    < key = "enter log.maxEntries" > 50 < / entry >

    < key = "misc.compress" / entry >

    < key = "misc.defaultPage entry" > apex < / entry >

    < key "misc.enableOldFOP entry" = > true < / entry >

    < key "security.disableDefaultExclusionList entry" = > false < / entry >

    < key = "enter security.maxEntries" > 2000 < / entry >

    < / properties >

    Complete log

    August 14, 2014 11:28:13 oracle.dbtools.standalone.Standalone run

    INFO: NOTE:

    Stand-alone mode is designed for use in development and test environments. This not is not supported for use in production environments.

    August 14, 2014 11:28:13 oracle.dbtools.standalone.Standalone run

    INFO: Starting standalone Web container to: / u00/home/oracle/ords/ords

    August 14, 2014 11:28:14 oracle.dbtools.standalone.Deployer deploy

    INFO: Deploy the application = /u00/home/oracle/ords/ords/ords/WEB-INF/web.xml path

    August 14, 2014 11:28:17 oracle.dbtools.standalone.Deployer deploy

    INFO: Deploy the application path = /u00/home/oracle/ords/ords/ords/WEB-INF/web.xml

    August 14, 2014 11:28:18 oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder

    INFO: Using the configuration file: / u00/home/oracle/ords/ords

    Configuration properties for: apex

    cache. Caching = false

    cache. Directory = / tmp/apex/cache

    cache. Duration = Days

    cache.expiration = 7

    cache.maxEntries = 500

    cache.monitorInterval = 60

    cache.procedureNameList =

    cache.type = LRU

    DB. HostName = XXXXXXXXXXXXXXXXXXX

    DB. Password = *.

    DB.port = XXXXXXXXXXXXXXXXXXX

    DB.sid = XXXXXXXXXXXXXXXXXXX

    Debug.Debugger = false

    debug.printDebugToScreen = false

    error.keepErrorMessages = true

    error.maxEntries = 50

    JDBC. DriverType = thin

    JDBC. InactivityTimeout = 1800

    JDBC. InitialLimit = 3

    JDBC. MaxConnectionReuseCount = 1000

    JDBC. MaxLimit = 10

    JDBC. MaxStatementsLimit = 10

    JDBC. MinLimit = 1

    jdbc.statementTimeout = 900

    log. Logging = false

    log.maxEntries = 50

    Misc.Compress =

    misc.defaultPage = apex

    misc.enableOldFOP = true

    security.disableDefaultExclusionList = false

    security.maxEntries = 2000

    DB. UserName = APEX_PUBLIC_USER

    August 14, 2014 11:28:26 oracle.dbtools.common.config.db.ConfigurationValues intValue

    ATTENTION: * jdbc. MaxLimit in the apex of configuration uses a value of 10, this setting cannot be sized properly for a production environment *.

    August 14, 2014 11:28:26 oracle.dbtools.common.config.db.ConfigurationValues intValue

    ATTENTION: * jdbc. InitialLimit in the apex of configuration uses a value of 3, this setting cannot be sized properly for a production environment *.

    Using the JDBC driver: Oracle JDBC driver version: 11.2.0.3.0

    August 14, 2014 11:28:28 oracle.dbtools.rt.web.SCListener contextInitialized

    INFO: Oracle REMAINS initialized data Services

    Version of REST Data Services Oracle: 2.0.8.163.10.40

    The Oracle Data Services REST server info: Grizzly/1.9.49

    August 14, 2014 11:28:28 com.sun.grizzly.Controller logVersion

    INFO: GRIZZLY0001: from Grizzly Framework 1.9.49 - 14/08/14 11:28

    August 14, 2014 11:28:28 oracle.dbtools.standalone.Standalone run

    INFO: http://localhost: 8080/ADR / began to.

    Configuration properties for: apex_al

    cache. Caching = false

    cache. Directory = / tmp/apex/cache

    cache. Duration = Days

    cache.expiration = 7

    cache.maxEntries = 500

    cache.monitorInterval = 60

    cache.procedureNameList =

    cache.type = LRU

    DB. HostName = XXXXXXXXXXXXXXXXXXX

    DB. Password = *.

    DB.port = XXXXXXXXXXXXXXXXXXX

    DB.sid = BXXXXXXXXXXXXXXXXXXX

    Debug.Debugger = false

    debug.printDebugToScreen = false

    error.keepErrorMessages = true

    error.maxEntries = 50

    JDBC. DriverType = thin

    JDBC. InactivityTimeout = 1800

    JDBC. InitialLimit = 3

    JDBC. MaxConnectionReuseCount = 1000

    JDBC. MaxLimit = 10

    JDBC. MaxStatementsLimit = 10

    JDBC. MinLimit = 1

    jdbc.statementTimeout = 900

    log. Logging = false

    log.maxEntries = 50

    Misc.Compress =

    misc.defaultPage = apex

    misc.enableOldFOP = true

    security.disableDefaultExclusionList = false

    security.maxEntries = 2000

    DB. UserName = APEX_LISTENER

    August 14, 2014 11:32:01 oracle.dbtools.common.config.db.ConfigurationValues intValue

    ATTENTION: * jdbc. MaxLimit in apex_al configuration uses a value of 10, this setting cannot be sized properly for a production environment *.

    August 14, 2014 11:32:01 oracle.dbtools.common.config.db.ConfigurationValues intValue

    ATTENTION: * jdbc. InitialLimit in apex_al configuration uses a value of 3, this setting cannot be sized properly for a production environment *.

    August 14, 2014 11:32:03 oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig

    WARNING: The pool_config view or table is not found in the schema: APEX_LISTENER

    August 14, 2014 11:40:49 oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig

    WARNING: The pool_config view or table is not found in the schema: APEX_LISTENER

    August 14, 2014 11:40:50 oracle.dbtools.rt.web.WebErrorResponse internalError

    GRAVE: JDBCException [kind = NO_DATA]

    JDBCException [kind = NO_DATA]

    at oracle.dbtools.common.jdbc.JDBCException.wrap(JDBCException.java:88)

    at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:63)

    at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:38)

    at oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher.tenant(JDBCTenantDispatcher.java:98)

    at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:71)

    at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:37)

    at oracle.dbtools.rt.web.ReTargetingDispatcher.canDispatch(ReTargetingDispatcher.java:45)

    at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:160)

    at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:75)

    at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)

    at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)

    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to com.sun.grizzly.http.servlet.ServletAdapter$ FilterChainImpl.doFilter (ServletAdapter.java:1059)

    to com.sun.grizzly.http.servlet.ServletAdapter$ FilterChainImpl.invokeFilterChain (ServletAdapter.java:999)

    at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)

    at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)

    at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)

    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3656)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)

    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 oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:111)

    to com.sun.proxy. $Proxy44.executeQuery (unknown Source)

    at oracle.dbtools.common.jdbc.JDBCQueryImpl.resultSet(JDBCQueryImpl.java:92)

    to oracle.dbtools.common.jdbc.JDBCResultRowIterator. < init > (JDBCResultRowIterator.java:29)

    at oracle.dbtools.common.jdbc.JDBCQueryImpl.execute(JDBCQueryImpl.java:52)

    at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:60)

    ... more than 33

    DBA has forgotten to run apex_rest_config.sql Doh!

  • Dynamic action based on the value in a table

    Greetings,

    I would like to use a dynamic action to disable a button depending on the value selected/entry in a field in tabular form. Thus, for example, if someone enters the value "LKSG", then a button is disabled (in this case, the 'Add Row' button).

    How I would do this using the tools of dynamic measurements? When I create a dynamic action, I see that my choice of Type 'selection' for dynamic action of shooting is point, area, button, object DOM, jQuery Selector. I don't know how to use a field in a presentation of tabular to firing. Or if it is possible.

    I use APEX version 4.1.1.00.23

    Thanks in advance!

    John

    jfosteroracle wrote:
    Tom - it's very useful! A few questions:

    -J' use a 'button of the model '. To use the static code for the button, I see that the model must include the #BUTTON_ID # in the model. I added the #BUTTON_ID # in the template like this:

    #LABEL#

    Where is the the BUTTON_ID should go, in the

    ?

    After adding this, it does not for a button of the model. But if I change the touch of a button HTML, your method works great!

    It is of course the difference between the two buttons: how they react and, above all, how they are marked upward. An HTML button is a real