Dataype of cfdocument scope variables

Hello,
It seems that since I installed the 8.0.1 updater the
datatype of the cfdocument scope variables (eg totalpagecount and
currentpagenumber) has been changed. Before the update the datatype
was numeric, but now it seems unknown. This means I can't use
mathematical expressions to these variables. Is this a new bug in
CF 8.0.1 or....??
Frank

I have done some tests and it seems that the variables are
replaced by {currentpagenumber} and {totalpagecount} and I think
these variables are filled in by the pdf reader. I think we need
some pdf programming guide to find out how to manipulate these
variables.
I have no clue why Adobe decided to change this behaviour in
CF 8.0.1.

Similar Messages

  • Method Scope variables controls Multi-Threading !

    Hye there Experts !
    First, let me thank you all for such a brain-stuff sharing around; feel nice to be a part here.
    While browsing through the below article, found something confusing...kindly clarify.
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html?page=1
    Extract from the above discussion I understand :
    when a variable is moved to method scope instead of instance scope, synchronization is achieved.
    How is this true for servlets ???
    Method scope variables are available only during method call I think...here, since this is a servlet, there will be only one instance and if many (lets say 10) requests hits this servlet object, all these threads will read same counter as all of them enter into this only one method of this object,
    so...this should be still not thread safe I guess.
    I didn't want to execute and see results of this code, but I am trying to understand the key at first.
    Please guide me before brain blows... :-)
    Would also appreciate any references that really says true things about
    'synchronization for enterprize (handle huge requests) web apps - technques for servlets and any other stuff'
    Thanks again guys, have a wonderful time.

    feel nice to be a part here.Welcome to the mad-house ;-)
    Method scope variables are available only during method callWARNING: I'm no guru, so this may be misleading or just plain wrong.. but as I understand it:
    Yep a "local" variable exists only the context of the execution of it's containing method... so a local variable is implicitly bound to the thread that created it (by invoking the method in which the local is declared)... a local variable can't be accessed directly by another thread simply because the other thread has no access-path to the variable (you can't expose a local through getters & setters)... hence locals are thread safe.
    The important bit is that it's the thread which "owns" the local variable... not the declaring method... if the method is executed concurrently by two threads, each thread will have its own private copy of all the local variables.
    One other question though: are locals in static methods still thread safe? I'm not sure.
    package forums;
    class NonfinalLocalVariableInThreadTest
      public static void main(String[] args) {
        try {
          new Thread(new Runnable() {
            public void run() {
              System.out.println(args[0]);
          }).start();
        } catch (Exception e) {
          e.printStackTrace();
    compiler error
    C:\Java\home\src\forums>"C:\Program Files\Java\jdk1.6.0_07\bin\javac.exe" -Xlint -d c:\java\home\classes -cp c:\java\home\src;.;c:\java\home\classes c:\java\home\src\forums\NonfinalLocalVariableInThreadTest.java
    C:\Java\home\src\forums\NonfinalLocalVariableInThreadTest.java:9: local variable args is accessed from within inner class; needs to be declared final
              System.out.println(args[0]);
                                 ^
    1 error
    Output completed (0 sec consumed)

  • How long is the life time of process scope variable ?

    Hi All,
    How long is the life time of process scope variable befoer it expires ?
    Is it the same with the life time of session scope ?
    How can we set the value in OAS when deployment ?
    Thank you,
    xtanto

    Hi,
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/devguide/communicatingBetweenPages.html
    " Finally, processScope never empties itself; the only way to clear processScope is to manually force it to clear:
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.getProcessScope().clear();
    Otherwise the variable lives for the duration of the window process. The referenced document above also shows how to set a variable to process scope
    Frank

  • Suggestion: JavaScript scope variables and event listeners

    Invoking Java from JavaScript in ADF Mobile is surprisingly efficient although it is still relatively expensive compared to plain HTML5/JavaScript/CSS stuff in the native UIWebView. But whenever you want to do something "dynamic" you have to revert to invoking Java, even for simple use cases. As far as I can see it as soon as you use listeners on components, managed beans or data controls you're in the Java world.
    Why not add similar concepts that are pure JavaScript implementations for performance. As an example I want to have a SelectOneButton component and depending on its state I want to enable/disable an InputText component. As far as I can see it I would need Java to make this happen. First, I would need a Java managed bean to keep the enabled/disabled state. Then I would set the value property of the SelectOneButton with an EL expression to this managed bean property, or for other scenarios use a Java based ActionListener to change the state. Then the InputText component could use an EL expression in its Disabled property.
    For this simple use case this would still perform fast, but real applications grow more complex.
    Why not have the option of creating JavaScript based managed "beans"? The could live on javaScriptPageFlowScope or javaScriptViewScope. Then the AMX components could reference this from EL and it would be even better if we can create pure javascript ActionListeners (or other listeners). This would make it similar to the choice with ADF Faces application between doing a server roundtrip with partial-page-rendering and using pure clientListeners and clientAttributes for optimal performance.
    For situations where we do need to power of Java, it would be great if we can access these javascript scope variables from Java.

    This is a good suggestion, Wilfred. We haven't gotten to this level of optimization in the framework yet. At some point it's likely we'll have an option for the developer to specify the layer to handle the method.
    Thanks

  • Session scope variables and weird behaviour of AdfContext()

    Hello,
    what is the best method and correct API to create a session scope variable?
    I am currently using ADFContext().getCurrent().getSessionScope().get()/put(), but it looks like it has some problems: for some unkown reasons I loose the variable, that is get() returns null when called from a method of a (overridden)ViewRowImpl. Why does this happen?
    Thanks you in advance

    There are a couple of ways you can set values on a sessions scope but I would have to question if you really need a scope as high as session to accomplish what you want to do. At any rate, you should be able to store the value using the method you described but you could also try setting it using EL by using the setExpressionValue and resolveExpression methods in JSFUtils.java (you can find this in the latest fusion demo application). JSFUtils also has a getFromSession and storeOnSession that you could try.
    With all that said I don't think it is good practice to access scope variables from your model layer. You should write your method in the ViewRowImpl class to accept the value as a method parameter and then pass the value in through the binding layer or when invoking the method from your bean class.

  • Initialization of global/scope variables ONLY through ASSIGN?

    Is it only possible to initialize global resp. scope variables through an explicit ASSIGN?
    Or can I place e.g. a value="...." attribute inside the BPEL source code at the variable declaration
    to initialize it directly?
    Or even better: can I init the variable through JDeveloper GUI?
    Peter

    I looked this up on Oracle Support and there was one thread that it said that it could be resolved with a 11.1.1.6. to 11.1.1.6.2 patch update.
    We have one test environment on 11.1.1.6.6 to which we have uploaded the RPD to receive the same error, although it now additionally indicated a "Blacklisted Connection Pool". Here are the error details:\
    [2013-01-22T00:30:32.000-08:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004osJjn__ADCgH_qt0FyY0006Py000000] [tid: e9c8a950] [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12545, message: ORA-12545: Connect failed because target host or object does not exist
    at OCI call OCIServerAttach.
    [nQSError: 43059] Init block ‘XYZ’: Dynamic refresh of repository scope variables has failed.
    [2013-01-22T00:30:32.000-08:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004osJjn__ADCgH_qt0FyY0006Py000000] [tid: e9c8a950] [43143] Blacklisted connection pool: 'ABC'
    This is the way I have defined the DSN for the OCI 10g/ 11g within the RPD connection pool:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.93)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.94)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.95)(PORT=1541))(ADDRESS=(PROTOCOL=TCP)(HOST=10.53.36.96)(PORT=1541))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=a.b.c)))
    My next test would be to individually test each host and see which one causes it to error out.
    Any insights of what I could look to additionally do?
    PS: The DBA is yet to get back with the exact version of the Oracle 11g DB but it is greater than 11.1.0.7 since that was the version they were running 6 months back and might have upgraded.

  • Print memory scope variables value

    All,
    How do i print all the memory scope variable and their values that are set via the MB or the taskflow or the UI page using setAction/PropertyListener ?
    I mean where should i write the code ?
    thnks
    Jdev11.1.1.5
    Edited by: in the line of fire on Oct 13, 2011 9:50 AM

    @Frank
    if you can detail this +"If the managed bean uses a HashMap to store values then the bean itself can be used to expose an interface for all of what you want it to do. So its an architecture decision to make (which you should do when designing the application)"+
    As of now what i am doing is
        public void printMemoryVariables(){
            logger.info("inside printMemoryVariables");
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            // get the PageFlowScope Params
            Map<String, Object> scopePageFlowScopeVar= adfFacesCtx.getPageFlowScope();
            // get the requestScope Params
            Map<String, Object> scopeRequestScopeVar= adfFacesCtx.getViewScope();
            Collection scopePageFlowScopeVarValues = scopePageFlowScopeVar.values();
            Collection scopePageFlowScopeVarKeys = scopePageFlowScopeVar.keySet();
            //obtain an Iterator for Collection
            Iterator itrValues = scopePageFlowScopeVarValues.iterator();
            Iterator itrKeys = scopePageFlowScopeVarKeys.iterator();
            //iterate through HashMap values iterator
            while(itrValues.hasNext() && itrKeys.hasNext()){
                logger.info("Key : " + itrKeys.next() +  "Values: " + itrValues.next());
        }And calling this in the initializer of the taskflow. But is it possible to get the values during the task flow execution

  • Application scope variables ... an easier way or not ?

    Instead of sharing application scope variables through the
              servletContext()/application I am using a normal singleton class (or maybe
              static class) to share all my application varaiable. It works fine and it
              takes a lot less code to write.
              It seamed logical to do this a static classes or singletons are shared
              within a single servletContext/application (which there seems to be only one
              per WL instance anyway). (singleton is quite nice pattern coz. all
              jsp:useBeans with the application scope are by definition singletons)
              Has anoyne tried something similar or maybe know of the problem with this
              approach. I assume that server will never reinitialise application level
              variables ...... hope the assumption is correct. ....
              

    When you specify application scope, the JSP stores/retrieves the value
              into/from the servlet context. You may already know this, but it sounded
              like what you thought you were somehow avoiding.
              Cameron Purdy
              http://www.tangosol.com
              "Bohinc D" <[email protected]> wrote in message
              news:[email protected]..
              > Instead of sharing application scope variables through the
              > servletContext()/application I am using a normal singleton class (or maybe
              > static class) to share all my application varaiable. It works fine and it
              > takes a lot less code to write.
              >
              > It seamed logical to do this a static classes or singletons are shared
              > within a single servletContext/application (which there seems to be only
              one
              > per WL instance anyway). (singleton is quite nice pattern coz. all
              > jsp:useBeans with the application scope are by definition singletons)
              >
              > Has anoyne tried something similar or maybe know of the problem with this
              > approach. I assume that server will never reinitialise application level
              > variables ...... hope the assumption is correct. ....
              >
              >
              >
              

  • ValueRef and scope variables

    It seems that the valueRef attribute is always associated to a bean variable.
    If I want to use scope variables like in JSTL I have to use the rtexprvalue="true" for valueRef.
    Can the variables pageScope, sessionScope, param, etc. be reserved so that they can be accessed
    thru valueRef?
    E.g. <h_output_text valueRef="pageScope.mySSN" /> or use the JSTL syntax:
    <h_output_text valueRef="${pageScope.mySSN}" />
    Does somebody know the rationale behind valueRef being limited to beans exclusively?

    I am not very clear abot this, but maybe it is because of some issue in making the Faces Components
    device-independent.
    Perhaps, you can try using <c:set> to copy the data from page-scope bean to a managed bean
    and then use the managed bean property in the valueRef.
    Ajay

  • Session-scope variable for JSP page used in a frame

    Hi,
    I don't know if there's a way to do this at the same time:
    (1)- assign session scope to a variable (in order to be able to retrieve recurrently the previous value each time the JSP is called);
    (2)- set its visibility in a way that it could be accessed only by the page that defines it. The JSP is used in a frameset along with an other JSP that can potentially define identical session-scoped variable (You understand why I want to keep them separate)
    session.setAttribute():
    seems not to be the thing I need
    pageContext.setAttribute():
    with SESSION_SCOPE, it behaves the same way as session.setAttribute(). with PAGE_SCOPE, condition (1) can't be satisfied.
    Does anybody have an idea ?
    Thanx in advance.

    I can see that you will not want to maintain two different files for every possible page on the site!
    It may be possible to do something like <frameset rows="*" cols="50%,*">
      <frame name="content1" src="file.jsp?frame=one" >
      <frame name="content2" src="file.jsp?frame=two" >
    </frameset>and then in the jsp<%
    String frame=request.getParameter("frame");
    session.setAttribute(frame+"AttributeName",attributeValue);
    %>This will set up two session attributes - "oneAttributeName" and "twoAttributeName". Depending on how many variables you have, this may prove just as difficult to maintain.
    You may end up having to simply pass url parameters between pages to maintain state within the individual frames, which is far from elegant also.
    I am interested in how you end up solving this one.

  • Is there any concept in LabVIEW that is similar to static local scope variables in C?

    I'd like to retain the value between calls to a subVI, as can be done using a static function scoped variable in C. The textbook example of how this is used would be a variable in the function that is a state machine, and knows what state it was in last time it was executed. A simpler example would be just keeping count of how many times the function has been called.
    I suppose I could use a global or I could pass values in and out of the subVI, but I'd like to keep the variable known only in the scope of the subVI if at all possible. For example, the outside world has no business knowing (or god forbid) changing what the state information of this function is.

    Bmarsh wrote:
    > I'd like to retain the value between calls to a subVI, as can be done
    > using a static function scoped variable in C. The textbook example of
    > how this is used would be a variable in the function that is a state
    > machine, and knows what state it was in last time it was executed. A
    > simpler example would be just keeping count of how many times the
    > function has been called.
    >
    > I suppose I could use a global or I could pass values in and out of
    > the subVI, but I'd like to keep the variable known only in the scope
    > of the subVI if at all possible. For example, the outside world has
    > no business knowing (or god forbid) changing what the state
    > information of this function is.
    There is no need to do something "conceptual" or spec
    ific to have this
    static variable. You already have this in any control or indicator in
    your sub-vi while it is in memory. Control/indicator value will remain
    in sub-vi data space between calls. Don't forget about make your sub-vi
    non-reentrant or keep track of sub-vi data space copies.
    If you want to read/write this value from another vi, consider it global
    or I'd prefer to suggest using functional global(uninitialized shift
    register in 1 iteration while loop). Think of it as about 1 value data
    repository.
    LabVIEW CIN reference manual is a good place to look at, as well as
    LabVIEW course kits, describing LabVIEW memory issues in details.
    To simplify: create empty sub-vi with control and indicator connected to
    each other and call it wiring indicator in caller vi. Keep sub-vi front
    panel open and change control in sub-vi manually. You see what happens.
    Sergey Krasnishov
    Automated Control Systems
    National Instruments Alliance Member
    Mos
    cow, Russia
    [email protected]
    http://acs.levsha.ru

  • BPEL / BAM problem scope variable

    Hi,
    I try to notice BAM from a BPEL Process.
    Actually my DataObject in BAM make lookups on the another one. So i have to notice 2 times BAM :
    - 1 for the DataObject which is the target of the lookup of the 2nd DataObject (that i call genericDO)
    - 1 for the DataObject which make lookups (specificDO)
    The reason for these 2 notifications is that lookup fields are readonly. I can't set values using my specificDO. So i have to insert 1 genericDO and then a sspecificDO.
    So to have to do 2 notifications.
    Now the real problem :
    On the activity, i place 1 Sensor which use 2 BAMSensorAction.
    Sensor (use 1 simple variable which contains 3 strings) :
    *<sensor sensorName="BAM_KO_Sensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="Invoke_signalerErreur">*
    *<activityConfig evalTime="all">*
    *<variable outputDataType="notification" outputNamespace="http://xmlns.oracle.com/NotificationBAM" target="$notification"/>*
    *</activityConfig>*
    *</sensor>*
    My 2 BAMSensorAction :
    *<action name="BAM_KO_SensorAction" publishName="OracleBam" publishType="BAM" enabled="true">*
    *<property name="bamDataObjectKey"></property>*
    *<property name="batchStatus">false</property>*
    *<property name="batchLowerLimit">100</property>*
    *<property name="batchTimeout">500</property>*
    *<property name="bamTransform">bam/BAM_SensorAction.xsl</property>*
    *<property name="bamServer">http://s-bam-dev:80/OracleBAM/DataObject/DataObjectOperations.asmx</property>*
    *<property name="batchDefault">true</property>*
    *<property name="bamOperation">Insert</property>*
    *<property name="bamDataObject">/DE/Activation/IntegrationProcess</property>*
    *<property name="batchUpperLimit">500</property>*
    *<sensorName>BAM_KO_Sensor</sensorName>*
    *</action>*
    *<action name="BAM_KO_Process_SensorAction" publishName="OracleBam" publishType="BAM" enabled="true">*
    *<property name="bamDataObjectKey"></property>*
    *<property name="batchStatus">false</property>*
    *<property name="batchLowerLimit">100</property>*
    *<property name="batchTimeout">500</property>*
    *<property name="bamTransform">bam/BAM_Process_SensorAction.xsl</property>*
    *<property name="bamServer">http://s-bam-dev:80/OracleBAM/DataObject/DataObjectOperations.asmx</property>*
    *<property name="batchDefault">true</property>*
    *<property name="bamOperation">Insert</property>*
    *<property name="bamDataObject">/DE/ProcessTransverse/Process</property>*
    *<property name="batchUpperLimit">500</property>*
    *<sensorName>BAM_KO_Sensor</sensorName>*
    *</action>*
    I deploy the process without compilation problem.
    And at runtime, the instance works well, i can see the 1st Insert in BAM, but the 2nd one is never done. In the log i can see that the 1st one is flushed, but i have this error for the 2nd one :
    *<2009-05-12 14:17:20,775> <ERROR> <default.collaxa.cube.sensor> <DataRouter::send> error*
    ORABPEL-20301
    Echec du Data Publisher.
    Echec du Reporting Data Publisher BAM_KO_Process_SensorAction.
    Pour plus dinformations, consultez le fichier journal.
    at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:101)
    at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:133)
    at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.send(DataCaptureAgency.java:181)
    at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.sendActivityData(DataCaptureAgency.java:153)
    at com.collaxa.cube.engine.sensor.dca.DataCaptureAgency.onActivityComplete(DataCaptureAgency.java:227)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:205)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1722)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.handleWorkItem(CubeEngineBean.java:307)
    at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at CubeEngineBean_LocalProxy_4bin6i8.handleWorkItem(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handle(PerformMessageHandler.java:45)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-20301
    Echec du Data Publisher.
    Echec du Reporting Data Publisher BAM_KO_Process_SensorAction.
    Pour plus dinformations, consultez le fichier journal.
    at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
    at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:178)
    at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
    *... 37 more*
    Caused by: ORABPEL-02117
    Variable déjà déclarée.
    Une variable portant la clé "bamserver.hostname" a déjà été déclarée dans le scope en cours.
    Enlevez du code linstruction de déclaration de variable.
    at com.collaxa.cube.engine.core.Scope.__checkVariantDecl(Scope.java:1411)
    at com.collaxa.cube.engine.core.Scope.declareAndSet(Scope.java:800)
    at com.collaxa.cube.engine.sensor.dca.data.BpelCapturedData.getHeaderProperties(BpelCapturedData.java:199)
    at com.collaxa.cube.engine.sensor.sa.FilteredDataPublisher.publish(FilteredDataPublisher.java:105)
    at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
    *... 39 more*
    All what i can say is that i never declare any variable with bamserver.hostname key. The only spot in all my process where this value can be seen is the bpel.xml :
    *<preferences>*
    *<property name="bamserver.hostname" encryption="plaintext">s-bam-dev</property>*
    *<property name="bamserver.protocol" encryption="plaintext">http</property>*
    *</preferences>*
    Seems like a variable is declared by the 1st SensorAction, and the 2nd one try to declare it again...
    Any ideas on the problem ?

    Hi,
    Thx for the response.
    Actually there's no variable declaration visible in the bpel.xml. It was the first thing that i have look for, regarding to the exeption.
    That's why i suppose that there's some sort of runtime variable declaration by the BAM sensor. No certitude on this...
    And yes, when you place the two BAMSensorAction on two Sensors which are on activities in separate scopes... it works.
    Finally i avoid the problem doing something like that :
    <ScopeForBAMNotification>
    <ScopeForNotification1>Empty activity 1 with 1 sensor activity which use 1 sensorBAMAction</ScopeForNotification1>
    <ScopeForNotification2>Empty activity 1 with 1 sensor activity which use 1 sensorBAMAction</ScopeForNotification2>
    </ScopeForBAMNotification>
    Not pretty, but works...

  • BPEL designer bug changing local scope variables

    My appologies if this was already known.
    I am using bpelz version 0.9.10 and encountered the following bug:
    When I use the BPEL Inspector to change the XML variable name in a scope (the variable is defined locally in the scope), the name change occurs in other scopes (including leaf scopes not in the local scope chain).
    Perhaps I am using to old a version and this has been fixed.
    Cheers,
    -Dustin

    Thanks a lot Dustin. I will check it and communicate the same to dev team.

  • Package scope variable

    I created package variables in specification
    of the package.
    And all procedures and function can see these
    variables.
    The question is: What about transaction?
    If two users start using these variables,
    does it influence each other or every user
    will work in his own scope?
    Sorry for dummy question.
    Thanks Anatoly.

    Since Variables declared in the Package variables r global variables will be updated whenever accessed globally.Its not session dependant.
    Might be a problem when two users access it at the same time.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by avalko:
    I created package variables in specification
    of the package.
    And all procedures and function can see these
    variables.
    The question is: What about transaction?
    If two users start using these variables,
    does it influence each other or every user
    will work in his own scope?
    Sorry for dummy question.
    Thanks Anatoly.<HR></BLOCKQUOTE>
    null

  • Passing a session (or other scope) variable to a graphModel

    So here's my delimma... I'm using 11.1.1.3g Jdeveloper.
    I'm trying to get a graph which is gets its value from a View (which takes as an input a single variable). See definitions of some of these below. I'm trying to get the graph to pass the variable via binding to the view so that the query will return the graph's data based on the query. I'd like to use ADF's binding layer to do this and not involve a backing bean I'm not too sure how to begin. I've been through a lot of the documentation and cannot find exactly how this can be done. I've seen that you can do a master detail but this is not what I want (At least yet) I'd like to setup the value that in a DDL that the user can select from a change the graph below.
    InventoryView:
    SELECT kit_status, component_id, count(*) as total
    FROM numbered_inv
    WHERE trialname = :0     
    AND kit_status in ('AVAILABLE', 'ASSIGNED/USED', 'PACKAGED')
    AND site_id in ( '0000', '00001' )
    GROUP BY component_id, kit_status
    ORDER BY kit_status
    :0 is bound to bind_trialName
    Page Def so far:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.56.60" id="shipFreqPageDef"
    Package="com.almac.aurora.gateway.clinicalsupplies.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables">
    <variableUsage DataControl="PCSAppModuleDataControl"
    Binds="Inventory1.variablesMap.bind_trialName"
    Name="ExecuteWithParams_bind_trialName"
    IsQueriable="false"/>
    <variable Type="String" Name="robsVariable"/>
    </variableIterator>
    <iterator Binds="Inventory1" RangeSize="-1"
    DataControl="PCSAppModuleDataControl" id="Inventory1Iterator">
    </iterator>
    </executables>
    <bindings>
    <graph IterBinding="Inventory1Iterator" id="Inventory1"
    xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_HORIZ_CLUST">
    <graphDataMap leafOnly="true">
    <series>
    <data>
    <item value="componentid"/>
    </data>
    </series>
    <groups>
    <item value="total"/>
    </groups>
    </graphDataMap>
    </graph>
    <action IterBinding="Inventory1Iterator" id="ExecuteWithParams"
    RequiresUpdateModel="true" Action="executeWithParams">
    <NamedData NDName="bind_trialName" NDType="java.lang.String"
    NDValue="${bindings.ExecuteWithParams_bind_trialName}"/>
    </action>
    <attributeValues IterBinding="variables" id="bind_trialName">
    <AttrNames>
    <Item Value="ExecuteWithParams_bind_trialName"/>
    </AttrNames>
    </attributeValues>
    Pointing me to a tutorial that updates a DataModel based on an input from the session or from a DDL would be helpful. I cant seem to find one...
    Thanks in advance!!

    Sorry I'm still having trouble figuring this out. So, on my graph (shown below) I have the value referring to the binding... How do I make the binding pass the view a value?
    <dvt:graph id="horizontalBarGraph1"
    value="#{bindings.Inventory1.graphModel}"
    graphType="#{backing_shipFreq.graphType}"
    dynamicResize="DYNAMIC_SIZE"
    styleClass="AFStretchWidth">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"/>
    </dvt:graph>

Maybe you are looking for

  • Actuals for stock valuated materials in a valuated project stock

    Hi friends! Iu2019m working with materials in the project, and we are going to do direct external procurement from the project. The material we are using are valuated stock and in the project I have valuated project stock. The requirements are that t

  • Spry master pages

    Hi guys, Now before i begin...i am a PHP developer and i have been building master and details pages using PHP& MYSQL for quite some time now an i am now experimenting with SPRY...I have created a master page in which i list database records using sp

  • Transport table entries

    Hi, this one should be easy to solve. We have a user-defined customizing table with maintenance view. In maintenance view we defined no, or user, recording routine so that users can do adjustments without transport. For the initial distribution to a

  • FMS not restarting when rebooting

    Hi Everyone I have a problem when rebooting the computer: Flash Media Server will not restart automatically after rebooting. During installation I've set the server to run as a daemon, yet it doesnt seem to start up automatically. It's a bit strange

  • Catalyst 3750 24FS-S Initial Setup help please

    First time with Cisco and with Fibre, so a double whammy! I would appreciate some help from the community from someone with experience setting up a 3750 24FS Switch I have WS-C3750-24FS-S fibre switch that I have inherited In good working order but f