Expression syntax of

Hello

In a 'ADF task Flow', I am using a router to choose what page will display based on the result of a query (if empty, the page has, if not page B).

There are many options in the router expression builder... but not much related to the results of my query?

Thanks for your help

Ben

Note: I use jdev 12 c

Not exactly your use case, but it should help you get started. The key is to run the query of vo first, and then check if the iterator returns zero rows or greater than zero.

Check http://tompeez.wordpress.com/2012/12/01/jdeveloper-11-1-1-5-0-use-router-to-create-new-row-or-edit-existing/for more information.

Timo

Tags: Java

Similar Questions

  • How to use String Manipulation Cloud Connector to shoot the first five characters of the field? (Expression syntax experience)

    The question

    I need to segment data on a large number of Postal Codes, usually about 400 to 600 at the same time. It is that our postcode field includes the last four digits in some cases, for example 92101-1957. When you use the Contact filter 'Value In A' I'm not able to do this 92101 *, 92102 * and of course I can't account for any combination of four numbers that might appear.

    The Solution - in theory

    The solution I came up with that is to create a new field of Contact in Eloqua 'Segmentation Zip Code' copy of the 5 digits of the postal Code field and execute segmentation using this new field.

    The Solution - Cloud Connector

    String Manipulation cloud connector must be able to perform this action - copy on the first 5 digits of the zip in the zip segment field field.

    When I'm stuck - via cloud connector

    I can't figure out how to write the syntax for expressions to search and replace. I have read the instructions of syntax and am still unable to establish exactly what I enter in the "regex to find: ' and the ' Regular Expressions to replace:

    Does anyone have expierence with an Expression syntax that might help train these expressions?

    Any ideas on other ways to address the problem would be too great.

    Thank you

    Louis

    Hi Louis,.

    Okay, I think I might know how to do it now but don't have access to Eloqua for the moment, so I'm kind of make this Store, but try below.

    Use the regex below in the "Regex for find" and let the "Regex to replace white": "."

    -(.*)$

    This will be after the hyphen and the replacement string will be empty, so I hope you should be left with just the first five digits that you can map to a new field.

    Let me know how you get on, I might be able to test myself so tomorrow so I'll see if I can make it work.

    Chris

  • Lesson 1 - Lambda expression syntax

    Hello:

    I'm trying to code a Hello everyone using lambda expression but I get an error, this is the code:

    public class {Lesson1

    /**

    @param args command-line arguments

    */

    Public Shared Sub main (String [] args) {}

    Call();

    }

    private public static call() Sub {}

    ()-> System.out.println ("Hello world!");

    }

    }

    I get a compilation error not a statement

    and of course, if I run it, I get: Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - not a statement

    I use the syntax that is in course-1 - 2.pdf, page 3

    What I am doing wrong?

    Lambda expressions are meant to be used somewhere and are not allowed to be right on their own line/statement. It's hard to explain, since known functional interfaces that is in a later lesson.

    Fortunately, the functional interface in your example is passable. Is not new in Java 8. Here is a concrete example of what you're trying to do:

        publicstaticvoid main(String[] args) {
            call(() -> System.out.println("Hello world!"));
        }
    
        private static void call(Runnable r) {
          r.run();
        }
    
  • in the query expression syntax error

    I get the following error message:

    Microsoft] [ODBC Microsoft Access driver] syntax error (missing operator) in query expression 'customerid_cus ='.

    for the following code:

    If IsEmpty (Request.Form("company_cus")) then

    rs_company. Source = "SELECT customerid_cus, company_cus FROM customers_cus WHERE customerid_cus =" & Request.QueryString ("customerid") & "". "

    On the other

    rs_company. "Source =" SELECT customerid_cus, company_cus FROM customers_cus WHERE company_cus = ' "& Request.Form ("company_cus") &" "'"

    End If

    What could be the problem?

    Are you sure that you pass the customerid querystring when the form
    company_cus is empty.

    --
    Paul Whitham
    Certified Professional Dreamweaver MX2004
    Adobe Community Expert - Dreamweaver

    Valleybiz Web design
    www.valleybiz.NET

    "aonefun" wrote in message
    News:epmf3n$f3u$1@forums. Macromedia.com...
    > I get the following error message:
    >
    [> Microsoft] [ODBC Microsoft Access driver] Syntax error (missing operator)
    > in
    > query expression 'customerid_cus ='.
    >
    > to the following code:
    >
    > If IsEmpty (Request.Form ("company_cus")) then
    >
    > rs_company. Source = "SELECT customerid_cus, company_cus FROM".
    > customers_cus
    "> WHERE customerid_cus =" & Request.QueryString ("customerid") & ""
    >
    > Other
    >
    > rs_company. Source = "SELECT customerid_cus, company_cus FROM".
    > customers_cus
    > WHERE company_cus = ' "& Request.Form ("company_cus") &" ' "
    >
    > End If
    >
    > What could be the problem?
    >

  • How can I get the expressions runs on compositions?

    I have two comps, each with a layer, and I want the x position of model 1 to order reverse position x on computer 2. Ive been studying expressions for a week but it's slightly above any tutorial I found.

    Just another address the composition of his name. For example:

    COMP("COMP 2"). Layer ("yellow solid 1") .transform .position

    You even don't need to know everything about expression syntax to do it. Just use the pickwhip. (Tip: anchor panel mounting under another one to use the pickwhip through compositions.)

  • Result of log Message Popup Hit button?

    Hi all

    Trying to figure out how to enable a pop-up message in a test (that is the button that is hit determines if the test of success or failure).  I am able to retrieve the result and controls the flow of data based on the result, but cannot find a way to include the result in the report.  I have been working on a 'custom result' in the section 'Other results' tab proerties, but can't seem to get the right expression syntax.  Please notify.  Thank you.

    GSinMN

    Hello

    You can use the expression of State to determine a pass/fail result. For an example, see attached sequence.

    I hope it works for you.

    Mathijs

  • Differerence between keywords and literals

    Hello..

    Keywords are predefined definition known as public, static, vacuum, class compiler

    and the litres are String, init, double, char /, so here's for example String, his class also predefined...

    So it's right that literals are also keywords?

    Please correct me... I am new to Java.

    Concerning

    Abhishek

    Hi Abhishek.

    As you´ve pointed out, the kewwords are the language used to express syntax and semantics of specific words. Literals, however, are values that may adopt different types of data types. for example,.

    literals valid for int: 3, 0 x 45-56

    literals not valid for the int data type: 56,34, "\u009887".

    literals valid for char: ' @', '\u008976', 't'

    literals not valid for tank: true, false, 87.6,-3

    String is not a keyword or a literal, String is that a built-in class tha manipulates strings.

    I hope this helps.

  • Help in to convert CASE to DECODE in 11g sql

    11 GR 2, Windows.

    Can someone help me rewrite under sql CASE statement to DECODE?
    SELECT INVOICE_ID,sum(TOTAL_EXCL_VAT),LEVEL2 as descr,
    sum(case when instr(LEVEL2,'Internet')>0 then SUM_QUANTITY else 0 end) as KB  --- >> Here
    from rator_cdr.INVOICE_DETAIL_LINE 
    WHERE INVOICE_ID ='000000000000000000' and CALLER='0000000000' and LEVEL1='Gesprekskosten' 
    group by LEVEL2,INVOICE_ID;
    Thank you

    Why would you want to replace the much more expressive syntax of CASES with a DECODING?

    If you are really determined

    DECODE( instr( level2, 'Internet' ), 0, 0, sum_quantity )
    

    I would strongly prefer the option CASE, however.

    Justin

  • measures calculated in awm

    Hello

    I have not used in AWM calculated measures so far. I have the duration stored as. Now I need to calculate the average duration per month as a calculated measure. When I chose to create new calculated measure, I find these types of calculation: simple math, rating and sharing, user-defined expression and olap dml expression. I don't know what kind of calculation to use for my case and how to use... ??

    can anyone help me pls on this?

    Suppose that:
    (1) your level of TIME dimension are DAY-> MONTH-> standard QTR-> YEAR, with the help of the Gregorian calendar.
    (2) the name of your cube is CUBE1, and name of the stored measurement is DURATION
    (3) measure of TIME is charged at the level of the DAY and its aggregation is SUM
    (4) TIME dimension has an attribute TIME_SPAN

    Create the calculated measure AVG_DURATION by using an OLAP Expression Syntax, like:
    CUBE1. DURATION / 'TIME '. TIME_SPAN

    So when you look at data level DAY, then AVG_DURATION will be equal to LENGTH/1
    and when you ask (lets say) JUNE data level, then AVG_DURATION will be automatically TIME/30
    for data at the level of Q2, then AVG_DURATION will be LENGTH/91
    etc.

    You can add a CASE statement, if you only want to display the data at the MONTH level and NA for other levels.

  • Passing parameters to bounded taskflow doubt

    Hello

    I tested the variable scopes during the call to the stubborn workflow.

    I have read the documentation on passing parameters to BTF.

    [http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ]

    I have a guy in section 16.6 that say

    + If a stubborn workflow is implemented using a call activity of workflow, such as a region ADF or as a dynamic of the ADF region, you can specify parameter values using the standard EL expression syntax. For example, you can specify parameters using the #{bindings.bindingId.inputValue} or #{bindings.bindingId} or simply the syntax #{inputValue}. +

    That my guy is when I specify the value of the setting that I have to go must I use binding.something.inputValue or I can use someOthersScopes.myValue or something else.

    Thank you

    Published by: DV on 26 - it is a-2011 17:51

    Published by: DV on 30 - it is a-2011 11:39

    Hello

    Popup is called before Gets the value through setPropertyListener command, so the value is not be assigned to the param pageflowscope by the time popup is displayed, then the behavior observed.

    You must use in the manner set out in this doc pass parameter to a parent page/taskflow.

    Here is the code example:

    
      
         
        
      
      
      
        
         
      
    
    
    Popup code:
    
      
      
      
          
      
    
    
    Finally, retrieve the value from viewScope in pagedef:
    
         
              
         
    
    

    Jean Lou

  • md5sum error

    I spilled the scene in D:\stage folder.

    during the race * md5sum - check = md5sum_Windows.txt > D: md5sum_result.txt* > command prompt
    I'm getting following error even if files and directories exist.

    oraAppDBDisk1datadriverDisk1.drv: FAILURE
    oraAppDBDisk1datadriverprod.drv: FAILURE
    oraAppDBDisk1datadrivervision.drv: FAILURE
    oraAppDBDisk1datastagedata_dat1152.zip: FAILURE
    oraAppDBDisk1datastagedata_dat1155.zip: FAILURE
    oraAppDBDisk1datastagedata_dat1156.zip: FAILURE
    oraAppDBDisk1datastagedata_dat1173.zip: FAILURE
    oraAppDBDisk1datastagedata_dat1179.zip: FAILURE
    oraAppDBDisk1datastagedata_dat1210.zip: FAILURE
    oraAppDBDisk1datastagedata_dat20.zip: FAILURE
    oraAppDBDisk1datastagedata_dat21.zip: FAILURE
    oraAppDBDisk1datastagedata_dat2116.zip: FAILURE
    oraAppDBDisk1datastagedata_dat2129.zip: FAILURE
    oraAppDBDisk1datastagedata_dat219.zip: FAILURE
    oraAppDBDisk1datastagedata_dat22.zip: FAILURE
    oraAppDBDisk1datastagedata_dat220.zip: FAILURE
    oraAppDBDisk1datastagedata_dat221.zip: FAILURE
    oraAppDBDisk1datastagedata_dat23.zip: FAILURE
    oraAppDBDisk1datastagedata_dat24.zip: FAILURE
    oraAppDBDisk1datastagedata_dat25.zip: FAILURE
    oraAppDBDisk1datastagedata_dat26.zip: FAILURE
    oraAppDBDisk1datastagedata_dat27.zip: FAILURE
    oraAppDBDisk1datastagedata_sys219.zip: FAILURE
    oraAppDBDisk1disk.label: FAILURE
    oraAppDBDisk10datadriverDisk10.drv: FAILURE
    oraAppDBDisk10datastagedata_dat1130.zip: FAILURE
    oraAppDBDisk10datastagedata_dat1176.zip: FAILURE
    oraAppDBDisk10datastagedata_dat1187.zip: FAILURE
    oraAppDBDisk10datastagedata_dat244.zip: FAILURE
    oraAppDBDisk10datastagedata_dat267.zip: FAILURE
    oraAppDBDisk10disk.label: FAILURE
    oraAppDBDisk11datadriverDisk11.drv: FAILURE
    oraAppDBDisk11datastagedata_dat1147.zip: FAILURE
    oraAppDBDisk11datastagedata_dat1171.zip: FAILURE
    oraAppDBDisk11datastagedata_dat1182.zip: FAILURE
    oraAppDBDisk11datastagedata_dat245.zip: FAILURE
    oraAppDBDisk11disk.label: FAILURE
    oraAppDBDisk12datadriverDisk12.drv: FAILURE
    oraAppDBDisk12datastagedata_dat1163.zip: FAILURE
    oraAppDBDisk12datastagedata_dat1166.zip: FAILURE
    oraAppDBDisk12datastagedata_dat1183.zip: FAILURE
    oraAppDBDisk12datastagedata_sys221.zip: FAILURE
    AND SO ON...
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk40disk.label: the system cannot find the specified file.
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41datadriverDisk41.drv: the system cannot find the specified file.
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41datastagedata_dat121.zip: the system cannot find the file addition
    d.
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41datastagedata_dat22.zip: the system cannot find the specified file
    .
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41datastagedata_dat27.zip: the system cannot find the specified file
    .
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41datastagedata_sys36.zip: the system cannot find the specified file
    .
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk41disk.label: the system cannot find the specified file.
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk42datadriverDisk42.drv: the system cannot find the specified file.
    [: C:/mks9/mksnt/dgstsum.sh 251: expression syntax error]
    oraAppDBDisk42datastagedata_dat216.zip: the system cannot find the specified file

    @s * wrote:
    Someone help on this thread.

    You get the answers to your other thread, and there is no point of update of it.

    Do not forget that we are volunteers here, and if the problem is urgent, then simply log an SR!

    Thank you
    Hussein

  • Utility files - search operation; How to retrieve all files in a folder?

    I use the search FileUtility service operation to count the number of files in a given folder.

    I can't find the right Regular Expression to match all files.

    The Adobe documentation indicates that * character is by default which corresponds to all the files/folder in the directory. However, if I leave * unchanged, I get an incorrect error 'Regular Expression Syntax.

    I tried different combinations, nothing seems to work.

    Can someone help me on this?

    Thank you

    Nith

    Hello

    You can use the following syntax for a list of all the files: -.

    \w*\.\w*

    Yow can alslo cross the hardware for more information about regular Expressions:

    http://help.Adobe.com/en_US/LiveCycle/9.0/workbenchHelp/help.htm?content=000582.html

    Thank you

  • copy and paste page info web

    I'm a bit new to coldfusion and I cannot figure out how to do something...

    lets say there is a web page with these texts

    Hi bye abc

    Hi bye 123

    Hi a1b2 c3 bye

    I want to create a page that will go to a specific web page and looking through this web page for the word salvation and then enter the following text until the bye Word... then it will place these text in a file... so, for example, it will only copy the text

    ABC

    123

    a1b2 c3

    .. .and paste it into a file

    is this possible?

    can someone please point me in the right direction, I've been at this for almost two days!

    Thanks in advance.

    cfquery_select_name wrote:

    I want to create a page that goes to a specific web page

    If you want to perform an HTTP from a web page, what would be the purpose of the Tag.

    cfquery_select_name wrote:

    Search through this web page

    So, you want to find text in the content returned by the query.  the functions find() and refind() (probably the later) would be useful here.

    cfquery_select_name wrote:

    .. .and paste it into a file

    Finally you want to write the output to a file.  The would be the first choice for this task.

    Which leaves just the actual search.  As I said I would probably try a REFIND that uses a regular expression syntax to search for the text you want.  Something like this example not tested on top of my head should help you get started.

    Then finally a loop on this code to find each instance of the station you want.

    cfquery_select_name wrote:

    is this possible?

    Quite possible, it should take only a few trails and error and by looking at the documentation.

  • look-behind positive in sql

    Hello
    "I wonder if Oracle is regularly an expression syntax supports positive look-behind that I expect to receive the letter has"
    of the following expression:


    SELECT REGEXP_SUBSTR (' show / during ',' (? < = /) [[: alpha:]] "")
    OF THE DOUBLE

    Thanks for advice on this topic,

    Bernd

    Like this

    SELECT REGEXP_REPLACE('Fendrich / Deinert', '[[:alpha:]]+ / (.)[[:alpha:]]+','\1') val
    FROM DUAL
    
  • ADF BC 10g - iterator RangeSize bound to the Variable Bean

    Hi all

    10.1.3.4 Jdev

    I want to bind the property RangeSize of an iterator in a pageDef to bean support via EL variable.
    This variable is of type Integer.
    <iterator id="MyView1Iterator"
                  RangeSize="#{myBean.rangeSize}"
                  Binds="MyView1"
                  DataControl="AMDataControl"/>
    However I keep coming up with the following error:
    oracle.jbo.JboException: JBO-26000: A Generic exception occurred during loading Customizations.
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:918)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:579)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:374)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:356)
         at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:163)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:53)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:268)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NumberFormatException: For input string: "${myBean.rangeSize}"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.<init>(Integer.java:620)
    ... etc
    It seems that it can not take and EL expression as a value.
    I also tried to create a variable of type java.lang.Integer and affecting the DefaultValue 25, however the same error occurs.

    Any ideas?

    Thank you
    -chris

    Correction, I meant attribute rows of the table.

    I just checked in 11g and the page def XML editor strictly stays that no EL expression syntax is supported in the attribute of rangeSize iterator.

    CM.

Maybe you are looking for