5 Replies Latest reply on Nov 10, 2008 7:08 AM by akazakov

    Content Assist with 3.0 Beta1

    afuerstenau

      Hi everybody,

      I installed Version 2.1.2 and the content assist for all existing *.jsf files worked perfectly well. I didn't have to change any project configuration.

      I installed Version 3.0 Beta1 yesterday and the content assist didn't work anymore. I added the following nature to the .project file:
      org.jboss.tools.jsf.jsfnature
      But it didn't work. I also tried to add JSF Capabilities to my project but the wizard complained about the fact that the project is already assigned to my local application server.

      So, does anybody knowwhat I have to do to make the content assist work under 3.0 Beta1?

      I use the actual eclipse ganymed release.

      Thanks in advance
      Alex

        • 1. Re: Content Assist with 3.0 Beta1
          akazakov

          Can you show your jsp/xhtml where content assist used to work?
          Are there any errors in eclipse log?

          • 2. Re: Content Assist with 3.0 Beta1
            afuerstenau

            It worked here:

            <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
            <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
            <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
            <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
            <html>
             <head>
             <title></title>
             </head>
             <body>
             <f:view>
            
             </f:view>
             </body>
            </html>


            I found something like the following while opening the jsf file:

            !ENTRY org.jboss.tools.common.model 4 0 2008-11-10 00:13:59.345
            !MESSAGE Model feature org.jboss.tools.seam.internal.core.el.SeamPromptingProvider is not registered with extension point org.jboss.tools.common.model.classes
            !STACK 0
            java.lang.Exception: Model feature org.jboss.tools.seam.internal.core.el.SeamPromptingProvider is not registered with extension point org.jboss.tools.common.model.classes
             at org.jboss.tools.common.model.util.ModelFeatureFactory.createFeatureInstance(ModelFeatureFactory.java:83)
             at org.jboss.tools.jst.jsp.outline.ValueHelper.<clinit>(ValueHelper.java:74)
             at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.<init>(JSPPropertySourceAdapter.java:66)
             at org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
             at org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
             at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
             at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:974)
             at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:490)
             at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:166)
             at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
             at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:289)
             at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:125)
             at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)
             at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)
             at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)
             at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
             at org.eclipse.core.runtime.Platform.run(Platform.java:880)
             at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
             at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)
             at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:241)
             at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:299)
             at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
             at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
             at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3491)
             at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:610)
             at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2832)
             at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
             at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
             at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
             at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
             at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
             at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
             at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
             at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
             at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
             at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:124)
             at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:176)
             at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:289)
             at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
             at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
             at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:472)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:571)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:512)
             at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127)
             at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
             at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
             at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
             at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
             at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
             at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
             at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:341)
             at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
             at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
             at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
             at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
             at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
             at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
             at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
             at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
             at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
             at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
             at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
             at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
             at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
             at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
             at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
             at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
             at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
             at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
             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.equinox.launcher.Main.invokeFramework(Main.java:549)
             at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
             at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


            • 3. Re: Content Assist with 3.0 Beta1
              akazakov

              Seems to be the same problem as
              https://jira.jboss.org/jira/browse/JBIDE-1967

              • 4. Re: Content Assist with 3.0 Beta1
                maxandersen

                Alexey, JBIDE-1967 is from before JBT 2.1.2 so how can this be the same problem?

                • 5. Re: Content Assist with 3.0 Beta1
                  akazakov

                  As far as I remember we had a problem with *.jsf files in 2.0.* also... Hmm... Need some investigation for 2.1.* and 3.0.0 beta...