BUG JSP editor jsp:attribute action

Hello, there's a bug in JDeveloper.
1. Create tag file
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="x" fragment="true" required="true" %>
2. Create JSP file
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib tagdir="/WEB-INF/tags/" prefix="tags"%>
<tags:tagFile1>
<jsp:attribute name="x">
Hello
</jsp:attribute>
</tags:tagFile1>
JDeveloper underlines the tag in red and says "Required attribute x is missing..." OC4J runtime behaviour is normal (if we ignore other issues with tag files). I am using JDeveloper 10.1.3.1.

Hi,
Put this code in the editor and see it will show you the preview
=========================================
<%@ taglib uri="tagLib" prefix="hbj" %>
<html>
<body>
Hello
</body>
</html>
============================================
This will not show you a preview
===========================================
<%@ taglib uri="tagLib" prefix="hbj" %>
<jsp:useBean id="myBean" scope="application" class="com.cts.bean.User" />
<hbj:content
     id="myContext">
<hbj:page title="Kirupanand">
   <hbj:form id="myFormId" >
  <hbj:inputField type="String"  id="Getuser"
    size="30"  value="" maxlength="8"
    disabled="false">
   </hbj:inputField>
<hbj:inputField  type="String"
id="Displayuser"  size="30"
value="<%=myBean.getUser()%>"
maxlength="8"      disabled="false">
</hbj:inputField>
<hbj:button  id="Store"  text="Save"  width="125px"
tooltip="Save User Name"  onClick="clientSave"
disabled="false" design="STANDARD" />     
  </hbj:form>
</hbj:page>
  </hbj:content>
<html>
<body>
Hello
</body>
</html>
===================================================
what does this mean? If you use HTMLB tags then you cannot see a preview. Not because of " <%@ taglib uri="tagLib" prefix="hbj" %> " this statement is used to tell to the program which executes the jsp that use this TagLib to understand what the component starting with hbj should do.

Similar Messages

  • 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.

  • 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

  • [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

  • Unable to open JSP files using Workshop JSP Editor 3.0

    Every time I try to open a JSP file in Workshop JSP Editor 3.0, I get the following error:
    Unable to create this part due to an internal error. Reason for the failure: Cannot open the specified document:
    null
    org.eclipse.ui.PartInitException: Cannot open the specified document:
    null
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.A(Unknown Source)
         at com.m7.wide.eclipse.jstudio.DynamicMultiPageEditor.init(Unknown Source)
         at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778)
         at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
         at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
         at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
         at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
         at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
         at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
         at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
         at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
         at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
         at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
         at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
         at org.eclipse.wst.common.navigator.internal.actions.ResourceOpenListener.open(ResourceOpenListener.java:58)
         at org.eclipse.wst.common.navigator.internal.views.extensions.CommonOpenService.open(CommonOpenService.java:63)
         at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
         at org.eclipse.core.runtime.Platform.run(Platform.java:783)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
         at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
         at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
         at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
         at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
         at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
         at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
         at org.eclipse.core.launcher.Main.run(Main.java:973)
         at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    The jsp file is present in its directory, and the directory is not linked. Reinstalling BEA Workshop doesn't help. Any suggestions?

    Please post this question to the bea.workshop.developer.general newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=600000007
    Thanks
    Raj

  • 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.

  • JSP 1.2: jsp expression in attribute value doesn't parse.

    Hi, I'm trying to use a jsp:expression in an html attribute value in JSP 1.2 but jasper doesn't seem to be able to parse it correctly. I'm using the XML syntax in my jsp, the relevant snippets are as follows:
    <jsp:scriptlet>
    String versionedPath = "/mysite/2.1/images";
    </jsp:scriptlet>
    <img src="%= versionedPath %/foo.jpg" />
    The JSP documentation claims that this will work but I'm beginning to think this syntax won't work when using JSP's XML syntax. I already know that the following won't work:
    <img src="<jsp:expression> versionedPath </jsp:expression>/foo.jpg" />
    as it did in JSP 1.1 because it's not well-formed xml.
    Is it even possible to use jsp expressions in attribute values when using JSP 1.2's XML syntax? If so, please enlighten me, and if not, well, that seems pretty broken to me.
    TIA...
    --Stuart

    you should use this:
    <img src=<%= versionedPath %>/foo.jpg >

  • 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.

  • 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

  • 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.

  • Do JSP Variables in the JSP Editor support Generics?

    Do JSP Variables in the JSP Editor support Generics?
    For example List<Client> clients and then introspect all Variables in the Generic Type <Client>?

    Not yet. But you can always "manually" select the list element type in the smart editors. For example the c:forEach, logic:iterate, h:dataGrid smart editors allow you to specify the iteration variable type. Same thing when you insert a list variable in the page.
    M7 Support

  • JSP editor design palette in 10.3.2 not working

    Hi,
    Is there any way to enable the jsp editor Design Palette in Workspace Studio for WLP 10.3.2? I've added the Beehive NetUI, Beehive Controls, and Struts 1.2 facets to my portal web project, but the design palette for jsp editing is empty.
    Thanks.

    Thanks for that hint - the tags are in the palette now, but what does not work is autocompletion for expressions and all the nice netui wizards do not come up. Has this been removed in 10.3.2?
    With best regards,
    Florian
    Edited by: [email protected] on Mar 16, 2010 2:53 AM

  • Bug in viewCDZDocument.jsp?

    When the 'refresh on open' option is clicked on, viewCDZDocument.jsp calls getPrompts.jsp. We modified getPrompts.jsp to access the document's data providers. This puts the system in some weird state where it doesn't think there is any data returned by the query, and it displays the "No Data Retreived" message. But when I change viewCDZDocument.jsp to call refreshDocument.jsp in the case where the 'refresh on open' option is clicked on, I don't get the message - everything works great. Makes sense too - why would it call anything other than refreshDocument.jsp in this situation. Therefore, I think there is a bug in viewCDZDocument.jsp.
    Any opinions?

    When the 'refresh on open' option is clicked on, viewCDZDocument.jsp calls getPrompts.jsp. We modified getPrompts.jsp to access the document's data providers. This puts the system in some weird state where it doesn't think there is any data returned by the query, and it displays the "No Data Retreived" message. But when I change viewCDZDocument.jsp to call refreshDocument.jsp in the case where the 'refresh on open' option is clicked on, I don't get the message - everything works great. Makes sense too - why would it call anything other than refreshDocument.jsp in this situation. Therefore, I think there is a bug in viewCDZDocument.jsp.
    Any opinions?

  • 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

  • Looking for good JSP editors??

    Hi,
    I am new to JSP but very old to ASP. I am looking for good JSP editors if there are any for free to dl.
    Do we have any JSP editors...like in Microsoft which gives you dropdown list of parameters and properties.methods... ???
    Thanks,
    Kavans.

    Sounds like your looking for a good IDE. As far as free ones
    go, netbeans is as good as any. Comes with a lot of nice
    features.. such as code completion, and has the latest version
    of tomcat integrated.

Maybe you are looking for

  • Problem with capturing of baselines

    Hi ! I have a problem with capturing of baselines- when the SQL is called from PL/SQL code... For example if I execute in SQL* Plus session alter session set optimizer_capture_sql_plan_baselines = true; exec dbms_mview.refresh('VIEW_CLIENT_KONTO', 'C

  • Create VA01 - Returns - BAPI

    Hi All, I am new to AFS and my requirement is to create a Return from my program.id Order type RE in VA01 The return should have AFS details , so the BAPI BAPI_CUSTOMERRETURN_CREATE seems to be not sufficient as it does not have any AFS data entry. P

  • Integration Builder

    Hi there, I'm unable to access the IB through the web browser in a client system. I getting connected to XI system through the LogOn pad. Can you please help me out, I have even installed Java Web Start and have done all the settings in the environme

  • CSS Layout Issues

    Hi there, I'm having issues with the layout of a site I doing for a friend. I searched the forum and I understand how to stack images. However, when the site is rendered in Firefox, alignment is wrong - looks close to what is should be in Dreamweaver

  • Transaction variant for FP05

    Hi All, I have created a transaction variant for FP05 to make a field(post on account) defaulted. It is working fine if  I enter only one line item . Now if I enter multiple line items then it is marking the post on account as 'X' only for first line