JSF Design View broken? Fallback Rendering, "Render Kit" not found
Hi,
I just wanted to toy around with JDeveloper 11g TP3, created a new project, added technology scope JSF (+ JSP/Servlets, etc.) then the tag-library ADF Faces Component 11-ji3.
Then I created a data control from a POJO and wanted to visualize this within a JSF page. So I created one (via faces-config visual editor), dragged the appropriate getter-method to the page in the up-to-this-point working WYSIWYG editor, selected ADF-read-only-form and suddenly found myself in the JSF "alternate rendering" (a view like in an hierachical XML editor). I enabled "design time messages in log" to see what the problem was.
Stopping/Starting JDeveloper or removing tag libraries like suggested in other threads did not work. I was unable to reactivate the wysiwyg editor for this page or any new JSF page in this application, always the "alternate rendering".
Log said "oracle.sql.OraData" was missing, so I added ojdbc6.jar to the project classpath. Didn't help, no wysiwyg editor, log now says:
--- snip ---
18.02.2008 14:12:37 oracle.adfinternal.view.faces.lifecycle.LifecycleImpl _isPostback
WARNUNG: Render Kit konnte nicht gefunden werden
WARNING: A problem was encountered executing the page. Using fallback rendering.
java.lang.NullPointerException
at org.apache.myfaces.trinidad.util.Service.getService(Service.java:82)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:333)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:154)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
--- end ---
I have this error even for newly created (ie blank/HelloWorld) JSF pages in my application. I started adding some libraries, but nothing helped. How do I reactivate the wysiwyg editor?
Thanks!
Frank,
thanks for the reply. I will try what you suggested, but the trinidad-config.xml is actually not missing in my project, although it does not include a render kit definition.
As my first step with 11g I also tried one of the tutorials (http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html) and there the wysiwyg was working nicely the whole time.
In both cases (my project == not working wysiwyg editor, tutorial == nicely working wysiwyg editor) the content of the trinidad-config.xml is the same:
--- trinidad-config.xml ---
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>blafplus-rich</skin-family>
</trinidad-config>
--- end-of-file ---
Rgds
Axel
Similar Messages
-
JSF Design view broken, showing tags as blocks instead of preview
I'm using jDev Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
but this has happened to me several times before with previous versions of jDev.
All of the sudden after restarting jDev the design view for all my jsf pages look broken, showing only tag blocks, and not the design view it was showing previously. Why is this? what happened?
The only fix I found on this forum was to remove the system directory (should be somewhere like: C:\Documents and Settings\yourUser\Application Data\JDeveloper\system11.1.1.3.37.56.60 ) and let jDev create a new one. But then I have to reconfigure everything again, which can be frustrating.
Can anyone explain what's going on here, and if there's a better way to fix my jDev when this happens?
Edited by: tnology on 14-Nov-2012 13:37Thanks, so these are the messages I am getting in Design view, anyone know what it means? :
Nov 14, 2012 3:31:52 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Nov 14, 2012 3:32:00 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
INFO: jar:file:/C:/Oracle/Middleware23/jdeveloper/jlib/bundleresolver.jar!/META-INF/faces-config.xml metadata-complete undefined (false)
Nov 14, 2012 3:32:02 PM oracle.bali.xml.share.WeakListenerManager addListener
WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@185d004source=oracle.jdevimpl.webapp.jsp.libraries.JspLibraryMetadataGrammarProvider@35b0c9
Nov 14, 2012 3:32:04 PM javax.faces.FactoryFinder$FactoryManager getFactory
SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory. Attempting to find backup.
WARNING: Unable to initialize <servlet> Faces Servlet. Check project libraries configuration.
java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory.
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:331)
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:219)
Nov 14, 2012 3:32:06 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Nov 14, 2012 3:32:06 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Nov 14, 2012 3:32:24 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable. -
JDev 11g JSF design view problem
Hi everyone
I have a problem with JDev 11g
whenever I'm trying to edit a jsf page the design view only shows the tag names like the image below
[http://www.imgplace.com/viewimg134/241/9511g.png]
this is only happens when editing jsf pages and everything is ok while editing jsp
so why is this happening and how to fix it?
thanks
Edited by: user13266332 on Jul 23, 2010 10:09 PMThanks for the link Shay Shmeltzer.
but unfortunately that didn't help much
i tried running jdev.exe with the console open and also enabled "Show Design Time Messages in Log" but i didn't get any error message
also tried adding different libraries to project but the design view still doesn't render the tags.
any other solution? -
Empty JSF Design view in JDeveloper 11g
Hello,
I m newbie in ADF.
JDeveloper version 11.1.2.2.0.
Fusion Web Application project.
After some developing time all my JSF Design view became empty. When I click on that empty surface there some exception raises:
oracle.bali.xml.share.WeakListenerManager:Sep 20, 2012 7:07:53 PM oracle.bali.xml.share.WeakListenerManager addListener
WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@17359cbsource=oracle.jdevimpl.webapp.facelets.libraries.FaceletsLibraryMetadataGrammarProvider@820671
oracle.jps.common:Sep 20, 2012 7:08:00 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
oracle.jps.common:Sep 20, 2012 7:08:00 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
java.lang.IllegalArgumentException: can't create position before or after oracle.xml.parser.v2.XMLDocument@bab945
java.lang.IllegalArgumentException: can't create position before or after oracle.xml.parser.v2.XMLDocument@bab945
o.bali.xml.dom.position.DomPosition.<init>(DomPosition.java:832)
o.bali.xml.dom.position.DomPosition.<init>(DomPosition.java:74)
And nothing else more..
I have reinstalled my JDeveloper, clean AppData JDeveloper. And still nothing solved. Other Demo Oracle project works fun.
Pls, help me.
Sorry for my English.A have solved my problem after droping:
<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>
from web xml. -
"Unable to view this file because Acrobat was not found."
I Downloaded Adobe Creative Suite 6. I created an Interactive PDF Form and then tried to export the form to PDF. I get the following error. "Unable to view this file because Acrobat was not found."
What do i need to do to get this to work?In the Export dialog, try turning off the box that says View PDF after Exporting. It may be on by default.
-
JDev 10.0.3.2 - JSF Design View
in jdeveloper 10.0.3.2 the jsp design view does not work anymore for myfaces and trinidad JSF components.
it works in jdeveloper 10.0.3.1 with the exception of tomahawk components that rely on the myfaces extension filter.
after some investigation it turned out that the design time container seems to be tied with ADF faces, event if they are not used in the project (see jdeveloper stacktrace below).
so i tried the J2EE edition 10.0.3.2 with does not contain ADF at all and the design view works fine with this edtion.
has anyone similar experiences?- maybe someone from jdeveloper dev team can take a look at this.
thanks
robert
02.02.2007 12:13:46 org.apache.myfaces.trinidad.component.UIXComponentBase _createType
SCHWERWIEGEND: Could not load type properties
java.lang.NullPointerException
at oracle.jdevimpl.webapp.design.DesignTimeClassLoader.loadClass(DesignTimeClassLoader.java:206)
at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1343)
at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:92)
at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer.<init>(DesktopTableRenderer.java:86)
at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopRenderKit.<init>(DesktopRenderKit.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:935)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.contextInitialized(DesignTimeServletContainerContext.java:1048)
at oracle.jdevimpl.webapp.design.DesignTimeThread.invokeContextInitialized(DesignTimeThread.java:682)
at oracle.jdevimpl.webapp.design.DesignTimeThread.synchronousUpdate(DesignTimeThread.java:137)
at oracle.jdevimpl.webapp.design.DesignTimeDocumentContext._init(DesignTimeDocumentContext.java:1498)
at oracle.jdevimpl.webapp.design.DesignTimeDocumentContext.<init>(DesignTimeDocumentContext.java:249)
at oracle.jdevimpl.webapp.design.DesignTimeEngine.start(DesignTimeEngine.java:243)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.startupDesignTime(JspEditor.java:307)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:208)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.webapp.ConfigParser parseConfigFile
INFO: Trinidad is running in debug mode. Do not use in a production environment. See:/WEB-INF/trinidad-config.xml
02.02.2007 12:13:48 oracle.adf.view.faces.webapp.AdfFacesFilterHelper verifyFilterIsInstalled
WARNUNG: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl _checkTimestamp
INFO: Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
02.02.2007 12:13:48 org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler _logError
SCHWERWIEGEND: jar:file:/C:/devtools/jdev10132/jlib/adf-faces-impl.jar!/META-INF/agent/capabilities.xml: Parsing error, line 2, column 89:
org.xml.sax.SAXParseException: Invalid Namespace: http://xmlns.oracle.com/adf/view/faces/agent/capabilities
at org.apache.myfaces.trinidadinternal.agent.parse.CapabilitiesDocumentParser.startElement(CapabilitiesDocumentParser.java:114)
at org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder$Handler.startElement(TreeBuilder.java:333)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
at org.apache.myfaces.trinidadinternal.share.xml.TreeBuilder.parse(TreeBuilder.java:169)
at org.apache.myfaces.trinidadinternal.agent.parse.CapabilitiesDocumentParser.createInstance(CapabilitiesDocumentParser.java:74)
at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider._getCapabilityDocument(CapabilitiesProvider.java:131)
at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider._getCapabilities(CapabilitiesProvider.java:113)
at org.apache.myfaces.trinidadinternal.agent.CapabilitiesProvider.getCapabilities(CapabilitiesProvider.java:94)
at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl._getCapabilityMap(TrinidadAgentImpl.java:268)
at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl._initialize(TrinidadAgentImpl.java:238)
at org.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl.<init>(TrinidadAgentImpl.java:43)
at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getAgent(RequestContextImpl.java:595)
at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.chooseRenderKit(CoreRenderKit.java:148)
at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:53)
at com.sun.faces.context.FacesContextImpl.getRenderKit(FacesContextImpl.java:252)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.getRenderKit(FacesContextFactoryImpl.java:120)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:296)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:137)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:274)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:380)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:329)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:216)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:93)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:357)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:232)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:681)
at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:626)
at oracle.jdevimpl.webapp.design.DesignTimeRenderThread.service(DesignTimeRenderThread.java:74)
at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.java:348)
at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument._serviceJsp(DesignTimeViewDocument.java:851)
at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument.rebuildTree(DesignTimeViewDocument.java:137)
at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:154)
at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
02.02.2007 12:13:51 org.apache.myfaces.trinidad.webapp.ResourceServlet _initDebugHi Timo, thanks for the quick reply!
I'm trying to do this for a few EO/VO pairs so I'll give a generic example.
I have an EO made up of the following fields (id, accessstring) and a corresponding VO with (id, accessstring, descr) fields. The descr field is the transient attribute. I'd like to set the accessstring value to the descr value.
What I tried, and forgive the simplicity of my first shot, was the following override in the VOImpl class:
public void postChanges(TransactionEvent transactionEvent) {
Row currentRow = getCurrentRow();
if( currentRow != null ){
currentRow.setAttribute("accessstring",currentRow.getAttribute("descr"));
super.postChanges(transactionEvent);
This works, but executes far too often and I get the JBO error from the original post. I'm not aware of anything at the VOImpl level to test state like I could if I were at the EOImpl level (e.g. the prepareforDML method). So either I'm going about this completely the wrong way or there's something I'm missing in the postChanges to have this code execute less often. -
JSF design view - visual components are shrinking
Hello,
I have some strange issue while using Design view for JSF and data binding.
Once I drop any data control elements into visual component (panel, etc) my visual components are shrinking to such size, that I cannot distinguish any elements within design view. I cannot use design view since then and have to place all elements base on structure panel.
How to reproduce:
1. Create new JSF page with wizard and accept defaults.
2. Drop one of the panels (panel box, panel group layout) into JSF layout
At this stage my visual elements occupy 100% of design view screen and represent anticipated outcome
3. Drag and drop one of the data control elements (data control panel) into created panels on JSF and create table or form
Immediately after it visual panel where data control was dropped shrinks to approximately 1/4 of the screen and I cannot see neither available space nor created table for my data components.
I figured out, that if I remove created by wizard default <af:messages> tag from the top of my JSF, then design view representation fixes. Not sure if I should remove <af:messages> from all my pages.
Above all looks to me as and bug.
Environment:
-Jdeveloper 11g
-Windows Vista 64b
-Not bundled JDK 6Hi Shay,
Thank you for response.
1. I tried to play with screen size without result
2. I checked your video post, but this does not resolve my issue
3. This issue occures with all JSF pages and can be reproduced even when following official Oracle step by step tutorials.
4. I figured out, that removing <af:messages> tag resolves the issue ?! It seems this tag is added by default during drag and drop binding.
5. On this link http://drop.io/jdev_001 you can see how design view is changes with and without <af:messages> tag
6. Below is code example from one of the tutorials, that leads to shrinking as well:
7. Once app is deployed and running page get normal view in IE as expected, so it seems to me, it is issue with Jdev design view, probably influenced by my environment, if nobody reported it before.
Thank you for your help.
===========================================================================
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelStretchLayout id="psl1">
<f:facet name="center">
<!-- id="af_one_column_stretched" -->
<af:decorativeBox theme="dark" id="db1">
<f:facet name="center">
<af:decorativeBox theme="medium" id="db2">
<f:facet name="center">
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.p_name.inputValue}" label="#{bindings.p_name.hints.label}"
required="#{bindings.p_name.hints.mandatory}" columns="#{bindings.p_name.hints.displayWidth}"
maximumLength="#{bindings.p_name.hints.precision}" shortDesc="#{bindings.p_name.hints.tooltip}" id="it1">
<f:validator binding="#{bindings.p_name.validator}"/>
</af:inputText>
<af:commandButton actionListener="#{bindings.getEmployeesFindByName.execute}" text="getEmployeesFindByName"
disabled="#{!bindings.getEmployeesFindByName.enabled}" id="cb1"/>
<af:panelFormLayout id="pfl2">
<af:inputText value="#{bindings.commissionPct.inputValue}" label="#{bindings.commissionPct.hints.label}"
required="#{bindings.commissionPct.hints.mandatory}" columns="#{bindings.commissionPct.hints.displayWidth}"
maximumLength="#{bindings.commissionPct.hints.precision}" shortDesc="#{bindings.commissionPct.hints.tooltip}"
id="it4">
<f:validator binding="#{bindings.commissionPct.validator}"/>
<af:convertNumber groupingUsed="false" pattern="#{bindings.commissionPct.format}"/>
</af:inputText>
<af:inputText value="#{bindings.email.inputValue}" label="#{bindings.email.hints.label}"
required="#{bindings.email.hints.mandatory}" columns="#{bindings.email.hints.displayWidth}"
maximumLength="#{bindings.email.hints.precision}" shortDesc="#{bindings.email.hints.tooltip}" id="it7">
<f:validator binding="#{bindings.email.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.employeeId.inputValue}" label="#{bindings.employeeId.hints.label}"
required="#{bindings.employeeId.hints.mandatory}" columns="#{bindings.employeeId.hints.displayWidth}"
maximumLength="#{bindings.employeeId.hints.precision}" shortDesc="#{bindings.employeeId.hints.tooltip}"
id="it6">
<f:validator binding="#{bindings.employeeId.validator}"/>
<af:convertNumber groupingUsed="false" pattern="#{bindings.employeeId.format}"/>
</af:inputText>
<af:inputText value="#{bindings.firstName.inputValue}" label="#{bindings.firstName.hints.label}"
required="#{bindings.firstName.hints.mandatory}" columns="#{bindings.firstName.hints.displayWidth}"
maximumLength="#{bindings.firstName.hints.precision}" shortDesc="#{bindings.firstName.hints.tooltip}" id="it3">
<f:validator binding="#{bindings.firstName.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.hireDate.inputValue}" label="#{bindings.hireDate.hints.label}"
required="#{bindings.hireDate.hints.mandatory}" shortDesc="#{bindings.hireDate.hints.tooltip}" id="id1">
<f:validator binding="#{bindings.hireDate.validator}"/>
<af:convertDateTime pattern="#{bindings.hireDate.format}"/>
</af:inputDate>
<af:inputText value="#{bindings.jobId.inputValue}" label="#{bindings.jobId.hints.label}"
required="#{bindings.jobId.hints.mandatory}" columns="#{bindings.jobId.hints.displayWidth}"
maximumLength="#{bindings.jobId.hints.precision}" shortDesc="#{bindings.jobId.hints.tooltip}" id="it2">
<f:validator binding="#{bindings.jobId.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.lastName.inputValue}" label="#{bindings.lastName.hints.label}"
required="#{bindings.lastName.hints.mandatory}" columns="#{bindings.lastName.hints.displayWidth}"
maximumLength="#{bindings.lastName.hints.precision}" shortDesc="#{bindings.lastName.hints.tooltip}" id="it8">
<f:validator binding="#{bindings.lastName.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.phoneNumber.inputValue}" label="#{bindings.phoneNumber.hints.label}"
required="#{bindings.phoneNumber.hints.mandatory}" columns="#{bindings.phoneNumber.hints.displayWidth}"
maximumLength="#{bindings.phoneNumber.hints.precision}" shortDesc="#{bindings.phoneNumber.hints.tooltip}"
id="it9">
<f:validator binding="#{bindings.phoneNumber.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.salary.inputValue}" label="#{bindings.salary.hints.label}"
required="#{bindings.salary.hints.mandatory}" columns="#{bindings.salary.hints.displayWidth}"
maximumLength="#{bindings.salary.hints.precision}" shortDesc="#{bindings.salary.hints.tooltip}" id="it5">
<f:validator binding="#{bindings.salary.validator}"/>
<af:convertNumber groupingUsed="false" pattern="#{bindings.salary.format}"/>
</af:inputText>
<f:facet name="footer">
<af:panelGroupLayout layout="vertical" id="pgl1">
<af:panelGroupLayout layout="horizontal" id="pgl2">
<af:commandButton actionListener="#{bindings.First.execute}" text="First" disabled="#{!bindings.First.enabled}"
partialSubmit="true" id="cb2"/>
<af:commandButton actionListener="#{bindings.Previous.execute}" text="Previous" disabled="#{!bindings.Previous.enabled}"
partialSubmit="true" id="cb3"/>
<af:commandButton actionListener="#{bindings.Next.execute}" text="Next" disabled="#{!bindings.Next.enabled}"
partialSubmit="true" id="cb4"/>
<af:commandButton actionListener="#{bindings.Last.execute}" text="Last" disabled="#{!bindings.Last.enabled}"
partialSubmit="true" id="cb6"/>
</af:panelGroupLayout>
<af:commandButton text="Save" id="cb5" actionListener="#{bindings.mergeDepartments.execute}"
disabled="#{!bindings.mergeDepartments.enabled}" action="browse"/>
</af:panelGroupLayout>
</f:facet>
</af:panelFormLayout>
</af:panelFormLayout>
</f:facet>
</af:decorativeBox>
</f:facet>
</af:decorativeBox>
</f:facet>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
</jsp:root>
Edited by: user555411 on May 2, 2010 2:08 PM -
Is design view broken in DW CC 2014.1?
i open an html file to edit it
sometimes DW design view shows the styles in the doc
sometimes DW design view doesn't show the styles in the doc
...if DW happens to be showing the styles, that sometimes lasts for a while and stops.
i don't know if DW is stripping code -- insisting on some new "design principles" advocated by the lovely people who deprecated the center tag -- or if DW design view is just broken -- or what.
can you fill me in?Usually what you describe is caused by html errors in your code. Run your page through the validator at http://validator.w3.org and clean up any errors found.
If you're working with clean code and the problem persists, post a link to your page here so we can take a look at what's going on. -
In the last week or so, Design view in CS5 has become completely broken for me.
I usually use Code View, but sometimes it's handy to switch to Design view or Split view, which are now always grayed out.
I had installed the HTML 5 pack, not sure if that would cause the issue or not. I completely removed it, but the other views are still grayed out.Long shot:
-> Dreamweaver menu
-> Preferences
-> File Types / Editors
What file types are listed in "Open in Code View"?
I believe file types listed there open with Design & Split View disabled.
Alternatively, try deleting your personal config folder and let DW re-build it.
Locating your personal configuration folder
http://forums.adobe.com/thread/494812 -
Combined code and design view broken
I use Dreamweaver MX 2004 and normally work in the "split"
(code and design) view. I just opened a site to work on it and that
mode does not work - I click on the link in the toolbar, but it
does not take effect. I also cannot make it work from
View-->Code and Design. The individual Code and Design views DO
work so I suspect it's a configuration problem. I checked
Edit->Preferences->Filte Types/Editors, and .html is not
listed in the "open in code view" dialog box. What would cause this
feature to suddenly stop working? I've Googled every conceivable
keyword and phrase to find an answer, without success. Has anyone
else experienced this behavior?Never mind - figured it out. Duh, do I feel like a dummy! I
had apparently dragged the bottom border of the code window all the
way down, so the design view was hidden. Sorry! -
Design View disappeared in FB 4.5 (not 4.7)
I know that Flash Builder 4.7 does not have a design view. However in Flash Builder 4.5 the option to switch to the Design View is grayed out and the button for design view has disappeared from my interface. I need this design view to follow a specific tutorial although I could probably get away with inspecting the code if I can get my hands on it. I would prefer to have the design view there. That's what I paid for with this version of Flash Builder.
Thanks in advance.
-markerlineDesign view is available up to Flash Builder 4.6, but you can not use a later version of the Flash SDK than 4.6 otherwise design view will not be enabled.
-
Trying to render, get "Not Found" mesages
Seems like I've had this problem years ago, but I can't remember what caused it.
I have a section with 3 video tracks, 2 of which are nested sequences. When I try to render, it will render a portion of it if I hit "cancel", but if I try to render the whole section there is a message that says "not found" and nothing else was rendered.
I also saw "General Error" once or twice.
Any idea how I can fix this?What format are you sources and what are your sequence settings? I assume your nests' settings match the containing sequence (but if not, let us know).
You might try rendering within the nest and see if that's successful. -
Export / Render error - "Not found"
Hello all,
A new, frustrating problem came up today. I opened an old FCP project and tried to Export the Timeline (Export > QuickTime Movie). About halfway through exporting, the progress bar disappeared, and an error dialogue popped up. All it said was, "Not found." No specifics about what was "not found," though.
I tried to re-Render the whole timeline (it was fully rendered upon opening the Project) and again got the "Not found" error, halfway through rendering.
I checked the Timeline and the Browser for offline files, but everything that is used in my Timeline appears to be online. I tried to Export the movie both as a Self-Contained File, and not, with the same results.
I even quit FCP and restarted the computer, to no avail.
Can anyone offer advice on what else I should try?
Thank you for your help!
Dual 2 GHz Power PC G5 Mac OS X (10.4.6) 1 GB DDR2 SDRAMTry FCP rescue. It is a free download. Also update software, rebuild permissions with disk utility, run MacJanitor (also a free download), Reset PRAM. Ensure you have enough free space on the volume you are rendering to.
Can you play the sequence through without any drpooed frames or errors? These might give you a clue a sto where the problem is in your time line. Rarely video files get corrupted and need to be recaptured.
Can you print to video? Errors here can also give you clues to problems.
Hope this helps.
Dave F -
Rending problem - "not found!"
When I rendered my sequences with FCP 7, at the end of long time as 2 or 3 hours rendering time,
the message "Not Found!" appeared and I failed rendering. If I render the same sequences again, the same thing happens.
Please let me know why this thing happens and how I can solve this problem.
My sequences are usually more or less 1 hour long.
Last night I didn't sleep at all.
Rending and failure, rendering and failure...
So I rendered the sequence by manually selecting 5 minutes portions so many times in one sequence and at last done.
Please help me about this problem.
Jaehyun from KoreaWhy are you rendering? If it is because the material does not match the sequence settings, you should correct that first (then you won't need to render).
If the material is H.264, AVCHD or similar non-native FCP formats, convert them to ProRes (LT is fine for most consumer formats) before you bring the material into FCP.
Either Compressor or Mpeg Streamclip are the standard apps for this purpose.
x -
When rendering sequence told 'not found'
I've been working on a project for weeks now and am just wrapping it up. I've rendered countless times without a problem. Now it's saying 'not found' when I hit 'Sequence', 'render all', Both'. Any thoughts? I'm working with FCP7.
Thanks.Have any stills on the timeline? Are they CMYK Color Space? That causes that error. What is the codec of the footage you are working with? Sometimes editing with MP4s can cause that.
Maybe you are looking for
-
I have created reports in Wal-Mart Retail Link. To run the report, you right click on the report and a pop-up comes up that allows you to modify, submit, delete or share this report. These options are hidden by another popup that gives the options to
-
Why does my iPhoto Library.photolibrary in my MacAir running OS X Yosemite keep expanding?
-
Converting varchar2 to date format
I've converted date formats many times, but for some reason I'm getting an invalid number error when trying to convert a varchar2 column. I've tried the to_char and to_date function and I get the same result. The column is a date and it is formatted
-
I can't edit my image in the browser
Hi everyone, I have a problem with the new feature of Adobe Muse (editing with browser) When i publish the site with the edit window, i can only change the TEXT....I can't edit or insert new image even if the bloc image is editable...(i have a messag
-
Extended Index for an Index in table AFRU
Dear All, I have found a check box selected in the AFRU table which means Extended Index, What does it mean. Please give your input on this one Appreciating your Inputs Regards Ramchander Rao.K