Message ADF

Hi. I am wanting to use the RequestDispatcher invalid after one session. The page you want to shoot soon after the invalidation is login.jspx .. And in the faces config already exists navigating pages. See my code:
public String logout () (
FacesContext FacesContext = FacesContext.getCurrentInstance ();
HttpSession session = (HttpSession) facesContext.getExternalContext (). GetSession (false);
session.invalidate ();
HttpServletRequest request = (HttpServletRequest) ctxt.getExternalContext (). GetRequest ();
HttpServletResponse response = (HttpServletResponse) ctxt.getExternalContext (). GetResponse ();
request.getSession ();
RequestDispatcher dispatcher = request.getRequestDispatcher (login.jspx ");
dispatcher.forward (request, response);
logout return;
When I click the button to go to another page, a page is launched with the following message ADF:
*"Because of inactivity, your session Has timed out and is no longer active. The page*
Will Be Automatically reloaded in 10 seconds; if not, click here "
I want the page to load without it .. Can anyone help? My JDeveloper is 11.1.1.3.0 .
Thanks

Hi Marcos,
This is a bug the API. In thread the Frank explained about solution. See ADFC-00008: Failed to find DataControlFrame for a task flow ?
You can't use :
RequestDispatcher dispatcher = request.getRequestDispatcher (login.jspx ");
dispatcher.forward (request, response);Below the session.invalide use:
try {
            context.getExternalContext().redirect("faces/<the viewId to go to next>");
} catch (IOException e) {
            e.printStackTrace();
}Can you try to do this solution?
Regards[]

Similar Messages

  • 8500A all-in-one coming up with blank scan using ADF

    8500A all-in-one...getting message "ADF misfeed--reload"-etc--feeder is working fine, but light doesn't stay on while document is feeding (sometimes comes on for a second or less at beginning)--end up with blank document.  On occasion (minority of time) feeder has not run, but light came on. 
    Only change to setup is update from HP in last week or two.
    Any suggestions?
    Thanks.

    HI @rcschuhp,
    Welcome to the HP Forums!
    I see that you are getting blank scans when using your ADF feeder with your HP Officejet 8500A, and I am happy to help you with your scanning!
    For further assistance, I will need to know:
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is able to make copies.
    If the printer is connected, Wireless, Ethernet, or USB.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well. 
    In the meantime, please see this guide, Vertical Bands, Lines, or Streaks in Copies, Faxes, or Scans, as it has information on cleaning and maintaining your printer.
    Hope this guide helps, and hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • ADF Mobile: What means ADF-MNC-40035 on WinMobile?

    Hi,
    when running the ADFBC example on WinMobile having set the option "Always" at "Run Database Initialization Script" everthing works fine and the database is recreated at each program start.
    When using the option "If no database" than the message ADF-MNC-40035 is shown. Where to find the meaning of this error message?
    Many thanks,
    Gerd
    Edited by: user467466 on May 10, 2011 7:31 AM

    Can not find the message in the application.
    ADFBC is a test program delivered by Oracle in adfmc_bundle.zip.
    adfmc_bundle.zip\jdev\extensions\oracle.adfnmc.core\Samples\Samples.zip\ADFBC
    Edited by: user467466 on May 16, 2011 1:20 AM

  • Migrating from 10g to 11g

    I migrated our web aplication from 10.1.3.4 to 11.1.1.4 and when I run application I get login page but when user is authuticated and system wants to navigate to another page I get following eception
    Class/Method[line]: com.enlogix.view.security.ENGLPBindingFilter/doFilter[258]
    Id : 10010
    Category : APP ERROR
    Message : (ADF) FAILED to render Page
    CAUSED BY : java.lang.NoClassDefFoundError: oracle/bali/ewt/graphics/Appearance @ weblogic.servlet.internal.ServletStubImpl/execute[341]
    Detail Info : PAGE(http://127.0.0.1:7101/enlogixcis/faces/EnlogixCIS.jspx)
    Calling Stack : weblogic.servlet.internal.TailFilter/doFilter(line:26)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl/_doFilterImpl(line:271)
    org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl/doFilter(line:177)
    org.apache.myfaces.trinidad.webapp.TrinidadFilter/doFilter(line:92)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    oracle.adf.model.servlet.ADFBindingFilter/doFilter(line:205)
    com.enlogix.view.security.ENGLPBindingFilter/doFilter(line:240)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    oracle.security.jps.ee.http.JpsAbsFilter$1/run(line:111)
    java.security.AccessController/doPrivileged(line:-2)
    oracle.security.jps.util.JpsSubject/doAsPrivileged(line:313)
    oracle.security.jps.ee.util.JpsPlatformUtil/runJaasMode(line:413)
    oracle.security.jps.ee.http.JpsAbsFilter/runJaasMode(line:94)
    oracle.security.jps.ee.http.JpsAbsFilter/doFilter(line:161)
    oracle.security.jps.ee.http.JpsFilter/doFilter(line:71)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    oracle.dms.servlet.DMSServletFilter/doFilter(line:136)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    weblogic.servlet.internal.RequestEventsFilter/doFilter(line:27)
    weblogic.servlet.internal.FilterChainImpl/doFilter(line:56)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction/wrapRun(line:3715)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction/run(line:3681)
    weblogic.security.acl.internal.AuthenticatedSubject/doAs(line:321)
    weblogic.security.service.SecurityManager/runAs(line:120)
    weblogic.servlet.internal.WebAppServletContext/securedExecute(line:2277)
    weblogic.servlet.internal.WebAppServletContext/execute(line:2183)
    weblogic.servlet.internal.ServletRequestImpl/run(line:1454)
    weblogic.work.ExecuteThread/execute(line:207)
    weblogic.work.ExecuteThread/run(line:176)
    any idea?

    Thank you Shay. I tried to migrate our application to 11g without choosing Trinidad, when I want to deploy it i get follwoing exception
    eblogic.application.ModuleException: Failed to load webapp: 'enlogixcis'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    there is adf-faces-impl.jar in path when I open its I see following
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.5.3
    Created-By: Apache Maven
    Built-By: asghosh
    Package: oracle.adfinternal.view.faces
    Build-Jdk: 1.4.2_16
    Extension-Name: adf-faces-impl
    Specification-Title: ADF Faces Implementation
    Specification-Vendor: Oracle Corporation
    Implementation-Title: oracle.adfinternal.view.faces
    Implementation-Vendor: Oracle Corporation
    Implementation-Version: 10_1_3_4_0
    it seems it is for app server 10.1.3.4

  • Order rows in TreeTable

    Is it posible to set sortproperty in a TreeTable in ADF?
    I have a viewcriteria, with a order by clause in the query.
    When I fire the query to in the database, I get the rows in the correct order
    The the TreeTable doesn't show the items in the correct order.
    How come?

    hi
    is the sort you want to apply belong to the top level items or to the child items ??
    if of the child items then the view criteria is not executed since in tree component the view accessor link is executed rather than the master-detail relation so you can override the viewlink accessor method to apply the view criteria on it
    this url is helpfull
    [message]ADF tree filtration [message]

  • Custom DB down error message in ADF application

    How to display a user friendly message when back end data base is down?

    Hi Deena,
    you might want to take a look at Crhis Muir's blogpost regarding this issue.
    http://one-size-doesnt-fit-all.blogspot.nl/2010/01/adf-fail-whale-handling-database-is.html
    Regards
    Luc Bors

  • How-to get rid of ADF messages (10.1.3 Production)

    In JDev 10.1.3 Production, how does one get rid of these ADF WARNINGs and NOTIFICATIONs?
    Regards,
    Al Malin
    P.S. Thanks for the release :-)
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdev1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\jdev1013\jdk\bin\javaw.exe -client -classpath C:\jdev1013\j2ee\home\oc4j.jar;C:\jdev1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 9688 ms.
    Target URL -- http://158.52.196.54:8988/gpa-ViewController-context-root/faces/logon.jsp
    06/01/31 13:34:28 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    Jan 31, 2006 1:34:31 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    2006-01-31 13:34:33.390 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:34:33.421 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    2006-01-31 13:34:34.531 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:34:34.578 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:34:55.734 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    Jan 31, 2006 1:34:57 PM com.whirlpool.sjtc.gpa.view.backing.LogonBB logon
    INFO: malinaa logged on
    2006-01-31 13:34:57.640 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:34:57.671 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:35:03.640 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    Jan 31, 2006 1:35:03 PM com.whirlpool.sjtc.gpa.view.backing.SearchBB appListenSearch
    INFO: Search wherePredicate=a.requester_emp_id_key = sjtcapp.emp_id_key_fcn('malinaa') SessionInfo: gpaNbr/userid/PAInfo=null/malinaa/null
    2006-01-31 13:35:04.031 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:35:04.062 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:35:06.515 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    Jan 31, 2006 1:35:06 PM com.whirlpool.sjtc.gpa.view.backing.ProductApprovalBB <init>
    INFO: Constructor. SessionInfo: gpaNbr/userid/PAInfo=100002/malinaa/null
    Jan 31, 2006 1:35:07 PM com.whirlpool.sjtc.gpa.view.backing.ProductApprovalBB populateFormFields
    INFO: Populate - pa.retrieve(). SessionInfo: gpaNbr/userid/PAInfo=100002/malinaa/null
    2006-01-31 13:35:07.687 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2006-01-31 13:35:07.718 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.

    Right my point was this is standard logging and you can control it.
    As it happens the only warnings I get are from com.sun.faces.* - You'll have to ask Sun why they are putting out at that level.
    I don't know why the Filter errors are coming up - that is not normal and suggests that there is a configuration problem
    The particular message:
    006-01-31 13:34:33.421 NOTIFICATION ADF Faces is running with time-stamp checking
    enabled. This should not be used in a production environment. See the
    oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xmlWill only happen in the embedded OC4J and will disappear when the app is deployed unless you actively switch the feature on.

  • ADF: showing error message on a validation rule programatically

    Jdeveloper : 11.1.2.2.0
    i m using ADF. i ve a form that contains input text that is binded to a managed bean property.
    that input text value is inserted into an entity attribute.the attribute in the entity has a validation rule.
    i submit the form and in my managed bean i call
    am.getDBTransaction().commit();
    i want when i submit the form and the when the commit is called and throws exception regarding the validation rule,i want to show an error note window same style like this http://oi50.tinypic.com/15fhnpt.jpg
    how can i do that ?
    thanks in advance :)

    Hi,
    i submit the form and in my managed bean i call
    am.getDBTransaction().commit();A strict NO NO for doing this. You add the commit action to the binding and call the execute the commit operation binding programatically.
    i m using ADF.ADF is vast. Be specific on the technologies you use (ADF BC and ADF Faces?)
    that input text value is inserted into an entity attribute.the attribute in the entity has a validation rule.Are you doing something special with the binding you have in bean? If not, why don't you Drag and Drop the VO from the data control directly? (set the af:messages tag to have inline=true).
    -Arun

  • How do I change the language of ADF framework error messages?

    I'm a beginner in ADF and JDeveloper and I tried to run one of the tutorials for ADF (Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces).
    While clicking through the application I got errors like this one:
    ADF_FACES-60097:Pentru mai multe informaţii, consultaţi jurnalul de erori al serverului, pt. o intrare care începe cu: ADF_FACES-60096:Excepţie server în cursul PPR, nr. 1
    My question is how do I set the JDeveloper/WebLogic to show these messages in English (in order to have better chances while searching this forum :) )?
    I'm not talking about messages that I define in my application, but about framework error messages.
    I already set USER_LANGUAGE=en in <JDEV_HOME>\.product.properties, but no luck.
    Note that WebLogic server messages are in English (e.g. <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.>), only ADF messages are presented in Romanian.
    Thanks,
    Bogdan

    I suspect that these messages are considered "system" ones (e.g. not for the user), so they are not generated in the user's locale but in the JVM's default locale. On Windows machines default JVM locale is taken from Windows Regional Settings. If you do not want to change your Regional Settings, you can try Java system properties "user.language" and "user.country". Try to add the following line to WebLogic domain's <tt>setDomainEnv.cmd</tt> script:
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Duser.language=en -Duser.country=USA restrart of the server is required.
    In Bulgaria we do not have such problems because ADF Faces messages do not have Bulgarian translation, so they are generated in English regardless of the fact that our Regional Settings are set to Bulgarian.
    Dimitar
    Edited by: Dimitar Dimitrov on May 3, 2011 7:40 PM

  • ADF 11g : Live messages about status/errors while uploading a Excel file

    Hi,
    Im using ADF 11.1.1.2. In the ADF application, there is a module where the user will upload a excel sheet with lot of data(50,000 lines) in multi sheets. We are validating the data against certain business validations and inserting this data into Database tables once all the validations are successful. In case any validation errors are there we write them into a log file and send it to the user.
    Now the requirement we are stuck with is to show the validation messages/errors on a screen while the upload is in progress. The messages are to be live i.e in case now the code is validating row 10 and there is a error then that error message with row number is to be displayed on the screen and when the validation process continues with row 11, we need to show message saying 'Row 11 validation in process...'.
    thanks,
    Manasa.

    For this you can use a progress bar together with an DefaultBoundedRangeModel where you run the validation in a thread. This thread put the messages somewhere where the UI picks them up.
    On the other side, your requirement is hard to do. I did some math: 50,000 records to validate and you want to show a message for each row; If each message need only a second you end up with more then 12 hours of work. Nobody will stare at the screen for that long. If the validation takes longer then a second it gets worse. If you show the message for less then a second, the user can read it anyway, so you don't need to show a message for every row.
    We do this kind of work in the background. The user has to ask for the progress of the process and can look at errors reported so far. This way the user can do something else even if the job runs for a long time.
    Timo

  • JBO 29114 ADF context is not set up to process messages

    Hi,
    I have created a Rest web service and hosted it on my own IP address..
    I am trying to create a mobile application using the URL data control for the rest service created.
    I get the below error when I do so:
    *"JBO 29114 ADF context is not set to process messages for this exception.Root cause error code is DCA - 50000."*
    The jdev version I am using is 11.1.2.3 and I have created it successfully in Jdev 11.1.1.4.
    Also I have set proxy settings in my HTTP Analyzer and 'Web Browser and Proxy Settings'.
    The proxy seems to work fine and also I have tested the rest service.It seems to be ok.
    Please advice on the error msg.
    Thanks in advance,
    Malathy.

    Malathy,
    as you use a version which is not available to the public (us) I assume that you are an Oracle employee. In this case you should ask this on an internal forum.
    Timo

  • How to resolve the error message "JBO-25009" in ADF table?

    Hi all,
    There is a master detail form in jsff page using adf application. Detail is represented as ADF table. In the adf Table we have 4 primary key, two foreign key from master table.
    Type of primary key in master are Big Decimal and String. When I input value in field of detail, we get error message :
    "JBO-25009: Cannot create an object of type:java.math.BigDecimal from type:java.lang.String with value:AC".
    How to make if I input value in detail table don't show the error message?
    Please let me know if you have any solution for this.
    Thanks.

    Hi Rakesh.
    I don't try insert String into Big Decimal variable. I have adf table with 5 column and 4 primary key. The type of primary key are: 1Big Decimal and 3 String.
    Now, I want to insert data to the table. when I input data to first column (primary key : Big Decimal) is work well and then I want to insert data to second column (primary key : String) with value "AC"
    but when I insert, the error message is show "JBO-25009: Cannot create an object of type:java.math.BigDecimal from type:java.lang.String with value:AC".
    Why the error message is show when I insert data to second column with type String and I have been input data with String value?
    Are the second column is remember of type first column is Big Decimal ?
    Thanks.

  • Error message in adf-faces-config.xml file in myEclipse

    hello,
    i'm trying to customize appearance of my JSF/ADF Faces app (which worked fine until now), and tried to insert a adf-faces-config.xml file in my WEB-INF directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessibility-mode>
    <!-- A silly use of EL: English users get one appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element 'adf-faces-config'
    what does that mean and what should i do ?
    thx...

    hello,
    i'm trying to customize appearance of my JSF/ADF
    Faces app (which worked fine until now), and tried to
    insert a adf-faces-config.xml file in my WEB-INF
    directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config
    xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user
    managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessi
    bility-mode>
    <!-- A silly use of EL: English users get one
    appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the
    following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element
    'adf-faces-config'
    what does that mean and what should i do ?
    thx...Hello again,
    i'm still stuck with this, could somebody PLEASE give me a hint ?
    thx,
    dom.

  • How to set values of a parameterized message in ADF Faces?

    Hi all,
    i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext.
    Contents of the message resource bundle:
    testPage.successMsg.create=The device {0} was created successfully!
    Code within backing bean method:
    String message = getStringFromBundle("testPage.successMsg.create");
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message));
    In Struts/ADF UIX the following code did the job:
    protected void setUIXInfoMessage(HttpServletRequest request, String key, Object[] args)
    MessageData msgs = new MessageData();
    MessageResources mr = this.getResources(request);
    String msg = "";
    if (mr != null)
    msg = mr.getMessage(request.getLocale(), key, args);
    msgs.addMessage(null, msg, null, UIConstants.MESSAGE_TYPE_INFO);
    request.setAttribute(UIX_MESSAGE_KEY, msgs);
    Can anyone help me with this problem? I have searched a lot in the Oracle ADF Development Guide and within forum, but did not find any solution.
    Another interesting thing is, how to set the parameters from jspx-Code.
    How can i achieve the same results in ADF Faces corresponding to the following UIX-Code:
    <boundAttribute name="title">
    <messageFormat format="${nls['deleteTip.confirmation']}">
    <dataObject source="${bindings.TipName}"/>
    </messageFormat>
    </boundAttribute>
    Resource Bundle:
    deleteTip.confirmation=Do you really want to delete the tip {0}?
    Another question:
    What are the corresponding elements in ADF Faces corresponding to <concat> and <if> in UIX or what possibilites exist in ADF Faces to dynamically concatenate strings depending on certain conditions?
    I know, these are many questions. I am familiar with UIX, but now i have to start developing applications with ADF Faces and there are some things i don't find corresponding equivalents.
    Thanks in advance!
    Regards,
    Stefan

    Hi,
    SRDemo shows you how to do this declratively
    <h:outputFormat value="#{res['srcreate.confirmPanel.message']}"
    escape="false" id="nextButton">
    <f:param value="#{requestScope.SRDEMO_CREATED_SVRID}"/>
    </h:outputFormat>
    where the <f:param ...> element sets the value of the variable
    To programmatically access internationalized strings, SRDemo uses
    private static ResourceBundle getBundle() {
    FacesContext ctx = getFacesContext();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = uiRoot.getLocale();
    ClassLoader ldr = Thread.currentThread().getContextClassLoader();
    return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
    locale, ldr);
    public static String getStringFromBundle(String key) {
    ResourceBundle bundle = getBundle();
    return getStringSafely(bundle, key, null);
    You take it from there and put it to a FacesMessage, If it uses parameters I guess you will have to parse the string
    Frank

  • Error message in  adf

    hi how can i pass the error message in adf in forms used to do like this
    if :sms_users.new_pwd = :sms_users.pwd then
              error_message := 'New password can not be same as old password';
    cg$form_errors.PUSH('SMS-'||to_char(9300004)||': '||error_message, 'E', 'SMS', 0);
    cg$form_errors.RAISE_FAILURE;
    end if;

    you cand od that simply by add a traniant attribute confirm password to the veiw object and add entity level rule that do the following
    EL
    password != confirmpass
    where the password is the attribute and confirmpass is the transiant
    and in the faliure handling add the erro message
    the expression check if the confirm not eqal pass if not an error will arise
    and in the setter of the confirmpass(in the vewi object impl) make password = confirm pass.
    i test it and it's work

Maybe you are looking for

  • FIFO report

    Hi, Any body pls tell me is there any std t.code for FIFO valuation on basis of Purchases.Means if one material was purchased yestuarday at  100 rs,today at 110 rs.so yest My Price of the mtrl was 100 and today my Price(MAP)is 105.like this.I Client

  • How to make the translated fields active

    Hello i needed to translate some fieds in me21n. i click on F1- technical information- then double clikc on the object name and then i go to translation menu from the top. The text is displayed as translated but when you open the me21n the field is i

  • Scanned image problems CS4 Mac

    I am scanning old slides and negatives and as these have been stored in the tropics many of them are damaged by what could be fungus. I have tried cleaning them without success and now I am trying to recover them in Photoshop. There is two main types

  • Newbie here!  How2 create a "desktop icon" on iPhone

    I want to have an icon on my iPhone that will launch Safari and go directly to a specific web page. (Specifically, my boss want this -- an new icon that he may select and it would render the a certain web-email site.) I don't want to make this site t

  • Flash Player 10.1 is not installed even though message says it was successful.

    Hello, I use W7 Ultimate, 64 bit, and IE 8. Whenever I try to watch video a message says I  need to upgrade Flash Player and gives me a link to version 10.l I uninstalled version 10.0.32.18, then downloaded and installed version 10.l. A message says