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.

Similar Messages

  • 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."

  • Assigning a node value from an XML variable to a String type  in Weblogic Process Integrator

    Hi,
    Is there any way to assign a node value from an XML variable to a String variable
    in Weblogic Process Integrator...
    Thanx.
    Narendra.

    Nerendra
    Are you talking about using Xpath on the XML document and assigning to a
    variable, it is unclear what you are asking
    Tony
    "Narendra" <[email protected]> wrote in message
    news:3bba1215$[email protected]..
    >
    Hi,
    Is there any way to assign a node value from an XML variable to a Stringvariable
    in Weblogic Process Integrator...
    Thanx.
    Narendra.

  • 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.

  • 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 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.

  • 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

  • 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

  • Backslash in string: bug in Weblogic Studio?

    I'm trying to create a string variable containing a file path that is the concatenation
    of a directory path and a file name. I tried to write an expression like this
    one for the new value for $FilePath:
    $FileDirectory + "\\" + $FileName
    However, the Set Workflow Variable dialog fails, saying
    Unclosed string, "\" + $Filename"
    In other words, the dialog is right-associating the backslash, assuming that I'm
    trying to escape the quotation mark, not the backslash itself. Given this, how
    can I possibly enter a string that contains nothing but a single backslash? Unless
    I'm missing something, this is a bug in Weblogic Studio.
    I may have to resort to creating a business operation that calls Java to build
    the filename. That seems a bit drastic, but I don't see any other way around this.

    I have found a way around this that is not too messy.
    1. Assign the string containing the single backslash to a string variable. For
    example, set $Separator to "\\".
    2. Use the variable in the concatenation expression. For example $FilePath + $Separator
    + $FileName.
    Attempting to put the literal in the concatenation expression fails with the aforementioned
    error message. It's still a bug, but there is a workaround.

  • 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 + " <<");

  • URL String Substitution

    I have stored a URL in a varchar2 column in an oracle table, and used the
    LINK feature in htmldb to create a link out of the text for the
    column. However, when I try to run the page which was gotten from that text in the database, it fails to perform substitution of the session state variables (e.g &APP_ID.) which was part of the text stored in the database.
    Is there some way to get the substitution to work, or handle the URL text
    differently in the db?
    I am trying to get a "list" of urls that I can search on- which is why I
    chose a table.. There may be a better way of doing this.
    thanks for any help..
    larry

    Larry,
    try to code the url in your table this way (use the pseudo-variables #APP_ID# and #SESSION# and replace them with the actual values in your report):
    f?p=#APP_ID#:1:#SESSION#Then use the following select in a report region:
    SELECT HTF.anchor (REPLACE (REPLACE (url, '#SESSION#', :app_session)
                              , '#APP_ID#'
                              , :app_id)
                     , 'click me!') AS "myLink"
      FROM mytableSee the following example using dummy values and dual:
    SELECT HTF.anchor (REPLACE (REPLACE ('f?p=#APP_ID#:1:#SESSION#', '#SESSION#', :app_session)
                              , '#APP_ID#'
                              , :app_id)
                     , 'click me!') AS "myLink"
      FROM DUAL~Dietmar.

  • UPDATE SQL string substitution from another table

    Hi - I've come across a tricky situation where I would want to update a column in all the relevant rows of a table with values obtained from another table WITHIN the same column update using string concatenation. im not getting any clean way of doing this.
    The goal is to achieve something like this:
    UPDATE table1 set col1 =
    'LANG_ID=(%s),'||
    '_CHALLENGE_RESPONSE_=(%s),'||
    'CRDN_NAM=(%s),'||
    'CLNT_MODE=(%s),'||
    'PTY_ID=(%s),'||
    'CRDN_VAL=(%s),' ||
    'USER_TZ_COD=(%s),' ||
    'GTS_USER_ID=(%s),'||
    'SP_ID=(%s),' ||
    'SP_ALIAS=(%s),' ||
    'ORIG_CLNT_ID=(%s)'
    where table1.col1 is null
    and to substitute the (%s) with data from another table2*. An example is:
    update table1 set col1=
    'LANG_ID=(select LANG_ID from table2* where USER_ID = (select USER_ID from table1))' ||
    '_CHALLENGE_RESPONSE_=((select CHALLENGERESPONSE_ from table2* where USER_id = (select USER_ID from table1)),' ||
    etc for the rest of the values

    I tried this -although the database shows that the affected rows are updated! but querying the table doesn't show the values in the column!
    select col1 from table1 where col1 is null
    shows back the original content (DESPITE it showing me xxx rows updated!)
    UPDATE table1 t1
    SET col1 = (SELECT 'LANG_ID=('||lang_id||')_CHALLENGE_RESPONSE_=('||
    CHALLENGERESPONSE_|| ...*
    FROM table2 t2
    WHERE t1.user_id = t2.user_id)
    WHERE t1.col1 is null;

  • Suggestion about string substitution

    Hi guys,
    I have been asked to modify a bunch of html files exported by a program named...mindmeister I guess.
    It is a sort of faq and it is structured this way so the user can jump from a faq to another easily.
    Well, I have something like 100 files or more and in any file I have the navigation repeated.
    So in any page on there are 100 same links to other pages i order to be able to navigate through.
    I have been asked to insert another page. This is the second time I have being asked to modify this faq list.
    This is not a problem for me. The first time I just used Dreamweaver and I inserted easily another file. And I'm going to use it again because I cannot see how to do the same thing easily and simply
    I just was wondering how could I done this without Dreamweaver.
    I could use sed, sure, but imagine putting this in sed sintax:
    This is the part of the navigation I have to modify in every file.
    <div class="maintopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionedirelazioni.html"> 4. Estinzione di relazioni </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Dapartediprocuratore.html"> 4.1 Da parte di procuratore </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionefineanno.html"> 4.2 Estinzione fine anno </a></span>
    </div>
    <div class="maintopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="(NUOVO)FormularioA,ReT.html"> 5. (NUOVO) Formulario A, R e T </a></span>
    </div>
    Now suppose I wanted to add faq 4.3 Crappy hardcoded navigation due to crappy proprietary program unable to export the navigation as javascript
    My new navigation should be this one:
    <div class="maintopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionedirelazioni.html"> 4. Estinzione di relazioni </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Dapartediprocuratore.html"> 4.1 Da parte di procuratore </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionefineanno.html"> 4.2 Estinzione fine anno </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Crappy proprietary program.html"> 4.3 Crappy hardcoded navigation due to crappy proprietary program unable to export the navigation as javascript </a></span>
    </div>
    <div class="maintopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="(NUOVO)FormularioA,ReT.html"> 5. (NUOVO) Formulario A, R e T </a></span>
    </div>
    How would you do this? Doing this in sed would be unconfortable and time consuming.
    I can do this with dreamweaver easily by just using code substitution in all files and the specifying to substitute this:
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionefineanno.html"> 4.2 Estinzione fine anno </a></span>
    </div>
    with this:
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Estinzionefineanno.html"> 4.2 Estinzione fine anno </a></span>
    </div>
    <div class="subtopic">
    <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Crappy proprietary program.html"> 4.3 Crappy hardcoded navigation due to crappy proprietary program unable to export the navigation as javascript </a></span>
    </div>
    I hope this is just my own and not unix filters limit.
    This is just my curiosity. As I wrote before I can accomplish this task with dreamwaver, but I don't like much that approach.
    I would like something more unix.
    Edited because of errors notified by Procyon.
    Last edited by ArchArael (2009-06-09 21:42:08)

    I'm not sure how much simpler you expect to get than Procyon's example, to be honest.   It does exactly what you used to do (basic search and insert after).  What in your opinion would be more simple?
    I can even expand it out and comment it for you to make it clearer:
    for file in *.html; do # Process every html file in the current dir
    sed -i '
    /<div class="subtopic">/ { # If we see a line that looks like <div class="subtopic">, then perform the commands between { }
    n; # Read in the following line from the file (ie <img src="blah blah...)
    s/4\.2 Estinzione/&/; # Attempt to replace "4.2 Estinzione" with itself (ie. no end effect, performed for the sake of the next command)
    T; # If the previous replacement failed, skip the remainder of the commands (ie. if "4.2 Estinzione" exists on this line, continue, otherwise stop)
    n; # Read in the following line from the file (ie. </div>)
    # The following 3 lines say "after the current line, insert this line"
    a \ <div class="subtopic">
    a \ <img src="Res/images/arrow.gif" alt=""><span class="unselect"><a href="Crappy proprietary program.html"> 4.3 Crappy hardcoded navigation due to crappy proprietary program unable to export the navigation as javascript </a></span>
    a \ </div>
    } # end of block of actions to execute when you see <div class="subtopic"> -- note, leave this quote-backslash here, it is necessary -->' \
    $file # do the previous actions on the current HTML file
    done
    (note that this is still a valid sed script even with the comments - you could copy and paste this and it would run.

  • DO LOVs support dynamic string substitution?

    Hi,
    I was trying to show an icon in a report column conditionally.
    I first defined the column to be displayed as a LOV, with the (static) LOV returning something like:
    <img src="#IMAGE_PREFIX#check_small_black.gif">, in order to show a check mark if the value of the column is 'Y' or nothing otherwise.
    Unfortunately it doesn't work because the #IMAGE_PREFIX# placeholder wasn't substituted at run time.
    I read in another thread that probably I can use that expression inside my report query instead.
    Can someone confirm this?
    By the way, it would be great if it were supported inside LOVs in a future release.
    Bye,
    Flavio

    Well,
    I modified my report query to return the HTML construct and it worked.
    I didn't try with dynamic LOVs though.
    Can someone confirm if it works with dynamic LOVs too?
    Bye,
    Flavio

Maybe you are looking for

  • FM LDB_PROCESS slow extraction

    Hi all, I'm using FM LDB_PROCESS to access logical database FTI_TR_PERIODS to extract records from there, and following is how I call my FM:   CALL FUNCTION 'LDB_PROCESS'      EXPORTING           ldbname                     = 'FTI_TR_PERIODS'        

  • Availability check for std SD query.

    Hi, I need 4 SD report (either STD/Custom) with the following requirement. Please suggest if there any STD SD query available for the same and where I can check? 1) Report for top 10 customers based on Inquiry/Order 2) Report on top sectors/Divisions

  • Bootcamp freezes upon selection

    Hello, I have a 15" late-2011 macbook pro. For over a year now, I have been using windows 7 with bootcamp, no trouble. Last week, however, for no reason that I can figure out, Windows would not boot. More specifically, I would open the disk selection

  • Oracle Financials 12i certified with Java 7?

    Hi, Does anyone know if Oracle Financials 12i is certified to run on Java 7? Regards, Hean

  • Photoshop Elements12 - crashing when using Adjustment Layers. When opening the drop down menu there are 'boxes' for Black

    Does anyone else have problems using the Channel Mixer? This problem only started after the opening screen started to 'advertise' the advantages of moving to Cloud