Separating the view States

Hi all

I'm in following This example on LiveDocs Flex to create reports in ActionScript. Now, I want to separate the logic of the actionscript in a presentation model.

Presentation model pattern has been in a series of Articles by Paul WIlliams.

I'm confused about its implementation in these points:

  • When I put in AS relativeTo property, how will access an element defined in a display in the presentation model class?
  • How will bind the currentState to a variable in the model of my presentation?

Can someone give me please a summary of how to implement this?

Thanks and greetings

ShiVik

ShiVik,

Now, I understand perfectly what you are after. Unfortunately, in my opinion, using the States of Flex is really messy and it is often preferable to have the display updated directly from a model presenter, rather than having the updated view of the States which are updates to the model presenter. I also like to separate the model from the view and the controller. But since they are all in the blog on the presenter, I'll keep them together.

So what you want to do, is to have your point of view mxml to declare an instance of a presenter:

protected var model: PresenterModel = new PresenterModel();

PresenterModel has a property for each chart element property in the mxml view that must be updated:

public var user: UserVO = null;

PresenterModel has a method for each event of the GUI in mxml view that needs to be addressed:

public void showUser (index): void

{

user = userList.getItemAt (index) as UserVO;

}

Your view links components to the elements in the template:

Your view handles the events by calling methods on the model:

The effective way to show and hide according to the State of things is like this:

In the model:

public static const = "init INIT:String."

public static const NORMAL: String = "normal";

public static const ERROR: String = "error";

public var viewMode:String = INIT;

Notice:

For recovering and sending data, the PresenterModel can use Cairngorm events since you are using Cairngrom.

So, whenever there is interaction with the user, the event calls a method on the PresenterModel, and that the method updates the PresenterModel property, then the display updates via links.
This system (even if I use a different class to model and controller) worked very well for me on major projects from the beginning to the end. It does never messy.
Thank you
Philippe

Tags: Flex

Similar Questions

  • javax.faces.application.ViewExpiredException: viewId: / folderUpload.jspx - ADF_FACES-30107: the page view state has expired.  Reload the page.

    Hello

    I'm developing a multiple file download utility. I get an error here. First of all, I want to explain my case.

    I use JDeveloper 11.1.1.7.

    InputFile property: maximumFiles = '150' uploadType = 'auto '.

    change of Web.xml: org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE = 5368709120 (by 5 GB)

    org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY = 5368709120

    org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN = 3

    the session has out = 30 minutes

    Here when I am downloading of up to 5 files work fine but when I select more than 15 removal sound always come below error.

    Error log
      
    
    AdfcExceptionHandler>  ADFc: While handling an exception the application's exception handler threw a new exception.
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      ADFc: While attempting to handle this exception the application's exception handler failed.
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.faces.application.ViewExpiredException: viewId:/folderUpload.jspx - ADF_FACES-30107:The view state of the page has expired.  Reload the page.
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:819)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [Application termination requested.  Undeploying application DMSMultipleFileUploadUtility.]
     

    Why is-session time-out error is coming while 15 (small files in KBs) takes 15-20 sec download, what requirements for this error. Take a peek inside Timo Hahn

    Thanks and greetings

    Maroof Ahmed

    Hi all

    Finally, I solved my problem for my case and works very well. Thanks Timo Hahn kind help.

    The solution obtained below changes.

    1. you must use valueChangeListener inputFile for

    2. changes in the web.xml file

    Changes to the web.xml file
    
        javax.faces.STATE_SAVING_METHOD
        client
    
    
    
        If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.
        org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
        false
      
    
    
        Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.
        oracle.adf.view.rich.versionString.HIDDEN
        true
      
    
    
        Here Values is in bytes for file upload. This is for 5GB
        org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE
        5368709120
      
    
    
        Here Values is in bytes for file upload. This is for 5GB
        org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY
        5368709120
      
    
      
        Session Time out solution 3600 here
        org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN
        4000
      
    
    
        "all": stores all state in the client in a (potentially large) hidden form field. This matches the default behavior of the JSF reference implementation, and can be useful for developers avoiding any use of HttpSession.
        org.apache.myfaces.trinidad.CLIENT_STATE_METHOD
        all
      
    
    
        The <uploaded-file-max-disk-space> element is used to change the default location uploaded files are stored. This setting directly overrides the web.xml setting org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR. This value can be hardcoded or can be explicitly configured with an EL expression that returns a String object.
        org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR
        /tmp/TrinidadUploads/
      
    

    For details, see configuration of APACHE MYFACES TRINIDAD trinidad

    If you are using large files, then you also increase the heap of Java size other wise, you can get on memory bound

    Maroof

  • I get an error, 'the diagnostic system host service entered the stopped state' in Event Viewer.

    Hello

    I have HP Pavilion dv6 - 2138ca Entertainment Notebook PC, windows 7 Home premium,
    in the event viewer, system, on the Details tab tab, it said victory http web proxy auto-discovery service stopped
    in the general tab it says service win http web proxy auto-discovery service entered the stopped state.
     
    Original title: Event Viewer

    Hi ali hamdullah,.

     

     

    (1) what exactly the problem?
    2) when you get this error message?
    (3) have you made changes on the computer?

    I would like more information about the issue.

     

     

    In addition, see the article-

    Suggestions for a question on the help forums

    Hope this helps!

  • asking the viewdefinition statement works, asking the view do not

    Hello

    I have a problem with a query on a view. This application works well for three years with 11.2.0.2.0. After upgrading to V 11.2.0.4.0 n data were returned as well.

    Problem is the Where Clause. I want data normally read for a month, but the WhereClause is shaped, it is also possible to read over several months

    == > 1.  Where t.fiscper > = '2015010' and t.fiscper, '2015011' == > data for October: no data

    == > 2.  Where t.fiscper = '2015010' == > data for October to approx. 90 s

    If I run the SQL query that defines the view, the two WhereClauses offer resultdata, asking the view only version 2 WhereClause Gets the result data.

    Is this a bug?

    Thank you

    Dirk

    Here is the statement defining the view (unfortunately, no repetitive for you), to test demand it inludes the wherclause: AND AG.fiscper > '2015010' AND AG.fiscper = < '2015011'

    -CREATE OR REPLACE VIEW VW_LISA_SGA_PRODUKTION AS

    SELECT Alles.Datenart

    Alles.fiscper

    Alles.fiscper Einsatz_Buper

    Alles.basis_kunde

    lc.schrottart_guss AS schrottart

    Alles.Leg_nr

    Alles.Chargen_Band_ID

    Alles.Ausbringung

    Alles.Einsatz

    Alles.Anz_Stcke_Produktion

    Alles.Anz_Stcke_Einsatz

    Of

    (

    Select 'Chargen SGA_Produktion' Datenart

    AG.fiscper

    EG.fiscper Einsatz_Buper

    AG.basis_kunde

    AG. Leg_nr

    AG. Chargen_Band_ID

    Sum (AG.) Weight) as Ausbringung

    Sum (((EG. Weight / KS. Anz_Barren_Pro_Charge) * AG. (Sterile)) as employment

    Sum (AG.) Sterile) as Anz_Stcke_Produktion

    Sum (AG.) Sterile) as Anz_Stcke_Einsatz

    Of

    (

    -Outputmaterial

    Select t.fiscper

    t.basis_kunde

    t.Leg_nr

    t.Chargen_Band_ID

    Sum (t.menge) as weight

    count (*) Barren

    of vw_Lisa t

    where t.Anlage in (1150, 1250, 1350, 1255)

    and (t.Bewegungsart = 9310 or t.Bewegungsart = 9320) - Ausbringung

    T.fiscper group,

    t.basis_kunde,

    t.Leg_nr,

    t.Chargen_Band_ID

    ) AG,

    (

    -Inputmaterial

    Select t.fiscper

    t.Chargen_Band_ID

    SUM (t.menge) as weight

    count (*) Anzahl

    of vw_Lisa t

    where t.matnr like '% MN011 '.

    and t.Referenz_Beleg_ID like '% P4 '.

    and (t.Bewegungsart = 9330 or t.Bewegungsart = 9340) - Einsätze

    T.fiscper group, t.Chargen_Band_ID

    ) FOR EXAMPLE,.

    (

    -Division

    Select CB.fiscper, CB. Chargen_Band_ID, CB. Anz_Barren_Pro_Charge, KB.basis_kunde, Ko. Anz_Barren_Pro_Kunde

    Of

    (

    Select t.fiscper

    t.Chargen_Band_ID

    , count (*) as Anz_Barren_Pro_Charge

    of vw_Lisa t

    where t.Anlage in (1150, 1250, 1350, 1255)

    and (t.Bewegungsart = 9310 or t.Bewegungsart = 9320) - Ausbringung

    T.fiscper group, t.Chargen_Band_ID

    ) CB, - ChargenBarren

    (

    Select t.fiscper

    t.Chargen_Band_ID

    t.basis_kunde

    , count (*) as Anz_Barren_Pro_Kunde

    of vw_Lisa t

    where t.Anlage in (1150, 1250, 1350, 1255)

    and (t.Bewegungsart = 9310 or t.Bewegungsart = 9320) - Ausbringung

    T.fiscper group

    t.Chargen_Band_ID

    t.basis_kunde

    ) KB - Kundenbarren

    where CB. Chargen_Band_ID = KB. Chargen_Band_ID

    and CB.fiscper = KB.fiscper

    order of CB.fiscper, CB. Chargen_Band_ID, KB.basis_kunde

    ) KS

    where AG. Chargen_Band_ID = KS. Chargen_Band_ID

    and AG.fiscper = KS.fiscper

    and AG.basis_kunde = KS.basis_kunde

    and AG. Chargen_Band_ID = EG. Chargen_Band_ID

    AND AG.fiscper = EG.fiscper

    AND AG.fiscper > = '2015010'

    AND AG.fiscper < '2015011'

    AG.fiscper group

    EG.fiscper

    AG.basis_kunde

    AG. Leg_nr

    AG. Chargen_Band_ID

    ) Alles,.

    LC LISA_Config - contains a line!   avoids a constant in the selection list

    WHERE lc.aktiv = 'J '.

    -> > results in 90 seconds

    Select *.

    of VW_LISA_SGA_PRODUKTION t

    WHERE t.fiscper > = '2015010'

    AND t.fiscper < '2015011'

    -> > don't resultdata

    Everything is OK now.

    What has been done:

    -reconstruction of all the clues, removing all the clues, recreate, no result, responsetimes had bad up to 1500 seconds, but any where clause worked

    (Where t.fiscper > = '2015010' and t.fiscper)<  '2015011' ="" up="" to="" 15500="" seconds,   ="" where="" t.fiscper='2015010'   ="" 2="" seconds="">

    -leave off the table, fill it with the same data-online narrowed to max 500 seconds of response time

    The solution: these two SYSTEM parameters setting to false:

    the '_optimizer_squ_bottomup' value = FALSE;

    the '_optimizer_use_feedback' value = FALSE;

    Where t.fiscper > = '2015010' and t.fiscper <  '2015011'  ="=">data for October: no data is ==> 2.  Where t.fiscper = '2015010'

    Only the definition as session settings does not work!

  • The page view state has expired due to inactivity.

    Hello

    I'm trying to settle my portal application, especially in the size of the log.

    Is it possible to prevent the error message "ADF_FACES-30108: the page view state has expired due to inactivity."  Reload the page"appear in the newspaper?

    Thank you

    Ricky

    Hello.

    You can prevent it with a Servlet filter.

    http://www.Ateam-Oracle.com/tips-on-dealing-with-the-session-time-out-popup/

    Kind regards.

  • Reg - way to remind the previous view state?

    Hello

    I have the following requirement:

    In mobile application, the home screen has a text control input and button. Text input will contain a service URL (value supplied at run time), when the button is clicked, the URL (specified in the text box) will be executed using the HTTPService component. The resulting value will be bound to a list item. Next view (see details) will be launched on the selection of the list item with the value of selectedItem. The details view has 'Back' button, press the button "return" the view House will be launched. Launch of view of the House from the view of details that I need to maintain previous state (resulting value) as it is. How can I implement this?

    Note: I don't want to let the user make a contribution and a fire department to each return back to "view details".

    I just tried and can able to pass and return the value of the URL with "navigator.poppedViewReturnedObject", but it requires needs to pull a new HTTPservice launch "Home view" of "show details". How to overcome this? or am I understood wrongly?

    Can you help me with your knowledge and your experince?

    Thank you and best regards,

    Mathon

    Hi Mathieu,

    You can use the persistence Manager.

    If I understand you correct. These links can help you achieve what you want.

    http://help.Adobe.com/en_US/Flex/mobileapps/WSb0a29bf92525419c-54dd253312afbec3ecb-8000.ht ml

    http://cookbooks.Adobe.com/post_Simple_data_persistence_in_a_Flex_4_5_mobile_appli-18856.h tml

    hope this helps

    see you soon

  • Text on the multi-state object disappears in Adobe Content Viewer

    I use InDesign CS5 to build folios for a tablet device. I created a slide show using a multi-state object. Also, I placed the text on top of the top image to indicate that it is a slide show. When I go to the Overlay creator to see a preview of the page in the Adobe, the text on the slide show content viewer disappears. Why is this happening?

    Guessing from your description, the text should be part of the first State of the ASM, and it isn't. You can add it to the first State via the MSO Panel.

  • the SQL statements used to create views

    Hello
    How can I see the full text (with table) to create a sql view:
    SQL> select text from dba_views where rownum=1;
    
    TEXT
    --------------------------------------------------------------------------------
    select "LIB_IDX","LIB_NAME","VENDOR_NAME","PROTOCOL_NUM","VERSION_NUM","PATH_NAM
    Thank you.

    Try the following in the SQL * faster before executing the SQL statement:

    SET LONG 1000
    

    If this does not work, increase it if necessary.

  • Logging has no SQL statements using the view system

    Hello

    We would like to improve our logging of errors of logging of sql statements failed.
    in other words, when a user does something in our system that generates a sql error.
    We want to connect to the corresponding sql statement.

    to do this, we need a way to get this statement by using a sql query.
    is there perhaps something like a point system with the sql statement failed where
    I can just go get the last being?

    would be very happy for some advice.

    Yes, you need to activate the first check. Checkout:

    http://www.Oracle-base.com/articles/10G/Auditing_10gR2.php
    http://www.tiplib.com/183/enable-auditing-Oracle-database

  • Difference between the view and the materialized view

    Hi all

    Can someone tell me exactly the difference between the view and materialized views?

    Hello

    View:-this is a virtual table means table is there, but in fact is not there...
    see how to create a view...

     create or replace view aaa as select * from emp; 
    

    Now, when we choose the AAA, he will show me all the data that would be returned by running a query "Select * from emp"... Thus, all data will come from table iteself.
    View in itself is nothing but just a Sql statement that is used to create the view, in this case definition is "select * from emp.
    Any update in the database table Emp which is in our case, would automatically result in the view...
    Any changes (all dml) will actually update the base table (conditions apply *)

    Now the materialized view:-this is the same as except that it is not a virtual table... This will be created separately and it will acutally hold the result of the query that is used to create it. Any subsequent changes in the base table only will be included in the opinion of M M view is refreshed...

  • I can't uncheck the holiday in the United States and so I can no longer see my events?

    I had a problem syncing my calendar Pro Macbook and looking for a solution I opened the window on the toolbar.  I noticed "Holidays in United States" was not checked, so I checked it.  Now my calendar shows only the holidays and no event.  I tried unchecking it, but it won't let me.

    When I left calendar and reopen it opens with all my events and then quickly returns to vacation in the United States calendar and I see nothing else.

    There is no list on the left side.   I am running with the latest version of El Capitan.

    TOPCOP,

    Where exactly did you check "vacation in the United States? There is a choice of the user in calendar > Preferences... > general > "see holiday calendar the" selection.

    In order to view the list, select Calendar > view > 'Show calendar list.'

    It may also be useful to select/Disable-choose "show all the events of the day."

  • Buy iPhone 6s in the United States for use in other countries

    Hello!

    I'll buy the iPhone 6s in the United States for use in Russia. What problems can apear while using in Russia? I'll use it in Russia so I need of the Russian company. If I buy iPhone 6s SIM-free what will be its real price (without a contract with the USA carrier)? I'll be able to use this iPhone with no problems (upgrate problems, no problem).

    Thank you.

    Best regards

    Lily

    Hi Lily,

    First of all, you can not buy a "SIM-free" iPhone, that would not work. You can buy an iPhone without a contract. You can view your options pricing here: http://www.apple.com/shop/buy-iphone/iphone6. As you can see, the iPhone 6s will leave $ 649 without a contract or a payment plan. Your iPhone will be much anointing in Russia, as long as you have the appropriate adapter and a Russian company or international service plan. With respect to the upgrade, it may be possible to sell your phone for an upgrade, however this is dependent on the carrier you choose.

  • Email attachments-JPG PHOTOS - Cnnot transferred to the Viewer.

    I opened the photos in the body of my email and a box popped up as I started IMAGE transfer who asked if I wanted to use the easy batch transfer of Firefox photos. I clicked on ok. but now when I record (it is a firefox-htm document) to the image viewer a fIrefox ICON appears in the viewer instead of the photo and when I click on that it opens in a tab separated to the ASCI script!

    Also/ when I do transfer a good photo to email to friend it cannot be opened.  HOW DO I DISABLE THIS MALFUNCTIONING UTILITY?
    

    This has happened

    Each time Firefox opened

    Is Friday, June 5-10

    Hello

    I tried again,after posting my complaint, and saw that when saving to PICTURES the file type was jpeg and went right in as a photo. I don't know why it changed back from the htm. I installed the other day photo-fun studio for a new panasonic camera and did notice that browser plus was installed too. I did'nt know what it was for. i'll see about deleting it maybe though everything is working now.
                                  Thanks.
    
  • Where is the synchronization state of DSL on R7000

    As the title says, ive got it miss even if it seems that Ive looked everywhere. I can't find the page of synchronization of ADSL line?

    You sure have a R7000? It doesn't have an ADSL modem. It's a pure router.

    You can have a D7000. In this case, the stats of ADSL must be on the "view statistics" page, accessible from the advanced homepage.

  • X 64 Vista - Home Premium SP2 - game Second Life-need to create 2 folders to destination AppData or separate directories for the Viewer 1.23 and 2.2 caches

    I'm not a developer or a tech: only second life 1.23 is loaded on the computer – no productivity software. I need to create 2 folders to separate destination (or directories) to the SL Viewer 1.23 and Viewer 2.2 caches.  Right now the 1.23 cache is stored in the folder AppData/Local.  When 2.2 is downloaded, it will not replace 1.23, but things & Stuff Blog of Nalates Wordpress (also a contributor to regular Forum SL) recommend to around 2.2 to another 'file' or 'directory' cache (before the opening of 2.2 for the 1st time) to prevent the inventory and avatar problems loading again (when I had 2.1 load on the computer with 1.23) when I switch using the Viewer 1.23 and Viewer 2.2.  I don't know how to do this, but reading the wiki in Second Life in caches that directed me to the website of Microsoft, it seems that I need to get/use one command Linkd.exe which is part of the Windows Server 2003 Resource Kit Tools - but a note on the site of Microsoft for the Kit, under requirements of the States that the Kit is not supported supported on 64-bit platforms.  What to do please?  TY

    Hello

    a. go to the Preferences tab which displays your location of the cache.

    b. click on the 'Browse' (viewer 2.0) or the button "Set" (Viewer 1.23), create a new folder in a convenient (for example on your desktop) and select the folder to be your new location of the cache. Relog.

    c. This will give you a nice clean cache folder and do delete everything out of it easier in the future. If you use 3rd party clients, such as the Kirstens display, you might want to give them a separate folder, if they themselves (for example, Kirstens viewer uses "s20 C:\Users\yourusername\AppData\Local\Kirstens")

    Azeez Nadeem - Microsoft Support [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

Maybe you are looking for