[JBoss JIRA] Created: (JBIDE-1410) el resolution in visual editor
by Menashe (JIRA)
el resolution in visual editor
------------------------------
Key: JBIDE-1410
URL: http://jira.jboss.com/jira/browse/JBIDE-1410
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.CR1
Environment: seam2.0
eclipse 3.3.1.1
Reporter: Menashe
When el is used (as image/css source) the visual editor doesn't resolve it.
Here is what I mean (this is part of my template therefor it must be full path, since if it left as relative path it gets resolved based on the path of the page that is using the template and not of the actual template location.)
<img src="#{facesContext.externalContext.requestContextPath}/images/header.gif"/>
Visual editor should be able to figure out that #{facesContext.externalContext.requestContextPath} should be just dropped.
Since
<img src="/images/header.gif"/>
works fine in visual editor but not in the seam2 (unless contextpath is '/')
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBIDE-4789) NPE if we try to add Global EL variable for all projects
by Yura Zhishko (JIRA)
NPE if we try to add Global EL variable for all projects
--------------------------------------------------------
Key: JBIDE-4789
URL: https://jira.jboss.org/jira/browse/JBIDE-4789
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M3
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
1) Go to Preferences->JBoss Tools->Web->EL Variables
2) Press Add button.
RESULT:
java.lang.NullPointerException
at org.jboss.tools.common.resref.ui.BaseAddReferenceSupport.run(BaseAddReferenceSupport.java:30)
at org.jboss.tools.common.resref.ui.BaseAddReferenceSupport.add(BaseAddReferenceSupport.java:18)
at org.jboss.tools.common.el.ui.GlobalElVariablesComposite.add(GlobalElVariablesComposite.java:74)
at org.jboss.tools.common.resref.ui.AbstractResourceReferencesComposite$BarListener.action(AbstractResourceReferencesComposite.java:136)
at org.jboss.tools.common.model.ui.action.CommandBar$ButtonDescriptor.widgetSelected(CommandBar.java:290)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
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.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
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.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
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:585)
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
[JBoss JIRA] Created: (JBIDE-4887) Internationalization doesn't work in VPE.
by Yura Zhishko (JIRA)
Internationalization doesn't work in VPE.
-----------------------------------------
Key: JBIDE-4887
URL: https://jira.jboss.org/jira/browse/JBIDE-4887
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M4
Environment: Linux openSuse 64 (EN)
Win XP 32 (EN)
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Priority: Critical
1) Import attached project into workspace
2) Open inputname.xhtml page
ASSERT: You should see Your Name - DE on the visual pane instead msg.prompt bundle message in source part.
ASSERT FAILED: As you can see in faces-config.xml default locale is set to "de", so, user should see bundle messages from resources_de.properties, Visual Part still shows bundles from resources_en.properties (screehshot-1).
3) No make open-on from visual part or source part on msg.prompt.
RESULTS: resources_de.properties file is opened.
So, last step confirm that Visual Part should show Your Name - DE from resources_de.properties
--
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-5081) Content Assist doesn't work for bundle's messages specified outside tags.
by Denis Maliarevich (JIRA)
Content Assist doesn't work for bundle's messages specified outside tags.
-------------------------------------------------------------------------
Key: JBIDE-5081
URL: https://jira.jboss.org/jira/browse/JBIDE-5081
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M3
Reporter: Denis Maliarevich
Assignee: Maxim Areshkau
Fix For: 3.1.0.CR1
Content Assist doesn't work for bundle's messages specified outside tags.
Steps to reproduce:
1) Launch JBDS.
2) Create JSF Kickstart project.
3) Open inputUserName.jsp page.
4) Type #{Message.} in any place outside any tag.
5) Press Ctrl+Space.
6) FAILURE: "Content Assist not available at the current location" status message will appear.
7) To check content assist put cursor inside the following tag after dot in #{Message. :
<h1><h:outputText value="#{Message.header}"/></h1>
8) Press Ctrl+Space.
9) CORRECTLY: Content Assist for bundle's messages will appear.
--
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-5107) NPE during setting preferences for VPE
by Yura Zhishko (JIRA)
NPE during setting preferences for VPE
--------------------------------------
Key: JBIDE-5107
URL: https://jira.jboss.org/jira/browse/JBIDE-5107
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M4
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
1) Create JSF KickStart project
2) Open inputUserName.jsp
3) Open Preferences
4) Select "Select the default active editor's tab" and change it to "Source"
5) Press "Ok"
6) Open hello.jsp page
7) Select inputUserName.jsp again
8) Open Preferences
9) Select "Select the default active editor's tab" and change it to "Visual/Source"
10) Press "OK"
RESULT:
java.lang.NullPointerException
at org.jboss.tools.vpe.editor.VpeEditorPart.updatePartAccordingToPreferences(VpeEditorPart.java:1170)
at org.jboss.tools.vpe.editor.preferences.VpePreferencesPage.performOk(VpePreferencesPage.java:169)
at org.jboss.tools.common.model.ui.preferences.TabbedPreferencesPage.performOk(TabbedPreferencesPage.java:155)
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:964)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:944)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:453)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.okPressed(WorkbenchPreferenceDialog.java:169)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
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.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
at org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage.openPreferenceDialog(VpeEditorPreferencesPage.java:41)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor$1.run(MozillaEditor.java:221)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
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.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
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(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: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