JSF page not returned in fashion Design (JDev 11.1.2.1.0)

Hello!

Strange behavior recently in JDeveloper 11.1.2.1.0) begins: JSF pages in some projects are not rendered more. We have activated "see design time Messages in newspapers" in Tools/Preferences/JSP JDev and HTML Visual editor and message
WARNING: a problem was execution of the page.  Using backup made appears in the log. This is visible in this picture:
[http://dl.dropbox.com/u/14304804/design_view_problem.jpg | http://dl.dropbox.com/u/14304804/design_view_problem.jpg]
What is common to all projects with this question, is that we run "Delete ADF Security Configuration" that has been activated before and we have implemented our custom using phase listener security.

No idea what's wrong here?

Kind regards
Sašo

Published by: Sašo c. May 21, 2012 14:24

Hello

You can try and surround your code to security phase by the following listener

if(!ADFContext.getCurrent().isDesigntime()){
    ... your security code ...
}

Frank

Tags: Java

Similar Questions

  • Design, JDev 11 g JSF display problem

    Hello world
    I have a problem with JDev 11 g
    whenever I am trying to change a jsf design mode page shows only the names of tag like the image below
    [http://www.imgplace.com/viewimg134/241/9511g.png]
    This function happens during the editing of the jsf pages and everything is ok when editing jsp
    so why is what is happening and how to fix it?
    Thank you

    Published by: user13266332 on July 23, 2010 22:09

    Yes - it was the box I did reference.
    If this does not help then it might be a problem with your installation of JDeveloper.
    Try to close JDeveloper, delete the system directory (should be like: C:\Documents and Settings\yourUser\Application Data\JDeveloper\system11.1.1.3.37.56.60)
    and restarting.

  • How do I layout of items stacked in jsf pages in jdev?

    Hi, experts,

    In jdev (11.1.1.7), how can I do layout of items stacked in a jsf page?

    For example, I put an image component in a jsf page as the background of my App UI page, and I want to put several components such as the outtexts WE (bunk) component image.

    Thank you.

    Hello

    There is a provision which may contain other components, but not all of the components

    Suppose that you can drop the image in a layout of the Panel group but cannot remove a text output in af:image

    so it is not widespread, specify your requirement.

    But if you just add pictures in the background and the component of normal form,

    then just use the layout of the Panel as a root component group and set its background image property in the Properties Inspector

    as - background - image: url("noti_error.jpg");

    Thank you

  • Can I use presentation grid in visual JSF page designer?

    Hello dear...

    I use Jdeveloper 11 g and 10 g.
    When I tried to use the JSF Visual Editor (from the component palette), and when I drag any control to the page I found that the command will in the upper left corner of the page
    and I even can not move the control to another place on the page by mouse.
    the Visual JSF designer seems to use flow layout for the page. (same as using flow layout in swing applications).

    The question is whether I can change the page layout to be available to grid instead of fluid layout? (to get around any control anywhere in the page.)

    Note that in netbeans 6.1, when you design the JSF page, you have 2 options for the layout, the grid presentation and the fluid layout and you can choose as you like.
    This function is located in jdeveloper 11?

    If not, can someone tell me no work around to design JSF pages without using the fluid layout?

    Thanks in advance

    Samy

    Published by: user10653280 on November 29, 2008 13:30

    We do not provide absolute positioning for JSF application - it is a bad practice, since it fills your JSF page with the CSS code and create applications that are not portable between different screen/monitor resolutions - so instead, us use flow layout and provide a much richer set of elements of page layout.
    See the info here:
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31973/af_orgpage.htm#CACCBCCI

  • When I return from the page of google search for a link then button does not return return

    When I return from the page of google search for a link, then button does not return back. Instead, the same page refills. I need to go back click back button twice or even more. How to fix? I cheked it it another browser and there is no such behavior. It seems completele Firefox problem.

    the problem was resolved after remooving extenshion «user agent overrider»

  • PC Windows 7 does not return the document or the printed page

    I had a setting for this in XP control but can't find the page, that I got it.

    This occurs in AN application, or a browser.  I print from a workbook Excel specific, for example, when I have a number of them opens.  The system does not return the workbook that I printed.  It's maddening and causes all sorts of questions.  Searching the Web for this instant product nothing and I know I can't be the only person who saw this.

    It is a platform of Windows 7 in a commercial network environment.  I use the snap Menu Addintools classic because I can't stand the Ribbon and never loved.  In Windows 7, I run a couple of other supplements that restore the XP the taskbar properly use, so you can work efficiently.

    None of the supplements are causing this problem because I was running the same classic Menu Add-in in the XP box and he had the same problem until I found workaround that I don't remember now.

    Everyone knows about this problem?

    Jeff Lynch

    Hello Jeff,.

    Please contact the Microsoft community.

    As the Windows 7 computer is under the corporate network environment, the issue that you are facing is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forum.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    Hope the information above has been a useful answer, Mercia back to us if you respect them more.

  • Link to 'help journal online events' event viewer returns a page not found on the technet Web site

    Whenever I click on the link "online help for event log" of event viewer for further help on an error, it returns the page not found on TechNet. Why? If Microsoft has moved the page, or something, why has he not updated the links in this application? I use Windows 8 (upgrade of Windows 7) and all applied Windows updates.

    Well, I spoke with Microsoft Support Thursday and it seems that the Event Viewer online Help is not available yet in Windows 8.

    While I took for them they connected to my system then tried their own with the same results, they then got on the? (could be the resource group... can't remember) who told supporters that on line assistance has not been fully developed for Windows 8 and therefore has not been published!

  • MUSE: Adobe hosting, 123-reg URL and e-mail box, Muse/widget form will not send email.  Diagnosis step 1: form_check.php.  But this returns a "Page not found".

    I have a simple 1 page site live a reg-123 registered URL www.menitlimited.com, but using Adobe accommodation according to the directives of the packaging of Muse.  In short, the form doesn't send emails (should be sent to [email protected] - that is, I have entered the settings of the widget). Reading the forums, this test 'www.menitlimited.com/scripts/form_check.php' seems to be the first thing to do, but it returns "Page not found", rather than the ticks/crosses. What I am doing wrong or missing here please?

    Troubleshooting tips, you are referring are specific to when you are hosting on servers not Adobe. It is quite unusual to have a problem with a form when you host on Business Catalyst.

    The first thing to check are the filters of spam in your e-mail client. The most common situation is that the e-mail was sent and received, but classified as spam by your e-mail client.

    If this isn't the situation, I recommend you to contact our support Business Catalyst to Adobe Business Catalyst support>.

  • Hi, I have another problem, when people visit my site that they could not return to the home page

    Hi, I have another problem, when people visit my site that they could not return to the home page

    Hello

    Problem is in outline view.

    Please follow the steps below and you should be all set.

    1. go in the Plan view.

    2. right click on the 'HOME' page

    3. Select "Menu" > "include the Page containing the hyperlink.

    4 save the file and then try to preview.

    You should be all set.

    Concerning

    Vivek

  • Included JSP/JSF page did not get rendered on the main page of JSF

    Hello

    I have a main JSF Page in which I have 2 pages included JSF.
    A JSF page has only an image and other JSF page has some data read from VO.

    When I run the main JSF page, the image gets displayed (first JSF included) but not the content of the second JSF page.

    When I run the second (page embedded JSF) individually, it shows the data of the VO.

    The two JSF pages are included with < jsp: include > tag.

    I missed something?

    Thanks for any help.
    Sameer

    Hello

    When you use jsp: including, the contents of the page fragment link container must be added to the parent PageDef file.

    Frank

  • How to call the html page in JSF pages?   10.1.3 Jdev

    Hello.. Is it possible to call an HTML page in a JSF Page like PHP does with included "page.htm"?

    Thanks again

    Try the tag. See http://java.sun.com/products/jsp/tags/syntaxref.fm11.html.

    CM.

  • Can a report of Jasper operate with an af:button on a page fragment (jsff) or simply on a jsf page?

    Mr President.

    Can a report of Jasper operate with an af:button on a page fragment (jsff) or simply on a jsf page?

    Because I'm running report jasper jsff page but it does not work but the same report runs on a jsf page.

    Concerning

    Cherish!

    The answer to this question is Yes

    We can run report jasper with a button on a page jsff using the servlet class

    The same code for jdev worm 12.1.3.0.0 is as below

    package ash.view;
    
    import ash.model.SchoolAppModuleImpl;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    
    import java.util.HashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.annotation.WebServlet;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    
    import oracle.jbo.client.Configuration;
    
    @WebServlet(name = "ReportServlet", urlPatterns = { "/reportservlet" })
    public class ReportServlet extends HttpServlet {
        private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
    
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
        }
    
        protected Connection getConnection() {
    
            PreparedStatement st = null;
            String amDef = "ash.model.SchoolAppModule";
            String config = "SchoolAppModuleLocal";
            SchoolAppModuleImpl am = (SchoolAppModuleImpl ) Configuration.createRootApplicationModule(amDef, config);
    
            st = am.getDBTransaction().createPreparedStatement("select 1 from dual", 0);
            Connection conn = null;    
    
            try {
                conn = st.getConnection();
                return conn;
            } catch (SQLException e) {
            }   
    
            return null;
        }
    
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            String var0 = "";
            try {
                var0 = request.getParameter("classId");
            } catch (Exception e) {
                e.printStackTrace();
            }
            response.setContentType(CONTENT_TYPE);
            Map parameters = new HashMap();
                   parameters.put("format", "pdf");
                   parameters.put("WEBDIR", getServletContext().getRealPath("/"));
                   parameters.put("REPORT_LOCALE", new Locale("ar"));
    
                   parameters.put("classId", new String(var0));
                   Connection conn = null;
                   InputStream is = null;
                   try
                   {
                     conn = getConnection();
                     is = getServletContext().getResourceAsStream("/WEB-INF/reports/ClassDataReport.jrxml");
    
                     response.setContentType("application/pdf");
                     response.addHeader("Content-Disposition", "attachment; filename=ClassDataReport.pdf");
    
                     JasperDesign jasperDesign = JRXmlLoader.load(is);
                     JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
                     JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);
                     JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());
    
                     conn.close();
                   }
                   catch (Exception e) {
                     e.printStackTrace();
                   } finally {
                     closeConnection(conn);
                     try {
                         if(is !=null){
                             is.close();
                         }                   
    
                     } catch (Exception localException1)
                     {
                     }
                   }
    
            PrintWriter out = response.getWriter();
            out.println("");
            out.println("ReportServlet");
            out.println("");
            out.println("

    The servlet has received a GET. This is the reply.

    "); out.println(""); out.close(); } protected static void closeConnection(Connection conn) { try { if(conn !=null){ conn.close(); } } catch (Exception ex) { // System.out.println("Developer Msg : Exception in printReport1Servlet.closeConnection()"); } } }

    Concerning

  • How to define data lists to scroll automatically in a jsf page?

    There is a requirement that data lists (extracts from the database) scrolls automatically in the region within a jsf page as a list of names of actors/actress will be shown and scroll at the end of a movie.

    Is there an easy way to implement it in jdev 12.1.2?

    Thank you.

    This is a great feature of continuous scrolling in tables in the ADF. (However, it is a characteristic of af: listView instead of af: jdev12.1.2 table?)

    Blog I've posted in previous answer was talking af:table and not af:listView.

    My first use case is different:

    This is data auto scrolling on the screen without user interaction.

    I got the impression that you're talking about that.

    Maybe you can use af:poll and call next() operation.

    Or you can try with AdfRichTable javascript api: http://jdevadf.oracle.com/adf-richclient-demo/docs/js_docs_out/index.html (I see methods like scrollToRowIndex(), but I don't know exactly how you can use it)

    A related use case is image slideshow:

    There are several images to shown but one for once, and the images can be shifted to show in turn automatically.

    Is the carousel component more af:poll be a good solution for this requirement?

    Yes, carousel will be the appropriate component.

    You can use af:poll (ADF 11 g: carousel goes round and round (... and round and..)-AMIS Technology Blog), or javascript to do the rotation (componentCarousel with autospin |) ADF recipes)

    Dario

  • Field image cannot refresh when you move between records in a jsf page

    In jdev 12.1.2

    I have a formlayout in a jsf page, there is an af:image that bind to a url of the image file, the source code is like this:

    ("#{bindings.") Headpicurl.inputValue}')

    < f: facet = '3' tab name >

    < af:panelFormLayout id = "pfl1" >

    < af:inputText value = "#{bindings." Id.inputValue}"label =" #{bindings. " ID.hints.label}.

    required = "#{bindings." ReadOnly ID.hints.Mandatory}' = 'true '.

    columns = "#{bindings." Id.hints.displayWidth}.

    maximumLength = "#{bindings." ID.hints.Precision}.

    shortDesc = "#{bindings." ID.hints.ToolTip}"id ="it1">

    < f: validator binding = "#{bindings." ID. Validator} "/ >"

    < / af:inputText >

    < af:image shortDesc = "#{bindings." Headpicurl.hints.ToolTip}"id ="it4.

    source = "#{bindings." Headpicurl.inputValue} "/>"

    < f: facet name = "footer" >

    < af:panelGroupLayout layout = "horizontal" id = "pgl1" >

    < af:button actionListener = "#{bindings." First.Execute text}"="First"

    Disabled = "#{!}" bindings. PartialSubmit First.enabled}"="true"id ="b1"/ >

    < af:button actionListener = "#{bindings." Previous.Execute text}"="previous ".

    Disabled = "#{!}" bindings. PartialSubmit Previous.enabled}"="true"id ="b2"/ >

    < af:button actionListener = "#{bindings." Next.Execute text}"="next ".

    Disabled = "#{!}" bindings. PartialSubmit Next.enabled}"="true"id ="b3"/ >

    < af:button actionListener = "#{bindings." Last.Execute text}"="Last ".

    Disabled = "#{!}" bindings. PartialSubmit Last.enabled}"="true"id ="b4"/ >

    < / af:panelGroupLayout >

    < / f: facet >

    < / af:panelFormLayout >

    < / f: facet >

    But when I browse the records on the page, other areas will be update correctly, except for the field of the image - the image field showing will not refresh.

    Can someone help?

    Thank you.

    so I the records of buttons and update Navigation to set null values from Headpicurl to a valid value, the value of the PartialTriggers property of this image tag.

    Then, the page will be updated correctly for all areas, including the field of view when do the record navigation.

    But after I have erased the property PartialTriggers of this image tag and reload the page, or even restart the jdev, it still works OK now!

    -Then setting this property PartialTriggers the real cause of the previous question of no image field refresh?

    Well, you also updated your nulls to the actual URL so maybe posing (in combination with the caching of the browser)?

    General approach to prevent caching of web resources is the addition of random string to the url of the resource (as suggested by Cvele) or you can write custom servlet which will serve as a proxy and add http headers (non-cache, non-store, must-revalidate expires,...) to prevent caching.

    Anyway, now I have to get rid of the question above. However, a new problem emerges:

    When I update and validation records the attributes of the database. the fields in the jsf page will not display the newly modified database records even if I refreshed the browser or press F5.

    Only after that I open the jsf page in a new browser window, database changes will appear.

    -Is caused by the caching of the browser? and how to fix it?

    How you exactly "update and validation" records (in the same application or a different app/session)?

    If you do this session or different application then you must run query VO again.

    Dario

  • Cannot change a jsf page in a WYSWYG way when you use a page template

    One of the great features of Jdev/adf (now I'm on jdev 12.1.2) is the feature of declarative design for user interfaces, and there are mechanisim of the Page template, declarative elements, etc.

    However, when I create a jsf page based on a page template, so I can't edit the items in the jsf page in a WYSWYG way, it means that I drag - move interface components panel user components in the window of the Application of the Structure, or directly modify the jsf page source file - then I get bored of the above characteristic of Jdev.

    My above said just? or are there other ways?

    Thank you.

    You can try disclosed property to true for the tab you want in the model.

    Then refresh (or reopen) page.

    Dario

Maybe you are looking for