[ADF-11.1.2.2] Design tab of jspx/jsff goes blank becuase of web.xml config

Hi,
I had my project created in 11.1.2.0 version and got upgraded to 11.1.2.2 recently.
I think there is one following problem with new version:- When you create a new page (jspx) and drag and drop a BTW, the page at designer becomes blank. That goes for all pages under webproject. I debug and found the root cause.
under web.xml file, there are different context-param tags.
when I drag and drop BTF in jspx page, jdeveloper insert following new tag in web.xml
  <context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
    <param-value>differentOrigin</param-value>
  </context-param>I don't know why, but this create some problem in jdeveloper and the designer tag goes blank. If I remove the above tag, it start working fine.
Is this the issue with jdeveloper ?

Hi,
Timo, This is not an issue with new application. I will tell you the reason.
Frank, for 11.1.2.0 project, I think you are talking about
<context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>differentDomain</param-value>
  </context-param>and I was talking about following tag in my previous post
  <context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
    <param-value>differentOrigin</param-value>
  </context-param>Look at param-name tag, it's different.
Vinay, thank you very much for the link that makes whole thing clear :)
I tell you the whole scenario.
When I created the project in 11.1.2.0, web.xml had following tag
<context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>differentDomain</param-value>
  </context-param>When you create a new project in 11.1.2.2, web.xml already have following tag
  <context-param>
    <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
    <param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
    <param-value>differentOrigin</param-value>
  </context-param>but not the "oracle.adf.view.rich.security.FRAME_BUSTING" tag, since it is deprecated in newer version.
The problem comes when you migrate 11.1.2.0 version project to newer version. Jdeveloper adds "org.apache.myfaces.trinidad.security.FRAME_BUSTING" tag instead of replacing the deprecated tag "oracle.adf.view.rich.security.FRAME_BUSTING" when you drag and drop BTF in jspx file for the first time. As per the link by vinay, developer has to "manually" modify the web.xml content manually (if not automatically done by Jdeveloper) before we proceed with any further development in newer version.
The solution is to follow what is written in http://jdevadf.oracle.com/adf-richclient-demo/docs/release-notes.html#New_in_this_Release :)

Similar Messages

  • Design tab problem

    Hi all
    I'im new in jdeveloper so i have "stupid" question
    I use ADF to build my application... sometime when i create new page and drag-drop a new component to form (adf core ->button command) on design tab i see
    <ROOT>
    <OTUPUT>page directive
    <view>
    <html>
    instead page...
    why?

    Hi,
    there are many possible reasons causing this
    - malformed definition in the faces-config.xml file (open the faces-config.xml file in the source view and see if there are errors marked)
    - malformed JSF page (eg. missing <view> element)
    - Servlets and Filters that have external dependencies
    Frank

  • Design tab of UIX page in JDeveloper 10g

    I am using JDeveloper 10g (Build 9.0.5.1) and JHeadstart 9.0.5.1.11. I have generated a small application using the Application Generator but the UIX page generated does not display in the Design tab - rather a message saying that "The document is not in a valid state". Am I doing something wrong here or is this expected behaviour ??
    Cheers,
    Brent Harlow

    Brent,
    Yes, this a known limitation, dcoumented in the release notes:
    3601291: UIX: Errors are displayed in the structure pane of JDeveloper when clicking on a UIX page, for example: Element templates: findPage not defined in parent content. Also, when opening the UIX Design Editor the following text appears: The document is not in a valid state. Please edit this file in the code editor to resolve syntax problems and then return to the visual editor.
    This does not cause any runtime problems.
    The behavior is caused by the fact that JHeadstart does not use UIX in the default manner, and is therefore not correctly interpreted by JDeveloper 10g.
    This will be fixed with the JHeadstart release that uses ADF.
    Steven Davelaar,
    JHeadstart team.

  • JDeveloper Design tab stopped working

    Hello,
    Once upon a time
    Without an obvious reason
    My JDeveloper 11R2 design tab stopped working. It's just showing me page blocks instead: http://img827.imageshack.us/img827/5954/designbroken.png
    Preview tab is also broken: http://img688.imageshack.us/img688/7563/designbroken2.png
    It is just a JSF facelets page, nothing unusual. And it is not only this page, but all of them, so it is IDE trouble, not my code.
    Tried to restart. Tried to reboot. Nothing.
    On runtime everything's fine.
    I really wouldn't like to reinstall JDeveloper and resotre all the IDE and IntegratedWebLogic configutration back again.
    Is there any hope for solvation?
    Thanks.
    Studio Edition Version 11.1.2.1.0
    Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081
    Windows 7 x64

    Hello Shay,
    Yes, it also happens for a new application. Here's what I see for a blank page in a new app:These ADF Library jar items are now in ViewController.jpr
       file:/D:/JDeveloper-11.1.2.1/jdeveloper/adfv/jlib/oracle-page-templates.jar
    WARNING: Unable to initialize <servlet> Faces Servlet. Check project libraries configuration.
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:166)

  • Can't edit in Design tab - "overflow: hidden (double-click to edit)" - cause, remedy?

    In the Design tab, the content of some web pages becomes uneditable (where it had previously been editable), even though it is in an editable region in the template. All of the uneditable text has a black background. When the cursor is floated over this text a popup gives the message "overflow: hidden (double-click to edit)". (Note: the text is still editable in the Code tab.) Double clicking in the Design tab often doesn't do anything but sometimes corrects the problem. The following also didn't help:
    1. Making revisions in the Code tab and then refreshing. (The revisions show up in the Design tab but the text there is still uneditable.)
    2. Closing and reloading the page.
    The content of other pages that use the same template remains editable.
    What causes this problem?
    What is the best method to prevent it and correct it?
    DW CS6
    Win7 x64
    Thanks,
    Don C.

    The problem is always a side-effect of the use of the overflow:hidden style. So why use it? It's tremendously valuable as a way of clearing floats inside a container, rather than adding a float clearing page element. And besides, if you can still edit the content in Code view, why worry? Anyhow, paste this into a new HTML page and try it.
    <div style="height:100px;overflow:hidden;">
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    <p>This content will not be editable without double clicking on it. Furthermore, any floats contained within this div will be cleared before closing the div, allowing the div to completely wrap its contents.</p>
    </div>
    In Design view, you will only see two paragraphs. When you click in either of those two paragraphs, you will not be able to edit anything. When you double click you will see the div expand to show all 4 paragraphs, and you will then be able to click and edit at will.

  • Adobe muse - can't see my Edge animation in design tab!?

    I have a problem, when i have made mit edge animation, and placed it in muse, i can't see it in the design tab, but when i click the preview tab i shows, and i can also see the animation in browser!? Anyone who can help? :/

    Hi,
    Yes I've had the disappearing animation problem. It shows in preview but not in design,
    I deleted and re-inserted it. That cured it - but for how long.
    This latest update has been a disaster for me.
    Regards
    David

  • In Jdeveloper11+ADF BC how to find disclosed tab

    hi,
    In Jdeveloper11+ADF BC how to find disclosed tab...
    or wheather the a purticular tab is disclosed or not..
    in details, i have a ADF panellTabbed with two ShowdetailItems. I have a common button out side the tab. i want to identify which showdetailitem is currently disclosed..
    i'm verymuch greatful if I get some answer ASAP...Thanks in in advance.
    Regards,
    b_in_u

    hi John..
    It is truely ASAP :) ..
    Thanks..It is promt answer ...
    but i'm very much new to here..(my experience is with .net only)
    I can clearly got your point and i tried with this ..but i'm helpless to express it syntaxically...
    there is no error with this but cant reach my requierment...
    if you dont mind.. plz give some code snipet...
    if u wish i'll send my code.. then u can findout wat i was done over here..
    plz...
    Thank you Very much.. once again...
    regards
    b_in_u

  • Wrong component aspect in the design tab of the jsp page

    Hi,
    Don’t know if you can help me, but, I was developing my app and all of the sudden in the design tab of my jsp page the components stop appearing with the correct aspect (that is, a combobox, for example, is a edit with a little button on the side) and started to appear as squares with the name of component above the square.
    I don’t know what I’ve done wrong, and any help would be appreciated.
    Thanks,
    Ana Azevedo

    Thanks for your responses, but I already tried both cases before I posted the thread and neither worked.
    I don't have errors or warnings in the structure panel, creating a new JSP JSF page doesn't work either and I have this situation for 3/4 days, so I reopened JDeveloper a lot in between.
    Meanwhile I started my app all over again because it was still very small (5 pages), but it had some aspects that I'm having difficult to make again, so it was best if I could resolve my problem.
    Thanks again,
    Ana Azevedo

  • How to enable Design tab in jdeveloper 11.1.1.5.0

    Hi ,
    I am creating the SelfRegistration work-flow.While opening the xml files in the jdev,the design tab is not there.Only source and history tabs are there.how to enable that one.
    Pls anyone suggest me ...
    Jdeveloper version-11.1.1.5.0
    Regards,
    Deena.

    well user,
    why are you creating such duplicate.
    Re: Unable to find Design tab in jdeveloper 11.1.1.5.0
    well our discussion is going on above thread.. but why are switch another thread.

  • 10g - stack dump in JSP design tab - minor.

    I have a JSP which references a style sheet on a remote server. Don't ask. Normally when I look at it in the JSP editor Design tab I get an alert box saying 'Error opening style.css". This is fine.
    Today I got the following stack dump instead.
    The page displayed OK after I dismissed the error dialog.
    java.net.SocketTimeoutException: connect timed out
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:265)
         at sun.net.www.http.HttpClient.New(HttpClient.java:336)
         at sun.net.www.http.HttpClient.New(HttpClient.java:317)
         at sun.net.www.http.HttpClient.New(HttpClient.java:312)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:481)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
         at java.net.URL.openStream(URL.java)
         at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:962)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1006)
         at oracle.ide.model.TextNode.loadURLContentIntoBuffer(TextNode.java:818)
         at oracle.ide.model.TextNode.reloadTextBuffer(TextNode.java:352)
         at oracle.ide.model.TextNode.reopen(TextNode.java:330)
         at oracle.ide.model.TextNode.open(TextNode.java:197)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:597)
         at oracle.ide.model.TextNode.getReader(TextNode.java)
         at oracle.jdevimpl.webapp.IdeHelper.getReader(IdeHelper.java:117)
         at oracle.jdevimpl.webapp.parser.css.Parser.characterStream(Parser.java:1559)
         at oracle.jdevimpl.webapp.parser.css.Parser.parseStyleSheet(Parser.java:228)
         at oracle.jdevimpl.webapp.model.css.SacDocumentBuilder.buildStyleSheet(SacDocumentBuilder.java:106)
         at oracle.jdevimpl.webapp.model.css.html.LinkedStyleSheet.load(LinkedStyleSheet.java:97)
         at oracle.jdevimpl.webapp.model.css.html.LinkedStyleSheet.getRules(LinkedStyleSheet.java:82)
         at oracle.jdevimpl.webapp.model.css.html.HtmlCSSValuesAssigner.insertStyleSheet(HtmlCSSManager.java:197)
         at oracle.jdevimpl.webapp.model.css.html.HtmlCSSValuesAssigner.<init>(HtmlCSSManager.java:182)
         at oracle.jdevimpl.webapp.model.css.html.HtmlCSSManager.getCSSValuesAssigner(HtmlCSSManager.java:65)
         at oracle.jdevimpl.webapp.view.DisplayManager._generateBoxes(DisplayManager.java:1415)
         at oracle.jdevimpl.webapp.view.DisplayManager.generateView(DisplayManager.java:910)
         at oracle.jdevimpl.webapp.view.DisplayManager.showContent(DisplayManager.java:476)
         at oracle.jdevimpl.webapp.editor.EditorImpl.showContent(EditorImpl.java:102)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.updateDisplay(HtmlEditor.java:565)
         at oracle.jdevimpl.webapp.editor.WebAppEditor.syncIt(WebAppEditor.java:536)
         at oracle.jdevimpl.webapp.editor.WebAppEditor.access$4000271(WebAppEditor.java:54)
         at oracle.jdevimpl.webapp.editor.WebAppEditor$2.run(WebAppEditor.java:524)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Could you reduce your jsp and paste the contents here? We can examine it. Thanks, Steve Tom.

  • Why JSP/JSF Editor changing in Design tab?

    Hi All
    I dont'know why the editor for my jspx isn't show in normal,it show all item/component in group for each element in Design tab
    Please help me to config it
    Thank so much

    http://blogs.oracle.com/Didier/2007/02/diagnosing_problems_with_the_v_1.html

  • JDeveloper 11.1.1.3 : .bpel file Design tab not visible

    Hello Everyone,
    I am new to jdev BPEL processes and started using Jdeveloper as part of approval workflows in OIM 11G that needs to be developed in jdev.
    I have created an approval application and bpel processes but the problem that I am seeing is that *.bpel file when opened in jdeveloper does not have a design view tab.
    If any of you have seen this issue or know of possible fix for this let me know.
    Thanks,
    Deepak

    hi deepak.. bpel design tab.. is part of soa extension.. so please install the soa extension then you will be able to see..
    bpel design. tab.
    note: if the extension is not there.. the composite.xml itslf.. comes without design tab.. and there is no soa application available for you in New - Soa Application..
    download the same from here
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml#oracle.sca.modeler
    note to download the version that supports your jdeveloper..

  • S.O.S - Design Tab

    People, good night!
    Help me on something: Why the design tab appear on my flash builder?  How can I put it?

    For SharePoint 2013 we dont have Design tab avaiable now. Also as per update, it will not be available in future versions of SharePoint designer.
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Designer-2013s-Missing-Design-View-Its-Official.aspx

  • Design tab issue with Premade template

    I just purchased a premade template and am trying to customize it for me in  Dreamweaver. I am unable to click on the design tab it will only display the code tab when I open the .xml file. Is there some sort of prefrence I have wrong or can I not access the design tab function on premade templates. Also I am only using the trial version for now.
    Thank You

    Design View in DW shows only files which contain HTML markup e.g. HTML, PHP etc.
    An XML file is text only (usually data to populate something in a HTML page or settings for a feature in a HTML page) - so there's no HTML page to show.
    Open a HTML or PHP page in Design View.

  • JDeveloper 11.1.1.4 Design tab not visible

    Hello Everyone,
    I'm using SOA 11.1.1.4 version and I have unable to see the Design tab along with Source and History tab in BPEL.
    I've updated the SOA Extension and restarted the Jdeveloper and still facing not appearing the desing tab.
    What I did I uninstalled and reinstalled entire SOA suite, but still unable to see the Design tab in .BPEL file.
    If any of you have come across this kind of issue / possible fix for this let me know.
    Thanks,
    Sarath

    Thanks for the feedback.
    Lost page interface. may help to avoid the execution of the filter code at Design Time.
    Regards,
    Didier.

Maybe you are looking for

  • MBP sent in for repair--trade displays?

    I just had my 15" MacBook Pro sent in for the following: - CPU Idle Whine - Non 0 / 100 % Display Brightness Buzz - Display Hiss (temporary fix was slight downward pressure on the display, above the iSight) - Right Speaker Distortion I posed the ques

  • Cannot change user passwords in System Prefs

    They just don't "take." I can change passwords as root in terminal using passwd no problem but not in System Prefs pane. The secure.log hints that something happens: Apr 20 19:08:01 Dualie com.apple.SecurityServer: Succeeded authorizing right system.

  • Periodic active window deselection in mountain lion

    When working in a window of an app, the window randomly, but regularly deselects and title bar grays out.  If I'm typing something at the time I get a warning sound with each keystroke.  I have to mouse click back in the window to reactivate it.  How

  • WLI 7 Studio does not start

    It happens just after the installation (BTW the .bat don't like path with space like "Program Files" :-( When I try to run the studio tool it fail to open. The error message is "Cannot find main class. Program will exit!" Thank you, Herve

  • Bluetooth mouse with iPad Air2?

    I just purchased and iPad Air 2 and I bought a bluetooth Keyboard from amazon that works perfectly. However, I was wondering what is the best bluetooth mouse to use with the iPad Air 2.