Affect commondLink  by different scope of BackingBean

The problem is that all the command links created by af:table component can not work if the scope of the BackingBean is set as request.

Hi,
backing beans always have a request scope. I don't know what your post tries to tell me
Frank

Similar Messages

  • How can we assign a different scope of planning in MTO scenario?

    Hi,
    We are using MTO scenario. In this case, during sales order creation checking control AE is getting triggered. We want to use a different scenario during rescheduling transaction. But as per my analysis, V_V2 is also calling the same AE checking control eventhough we assigned a different checking control for Back order processing.
    In this case, can we assign a different checking control (scope of check) for back order processing?
    Regards.

    Let me explain my requirement here....
    This is a kind of trading or sub-contracting. Initially we will give the forecast to vendor...but Vendor will start the finished product production only after getting the confirmed order from us. Hence we thought to use strategy 50. So we will create a PO to Vendor only after getting a confirmed sales order from customer.
    But in strategy 50 ATP confirmation is based on PIR. Hence we created a new requirement class (copy of 45 with ATP active). So in this new strategy ATP is against actual receipts instead of PIRs.
    But sometimes Vendor may not be able to supply as per lead-time...and he may postpone the delivery date. In this case we are getting exception message 10 for the PO...even though PO is specific to a sales order. Still rescheduling job (V_V2) is not populating the new confirmation date as it is referring to the TRLT.
    Hence we want to use ATP based on TRLT during sales order creation. And during rescheduling we want to use a different scope of check ('without TRLT' and with 'No storage location check'). Hence we created a new checking rule for rescheduling and this we assigned for that specific plant.
    As per my observation, rescheduling job is not picking the scope of check that is assigned for rescheduling....it is calling the same checking rule AE during rescheduling also.
    So my question here is... can we call a different scope of check during rescheduling run while using make to order strategy?
    Regards.

  • Feature - use case scenario with different scopes

    Can we share few real-time use case scenarios when we can create SharePoint 2010 Feature with following scope levels:-
    1. Farm
    2. Web application
    3. Site collection
    4. Site
    I mean with real-time examples....

    Below are the examples which you can build based on different scopes.
    1. Farm(Farm-scope) - Web templates
    2. Web application (Webapplication-scope) - Timer Jobs
    3. Site collection (site-scope) - Content Types, web templates
    4. Site(web-scope)
    - Lists, Content Types
    You can build a Content Types by
    web scope or site scope, but it makes more sense in making them
    at site scope so that it can reusable. If you see the above examples web templates can be built either at FARM or site scope, you have to decide at which scope you need to develop based on your requirement.
    Check the below elements which can build at various scopes.
    http://msdn.microsoft.com/en-us/library/office/ms474383%28v=office.14%29.aspx
    I would suggest you to go through a list of features and their scopes available in SharePoint 2010 to get an idea when to try to build a new artifact
    https://social.technet.microsoft.com/wiki/contents/articles/7695.sharepoint-2010-list-of-features-id-displayname-and-scopes.aspx
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Reverse Telecine affecting identical clips different ways

    I haven't a clue on how to begin searching for this.
    I recently had a problem trying to get my Sony HZ5U 24p footage to true 24p instead of 30. It was causing big confusion in Color, blending frames together. Even though I placed the footage in a 24p sequence, it would just frames in unnecessary spots. And Reverse Telecine wouldn't work on footage imported by HDV - 720p24.
    I was able to import to HDV-Apple ProRes 422 1080p24, Reverse Telecine, and add the clips into a HDV- 720p24 sequence to get the resolution I need...
    Except there's a problem.
    Something isn't working when I reverse telecine.
    The clips I imported were all 2:3, two frames of the same then three others that were individual.
    I "reversed" two clips which came out to 1:1 (I guess), no frames are duplicated. But a few of the clips I reversed came out to 2:2! There are two frames of the same then two others that are individual.
    I'm not sure what is wrong. I didn't import with a different setting, I didn't change anything in Final Cut, I didn't adjust anything in Cinema Tools. I never filmed in a separate format...
    I have a consistent segment I have to make each week for a program, and it's done this for the past three weeks. And on one of the clips (either the one with 1:1 or 2:2) after I send back from Color the audio is shifted off a few frames.
    Why would Reverse Telecine give me different results in the same operation of the same format of video??

    remove the "/" in your file name. that happened to me too. Renamer4Mac is a great free utility that may help you.

  • Share stateful session bean in JSF managed beans with different scope

    Hi,
    I have a JSF application and I want to try to use of stateful session beans.
    So I created a new stateful session bean and its local interface.
    @Stateful
    public class StatefulSessionBean implements StatefulSessionBeanLocalInterface{
    private String name;
    @Local
    public interface StatefulSessionBeanLocalInterface {
    ...In my JSF application I have a mananed bean with session context which registers the new interface by
    this annotation
    @EJB(name="sessionbeanref", beanInterface=StatefulSessionBeanLocalInterface.class) and set the name to something.
    Now I want to fetch this name in another managed bean with request scope. So I looked up the bean and tried to get the name.
    StatefulSessionBeanLocalInterface = (StatefulSessionBeanLocalInterface) new InitialContext().lookup("java:comp/env/sessionbeanref");
    System.out.println(currentmailingbean.getName());but the name is null.
    Why?

    The xsd was created via the netbeans J2EE enterprise application dialog and I think its the most recent.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">All other annotations seem to work.
    Wouldnt the lookup completely fail if the deployment process thought that it is version 1.4 ?

  • When do different scopes get removed from memory?

    Hi,
    Here's what I've got.  I have a cfc that processes complex xml documents for product catalogs.  We've got functions in that cfc to process various parts of each document, with parts being passed to the function (product object struct, option struct, etc) in loops.
    It would work fine for small docs, but as the documents got bigger, the process would slow, and as we approached 3-6 mb it would grind to a halt and after 4-9 mb, we'd get heap space errors.  Memory was just being consumed violently. 
    All that was happening though is we do an xml search to get an array of products/options/media etc.  We'd loop that array passing in the option or whatever.  The function it was passed to just loaded the orm objects up and saved them, flushing and clearing the session at the end.
    One thing I noticed trying to figure out what was going wrong was that even though is if we force kill the server half way through the for loop, we get a hundred or so errors that there's variables, but no ORM.  Makes me think that even though we had items being passed through arguments and then all variables in the functions being var scoped, variables are still hanging in memory attached to the sessions. 
    Which makes me ask the question, when do variables in each scope get marked for garbage collection and will var scoped/argument scoped variables hang through the entire request?
    I found the best/only solution to my problem was to create a variable scoped argument to use as an accessor for the product/option/media object between the loop and the method doing the work.  When I changed to not passing it as an argument, my memory consumption went up initially, but then held at the same level and my logic started to proceed at a constant rate.
    Thanks,
    Joel

    I wish I could go that simple.  But we're using Coldbox, so there's a lot more being put into variables scope than what I'm using.  Also, it seems to be narrowing down to orm calls. 
    We've got a pretty basic bit of logic, as it loops through an xml file over say elements that represent options for a product, we use the ormExecute to find if the object exists, if it doesn't, create a new one, set some more variables, save and flush the orm.  That's really all it comes down to. 
    I'd turned on logging the gc to console and we can watch as each method runs to push an element into the orm the memory used grows.  Even with doing a forced gc, we see it keep growing.  Even tried commenting out all code except for a single ormExecute to get the object if it exists and that part still kept making the memory grow. 
    Which makes me wonder if there's something in CF orm that caches, but doesn't get cleared on a flush.  We don't have the orm cache turned on though, so it isn't making a lot of sense yet.

  • Problems using different scope with useBean

    Hi all,
    I've been trying over and over to place the data from my inputForm.jsp in request, session or even application scope and then try to retrieve the data from my process.jsp.
    I can't understand why not the request object (emp) is available in my second jsp file. I'm having the same problem using sessionScope and applicationScope.
    inputForm.jsp
    <jsp:userBean id="emp" class="Employee" scope="request">
    <jsp:setProperty name="emp" property="*" />
    </jsp:userBean>
    <form method="POST" action="process.jsp>
    <input type="text" name="firstName">
    <input type="text" name="lastName">
    </form>process.jsp
    <c ut value="${requestScope.emp.firstName}" />

    The useBean tag has to be on the page WHERE THE BEAN IS BEING used.
    The jsp:setProperty tag works from request parameters. So it has to be on the page that is RECEIVING the parameters - ie your second page.
    You misspelled jsp:useBean.
    Also your Employee bean must be in a package, and the useBean tag should use its fully qualified package name.
    I will presume that your Employee class has appropriate get/set methods for firstName and lastName - ie getFirstName() and setFirstName()...
    Try this:
    inputForm.jsp
    <form method="POST" action="process.jsp>
    <input type="text" name="firstName">
    <input type="text" name="lastName">
    </form>process.jsp
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <jsp:useBean id="emp" class="com.mypackage.Employee" scope="request">
      <jsp:setProperty name="emp" property="*" />
    </jsp:useBean>
    <c:out value="${requestScope.emp.firstName}" />

  • Can one controller affect two strips differently?

    I'm new to Mainstage, so bear with me if my terminology is a bit off.
    I want to have have two channel strips that are each controlled by the same pedal. Both patches are programmed to receive CC11.
    But I want the pedal to have the opposite effect on each of the strips. I want Channel Strip 1 to increase in value while CS2 decreases in value. Is there a way to program this in Mainstage without having to go into the VI's patch itself to reprogram?
    Another way to ask this question: Is it possible to program one controller to have different effects on two different channel strips?
    Thanks

    Hi
    Mainstage 2.2 is a "paid update", only available via the Appstore.
    The 'multiple mappings' facility that we have been talking about is also available in MS 2.1
    CCT

  • How to Run sequencially two Key-Commit triggers with different scope

    Hi all
    I have two Key-Commit triggers at form and Block level. Form level trigger is inherited from a library. In block level trigger, I have some additional checks. What I want is, to execute the Block level trigger first and than the form level. I tried working with the override/Before/after property of triggers which does the job of sequencing execution but the Raise Form_Trigger_Failure in the block level trigger doesn't stop the execution of form level trigger. Block level trigger does the checks and display corresponding alerts but than the form level trigger also executes.
    I don't wanna copy the code from Form level trigger to the block level trigger as it is common to whole application and may need some additional coding/ bug fixing later.
    Any help would be appreciated.
    RMA

    Thanks for all the help.
    In Key-Commit trigger I am just setting the Blocks' properties, nothing special, the main checks are in On-Commit trigger. I also understand the work around by using a user defined trigger but, to my knowledge, Oracle doesn't recommend it.
    My form has two datablocks, Parent and a child. The entered quantity in the Master block needs to be verified against the Number of units entered in the child block. If they are not the same, I want the alert and stop execution.
    Now I am using Pre-Insert trigger in the master block but was a little surprised because of the sequencing behavior. My understanding was that RAISE FORM_TRIGGER_FAILURE stops execution of all the code after it even is it is in another trigger/procedure ..but now it appears that I was wrong :-(
    Any suggestions??
    RMA

  • JSFF BackingBean scope

    Hello!
    I have a page composed of a region and jsff
    according to this doc; http://docs.oracle.com/cd/E12839_01/web.1111/b31974/web_getstarted.htm#BABBHGJA
    any backing beans for page fragments or declarative components should use BackingBean scope
    The backingbean's constructed is executed everytime thus resets my variables, How can I make it sessionscoped?
    I tried regisitering session scoped using annotations
    @ManagedBean
    @SessionScoped
    adf-config.xml
    faces-config.xml
    in the taskflow definition file
    everything! but the constructor is called multiple times
    thanks in advance please help!

    Let me get this straight, I am trying to understand
    Should I have two Beans per jsff? (If I need to carry state) one backingbean for the components (gettters/setters) and the other a session or pageflowscoped bean where I keep the state of my variables such as lists, strings, etc?
    and from the backingbean access those variables?
    Do you have a simple example you can show me? I was checking the blog Timo Hahn provided, I need an example, please!
    I created my session scoped bean and assign it to the backing bean ( that I already have) How should I access programatically from my backingbean a variable that is in a session scoped bean?
    and in my adfc-config.xml I have this
      <managed-bean id="__21">
        <managed-bean-name>beanSessionRegistrarGuia</managed-bean-name>
        <managed-bean-class>siat.view.backing.transporte.guia.SessionScopedBeanRegistrarGuia</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>
    <managed-bean id="__15">
        <managed-bean-name>backing_transporte_guia_frm_registrar_guia</managed-bean-name>
        <managed-bean-class>siat.view.backing.transporte.guia.Frm_registrar_guia</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1transporte/guia/frm_registrar_guia.jsff-->
        <managed-property id="__22">
          <property-name>beanSessionRegistrarGuia</property-name>
          <property-class>siat.view.backing.transporte.guia.SessionScopedBeanRegistrarGuia</property-class>
          <value>#{beanSessionRegistrarGuia}</value>
        </managed-property>
      </managed-bean>According to the blog
    private UIManager _uiManager;
    //Which should be exposed via a getter and setter pair with names that match the managed property name (e.g. setUiManager(UIManager _uiManager), getUiManager()). In my backing bean I do this
    private SessionScopedBeanRegistrarGuia sessBean;//+gettter and setterIn my SessionScoped Bean I have this
        public SessionScopedBeanRegistrarGuia(){
            System.out.println("I AM SESSION SCOPED BEAN");
        }This SOP is called but then I get error:
    <RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:El ciclo de vida de Faces recibe excepciones no tratadas en la fase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.faces.FacesException: oracle.adf.controller.ControllerException: ADFC-10004: no se puede definir la propiedad de bean gestionado 'beanSessionRegistrarGuia'
         at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1900)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1109)
         at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:511)
         at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:157)
    ....MORE ERRORSEdited by: diego10 on 22-may-2013 8:21

  • IVI driver not working with my DPO4054B scope

    So I got two new DPO4054B scopes.  I have tried both IVI drivers from Tektronix and NI's websites.  They are:
    NI -> tkdpo4k_setup.exe
    Tektronixs ->Tkdpo2k3k4kIVIDriver1.3.exe
    Both have issue.  I started with the textronixs one and the issue it has is the "IVIscope configure edge trigger source" function is not working.  It doesn't return any errors, just doesn't do anything.  I have called the configure type and input type as it requires prior, setting it to "edge trigger" and "DC".  There are some other oddities with this driver, but in all it seems to work.  I did note that in NI MAX there is an initialization string to declare the model.  I have tried DPO4054 and DPO4054B, niether seems to have any affect.  Even the default DPO2023 works the same.
    The NI driver works perfectly when it initializes.  Unfortunately, 90% of the time, it times out on the initialize function.  I do not understand what I could be doing wrong as the only real input to this is the logical name which I know is correct.
    Any thoughts?  I have NI VISA 5.4 and IPC4.6 installed.  Running Labview 2013.  I noted there is a version 14???? of both now available.  Was thinking of trying those.

    The initialize function has logical name, and whether to query and reset the device.  I currently have these set to no, but have tried yes as well with no affect.  I am not familar with the IO trace feature.  I will look into that.  Not sure I understand the question about class specific.  If I am using the IVI drivers, I don't want to use the class specific, that would defeat the point.  I am only using the IVIscope functions so I can swap in different scopes.
    The hardware is the computer has a USB to GPIB adapter.  The DPO4054B has the TEK-USB-488 adapter so it all works via GPIB.

  • What is the scope of implicit loop variables?

    Hi,
    I'm facing some strange error from the ABSL editor (syntax checker).
    In ABSL the loop variables are implicit and don't have to be declared in the head section of the script.
    My question now is simple: How is the scope/visibility of such loop variables specified ?
    There's a complete code snippet below.
    In line no.9, there's the first time use of implicit loop variable 'task_inst'.
    Because of type inference, it will be typed as MasterDataWanneBe/Tasks (which is my own BO type).
    In line no.20, I want to use the same variable name in a different loop, outside the parenthesis/scope of the first first use.
    Now the ABSL syntax checker complains about incompatible types (see code snippet)
    Thus the type inference should result in the, (lets say 'local') type Project/Task, which is the one I was querying for.
    To me it looks like, that loop variables implicitly get a global scope (hopefully bound to this ABSL file only).
    I would like to see the scope/visibility of loop variables restricted to the parenthesis.
    In other words only inside the loop.
    Hint
    I heard (from little sparrows), that local variable scoping is not possible because of underlying
    generated ABAP code. If so, than it would be helpful to print warnings, in case of types are compatible
    but used in different scopes. Think about the unintended side effects.
    import ABSL;
    import AP.ProjectManagement.Global;
    var query_tasks;
    var query_tasks_param;
    var query_tasks_result;
    foreach (empl_inst in this.Employees) {
         foreach (task_inst in empl_inst.Tasks) {
             //   ^^^^^^^^^  first time use
              task_inst.Delete();
    // ===========================================================================
    query_tasks = Project.Task.QueryByResponsibleEmployee;
    query_tasks_param = query_tasks.CreateSelectionParams();
    query_tasks_result = query_tasks.Execute(query_tasks_param);
    foreach (task_inst in query_tasks_result) {
          // ^^^^^^^^^ Error: 4
          // The foreach loop variable is already inferred to an incompatible type:
          // Node(MasterDataWanneBe/Tasks). Expected Node(Project/Task)

    Yes, variable declarations in ByD Scripting Language indeed have (snippet) global visibility. In the FP 3.0 release the variables can be declared anywhere in the snippet (not only in the beginning, as with FP 2.6), however still not within code blocks, i.e. within curly braces ({}). Therefore variable name shadowing is still not supported and because of the global visibility of variables they cannot be reused for a different type, later in the same snippet. This is because of the statically typed nature of ByD Script, despite the type inference convenience.
    Kind regards,
    Andreas Mueller

  • Login to different J2EE applications

    Dear developers:
    How can we design the login process for J2EE applications, so that a user (who has already logged into one application) won't be required to log in again to the second application.
    The reason we are trying to do this, is because we have different application for different scope, such as Sales application and Purchasing application. Some users will be using both applications.
    I think, to achieve this, session information of one application must be carried to the second application. But...... it looks like SUN Servlet 2.1 spec won't allow this to happen.
    How can we design the systems, so the users will be required to login only once????
    Sincerely,
    Josh

    Can you have a single point of entry for both systems and then use controller classes to route the requests appropriately?
    Maybe when the user logs into the system you can bind some kind of user profile object to their session which will keep track of whether they are a sales application user or a purchasing application user or both. Then when the user submits a request, your single point of entry can apply the appropriate filters to ensure the user is accessing a page which they are entitled to view. If they do not have proper permissions then you can forward their request to some error page notifying them of their lack of privileges.
    Let me know if I can clarify this at all.
    Chris L.

  • Multiple Scopes for the same subnet with Cisco CNR

    I have a requeriment from my internal client that he wants to have  multiple scopes within the same /21  subnet , but he wants to have different scopes for each group of servers ( in the /21 subnet).
    We have 2 Cisco CNR ( I dont know the version they are running because they are managed by an external vendor) but they are in active / standby mode.
    My question is .. it is posible to make the CNR have different scopes (ranges of IP's) for the same subnet ( /21) and assign those based on the client ( I dont know what criteria can be followed .. maybe Mac Address ???).
    I appreciate any help or pointing to the right documentation
    Thank you in advanced

    I don't know that you would want a separate PO print. You can print the same PO print twice to provide a copy for the freight vendor. I think it should be okay as long as it is clear that the PO is with the vendor for the products but there is a condition specifying the freight deal. The second vendor (say the freight vendor) should be okay with this PO as well. I don't remember how the standard SAP PO forms handled the vendor condition but it should be enough I would think. I never came across a separate PO for freight since it is usually an value added service that is an integrated part of shipping goods and the paper-work usually is leveraged from PO, bill-of-lading, etc. SAP will make it difficult if you do need a separate PO since there is no way to use account assignment to material and therefore would need to manually account code and invoice verification, post to a clearing account in FI for re-class to material or charge to internal order with settlement to material or something like this.
    I would just make sure that the PO print makes sense in terms of being able to see the freight charge and maybe the vendor name or something (look at the standard SAP PO form to see what the best practice is).

  • Controlling scope of availability check

    Hi,
    The requirement is to have different scope for availability check when Standard Sales Order and a Replacement Order (Replacing the goods for free).
    In the above scenario, the item category is different, so we can have different requirement type, hence can have different requirement class.
    Item category determination is based on Sales document type, but availability check do not have any control at sales document type level.
    Scope of availability check can be controlled with the combination of Checking group (material master) and checking rule.
    I need clarification here on how we can get different scope of check for the same material.
    Clarification on this is highly appreciated.
    Regards.

    Checking Rule is assigned with Plant also. So if Replacement Order is created from a single Plant then you can achieve the same.
    Else if you don't want to run Availabily Check then you can remove the checkbox "Availability" from Schedule Line Category.
    Best Regards,
    Ankur

Maybe you are looking for

  • Website does not display correctly in Firefox. It does with IE though.

    When accessing URL: http://www.legacy.com/obituaries/oklahoman/obituary.aspx?n=ernest-mcbride&pid=172460380&fhid=27832 through Firefox, it cuts the text off after 'with a donation to the whereas on IE, it displays the full text: with a donation to th

  • Role does not allow visibility on activities

    Using CRM 2007 sp4 I have recently created a new business role and have assigned this business role a pfcg authorisations role (based on the original sales manager role).  I was having problems having users assigned to this role being able to create

  • Content Pane Problem

    Greetings! I'm facing two related problems in developing a Java Applet. My applet class extends JApplet. 1) The current default layout of the whole window (not individual components) seems to be a flowLayout. I'd like to set the layout to a gridBagLa

  • Still necessary to manually install kernel modules with CUPS?

    I'm just setting up my system with CUPS for printing. In the "Configuring CUPS" section of the wiki, you're instructed to install the appropriate kernel module with modprobe for using a usb or parallel port printer. With my usb printer and kernel 2.2

  • U.S. Citizen making calls from Macedonia

    I am a U.S. citizen who will be living in Macedonia for 2 years. Will I be able to call home with the "unlimited calls to U.S." subcription? Or do I need something else since I'll be calling from abroad (as opposed to making calls from within the U.S