String Substitution Questions

A few questions on APEX substitution strings:
1. Is APEX using a particular templating engine (Velocity, etc.) or one that you developed to handle the "#VALUE#" substitutions in APEX? If so which one?
2. Are all the substitution parameters (#VALUE# strings) defined anywhere?
3. When in the APEX processing cycle are they replaced?
4. Is there any way to get the current value of a substitution string in a SQL or PL/SQL command (ie. a function or something in the API)?
5. Is there a list of all the places in APEX where you can use substitution strings?
6. Is there way for developers to create new substitution strings and set / get the values so that APEX will use them?
Thanks for everyones help!
Dave Venus

Dave,
I'll do the best I can ...
1. Is APEX using a particular templating engine (Velocity, etc.) or one that you developed to handle the "#VALUE#" substitutions in APEX? If so which one?
No, it's all done with our own PL/SQL.
2. Are all the substitution parameters (#VALUE# strings) defined anywhere?
In one place, I don't think so. Most of the #VALUE# strings are defined in the template definition pages in the Builder where it shows which strings are supported in which fields. These patterns are also supported in the report attributes pages and are listed there and in associated help text. There are other substitution patterns, of course, the &VALUE. strings. I don't know if you're asking about those. All of the supported strings in that category should be documented in the User's Guide.
3. When in the APEX processing cycle are they replaced?
At the point where they are encountered, for example when the containing HTML or PL/SQL structure is being rendered, parsed, etc. The exception would be the built-in &VALUE. strings like &SESSION. which are set at the beginning of each request.
4. Is there any way to get the current value of a substitution string in a SQL or PL/SQL command (ie. a function or something in the API)?
Not for the #VALUE# strings unless there are specific exceptions I can't recall at the moment for which APIs have been provided. For the &VALUE. strings, of course, you can use v() and bind variable notation to access the value of VALUE.
5. Is there a list of all the places in APEX where you can use substitution strings?
No.
6. Is there way for developers to create new substitution strings and set / get the values so that APEX will use them?
Only for &VALUE. strings for which you can define up to twenty name/value pairs in the Applicaiton Definition (Substitutions) section.
Scott

Similar Messages

  • String substitution question

    Hello there,
    I have some SQL statements, such as:
    CREATE Table1 ( column1 INTEGER NOT NULL, column2 VARCHAR(20), column3 VARCHAR(30) )
    INSERT INTO Table1 (column1, column2, column3) VALUES (?, ?, ?)where I want to put the names of the columns in square brackets, i.e. substitute the column1, column2 and column3 by [column1], [column2] and [column3], respectively.
    For the INSERT case, I have noticed that one should handle strings occuring after an opening bracket "(" until a comma and after a comma "," until another comma or a closing bracket except the case when there is a ? before the comma, but the CREATE case is trickier...
    Could you please help me out with this? Thanks in advance.

    Thank you very much for your answers!
    I would like to once again thank Monica for her friendly attitude and her willingness to help! I have not followed all of her suggestions exactly, but they have indeed helped me much.
    I am glad to see that the SUN guys have fixed the forum formatting, so that you can read my solution easier. Any improvement suggestions or comments are, as always, most welcome.
    // Sample solution for the CREATE statement:
    String cStmt = "CREATE Table1 (column1 INTEGER NOT NULL, column2 VARCHAR(20), column3 VARCHAR(30))";
    int fw = 0; String new_cStmt = "";
    new_cStmt = cStmt.substring(fw, (fw=cStmt.indexOf("("))) + "( [" +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(' ', fw+1)) ) + "] " +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(",", fw+1)) );
    while(cStmt.lastIndexOf(",") > fw)
      new_cStmt += ", [" + cStmt.substring( fw+2, (fw=cStmt.indexOf(' ', fw+2)) ) + "] " +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(",", fw+2)) );
    new_cStmt += ", [" + cStmt.substring( fw+2, (fw=cStmt.indexOf(' ', fw+2)) ) + "] " + cStmt.substring(fw+1);
    System.out.println(">> New CREATE statement: " + new_cStmt + " <<");
    // Sample solution for the INSERT statement:
    String iStmt = "INSERT INTO Table1 (column1, column2, column3) VALUES (?, ?, ?)";
    int fw = 0; String new_iStmt = "";
    new_iStmt = iStmt.substring(fw, (fw=iStmt.indexOf("("))) + "( [" + iStmt.substring( fw+1, (fw=iStmt.indexOf(",")) ) + "], ";
    // Relevant examination till first closing bracket in the INSERT statement
    while(iStmt.lastIndexOf("VALUES") > iStmt.indexOf(",", fw+1))
      new_iStmt += "[" + iStmt.substring( fw+2, (fw=iStmt.indexOf(",", fw+1)) ) + "], ";
    new_iStmt += "[" + iStmt.substring(fw+2, (fw=iStmt.indexOf(")"))) + "] )" + iStmt.substring(fw+1);
    System.out.println(">> New INSERT statement: " + new_iStmt + " <<");

  • Dynamic String Substitution in Eclipse with JSP

    Hi folks,
    I'm wondering if it is possible to dynamically change token for ant that are present in my jsp with the dynamic string substitution in jsp inside tomcat. Right now, I'm loading the bootstrap with my runner and pointing to my application. In preference, I've put some token like @STATIC_URL@ that should replace by something else. But It seem that Tomcat goes directly to the source of the jsp and does'nt really care about the string substition of eclipse. Is there a way to do that?

    Hi there,
    Since this is more of an Ant or an Eclipse question it is better to post the question in those forums / mailing lists as people on those lists will be able to help you better:
    Here's the link to subscribe to the Ant User Mailing List, once you subscribe send a new e-mail to the list:
    http://ant.apache.org/mail.html
    Forum for Eclipse:
    http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?cat=28&forum=472

  • String Substitutions with PL/SQL Function

    Hello, i user APEX 4.2.1.00.08 in Database 11g
    I new in apex and a try to use String Substitutions.
    When I define a String like CONST with static value like '999' in Edit Applications Definition it's work fine.
    But I need to define the same String 'CONST' but with value to return from PL/SQL function like.. Package.function
    It's Possible ??
    Thanks !!

    No, you'll need to use application items instead - or pass the value as parameter to your function.
    Passing parameters like this makes for good practice anyway, since your modules become more testable outside the apex environment, and more robust.

  • String substitution on Weblogic

    Hi experts.
    As you know, the WLS domain template provides the string substitution mechanism.
    (startscript.xml and stringsubs.xml)
    Here you should specify your entries that will be processed during the template applying.
    After being applied, these entries are "registered" in DOMAIN_HOME/init-info/ startscript.xml and startscript-unsub.xml
    Can these strsubs tasks be modified later?
    1) Is there any UI (or WLST functions) available for strsubs modification?
    Sure, I can edit xml files, but I think that it is not the convinient (and graceful) way to do it.
    2) As there is the startscript-unsub.xml file,
    does it mean that these string substitutions can be rolled back later?
    If yes - then how can it be done?
    Thanks

    There is currently no mechanism to perform string substitution after the config.xml has been created.

  • String substitution in a file

    What is the appropriate strategy to do string substitution within a file. Is it simply loading the contents of the file into a string, do the substitution on the string, then rewrite the string back to the same file? Is there a regex class that performs string substitution on a file?
    Thanks

    Depends. If the substitute string is the same length, than RandomAccessFile can be use affectively. Otherwise, read in the old file and write out the new one with the changes, then delete the old one.
    Regex is avail and is used indirectly via String methods such as replaceAll, etc.
    Refer to java.io. and java.lang.string.

  • String Substitution in Preferences

    Hi,
    Can anyone please tell me what is the String Substitution in
    Run/Debug in Preferences menu? After I added a string substitution
    entry, how do I invoke it? Any examples of how to use it?
    I'm hoping it's something like shortcut keys that maps
    something like "pubf" to "public function". But seems like that's
    not it. I also tried to do mapping like that in the Keys setting in
    Preferences too, but couldn't get that to work either..
    thanks for any help,
    john

    String Substitution in Run/Debug in Preferences will not do
    what you want. String Substitution in that preference page is used
    to allow ${myvar} to be replaced with a different value in certain
    other dialog pages. It is documented here (but again, this is not
    what you want):
    http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/prefere nces/run-debug/ref-string_substitution.htm
    As for shortcut keys like "pubf" mapping to "public
    function", I don't know of a way to do that. One thing that does
    work, though, is that Alt+/ can be used as general-purpose word
    completion. What it does is it searches the current file for words
    that match what you have typed. So for example, if the current file
    already contains the word "public" somewhere else, then "pub"
    followed by Alt+/ will complete the word "public".
    But of course if the current file doesn't already contain the
    word "public" then that won't work. Alt+/ is really more useful for
    cases like this -- I have added a click handler,
    click="myNewClickHandler()", and then I want to implement that
    function, so I type
    public function myNew
    And then I type Alt+/ and it fills in the function
    name.

  • Installing JDeveloper on OSX : Fatal Error (during string substitutions)

    Following the instructions from: http://download.oracle.com/docs/cd/E12839_01/install.1111/e13666/ojdig.htm#BDCFFEJC
    and read about all the post in this forum, I am still not able to install JDeveloper 11.1.1.3 or 11.1.1.2
    MacOSX 10.6.5 with Java 1.6.0_22
    I did the steps as mentioned in the installation guide (make sure 64-bit is on top of the list in the java preferences tool + made the link)
    The installer has no problems finding java, but displays a "Fatal Error etc..." at 52%: the action going on then is "Performing String Substitutions"
    The log file looks as follows:
    2010-11-23 22:08:12,639 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.client.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,676 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.client.modules.L10N" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,678 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,679 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.L10N" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,681 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.extra" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,681 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.saml2.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,682 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.coherence.integration" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,683 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.toplinkgrid" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,684 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.quickstart" feature-version="10.3.2.0"/>
    2010-11-23 22:08:12,685 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin" feature-version="2.5.0.0"/>
    2010-11-23 22:08:12,686 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin.launch" feature-version="2.5.0.0"/>
    2010-11-23 22:08:12,687 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin.L10N" feature-version="2.5.0.0"/>
    2010-11-23 22:08:12,688 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config-security" feature-version="1.0.0.0"/>
    2010-11-23 22:08:12,689 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config" feature-version="7.0.0.0"/>
    2010-11-23 22:08:12,690 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config.launch" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,690 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config.L10N" feature-version="7.0.0.0"/>
    2010-11-23 22:08:12,693 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.pubsub" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,716 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.sca" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,718 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.dotnet" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,720 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.xquery" feature-version="10.3.3.0"/>
    2010-11-23 22:08:12,722 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.gpr" feature-version="3.0.1.0"/>
    2010-11-23 22:08:12,723 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall" feature-version="6.2.0.0"/>
    2010-11-23 22:08:12,723 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall.launch" feature-version="6.0.0.0"/>
    2010-11-23 22:08:12,724 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall.L10N" feature-version="6.2.0.0"/>
    2010-11-23 22:08:12,726 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.patch-client" feature-version="3.2.1.0"/>
    2010-11-23 22:08:12,726 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.patch-client.L10N" feature-version="3.2.0.0"/>
    2010-11-23 22:08:12,728 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.ocm" feature-version="1.0.0.0"/>
    2010-11-23 22:08:12,729 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.paf" feature-version="1.1.0.0"/>
    2010-11-23 22:08:12,729 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.clone" feature-version="1.1.0.0"/>
    2010-11-23 22:08:13,005 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.client.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,005 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.client.modules.L10N" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,007 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,008 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.L10N" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,009 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.extra" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,010 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.saml2.modules" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,011 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.coherence.integration" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,011 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.toplinkgrid" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,015 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.quickstart" feature-version="10.3.2.0"/>
    2010-11-23 22:08:13,015 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin" feature-version="2.5.0.0"/>
    2010-11-23 22:08:13,017 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin.launch" feature-version="2.5.0.0"/>
    2010-11-23 22:08:13,017 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.common-plugin.L10N" feature-version="2.5.0.0"/>
    2010-11-23 22:08:13,039 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config-security" feature-version="1.0.0.0"/>
    2010-11-23 22:08:13,040 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config" feature-version="7.0.0.0"/>
    2010-11-23 22:08:13,040 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config.launch" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,041 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.cie.config.L10N" feature-version="7.0.0.0"/>
    2010-11-23 22:08:13,046 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.pubsub" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,047 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.sca" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,048 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.dotnet" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,050 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.xquery" feature-version="10.3.3.0"/>
    2010-11-23 22:08:13,052 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.gpr" feature-version="3.0.1.0"/>
    2010-11-23 22:08:13,052 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall" feature-version="6.2.0.0"/>
    2010-11-23 22:08:13,053 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall.launch" feature-version="6.0.0.0"/>
    2010-11-23 22:08:13,054 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.uninstall.L10N" feature-version="6.2.0.0"/>
    2010-11-23 22:08:13,055 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.patch-client" feature-version="3.2.1.0"/>
    2010-11-23 22:08:13,066 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.patch-client.L10N" feature-version="3.2.0.0"/>
    2010-11-23 22:08:13,067 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.oracle.ocm" feature-version="1.0.0.0"/>
    2010-11-23 22:08:13,068 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.paf" feature-version="1.1.0.0"/>
    2010-11-23 22:08:13,069 WARN [getArchivesFromTree] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="com.bea.cie.clone" feature-version="1.1.0.0"/>
    2010-11-23 22:08:13,139 WARN [readCachedArchiveInfo] com.bea.plateng.wizard.installer.silent.tasks.ReadCachedArchiveInfoTask - Unable to read archive.bea from /var/folders/gQ/gQeTMB+nFpaLMIYi6zkEp++++TI/-Tmp-/
    2010-11-23 22:08:54,427 WARN [WizardController] com.bea.plateng.wizard.installer.gui.tasks.InstallSelectionSummaryTask - No JVMTargets selected for installation
    2010-11-23 22:09:17,095 WARN [Thread-5] com.bea.cie.gpr.internal.feature.FeatureCatalogImpl - Unable to locate feature corresponding to feature reference: <xml-fragment feature="weblogic.server.modules.pubsub" feature-version="10.3.3.0"/>
    2010-11-23 22:11:06,516 ERROR [stringSubst_gui] com.bea.plateng.wizard.WizardController - Uncaught Exception
    java.lang.IllegalArgumentException: http://java.sun.com/xml/jaxp/properties/schemaLanguage
         at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:118)
         at com.bea.plateng.common.util.StringsubsEngine.isValid(StringsubsEngine.java:1043)
         at com.bea.plateng.wizard.installer.helpers.StringsubsHelper.execute(StringsubsHelper.java:143)
         at com.bea.plateng.wizard.installer.helpers.StringsubsHelper.execute(StringsubsHelper.java:85)
         at com.bea.plateng.wizard.installer.helpers.StringsubsHelper.execute(StringsubsHelper.java:73)
         at com.bea.plateng.wizard.installer.gui.tasks.ProgressStringSubstTask.execute(ProgressStringSubstTask.java:150)
         at com.bea.plateng.wizard.gui.tasks.AbstractGUITask.run(AbstractGUITask.java:42)
         at java.lang.Thread.run(Thread.java:680)
    2010-11-23 22:12:01,325 WARN [WizardController] com.bea.plateng.wizard.installer.cleanup.tasks.CleanupShortcutsTask - No shortcuts to cleanup??
    2010-11-23 22:12:01,326 WARN [WizardController] com.bea.plateng.wizard.installer.cleanup.tasks.CleanupWinRegistryTask - No winregs to cleanup??
    Thanks in advance for some hints ...

    Official reply from Oracle via CS:
    "MacOSx 10.6.5 with Java 1.6.0_22 is not supported for JDeveloper version 11.1.1.2 and later. This has not been certified yet."

  • OA Framework Extension / Substitution question

    OA Framework Extension / Substitution question:
    I am not sure how to do the following, any input will be helpful. Thanks in advance.
    Oracle Application has a page on table “FND_NEW_MESSAGES” – Related Entity object is “FndNewMessagesEO” and View object is “FndMessagesResultSetVO”. Primary key on this table is “APPLICATION_ID, MESSAGE_NAME and LANGUAGE_CODE”. I want to extend this page and add my own table say “CUST_FND_NEW_MSG_EXT” with the same primary key and has an extended column “EXTRA_MESG1”.
    How do I extend this page to include my new table / column and make select/update/insert work?
    Questions:
    1.     Should I create EO for my new table say CustExtEO
    2.     Create an association between FndNewMessageEO and CustExtEO
    3.     Then create CustExtVO and extend FNDMessagesResultSetVO and build view on FndNewMessageEO and CustExtEO and then perform substitution?
    Or
    1.     Should I create EO for my new table say CustExtEO
    2.     Create CustExtVO
    3.     Create an View Link between FndNewMessageVO and CustExtVO
    4.     Then what??
    More questions:
    1.     Can I achieve this by not writing any code?
    2.     Can the EO Association or View Link automatically insert / update my new table after I do the substitution?
    3.     FndNewMessageVO has join to tables “FND_NEW_MESSAGES, FND_APPLICATION_VL, FND_LANGUAGES_VL, FND_LOOKUPS” – when you do an insert / update how does OA Framework know that it has to insert / update the corresponding tables?

    Well, if you want to have the page based on your custom table, then you will have to create new VO, EO. You cann't use extension in that case.
    1. Can I achieve this by not writing any code?No.
    .2. Can the EO Association or View Link automatically insert / update my new table after I do the substitution?You need to have new EO, VO based on your new table.
    3. FndNewMessageVO has join to tables “FND_NEW_MESSAGES, FND_APPLICATION_VL, FND_LANGUAGES_VL, FND_LOOKUPS” – when you do an insert / update how does OA Framework know that it has to insert / update the corresponding tables?
    EO handles all the insert, update.
    For more details go through the Dev guide.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Very simple XSLT string replacing question

    Hi,
    This is a really simple question for you guys, but it took me long, and i still couldn't solve it.
    I just want to remove all spaces from a node inside an XML file.
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type='fiction'>
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0  0 8</year>
          </book>
       </books>
    </root>in the 'year' node, the value should not contain any spaces, that's the reason why i need to remove spaces using XSLT. Apart from removing space, i also need to make sure that the 'year' node has a non-empty value. Here's the XSLT:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:strip-space elements="*"/>
        <xsl:template match="@*|node()">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
        </xsl:template>
        <xsl:template match="//books/book[@type='fiction']">
            <xsl:copy>
                <xsl:apply-templates select="@*"/>
                <xsl:attribute name="id">101</xsl:attribute>
                <xsl:call-template name="emptyCheck">
                    <xsl:with-param name="val" select="year"/>
                    <xsl:with-param name="type" select="@type"/>
                    <xsl:with-param name="copy" select="'true'"/>
                </xsl:call-template>
                <xsl:value-of select="translate(year, ' ', '')"/>
            </xsl:copy>
        </xsl:template>
        <!-- emptyCheck checks if a string is an empty string -->
        <xsl:template name="emptyCheck">
            <xsl:param name="val"/>
            <xsl:param name="type"/>
            <xsl:param name="copy"/>
            <xsl:if test="boolean($copy)">
                <xsl:apply-templates select="node()"/>
            </xsl:if>
            <xsl:if test="string-length($val) = 0 ">
                <exception description="Type {$type} value cannot be empty"/>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>The 'emptyCheck' function works fine, but the space replacing is not working, this is the result after the transform:
    <?xml version="1.0" encoding="utf-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type="fiction" id="101">
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0 0 8</year>2008</book>
       </books>
    </root>The spaced year value is still there, the no-space year is added outside the 'year' tags'
    anyone can help me, your help is extremely appreciated!
    Thanks!

    You should add a template for 'year' :<xsl:template match="year">
    <year><xsl:value-of select="translate(.,' ','')"/></year>
    </xsl:template>and remove the translate call in the 'book' template.
    It would be better to add a 'priority' attribute at each template so it would be explicit which template to use because match="@*|node()" could be interpreted by another transform engine as the unique template to be used !

  • How do I view previous strings of questions and answers on FF support?

    I read this response but it really doesn't answer the question.
    "If you are logged on then you see a My Contributions item in the Filter bar at the top that goes to:
    https://support.mozilla.org/questions?filter=my-contributions"
    I don't see the "filter bar" or "my responses" after I log in. I just see "Ask a question" "my log in name" and some other stuff to the right of that and below that.
    So after I log in, how do I look at strings of my previous questions and all responses to them, including new ones?

    I just figured it out!!! Wha-lah. Go to a question and then click on the underlined text in the question. Then a string of the Q and subsequent responses appears.

  • String substitutions in format fields

    It's dawning on me that if the owner of the app I'm working on ever decides that all currency fields should display 2 decimal places instead of rounding to the nearest dollar, it's going to be a lot of work to go through all the currency fields in the reports and tack on the "D00" to the "Number / Date Format" column attributes. Is there a way to implement that attribute so that I can change a value in a central location and have it affect all my currency fields?
    For example, I tried creating a substitution string #CURRENCY_FORMAT# with a value of "FML999G999G999G999G990" and then entering #CURRENCY_FORMAT# as the value for the column format attribute, hoping that it would substitute the format string, but it didn't work. Is there something like that I can do?

    Ian,
    I think you may be confusing the syntax.
    To use an item substitution for the format mask of an item, you would specify &CURRENCY_FORMAT. (inclusive of the trailing period).
    This way, you can then define CURRENCY_FORMAT as an application level substitution string or even an application item if you wish (I always use application level substitution string).
    Joel

  • Classes and subclasses given as String input - question

    Hello, I am new in Java so please don't laugh at my question!!
    I have a method as the following and I am trying to store objects of the type Turtle in a vector. However the objects can also be of Turtle subclasses: ContinuousTurtle, WrappingTurtle and ReflectingTurtle. The exact class is determined by the String cls which is input by the user.
    My question is, how can I use cls in a form that I don't have to use if-else statements for all 4 cases? (Imagine if I had 30 subclasses).
    I have tried these two and similar methods so far but they return an error and Eclipse is not of much help in this case.
    Simplified methods:
    //pre:  cls matches exactly the name of a valid Turtle class/subclass
    //post: returns vector with a new turtle of type cls added to the end
    private Vector<Turtle> newturtle(Vector<Turtle> storage, String cls){
         Turtle t = new cls(...);
         storage.add(t);
         etc.
    private Vector<Turtle> newturtle(Vector<Turtle> storage, String cls){
         Turtle t = new Turtle<cls>(...);
         storage.add(t);
         etc.
    }Thanks for your help.
    p.s.: I didn't know whether to post this question here or under Generics.

    a Factory is atually very simple (100x simpler than reflection).
    example:
    class TurtleFactory
      public Turtle makeTurtle(String typeOfTurtle)
        if (typeOfTurtle.equals("lazy") { return new LazyTurtle(); }
        else if (typeOfTurtle.equals("fast") { return new FastTurtle(); }
        <etc>
    }While at first this doesn't look any better than your original problem, what we've done is made a class that is responsible for all the types of turtles. This will also benefit in case some turtles need initialization or need something passed to their constructor. You encapsulate all that knowledge in one place so you rcode doesn't become littered with it else ladders.

  • 2 more workflow-substitution questions

    hi again,
    i have 2 more questions about substitution of workflow:
    HOW does a user know that he has adopted substitution. i mean when he do it he knows it. but there is no information that he the adopted status is 'ON' ? am i right ? when he ends the adoption there is NO message if there even was an adoptation.
    thats kind of user-unfriendly. the only way that he knows that he has adopted is when he gets mails from the workflows.
    2nd question: when i have to choose adoptation substitution i always get 2 entrys for the same person to select. thats confusing. it looks to me that 1 of it is the sap-USER, the other is the PERSON in HR backend. why is this and how to avoid that ?
    reg, Martin

    Martin,
    thats kind of 'stupid', isn't it ?
    i activate to substitute somebody (who is unplaned away, e.g. illness).
    so far so good: i select the person with click on the checkbox !
    when leaving this transaction and enter it again the checkboxes are AWAY. why ? but the substitution is of course activ.
    and when i 'end' the substitution there is NO MESSAGE. it's always the same........no comment, NOTHING. it does'nt matter if subst. is ON or OFF, the function for ending subst. has
    no output ! thats sap in it's best -> user unfriendly !
    am i wrong ?
    best regards, Martin

  • String a== string b question

    Hi,
    I was told that when compare objects using ==, the reference of the objects are being compared not the data. My question is for the following two strings, why is it (s1==s2) result true. They are two different objects and should have different reference. Therefore, the result should be false. Can anyone advise. Thanks.
    String s1 = "abc";
    String s2 = "abc";

    Actually, the String Object has its own implementation of method equals(), which is different of the default one provided by the Object class.
    The String's equals method returns true if the to args has the same characters.
    That is, if you have
    String one = "abc" ;
    String two = "abc" ;
    String three = one ;
    String four = one + "d" ;
    one.equals(three) will return true,
    one.equals(two) will return true,
    one.equals(four) will return false...

Maybe you are looking for

  • I restored my bookmarks from a resent .json file, but one folder is now empty and one is missing.

    Hi, Because of reasons my computer needed to be refreshed. My old firefox profile folder was saved though, and with that the bookmarkbackups. As the title says I restored my bookmarks from a resent .json file, but one folder (containing probably abou

  • Subsequent debit, subsequent credit and credit memo?

    Dear Gurus, Kindly explain subsequent debit, subsequent credit and credit memo with one simple example..pls.. Thanks..

  • Dynamic Questions

    i have a few issues that I wondered if anyone could tell me how to resolve. I've uploaded this as a sample. www.ivyla.com/company.html 1. my a:active does not seem to work (i also have www.ivyla.com/studio.html loaded if you want to check.) 2. it see

  • ASR 9000 route-policy on ipv4 and vpnv4 neighbors

    Hi To reduce configuraton i would like to use the same route-policy for ipv4 and vpnv4 routes from the same neighbors on ASR 9000. I know that a "pass all" route-policy will work just fine, also a route-policy like this works fine: route-policy eBGP_

  • Cannot run canon lide toolbox installer

    My Canon Lide 60 needs to have the Canon Svanner Toolbox to be installed. When I try to open that file 'CnaoScanToolbox4.3.9.4' I get the message 'App can not be opened as it does not come from a verified developer' and 'Because of security measures