[JSF] JDeveloper comments in visual jsp editor

hi,
I have written a renderkit for JSF which use a FilteringResponseWriter in order to filter more characters than those who are filtered by escape attribute. And also to add filtering to components who don't have escape attribute.
It works when i have my web application in my browser. But it doesn't work in the JDeveloper visual JSP editor.
I have written a lot of comments like :
<!-- oracle.DTE.BEFORE ..... -->
<!-- oracle.DTR.BEGIN...-->
and some <span ...> tags
Where does the problem comes from ?
Is it possible ton disable those elements in JDev configuration ?

Not really - as I said, we are aiming for Summer/Middle of the year timeframe for the 905 release.
Thanks
Grant

Similar Messages

  • JSP - LoadBundle and Component Error in Visual Design Editor

    Hi.
    I've tried to make simple international JSF application. So the first thing to do was to externalize strings from JSP to resources. According to instructions from Java Studio Creator Field Guide Chapter 13:
    http://developers.sun.com/members/promo/jscreator/bookshelf/fieldguide2_preview_13_customizing.pdf
    I added LoadBundle component to my JSP page:
    <f:loadBundle basename="myApp.Bundle" var="messages1"/>
    and set a text property of label component like this:
    <ui:label binding="#{Page1.label1}" id="label1" labelLevel="1"
    style="position: absolute; left: 144px; top: 48px; width: 240px; height: 24px" text="#{messages1.title}"/>
    There is a line in myApp.Bundle.properties file:
    title = Title from resource bundle
    After changing text property of label component to #{messages1.title} I've got a message:
    Component Error
    Cannot display label component in the Visual Design editor.
    Error message from the component: javax.faces.el.PropertyNotFoundException: Error testing property 'title' in bean of type null.
    Exception message:
    javax.faces.el.PropertyNotFoundException: Error testing property 'title' in bean of type null
         at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         at com.sun.rave.web.ui.faces.UIComponentPropertyResolver.getType(UIComponentPropertyResolver.java:298)
         at com.sun.rave.web.ui.faces.DataProviderPropertyResolver.getType(DataProviderPropertyResolver.java:264)
         at com.sun.jsfcl.data.ResultSetPropertyResolver.getType(ResultSetPropertyResolver.java:141)
         at com.sun.rave.jsfsupp.container.DesignTimePropertyResolver.getType(DesignTimePropertyResolver.java:169)
         at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:350)
         at com.sun.rave.web.ui.renderer.ValueHolderDesignTimeRenderer.encodeBegin(ValueHolderDesignTimeRenderer.java:59)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
    The same problem appears when I open example project from this book:
    Login2I18N-Alt
    It is a bug or am I doing something wrong?
    greatings
    znienacka

    go to Tools/Update Center and download the latest
    version of the components. It will solve the
    problem.Thanks, it works. But there is still one drawback - Visual Designer doesn't show any text inside label. If I remove all strings from JSP to resource file I will get an empty page!
    Is there any solution of this problem?
    znienacka

  • 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

  • Jdeveloper - GUI not visible in the visual design editor

    Hello everybody!
    Actually I'm designing a Java Desktop Application with javax.swing. using JDeveloper 11g Release 1 (Studio Edition Version 11.1.1.3.0, Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660), Java Platform 1.6.0_18 and Oracle IDE 11.1.1.3.37.56.60 on Linux.
    My question is related to JDevelopers visual design editor. Most of my forms extend javax.swing.JInternalFrame. Those forms are visible within the visual design editor but for some of my forms I had to create a subclass of JInternalFrame named ITMSInternalFrame.
    package itms.view;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JInternalFrame;
    public class ITMSInternalFrame extends JInternalFrame {
        private MainWindow mainWindow;
        private JButton btnExit;
        protected static final ImageIcon ICOCOMMIT =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/commit-icon.png"));
        protected static final ImageIcon ICOROLLBACK =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/rollback-icon.png"));
        protected static final ImageIcon ICOINSERT =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/add-icon.png"));
        protected static final ImageIcon ICOUPDATE =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/page-edit-icon.png"));
        protected static final ImageIcon ICODELETE =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/delete-icon.png"));
        protected static final ImageIcon ICOUSER =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/user-icon-16x16.png"));
        protected static final ImageIcon ICOWAPPEN =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/wappen-icon.png"));
        protected static final ImageIcon ICOPRINT =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/printer-icon-16x16.png"));
        protected static final ImageIcon ICOPRINTPREVIEW =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/find-icon.png"));
        protected static final ImageIcon ICOITSET =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/folder-Options-icon-16x16.png"));
        protected static final ImageIcon ICOREALESTATE =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/real-estate-icon-16x16.png"));
        protected static final ImageIcon ICOBUILDING =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/building-icon-16x16.png"));
        protected static final ImageIcon ICOROOM =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/room-icon-16x16.png"));
        protected static final ImageIcon ICOPROCESS =
            new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/process-icon-16x16.png"));
        public ITMSInternalFrame(MainWindow mainWindow, String title,
                                 String path) {
            this.mainWindow = mainWindow;
            this.setLayout(null);
            this.setTitle(title);
            setFrameIcon(new ImageIcon(ITMSInternalFrame.class.getResource(path)));
            this.addInternalFrameListener(this.mainWindow);
        public MainWindow getMainWindow() {
            return this.mainWindow;
        public JButton getExitButton() {
            btnExit = new JButton();
            btnExit.setIcon(new ImageIcon(ITMSInternalFrame.class.getResource("grafiken/home-icon.png")));
            btnExit.setToolTipText("Closes this window");
            btnExit.setActionCommand("Exit");
            btnExit.addActionListener(this.mainWindow);
            return btnExit;
    }The forms that extend ITMSInternalFrame are not visible within JDevelopers visual editor. It says "No GUI selected. Double click on an item in the Structure Window to see its GUI here" and in the UI - Log it tells me "Unable to instantiate live instance for btnExit; using placeholder object instead."
    I've used Google to find an answer and I've read certain tips about it in different forums but non of that used to help me. So please, does anyone of guys around here know what to do to solve this?
    I look forward to receiving your advice on this matter.
    Yours sincerely.
    Florian W.

    Hi,
    I remember GUI subclasses to be an issue in 10.1.3. Not sure this has been resolved. Best suggestion is to file a service request with support and have them looking at a test case
    Frank

  • Best JSP Editor

    Hi,
    Recently I've been looking for a really good JSP editor. I wanted syntax coloring and auto completion for jsp, html, and javascript. I also wanted the editor to run quickly and have a lot of efficient key input features. I tried ... Forte, Visual Age, JDeveloper, JBuilder, JCreator, HomeSite, JPad, NetBeans, JIdea (I think that's the name), and about 4 other ones but I can't remember their names. They were all pretty crappy in dealing with jsp/html/javascript. -Even though I think that JBuilder is the best for writing java.
    If anybody is looking for the best jsp/html/javascript editor you can save yourself a lot of headaches if you try out Visual Slick. And by the way I'm a graduate student, I don't work for Visual Slick.

    Hi,
    Thanks for Together suggestion. It looks pretty loaded, with many different tools. But maybe it's my stupidity: i couldn't add a java file to the project i opened, and there are no menu items/shortcuts to compile a java file. I spent an hour on this, then gave up and returned to my previous development tool. It's not as loaded, and has some keying problems, but at least i am in total control there.
    Any tips?
    Thanks,
    r

  • Bug: JSP-Editor and Generics

    Hi,
    the JSP-Editor has problems with the usage of Generics in JSP-Pages.
    <%
    // without Generics it works fine
    List list1 = (List)request.getAttribute("myList");
    // with Generics the editor reports an error
    List<String> stringList = (List<String>)request.getAttribute("myList");
    %>
    Would be nice to have this fixed in the next release?
    Günther

    Simon,
    if there is a internal cache then bouncing JDeveloper or just the project would solve the problem.
    So just for me to understand the steps to reproduce:
    - create a template in public-html
    - move the template to WEB-INF
    - refresh project
    Is this all I need to do ?
    Frank

  • JSP-Editor / JDEV

    Hi,
    I develop the business logic with JDev but the Web-Designer wants to use an external HTML/JSP-Editor. Which tool works fine with JSPs and does not destroy any JSP content or the format and has a WYSIWYG mode ? (Frontpage seems to to have some problems with some JSP elemets and tries to change the format of my source code (indentation etc.)))
    Any recommendations are welcome.
    Klaus
    null

    How can I add FrontPage or DreamWaver to Tools Menu in JDeveloper in order to interface with HTML tools and JDeveloper quickly. (I saw this at Online Demo of JDeveloper)
    Thanks
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team:
    I personally find DreamWeaver UltraDev to be very good with JSP/HTML code.. It doesn't corrupt any of my existing JSP code..
    Hope this helps, -Chris<HR></BLOCKQUOTE>
    null

  • FREEEEE struts/jsp editor plugin for Eclipse

    Hi guys,
    I am tired of searching for struts/jsp editor plugin for Eclipse. I tried the trail version for Exadel, My eclipse, Lomboz, but none of them are good enough. I dont want to pay for a plugin.
    So I downloaded Netbeans IDE which has good support for struts. But I dont want to change my Eclipse IDE because its much better.
    In case you are already using a good struts/jsp editor plugin for Eclipse then please advice me ASAP.
    I dont want to type up the code like <html:text or wait for runtime compilation to realize that there is a problem in the syntax. Wouldnt it be a lot better if the IDE help us reduce the development time.
    Thanx
    Rohit Kumar

    Thanx for your reply.
    I used JDeveloper with Oracle many years back. That time I found it to be slow. Maybe it must have improved by now.
    Today I downloaded EasyEclipse which is built on Excipse 3.1
    EasyEclipse
    http://www.easyeclipse.org/site/home/index.html
    EasyEclipse Plugins
         -----> Amateras JSP, HTML, XML editor
         -----> Weblogic Server Plugin for Eclipse
         -----> JBoss IDE
         -----> J2EE Tools
         -----> ....................
    http://www.easyeclipse.org/site/plugins/index.html
    I would say WOW. It satisfies most of my needs. Maybe all u guys might wanna try it too.
    Regards
    Rohit Kumar

  • JSP-Editor not working properly

    Hi everybody,
    I am working with ISA5.0 and NWDI. I have checked out the Web-Module Project crm/isa/web/b2b.
    Now I would like to modify JSP-Files. Unfortonately the JSP-Editor is not working properly.
    The JSP-Editor cannot resolve references to Tag-Libraries like
    <%@ taglib uri="/isa" prefix="isa" %>
    Furthermore I get Errors with JSP-Includes
    <%@ include file="checksession.inc" %>
    The JSP-Editor does not show any other compile errors until the above mentioned errors are resolved.
    So the JSP-Editor does not help with compile errors.
    I have tried to use Lomboz instead, but due to the modularization in ISA5.0 and NWDI (ie the Taglibraries are defined in a separate module) I did not get it to work either.
    Does anybody have experience on how to get the JSP editor to work properly?
    Thanks for your help,
    Andreas

    Highlite the clip in the timeline, control click on it and choose "send to soundtrack as an audio file project" in the pop up menu. Don't do an "open with editor". This should work.
    If it doesn't and it's just the one clip, you could launch Soundtrack and then open that clip as an audio project . . . don't do a open with editor, just open it directly. Make your adjustment and save over writing the file with the new audio. You may want to copy the clip first as a backup. When you open your FCP project, you'll have to re-link the clip. Once you do it will show up with the new sound.

  • Error during activation of NitroX Free JSP Editor

    Thank you for downloading NitroX.
    If you experienced an error during the activation of the NitroX Free JSP Editor due to an earlier trial version already installed, please click the following link to activate the product and this will resolve the issue:
    https://devclub.m7.com/getFreeJsp.do
    If you have any other questions please do not hesitate to contact us.
    M7 Support

    I activated NitroX fine last night at home, but I tried it at work which uses a proxy server, and it's failing activation.I then tried manually pasting the code from the web site as mentioned in this post, but when I hit OK it just says that NitroX will not be available.
    I am having the same problem.

  • HTML Comments in a JSP Document

    I am writing a JSP Document that has a number of comments. Some I want to be server-side such as version history and some I want to be client-side.
    Using a JSP page this is easily achieved using JSP comments <%-- JSP comment for server-side --%> and HTML Comments<!-- HTML comment client-side -->.
    Using XML syntax a number of things are apparent:
    1. There is no XML equivalent of a JSP comment (this has been well doc'd for a long time).
    2. In the Java EE tutorials the recommended alternative to a JSP coomment is a HTML comment.
    3. Using HTML comments in a JSP document the web container omits these in the page output - and so they are server-side only just like a JSP comment.
    Code Snippet:
    <template xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="1.2">
    <!-- this comment will not appear in the generated source on the client browser -->
    </template>
    <!-- JSP fragment for no caching policy -->
    So, my question is how do I generate a client-side comment in a JSP Document?
    Thanks
    Edited by: DJT on Mar 3, 2008 4:28 AM
    Edited by: DJT on Mar 3, 2008 4:30 AM

    I found this ....
    http://www.javaworld.com/javaworld/jw-07-2003/jw-0725-morejsp.html
    One significant disadvantage of JSP documents is that no XML-compliant version of JSP comments exists. A JSP document developer can use client-side (HTML-/XML-style) comments or embed Java comments in scriptlets, but there is no JSP document equivalent to <%-- -->. This is a disadvantage because the other two commenting styles JSP documents can use have their own drawbacks. You can see the client-side comments in the rendered page using the browser's View Source option. The Java comments in scriptlets require placing Java code directly in the JSP document.
    So try to embed the HTML comment inside scriptlet tags...
    <%
    <!-- HTML comment here -->
    %>

  • Save As in JSP editor

    The File -> Save As in the JSP Editor is disabled. Any clue why?

    Here are a few resources that might help:
    http://developer.java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
    http://www.sun.com/developers/gadc/technicalpublications/articles/iws6.html
    http://www.sun.com/developers/gadc/technicalpublications/articles/apache.html
    Hope this helps,
    John O'Conner

  • Safari problem with visual HTML editor

    Hey all,
    I have an error when trying to make an auction on a big portal. Safari doesn't have built-in visual HTML editor.
    http://img403.imageshack.us/i/domerror.tif/
    Any suggestions?
    Message was edited by: moksienciuk

    HI,
    I think you'd have better luck for answers by contacting the site support area.
    You could try using the Firefox for Mac browser instead.
    http://www.apple.com/downloads/macosx/internet_utilities/mozillafirefox.html
    Always good to have a back up browser regardless and it might be more user friendly for that particular site.
    Carolyn

  • JSP editor ignores position attributes in style tag

    I have recently installed M7 NitroX for JSP and Struts evaluation build 366.
    When using the JSP editor to view the design of a jsp page that uses layers
    e.g. <div style="position:absolute; left: 100px; top: 100px;">sometext</div>
    The design view completely ignores the position attributes.
    Is this a know issue? If so, is there a workaround for displaying dhtml layers correctly?
    Thanks.

    Thanks for the post. This is a known issue that we will address in future versions of NitroX.

  • Java or JSP editor ?

    please suggest me a good Java and JSP editor, which can be used to create plain java classes (java beans or servlet) and JSP pages.
    is NetBeans or Eclipse will fulfill my requirement ?or what else ?

    please suggest me a good Java and JSP editor, which
    can be used to create plain java classes (java beans
    or servlet) and JSP pages.
    Try a new one every week for the next several years and decide for yourself which you like best.
    There's enough of them to keep you occupied as our resident editor tester for the rest of your life even if no new ones were released every day or so.
    is NetBeans or Eclipse will fulfill my requirement
    ?or what else ?doubt have abt ur rekwaierements fur editer. plz respond asap.

Maybe you are looking for