JSF Rendering in the Visual Editor

JDeveloper frequently fails to render JSF components in the Visual Editor when running the Car Demo example (as documented on this site). The error reported is a null pointer exception inside the View Tag code, caused by an inability to create a faces context.... Does anyone have any ideas?

Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
Timo

Similar Messages

  • The visual editor not work properly in JDeveloper 10.1.3.2

    Hi
    When I attempt to drag and drop the components of JSF into the visual editor, these components not appear properly. The visual editor just show the names of these components and put them in tree form.
    Could you please tell me how can I fix this problem.
    Message was edited by:
    waheed

    Hi,
    here is a link to a link to a link that might help
    Good luck
    Page Editor Not Using WYSIWYG Editor

  • Why is the visual editor such a pain?

    When I drag and drop components from the Component Palette to a page in the visual editor, instead of the UI component, I see the component with box outline in the design view of the visual editor. A few others have complained about this problem too.
    This is an old post and I have carried out all the suggestions by others but without success. I never had this problem with the EA version; it started in JDeveloper 10.13.1 carried onto JDeveloper 10.13.10. Preview.
    Somebody said that the problem will be fix in the final version of JDeveloper 10.13.10. However, I have a job to do and I am asking if I can still download the EA. If so can you provide me the link?
    Thanks for your help.

    MichiganMike wrote:
    Every week it seems there is another outage and nobody at Verizon cares. Customer service is a joke now. All you do it is get transferred to some under educated feeb that tells you everything is fine and to reboot your phone!! IT IS NOT THE PHONE. Get it yet Verizon? Your network is failing, ALOT. I have yet to meet anyone who says 4G is worth anything. Now, today again, 3G and 4G are suddenly dead. Not shocking seeing as how they have been robbing Americans blind for years with poorly performing devices, an over subscribed network, poor customer service and outrageous prices. Short Verizon stock. 2012 will be a rough year for them if this continues.
    Hmm...
    I can't decide, based on your recent posts and including this new topic as well, if you are here to get help or to just bash Verizon Wireless.
    If you want help, here: 
    What phone do you have? 
    Do you EVER get 4g (honestly) or does it just say 3G?  I realize you are only getting 1X now. 
    Have you had VZW file a ticket for your phone number to see if there is a problem with your area?  What did they say?
    Where are you having service issues?
    What phone did you have before?
    Did you have service with Verizon Wireless before your current phone?
    What was the service like then?
    What exactly is the problem?  Meaning this, yes you are losing signal but what are trying to do that you cannot accomplish right now?
    Every phone is different, do you have the following installed on your phone:  Juice Defender or any battery saver, a task killer, a network managing application, have you changed any settings on your own in the phone?  Has a representative changed any settings in your phone?  Do you have an anti-virus application?
    How many miles are you from Canada?

  • ADF Faces components are not rendered in Jdeveloper visual editor

    Hi!
    I'm using Jdeveloper 1013 Developer Preview. I found that the components of ADF Faces EA16 are not shown on the visual editor in Jdeveloper, but the ADF Faces EA15 components are shown. I'm just wondering if this is normal, and there is anything that can be done to fix this?
    Meen

    I know there's a recent release with a visual editor problem, but I'm not sure which one it is. This thread says you need a fresh install? Can you try that?
    Re: ADF Faces tutorial/code sample for data table?

  • How can I use eCompanion in the Author mode with the visual editor in Firefox?

    Our college uses eCompanion, but the current platform on works with the visual editor in the XP version of the Windows operating system. Online Chat help said that using Firefox with the Xihna Here plugin was a successful work around. I am unable to find information about the above listed plugin. I need help.

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • Custom taglib: tags not rendered in visual editor

    Hi!
    I have created a custom tag library with jsf tags. I have created one tag that extends the CoreSelectOneChoiceTag. When I drag this tag on a page, at runtime it works completely as desired.
    Only, in the visual editor the tag is invisible. With the tag library properties I have specified that the tags should be executed. In the source and structure windows the tags is visible (of course).
    What influences how a tag is rendered in the visual editor, and what content is rendered?
    Jeroen van Veldhuizen

    I know there's a recent release with a visual editor problem, but I'm not sure which one it is. This thread says you need a fresh install? Can you try that?
    Re: ADF Faces tutorial/code sample for data table?

  • Visual editor JSF rendering not working

    Hi,
    I'm trialing the 10.1.0.3EA version of JDeveloper and I can't seem to get the JSF rendering working in the visual editor. I thought that perhaps I'd changed some settings or something so I completely uninstalled and then reinstalled JDeveloper. After the install I created a new application using the default web tech. scope, created default business components from the order and order_items tables in the oe schema, opened the JSF navigation, added a page and tried to drag and drop a read only table onto the page. Instead of the rendering I am getting a hierarchical view of tags with just the tag names, i'm not even getting any of the binding information shown, other than in the property inspector. I'v checked to make sure that the JSP tag libraries in the project settings all have "Execute tags in JSP Visual Editor" checked and in the preferences I have made sure that "Show JSP Tag Names Only" is unchecked. Does this functionality not work by default from the install or am I missing something?
    Any help would be appreciated!
    Thanks,
    Lee Proctor.

    Of course, use the value attribute of the component and set it to EL representing the desired property.

  • Netbeans JSF Visual Editor

    I'm just wondering if anyone has seen this problem. I tried to add a Static Text field to an existing Layout Panel. I see the field properly in the jsp and I see it in the Navigator panel.
    But, it does not appear when I try and write in the java view. I want to dynamically initialize it but using "this." or just using its id shows an error. The other elements under this panel work
    fine, but it seems I cannot add anything new.
    I've tried restarting netbeans, which also didn't help. Can anyone what conditions might
    cause this strange behavior?

    augustobacellar,
    The Visual Editor in JDeveloper 11 functions in much the same way it did in 10g. We use a page flow method of layout, not absolute positioning. This adheres to the container style model of layout provided by the JSF and allows JDeveloper to support Visual rendering for an array of component sets. Both the absolute positioning Visual Editors relay on one specific proprietary component set and do not support this style of visual development for other components. Thus, to adhere to our mantra of choice we chose a more robust approach.
    Regards,
    Ric

  • JSF Page Template error in Visual Editor

    Hi!
    I've developed a jsp page template with an attribute called BackingBean. This attribute is a mypackage.view.BackingBeanTemplate class and it works perfectly when I open the template in visual editor.
    When I create a new JSF page using my jsf page template and fill attribute BackingBean with a class that extends mypackage.view.BackingBeanTemplate, the visual editor send me the following error in Messages - Log:
    WARNING: A problem was encountered executing the page. Using fallback rendering.
    javax.el.PropertyNotFoundException: The class 'oracle.adf.view.rich.component.fragment.UIXPageTemplate$AttrMap' does not have the property 'BackingBean'.
    When I run my jsf it works perfectly. Just in visual editor it doesn't render my page.
    Can I use only primitive types and wrappers (String, Boolean, Integer, etc) in jsf template pages?
    Anybody could help me?
    Thanks
    Gleber

    Hi,
    actually i used a template that references a type DCIteratorBinding using EL and this works fine. So there is no limitation in the type you pass as an argument. My assumption is that the IDE doesn't instantiate super classes, which is why the property is not found. Does the subclass call super() in its constructor? Anyway, feel free to file a bug
    Frank

  • Enhancement request for the jsp visual editor

    Hello -
    With respect to the visual editor, could the rendering of adf faces command buttons work the same if you use the TextAndAccessKey instead of Text to define the button text? In 10.1.3, using TextAndAccessKey will cause the buttons to render as either thin buttons without any text (but with 'normal' button height) or barely noticable 'dots' about the size of a comma. (When I see the "dots" it is usually a button in a table selection component.)
    With the buttons appearing "empty", I need to click around a bit and examine the button in the property inspector to make sure that I am working with the correct button.
    Thanks,
    -- Scott

    Hi,
    Open wss_mediumtrust.config & wss_minimaltrust.config. SharePoint 2013(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\config\).
    Find in wss_mediumtrust.config:
    <SecurityClass
     Name="SqlClientPermission"
     Description="System.Data.SqlClient.SqlClientPermis sion, System.Data,
     Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    Copy and paste it in to the <SecurityClasses> node of wss_minimaltrust.config.
    In the PermissionSet section of this configuration file, add the following:
    Find in wss_mediumtrust.config:
    <IPermission class="SqlClientPermission" version="1" Unrestricted="true"/>
    Copy and paste it in to the a <PermissionSet> node of wss_minimaltrust.config.
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/en-US/a1c8f2bf-2575-40b4-87f1-4f98462b3234/request-for-the-permission-of-type-systemdatasqlclientsqlclientpermission-systemdata-version?forum=tfssetup
    Best Regards
    Dennis Guo
    TechNet Community Support

  • JSF Visual editor in Eclipse

    Hi
    I need to use the JSF visual editor in eclipse.Can any one suggest me the links where i can get the JSF plugins for eclipse.Please let me know in clear about the procedure to include the plugins.
    I had downloaded some JSF plugins online but failed to make the Visual editor run.
    Can you suggest me how can i proceed to the screen shots shown in the link
    http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial-RC3/JSFTools_tutorial.html
    Even i included plugins downloaded in to my eclipse i failed to see the "JSF Libraries " in the window-->preferences as shown in the first screen shot in the above link.
    Thanks in advance!!
    Sriram

    I use the Exadel plugin.

  • Execute JSF tags in Visual Editor?

    Hi to all,
    I'm currently using JDev 10.1.3.0.3.3412; I read that, checking "Execute tags in JSP Visual Editor" should render my jsf tags once I press the refresh button. However, I have been unable to get it to work. I have the library defined and my web app works perfectly in the OC4J server, but in the Visual Editor I can only see the names and layout of the JSF components I have, not they real look.
    Am I missing something?
    Best regards
    Alejandro

    can you reproduce in a simple case - the labels will come out as placeholder/binding text but if you drop on, for example, a table you should be the table layout and the navigation bars in that table...
    See http://www.oracle.com/technology/products/jdev/collateral/4gl/viewlets/Workshop_intro.swf - towards the end of this viewlet you see a JSF page layout - is this what you are seeing?

  • Can't get JSF tags to execute in Visual Editor (JDeveloper 10.1.3.0.3.3412)

    Hi,
    I have searched this discussion forum for this problem and apparently I can't find any solution / tried a few but none works. I am feeling quite frustrated about this as on Manning's "JavaServer Faces in Action" online extension gave real examples in JDeveloper that looked so attractive, but in reality it doesn't work!
    However, I could get 10.1.2 to associate with JSF by following online's howto's, but that would lose all the cool tools that come with 10.1.3 EA...
    I would appreciate it if anyone can provide a clue as how to make JSF tags execute in the Visual Editor...

    Hi shay,
    I discover that the problem was with my JSF source. I was importing from a source file (WAR) that comes with the book "JavaServer Faces in Action", when I import the file and try to open, I get a few exceptions shown on the console window, and the JSF tags were all unexecuted.
    And as I create a new JSF file on my own in JDeveloper, everything was fine...

  • Visual Editor cannot show the class extending a visual class of JFrame

    Hi,
    We want to create a base frame (BaseFrame) so that every form in our application extending it to share some common properties.
    But i found that the class (OrderFrame extends BaseFrame) cannot be shown properly in Visual Editor (run is ok).
    Is there any way to resolve it?
    Code Ref:
    BaseFrame.java
    public class BaseFrame extends JFrame {
    public BaseFrame() {
    try {
    jbInit();
    } catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.getContentPane().setLayout( null );
    this.setSize( new Dimension(400, 300) );
    this.setTitle( "Standard JFrame" );
    OrderFrame.java
    public class OrderFrame extends BaseFrame {
    public OrderFrame() {
    try {
    jbInit();
    } catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    }

    Olaf,
    When using your own beans it is best to create the bean in one project, and then use it in a second project. So in your example; use Project1.jpr to create, compile, test, debug BaseFrame.java. Then, once you are satisfied with it, use Project2.jpr to create, compile, test, debug MyInternalFrame.java. Your scenario works fine when adopting this approach. However, be sure that MyInternalFrame.java includes the necessary import statement for BaseFrame, and be sure that the classpath for Project2.jpr includes the path to BaseFrame.class. If you are using the default classpath settings for each project (i.e. myclasses) then the classpath concern will be taken care of for you already.
    Enjoy.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by olaf:
    Hi,
    the situation :
    BaseFrame extends JInternalFrame
    and
    MyInternalFrame extends BaseFrame
    Now I want to edit MyInternalFrame in the visual editor.
    I tried that by making a bean of BaseFrame and addiing the bean to the Palette but MyInternalFrame won't show up in the editor,
    anybody knows how to set this up ?
    Thanks,
    -- olaf<HR></BLOCKQUOTE>
    null

  • Jdeveloper visual editor do not show images and other component shapes

    I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
    Could you tell me how I can fix this problem?
    Thanks,
    Mike

    Actually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This does not talk much to me !
    Thanks

Maybe you are looking for

  • Z68A-GD55 G3 -- how do you get it to boot with 4 DIMMs installed?

    Howdy folks, I am really hoping that someone here can enlighten me on this magical BIOS setting that allows you to boot this unit up with all 4 DIMM slots populated?  I have scoured the dark corners of the interwebz trying to figure this out and it c

  • Imac g5 reload os

    Hello,  I have a 20 inch g5 imac, replace he hard drive and now can not reload the os getting a icon on the screen circle with what looks like time zone setting in the install process, can any one help on this please

  • Problem in Receiver content conversion

    Hi All, I have idoc to flat file, where my reciever is flatfile. I have a strucutre like below Header-1.1 Item..1..unbounded. footer..1..1, As i am using PI 7.0 , my requirement is to repeat the item segment multiple times. I am using fixedlengths, t

  • Little help?

    Very new to Java and just trying to get my bearings. I tried this bit of code and can't figure out why it fails. It manages to get all the strings from input (3 strings, in this case), but fails to exit the while loop. However, it finishes successful

  • Edit button missing from SharePoint page.

    I am unable to edit ONLY the search results page in SharePoint 2013. The Edit Page button simply does not appear: I'm at a loss as to whether I have permissioned something incorrectly or if I've failed activate a feature. Every other page has thi