[JBoss JIRA] Created: (JBIDE-2536) Component <h:selectOneRadio> doesn't work in VPE. Exception appears.
by Andrei Scherbovich (JIRA)
Component <h:selectOneRadio> doesn't work in VPE. Exception appears.
--------------------------------------------------------------------
Key: JBIDE-2536
URL: https://jira.jboss.org/jira/browse/JBIDE-2536
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 3.0.0.alpha
Reporter: Andrei Scherbovich
Assignee: Maxim Areshkau
VPE doesn't show <h:selectOneRadio> components.
Open a jsp file and insert there
<h:selectOneRadio id="sub1" value="#{user.selects}"
layout="lineDirection" border="10" dir="LTR"
disabled="false"
style="color: red; background: pink;" >
<f:selectItem id="it1_1" itemLabel="<b>News</b>" itemValue="1"
escape="false" itemDisabled="false" />
<f:selectItem id="it1_2" itemLabel="Sports" itemValue="2" />
<f:selectItem id="it1_3" itemLabel="#{msg.hello_message}" itemValue="3" />
</h:selectOneRadio>
EXCEPTION Appears:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
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:382)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
at org.jboss.tools.jsf.vpe.jsf.template.JsfRadioSelectItemTemplate.getNameSuffix(JsfRadioSelectItemTemplate.java:146)
at org.jboss.tools.jsf.vpe.jsf.template.JsfRadioSelectItemTemplate.create(JsfRadioSelectItemTemplate.java:97)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:445)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:630)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:524)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:605)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:520)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:630)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:524)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:605)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:520)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:605)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.createNode(VpeVisualDomBuilder.java:520)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addNode(VpeVisualDomBuilder.java:256)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.addChildren(VpeVisualDomBuilder.java:605)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.buildDom(VpeVisualDomBuilder.java:218)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.rebuildDom(VpeVisualDomBuilder.java:245)
at org.jboss.tools.vpe.editor.VpeController.visualRefreshImpl(VpeController.java:1724)
at org.jboss.tools.vpe.editor.VpeController$15.runInUIThread(VpeController.java:1676)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 23 more
--
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
17 years
[JBoss JIRA] Created: (JBIDE-2443) It's impossible to DnD picture to Visual part of editor
by Tatyana Romanovich (JIRA)
It's impossible to DnD picture to Visual part of editor
-------------------------------------------------------
Key: JBIDE-2443
URL: http://jira.jboss.com/jira/browse/JBIDE-2443
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.2
Environment: Build id: 200806231717-nightly
Build date: 06/23/2008 17:21
Reporter: Tatyana Romanovich
Assigned To: Maxim Areshkau
EXECUTE: Open any jsp or xhtml file in the VPE
EXECUTE: Select Visual/Source tab
EXECUTE: Select any picture from the projects folder
EXECUTE: Try to DnD picture to the Visual pane
ASSERT: "Select tag for inserting" dialog window should appear (the same behavior when user DnD picture to the Source pane)
FAILURE: It's impossible to DnD picture.
--
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
17 years
[JBoss JIRA] Created: (JBIDE-2769) The source editor marks a EL expression as invalid inside the onclick event
by Cesar Perez (JIRA)
The source editor marks a EL expression as invalid inside the onclick event
---------------------------------------------------------------------------
Key: JBIDE-2769
URL: https://jira.jboss.org/jira/browse/JBIDE-2769
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.0.0.alpha
Environment: Windows XP SP3, Eclipse 3.4.
Reporter: Cesar Perez
Attachments: TestOnClickError.jsp
The source editor for JSP marks a valid EL expression inside the onclick event of an outputLink as invalid. The line is:
<h:outputLink id="addProjectButton" onclick="#{rich:component('addProjectPanel')}.show(); return false;" value="#">
And the error is marked over the # chracter in the onclick event. The message is - Syntax error on token "Invalid Character" , throw expected. If I remove the script tags on my JSP the error disappears. It also has a warning on the same line saying missing semicolon just before the .show function.
Attached is part of the code I am working on which has this issue.
--
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
17 years
[JBoss JIRA] Created: (JBIDE-2181) Tag s:label in VPE
by Aliaksey Nis (JIRA)
Tag s:label in VPE
------------------
Key: JBIDE-2181
URL: http://jira.jboss.com/jira/browse/JBIDE-2181
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.0.CR1
Environment: WindowsXP SP2
jbdevstudio-win32-1.1.0.CR1.jar
JBoss Developer Studio
Version: 1.1.0.CR1
Build: 200805030007-nightly
JDK 1.5_08
Reporter: Aliaksey Nis
Priority: Optional
EXECUTE: Create Seam War Project.
EXECUTE: Open ../WebContent/layot/edit.xhtml
EXECUTE: Find tag "<s:label "
EXECUTE: Try to do OpeOn on this tag.
FAILURE: Taglib did not open.
EXECUTE: Find empty line, call content assist. Try to find this tag (s:label) in list.
FAILURE: This tag not presented in content assist list.
But this tag works... So this is strange ghost tag... :)
--
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
17 years