Default view state of portlets

How can i specify the default view state of portlets. I want to set the portlet state as view everytime when page loads. Currenlty weblogic loads the last portlet state.
Iam using weblogic 10.3 portal and also enabled Asynchronous desktop rendering feature.

Hello,
I'm not sure what you mean by "when page loads"-- if every time the page refreshes you reset the portlet state, you would never be able to use any portlet states other than "view". However, if you wanted to change the state every time the page very first time the page becomes "visible", the easiest way to do this would be to have the portlets listen for the onWindowActivation event, and reset their state to "view" when you receive this event.
Kevin

Similar Messages

  • SSRS 2012 Problem understanding View State Validation steps

    Hi,
    ***** Note I have put my question on Bold to make it easier****
    I am trying to Implement this solution on our systems and need help on how to set it up ?
    Pasted from 
    http://technet.microsoft.com/en-us/library/cc281307.aspx?lc=1033
    How to Configure View State Validation
    To run a scale-out deployment on an NLB cluster, you must configure view state validation so that users can view interactive HTML reports. You must do this for the report server and for Report Manager.
    View state validation is controlled by the ASP.NET. By default, view state validation is enabled and uses the identity of the Web service to perform the validation. However, in an NLB cluster scenario, there are multiple service instances and web service
    identities that run on different computers. Because the service identity varies for each node, you cannot rely on a single process identity to perform the validation.
    To work around this issue, you can generate an arbitrary validation key to support view state validation, and then manually configure each report server node to use the same key. You can use any randomly generated hexadecimal sequence. The validation algorithm
    (such as SHA1) determines how long the hexadecimal sequence must be.
    1.
    Generate a validation key and decryption key by using the autogenerate functionality provided by the .NET Framework.(Well, how to generate Validation key using .Net Framework?)
    In the end, you must have a single <machineKey> entry that you can paste into the Web.config file for each Report Manager instance in the scale-out deployment. 
    The following example provides an illustration of the value you must obtain. Do not copy the example into your configuration files; the key values are not valid.
     Copy Code
    <machineKey validationKey="123455555" decryptionKey="678999999" validation="SHA1" decryption="AES"/>
    2.
    Open the Web.config file for Report Manager, and in the <system.web> section paste the <machineKey> element that you generated. By default, the Report Manager Web.config file is located in \Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting
    Services\ReportManager\Web.config.
    3.
    Save the file.
    4.
    Repeat the previous step for each report server in the scale-out deployment. 
    5.
    Verify that all Web.Config files in the \Reporting Services\Report Manager folders contain identical <machineKey> elements in the <system.web> 
    Does the key generate using above generates the key with same element ?
    Any help on this would be appreciated .
    Thank you !
    Thanks

    Hi SQL_Help:
    Per my understanding that you have some question with the steps descript about "How to Configure View State Validation", you don't know how to generate Validation key and also not clear if all the Web.Config files will add the same
    code, right?
    We have many method to generate the validation key,details information below for your reference:
    Generate either from the machineKey generator utility from
    http://aspnetresources.com/tools/keycreator.aspx or  your very own utility or from this link: http://www.eggheadcafe.com/articles/GenerateMachineKey/GenerateMachineKey.aspx
    We can add some code to generate the key, details steps and sample code in article below for your reference:
    How to create keys by using Visual C# .NET for use in Forms authentication
    We should add the same code which include the generated key in all the web.config file in each server node. 
    More Details information you can reference to the rticle below:
    https://msdn.microsoft.com/en-us/library/ff649308.aspx
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • SSRS 2008 R2 Problem understanding View State Validation steps

    Hi,
    Sorry, but I have some problem understanding this steps. Please help me to understand this. 
    Pasted from
    http://technet.microsoft.com/en-us/library/cc281307.aspx?lc=1033
    How to Configure View State Validation
    To run a scale-out deployment on an NLB cluster, you must configure view state validation so that users can view interactive HTML reports. You must do this for the report server and for Report Manager.
    View state validation is controlled by the ASP.NET. By default, view state validation is enabled and uses the identity of the Web service to perform the validation. However, in an NLB cluster scenario, there are multiple service instances
    and web service identities that run on different computers. Because the service identity varies for each node, you cannot rely on a single process identity to perform the validation.
    To work around this issue, you can generate an arbitrary validation key to support view state validation, and then manually configure each report server node to use the same key. You can use any randomly generated hexadecimal sequence.
    The validation algorithm (such as SHA1) determines how long the hexadecimal sequence must be.
    Generate a validation key and decryption key by using the autogenerate functionality provided by the .NET Framework.
    (Well, how to generate Validation key using .Net Framework?) In the end, you must have a single <machineKey> entry that you can
    paste into the Web.config file for each Report Manager instance in the scale-out deployment.  
    The following example provides an illustration of the value you must obtain. Do not copy the example into your configuration files; the key values are not valid.
    Copy Code
    <machineKey validationKey="123455555" decryptionKey="678999999" validation="SHA1" decryption="AES"/>
    Open the Web.config file for Report Manager, and in the <system.web> section paste the <machineKey> element that you generated. By default, the Report Manager
    Web.config file is located in \Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Web.config.
    Save the file.
    Repeat the previous step for each report server in the scale-out deployment. 
    (Do I need to repeat all 3 previous steps?)
    Verify that all Web.Config files in the \Reporting Services\Report Manager folders contain identical <machineKey> elements in the <system.web> section.
    Thanks

    Jerry,
    Thanks for the reply.
    From the above View State Validation Steps,
    For 1st step , how to generate validation key using .Net Framework?
    for 4th step, Do I need to repeate all 3 previous steps?
    Thanks
    Kp

  • Default Views are not listed in Community Prefs of  WorkList Item portlet

    I have created some custom views and presentation. I have imported them and deployed them.
    But when I go to edit the community prefs to set the default view, I do not see the custom views I had imported.
    I am using ALIP 1.5
    AnyIdeas why I am not able to see or how I can set it to be visible.

    The custom views will only display views in your roles. If it does not show up in your navigation portlet, it won't show up in custom views.

  • JSF Portlet default view (FacesPortlet)

    If we are creating a JSF based portlet using Sun's JSF RI and jsf-portlet bridge, then in portlet.xml we define this:
    {color:#0000ff}
    <portlet>
    <portlet-name>myPortlet</portlet-name>
    <portlet-class>
    com.sun.faces.portlet.FacesPortlet
    </portlet-class>
    <init-param>
    <name>com.sun.faces.portlet.INIT_VIEW</name>
    <value>/default.jsp</value>
    </init-param>
    </portlet>{color}
    But in faces-config.xml, we define our navigation using navigation-cases, like this:
    {color:#008000}
    <!-- Global Error -->{color}
    {color:#0000ff}
    <navigation-rule>
    <navigation-case>
    <from-outcome>exceptionNavigation</from-outcome>
    <to-view-id>/error.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>{color}
    What I'm trying to do is this:
    I want to programmatically access the navigation rule which references the default view.
    I can fish out the INIT_VIEW value using:
    {color:#0000ff}
    String initView = application.getInitParameter(com.sun.faces.portlet.LifecycleImpl.INIT_VIEW_PARAMETER);{color}
    But this returns me the actual jsp name, ie: {color:#0000ff}/default.jsp{color}
    This means I cannot use faces to navigate to it, like this:
    {color:#0000ff}
    application.getNavigationHandler()
    .handleNavigation( context, null, initView );{color}
    As the navigation model is core to JSF, would it not be better for FacesPortlet to require, in portlet.xml,
    a global navigation-case rather than just a jsp page?
    This would apply to EDIT_VIEW, HELP_VIEW, etc.
    In order to implement the functionality I want, I have to specify my default or INIT_VIEW page twice, once in portlet.xml and a second time in faces-config.xml. What is more, I cannot use this as independent code, because I have to know or prescribe the navigation-case containing the default/initView to the user of the code:
    {color:#0000ff}
    <navigation-case>
    <from-outcome>com.sun.faces.portlet.INIT_VIEW</from-outcome>
    <to-view-id>/default.jsp</to-view-id>
    </navigation-case>{color}
    Regards,
    Stewart
    PS: How do I display code correctly using this editor?

    I have answered my own question. This is how to programmatically access the INIT_VIEW jsp in this situation:
    ExternalContext econtext = context.getExternalContext();
    String initViewId = (String) econtext.getRequestMap().get(
    (String) econtext.getRequestMap().get(
    com.sun.faces.portlet.LifecycleImpl.INIT_PARAMETER ));
    UIViewRoot viewRoot = context.getApplication().getViewHandler().createView(context, initViewId);
    context.setViewRoot(viewRoot);
    context.renderResponse();
    It the viewId IS the jsp name, and navigation can be achieved directly on the jsp name using the ViewHandler class. This is what the NavigationHandler does, under the bonnet (sorry, hood).
    Give myself a Duke Star!
    :-)

  • SOLVED: Limit default view with Multiple non-destructive filters mode

    This was solved:
    I deleted the { subPaths: "word" } within my dataset. The dataset was pulling and displaying the subpath content which I don't need.
    ==================================================================
    Hi,
    I’m using the Multiple Filters Mode Sample to filter headlines in my xml file by the keywords associated with them.
    My question is, with no filters selected, how do you display only one headline for the default view? So, instead of the <headline> node repeating itself for every keyword within that node, it just displays one headline. I just want to display only one headline instead of repeating the headline based on the amount of keywords associated with it.
    If you view the donut example given a donut is displayed for every topping associated with it.
    I’m not as experienced with JS but I thought that if I create an array of all the possible keyword combinations and then use an if-then to display just one combination then it might work. The problem is that the amount of keywords will grow with time. I might amass 15-20 keywords in the next month, so an array might not be practical.
    Also, my “Remove All Filters” doesn’t work. The debugger is giving me an error that states: ‘documents.forms.0.noneCB’ is null or not an object -This would mean that the checkbox has not been selected is this correct?
    I’ve included the code and my xml data below. Any assistance would be greatly appreciated!
    <html>
    <head>
    <script language="JavaScript" type="text/javascript" src="/SpryAssets/xpath.js"></script>
    <script language="JavaScript" type="text/javascript" src="/SpryAssets/SpryData.js"></script>
    <script language="JavaScript" type="text/javascript" src="/SpryAssets/SpryDataExtensions.js"></script>
    <script type="text/javascript">
    <!--
    var dsHeadlines = new Spry.Data.XMLDataSet("headlines_test.xml", "/headlines/headline", { subPaths: "word" });
    function ffNone(ds, row, index){ return (row.word == "None") ? row : null; };
    function ffJudicial(ds, row, index){ return (row.word == "Judicial leadership") ? row : null; };
    function ffProBono(ds, row, index){ return (row.word == "Pro bono") ? row : null; };
    function ffHearings(ds, row, index){ return (row.word == "ATJ hearings and events") ? row : null; };
    function ffCreation(ds, row, index){ return (row.word == "ATJ entities creation and structure") ? row : null; };
    function ToggleFilter(enable, f)
                if (enable)
                            dsHeadlines.addFilter(f, true);
                else
                            dsHeadlines.removeFilter(f, true);
    function RemoveAllFilters()
                document.forms[0]["noneCB"].checked = false;
                document.forms[0]["judicialCB"].checked = false;
                document.forms[0]["probonoCB"].checked = false;
                document.forms[0]["hearingsCB"].checked = false;
                document.forms[0]["creationCB"].checked = false;
                dsHeadlines.removeAllFilters(true);
    -->
    </script>
    </head>
    <body>
                <div class="liveSample" style="float: left; margin-bottom: 4px;">
                <form action="">
                <p>Select any of the following:</p>
                <ul style="list-style:none">
                    <li><label><input name="noneCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffNone);" />None</label></li>
                    <li><label><input name="judicialCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffJudicial);" />Judicial leadership</label></li>
                    <li><label><input name="probonoCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffProBono);" />Pro Bono</label></li>
                    <li><label><input name="hearingsCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffHearings);" />ATJ hearings/events</label></li>
                    <li><label><input name="creationCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffCreation);" />ATJ entities: creation and structure</label></li>
    </ul>
                <p><label>Filter Mode: <select onchange="dsHeadlines.setFilterMode(this.value, true);"><option value="and" selected="selected">-- AND --</option><option value="or">-- OR --</option></select></label>
                <input type="button" value="Remove All Filters" onclick="RemoveAllFilters();" /></p>
                </form>
                </div>
                <div spry:region="dsHeadlines">
                    <table>
                        <tr><th>Title</th><th>Date</th><th>State</th></tr>
                        <tr spry:repeat="dsHeadlines"><td valign="top"><a href="{hyperlink}">{title}</a><p></p></td><td valign="top">{date}</td><td valign="top">{state}</td></tr>
                    </table>
                </div>
    </body>
    </html>
    <?xml version="1.0" encoding="UTF-8"?>
    <headlines>
      <headline>
        <id>1</id>
        <title>
          <![CDATA[Save the date! 2009 National Meeting of State Access to Justice Chairs will take place in Orlando in Saturday, May 16, 2009. Invitations will be mailed out in late January.]]>
        </title>
        <hyperlink>
          <![CDATA[http://www.abanet.org/legalservices/sclaid/atjresourcecenter/annualmeeting.html]]>
        </hyperlink>
        <state>FL</state>
        <date>20090516</date>
        <word id="0001">None</word>
      </headline>
      <headline>
        <id>2</id>
        <title>
          <![CDATA[ABA Day in Washington. ABA Day legislative visits on April 21-22 will focus solely on access to justice issues. Register and receive materials, training, and schedule of events free before March 14 at: http://www.abanet.org/poladv/abaday09/.]]>
        </title>
        <hyperlink>
          <![CDATA[http://www.abanet.org/poladv/abaday09/]]>
        </hyperlink>
        <state>DC</state>
        <date>20090421</date>
        <word id="0002">Pro bono</word>
        <word id="0004">ATJ hearings and events</word>
        <word id="0005">Judicial leadership</word>
      </headline>
      <headline>
        <id>3</id>
        <title>
          <![CDATA[North Carolina Bar Association and North Carolina Bar Association Foundation host second annual 4ALL Statewide Service Day ask-a-lawyer event at five call centers around the state. (3/6/2009)]]>
        </title>
        <hyperlink>
          <![CDATA[http://www.4allnc.org/]]>
        </hyperlink>
        <state>NC</state>
        <date>20090306</date>
        <word id="0002">Pro bono</word>
      </headline>
      <headline>
        <id>4</id>
        <title>
          <![CDATA[Wyoming Access to Justice Commission holds its first meeting. (2/27/2009)]]>
        </title>
        <hyperlink>
          <![CDATA[http://www.nlada.org/DMS/Documents/1236184561.24/AJC%20Appointing%20Order%202009.pdf]]>
        </hyperlink>
        <state>WY</state>
        <date>20090227</date>
        <word id="0003">ATJ entities creation and structure</word>
      </headline>
      <headline>
        <id>5</id>
        <title>
          <![CDATA[Tennessee’s Supreme Court launches Access to Justice Campaign with the first in a series of public hearings. (2/26/2009)]]>
        </title>
        <state>TN</state>
        <date>20090226</date>
        <word id="0003">ATJ entities creation and structure</word>
        <word id="0004">ATJ hearings and events</word>
        <word id="0005">Judicial leadership</word>
      </headline>
    </headlines>

    1) I deleted bridge-utils, netcfg
    2) I edited /etc/hostapd/hostapd.conf:
    interface=wlan0
    #bridge=br0
    edited /etc/dnsmasq.conf:
    interface=wlan0
    dhcp-range=192.168.0.2,192.168.0.255,255.255.255.0,24h
    and edited /etc/rc.local:
    ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
    ifconfig wlan0 up
    3) I added in autostart these daemons: hostapd, dnsmasq and iptables.
    Profit!

  • With As subquery block in create view statement or In pl/sql block

    Hi All,
    Can I use the With as subquery block in create view statement??
    or in pl/sql
    -Thanks
    Edited by: xwo0owx on Mar 31, 2011 11:23 AM
    Edited by: xwo0owx on Mar 31, 2011 11:23 AM

    Hi, Mike,
    Dird wrote:
    Then why do I get an error? :s create view mike_test_view as    
    with carriers as(
    SELECT DISTINCT T0.CARRIER_SHORT_NAME carrier_name,
    T1.COMP_ID            carrier_id
    FROM CS2_CARRIER T0, USER_FUNCTION_QUALIFIER T2, CS2_COMP_SERV_PROV_PROF T1
    WHERE (((T1.SERV_PROV_ID = T2.QUALIFIER_VALUE) AND
    ((T2.FUNCTION_CODE = 'DOC_CCM') AND
    (T2.QUALIFIER_CODE = 'CARRIER_LIST'))) AND
    (T1.SERV_PROV_ID = T0.SERV_PROV_ID))
    ORDER BY T0.CARRIER_SHORT_NAME)
    select *
    from carriers c;ORA-00942: table or view does not exist -- carriers
    If I run every line but the create (just execute the query) it runs fine. It also works fine in a PL/SQL procedure.SQL*Plus abhors a vacuum.
    The default in SQL*Plus is that you can not have a completely blank line (that is, a line containing only white space) in the middle of a SQL statement. (Blank lines are okay in PL/SQL, including SQL statements embedded in PL/SQL.)
    If you want some space between the end of the WITH clause and the beginning of the main query (or anywhere else, for that matter), you can put comments there. For example:
          ORDER BY T0.CARRIER_SHORT_NAME)
         select *
           from carriers c;Now that line isn't just whitespace; it has the comment sign, and that's enough for SQL*Plus.
    You can allow completely blank lines with the SQL*Plus command:
    SET   SQLBLANKLINES  ON

  • LMS 3.2 - LMS Portal -- How to set 'My Portal' View as Default-View?

    Hi all,
    LMS Portal comes up with three default views (My Portal, CiscoWorks Portal, LMS).
    As within My Portal it is possible to change layout and sorting, I would like to set this view as
    the default view comming up at login.
    How can this be configured?
    Actually LMS View comes up.
    Thanks for any feedback

    You have to add the portlet Ciscoworks Admin to your portal
    With this portlet you can set the default view
    Add portlet -> Ciscoworks -> Other -> Ciscoworks Admin
    Cheers,
    Michel

  • View State Animations & the Back button (on Android)

    Hello, everyone!
    Is it possible to animate between view states when developing for mobile devices (like Android)?
    And if so (and the bigger question for me), when you transition from one state to another, can you use the Back button on the Android device to transition back to a previous state?

    Hi, Jason,
    First and foremost, thank you for your timely response, and for your well-received advice!
    After reading the posts from the MAX Beta link your provided, it is my understanding that if you disable the default back button handling, that the button itself would no longer function in the application.
    I still want to use the back button, but I want to add the back button's popView function to states as well as Views.
    If I missed anything, please let me know.
    And thank you, once again!
    PS-I don't know if this makes a huge difference, but I'm using the latest pre-released version of Flash Builder 4.5 with AIR 2.6 (released 2 weeks ago).

  • HT5093 Default view for 3D Model in iBook - Is it possible yet?

    Anyone at Apple found an answer yet?
    The camera does not work when using Sketchup export collada.
    I found this out when iBooks first appeared.
    The view of the item is different to one set in Sketchup. With or wothout a camera.
    I cannot set it using a camera so that iBooks reads/understnads the collada file, even though Apple's states  to use a camera, on its web page 3D help for collada in iBooks.
    The default view in ibook is not changeable or settable after using a 3D model in ibooks.
    I've tried other progams too, to preset the oinitial view, and even tried to edit the code manually.
    I hoped OSX update would provide a solution but no.
    C'mon guys - a little code fix would help a lot.

    I ran into the same problem this morning and created this work-around. It's irritating but until Apple fixes this a little cheat is in order: http://sketchup.google.com/3dwarehouse/details?mid=de262856580e80834b892bc5603ca b56
    best,
    Stephen

  • Restore View State does not restore bean's internal variables

    Hi,
    In the Restore View State a new instance of the bean (in usage) is created and UI-component tree is restored.
    My problem is that i need to acces to the internal variables of the (old) bean, and they are not being restored to the new bean.
    In my case, I have a variable that is accessed in the submit-button action function, but this funciton is called by the new bean (where internal variables were not restored).
    Can anyone help me?
    thanks,
    portela

    I have never used x:saveState, juste read some information in the myfaces forum (I suggest to have a look at this forum, some useful information should be found there).
    In your web.xml, have you configured the save state on the server or on the client?
    <context-param>
    <description>
    State saving method: "client" or "server" (= default)
    See JSF Specification 2.5.2
    </description>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>

  • DPS analytics - can you get separate view stats for online html views vs ipad views?

    Hi All,
    New to DPS and reporting usage stats to a client and wanted to know if you can separate out views stats from readers who have viewed the publictaion on an iPad vs thos who have viewed it via HTML ( on a laptop/desptop etc).
    Thanks

    No with the default baseline analytics, Yes if you have an Omniture Site Catalyst account which does the advanced reporting. More on Site Catalyst reporting http://download.macromedia.com/pub/developer/dps/analytics-report/dps-analytics-report-gui de.pdf

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

    Hi,
    I am developing a utility for multiple file upload. I am getting some error here. First i want to explain my case.
    I am using JDeveloper 11.1.1.7,
    InputFile Properties:  maximumFiles="150"    uploadType="auto"
    web.xml change:  org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE =5368709120   (For 5GB)
                                    org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY = 5368709120
                                    org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN = 3
                                    session time out = 30 minute   
    Here when i am uploading upto 5 files its working fine but when i am selecting more than 15 files its always coming 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 files(Small files in KBs) is taking 15-20 sec to upload, what configuration required for this error. Take a look Timo Hahn
    Thanks and Regards
    Maroof Ahmad

    Hi All,
    Finally i resolved my issue   for my case and working fine. Thanks Timo Hahn for kind help .
    Solution made by below changes.
    1. You should use valueChangeListener on inputFile for
    2.Changes in web.xml
    Changes in web.xml
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
    </context-param>
    <context-param>
        <description>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.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
    <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
    <context-param>
        <description>Here Values is in bytes for file upload. This is for 5GB</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
        <param-value>5368709120</param-value>
      </context-param>
    <context-param>
        <description>Here Values is in bytes for file upload. This is for 5GB</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
        <param-value>5368709120</param-value>
      </context-param>
      <context-param>
        <description>Session Time out solution 3600 here</description>
        <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKEN</param-name>
        <param-value>4000</param-value>
      </context-param>
    <context-param>
        <description>"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.</description>
        <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
        <param-value>all</param-value>
      </context-param>
    <context-param>
        <description>The &lt;uploaded-file-max-disk-space&gt; 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.</description>
        <param-name>org.apache.myfaces.trinidad.UPLOAD_TEMP_DIR</param-name>
        <param-value>/tmp/TrinidadUploads/</param-value>
      </context-param>
    For detail configuration of trinidad see  APACHE MYFACES TRINIDAD
    If your are using large size file then you also increase Java heap size other wise you may get Out Bound Memory
    Maroof

  • How to refresh/restore VIEW STATE of a JSF component?   urgent help needed!

    AOA guys,
    I am using Jboss 4.0.5, JSF 1.1.2 and DOJO framework to handle ajax request.
    In my project, I am using A4J hidden fields to store values associated with an html anchor tag and use these values to update <h:outputText> dynamically (an ajax request).
    But when i click that anchor link a more than 15 times the message appears as a prompt that view state couldn't be restored - reload page.
    I think it is because that in JSF 1.1 default value of
    om.sun.faces.NUMBER_OF_VIEWS_IN_LOGICAL_VIEW_IN_SESSION is 15, So i can't store more than 15 View Id of JSF components.
    My Question is:
    _Without shifting to JSF1.2, how can i handle this restore view problem in my Java Code using phase listener or some other way so that if this view state problem will occur it atomatically restore the view ids?_
    Please reply me soon?

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5229804

  • How to change the default view of published iCal's URL

    I am publishing an iCal for a nonprofit group and link to the calendar from the group's website. The default URL given (in the send publish email option) leads to the week view of the current week. I would prefer the link to take site visitors to the month view of the calendar. If I go to the month view and copy the URL for it, and use that for the link, I have to change the URL each month, because the URL that comes from the month view will only show the month it was at the time I copied the URL -- it will not change with the new month. Does anyone have any idea of how I can change the URL so that it leads to the month view of whatever the current month is?
    I should note that I know how to change the default view in the my browser, but I would rather not have to explain how to do this to all the people viewing the calendar -- just wanting the correct month view to show up when they click the link, without having to change it each month.
    I would be so grateful if anyone has some insight on this!
    Thanks.

    Carlo,
    The fact that this question has been left unanswered for over 2 months seems a little negligent on the part of Apple Support.
    This Forum is unfortunately not Apple Support. According to Apple:
    What is Apple Discussions and how can it help me? 
"Apple Discussions is a user-to-user support forum where experts and other Apple product users get together to discuss Apple products. You'll find a wealth of information about your favorite Apple hardware and software products that will help you get the most out of your purchase. You can participate in discussions about various products and topics, find solutions to help you resolve issues, ask questions, get tips and advice, and more.
    If you have a technical question about an Apple product, be sure to check out Apple's support resources first by consulting the application Help menu on your computer and visiting our Support site to view articles and more on our product support pages."
    In direct response to your questions, I would say that (as observed by the OP) anyone who subscribes to a published calendar can make a change to their desired view using the "Preferences" icon which is displayed underneath the mini-month calendars.
    There is no way that I know of to directly or conveniently change the time-range. There may be workarounds, but I could not find a suitable solution for you.
    I would recommend that you provide iCal Feedback, if you are interested in informing Apple of your desires.
    ;~)

Maybe you are looking for

  • My story with suspended account

    Please note that I am using another account (NOT the suspended one) to post this message. I have been using skype account for about 10 years. I used it every week, sometimes every day. I am not using the free services. I pay regularly since I have sk

  • Exchange 2010 - Decommissioning Exchange 2007 Coexistence and Removal of Public Folders

    We are about to decommission exchange 2007, currently in coexistence with Exchange 2010. We do not want to use ANY public folders in exchange 2010 going forward. Will do this after decom of 2007: http://technet.microsoft.com/en-us/library/dd876883(v=

  • Photoshop elements 12 do not open nef files from Nikon D610 , help please

    photoshop elements 12 won't  open nef files from Nikon D610 , I have to use DNG converter to openfiles on my elements 12, help please Thank you Ptrebor [email protected]

  • How to make dual illuminant profile in DNG profile editor?

    I have just started working with the DNG Profile Editor.  In another discussion I commented on the clarity of the instructions provided by the tutorial.  I had no difficulty creating a single illuminant profile using the X-Rite color checker passport

  • Very strange backlight issue

    I have a 600mhz (16 VRAM) iBook that I'm trying to fix for a friend. It has a strange backlight issue. Everytime the ibook is started, it chimes, and shows the screen (bright and perfect), but as soon as 9.2 starts to load, the backlight goes out. It