[JBoss JIRA] Created: (JBIDE-5968) JSF Portlet Facet always adds richfaces fragments to web.xml
by Dominik Pospisil (JIRA)
JSF Portlet Facet always adds richfaces fragments to web.xml
------------------------------------------------------------
Key: JBIDE-5968
URL: https://jira.jboss.org/jira/browse/JBIDE-5968
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.CR2
Reporter: Dominik Pospisil
JSF Portlet Facet always adds richfaces fragments to web.xml. Created project could not be deployed due to missing richfaces libraries.
Steps to reproduce:
1) File -> New -> Dynamic Web Project
2) Select EPP 4.3 Runtime
3) Click Modify on Runtime configuration
4) Select JSF 1.2 facet and JBoss Core Portlet and JBoss JSF Portlet facets
5) Click OK, 5x next
6) JBoss JSF Portlet Capabilities - do NOT select Add/Change richfaces libraries
7) click Finish
Geneated web.xml contains following fragment which I guess should not be there:
<context-param>
<param-name>org.richfaces.LoadStyleStrategy</param-name>
<param-value>NONE</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>NONE</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.RESOURCE_URI_PREFIX</param-name>
<param-value>rfRes</param-value>
</context-param>
<filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
When removed from web.xml, portlet deploys correctly.
Server console shows:
14:51:25,306 INFO [TomcatDeployer] deploy, ctxPath=/testProject3, warUrl=.../deploy/testProject3.war/
14:51:25,723 ERROR [ContainerBase] Exception starting filter ajax4jsf
java.lang.ClassNotFoundException: org.ajax4jsf.Filter
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1364)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBDS-950) Refactoring of Managed Bean/Methods/Properties which are used in ELs
by Svetlana mukhina (JIRA)
Refactoring of Managed Bean/Methods/Properties which are used in ELs
--------------------------------------------------------------------
Key: JBDS-950
URL: https://jira.jboss.org/jira/browse/JBDS-950
Project: JBoss Developer Studio
Issue Type: Task
Components: Doc - JSFTools, Doc - RHDS GSG, Doc - Seam
Affects Versions: 2.1.0
Reporter: Svetlana mukhina
Assignee: Svetlana mukhina
Fix For: 2.1.0-doc
/trunk/documentation/whatsnew/seam/seam-news-3.1.0.M4.html:
"Rename action for Seam Components/Methods/Properties:
Rename action for Seam Components/Methods/Properties also shows all resources that has references renamed element in EL
Rename actions are available:
* from context menu on a Seam component inside Seam Components View
* from context menu on a method/property in Java Source editor"
also see the linked task
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBIDE-5993) NullPointerException
by Alexey Kazakov (JIRA)
NullPointerException
---------------------
Key: JBIDE-5993
URL: https://jira.jboss.org/jira/browse/JBIDE-5993
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.CR2
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 3.1.1
1. Create a Seam project.
2. Open home.xhtml
3. Select <li> (the whole tag)
4. Right Mouse Click
5. See eclipse log:
java.lang.NullPointerException
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanNodeContent(SeamRefactorContributionFactory.java:321)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:308)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.scanChildNodes(SeamRefactorContributionFactory.java:312)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.checkContextVariableInDOM(SeamRefactorContributionFactory.java:284)
at org.jboss.tools.seam.ui.refactoring.SeamRefactorContributionFactory.createContributionItems(SeamRefactorContributionFactory.java:199)
at org.eclipse.ui.internal.menus.ProxyMenuAdditionCacheEntry.createContributionItems(ProxyMenuAdditionCacheEntry.java:60)
at org.eclipse.ui.internal.menus.WorkbenchMenuService$5.run(WorkbenchMenuService.java:561)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.menus.WorkbenchMenuService.processAdditions(WorkbenchMenuService.java:622)
at org.eclipse.ui.internal.menus.WorkbenchMenuService.addContributionsToManager(WorkbenchMenuService.java:683)
at org.eclipse.ui.internal.menus.WorkbenchMenuService.populateContributionManager(WorkbenchMenuService.java:669)
at org.eclipse.ui.internal.menus.SlaveMenuService.populateContributionManager(SlaveMenuService.java:203)
at org.eclipse.ui.internal.menus.SlaveMenuService.populateContributionManager(SlaveMenuService.java:203)
at org.eclipse.ui.internal.menus.SlaveMenuService.populateContributionManager(SlaveMenuService.java:76)
at org.eclipse.ui.internal.PopupMenuExtender.addMenuContributions(PopupMenuExtender.java:357)
at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:335)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:469)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:491)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4270)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3974)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1578)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2010)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:254)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3906)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3467)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month