[JBoss JIRA] Created: (JBIDE-3294) CSS dialog requests
by Yura Zhishko (JIRA)
CSS dialog requests
-------------------
Key: JBIDE-3294
URL: https://jira.jboss.org/jira/browse/JBIDE-3294
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Igor Zhukov
1) Open CSS dialog
2) Choose any CSS file
3) Begin to print the name of style class in current field manually.
First request: The list of classes with tne name begining from printed symbols should be displayed for selection
4) Enter the name of class in style Class field manually
Second request: If the Class with current name exist, CSS dialog should load properties of this Class and make a preview of existing Class in special tab automaticly
Third request: If the Class with current name doesn't exist in CSS file, CSS dialog should clear all properties of previous Class (if they had been before) and generate the preview of this Class automaticly (every change in properties of this Class should be registared by preview) but shouldn't create this Class in CSS file. From this point new request comes:
4-th request: We need to provide "Apply" button near "Clear" button for saving current changes in existing class or saving a new class in CSS file, but without closing of a dialog. New Class should appear in combo only after "Apply" button press.
Today we have a little problem:
STEP 1. Print the name of new CSS class
STEP 2. Set up few attributes (or press "Clear" button)
STEP 3. Print another name of CSS class
STEP 4. Make some changes in properties (or press Clear button)
STEP 5. Go to "Preview" tab
RESULT: We can observ both Classes (from STEP 1 and from STEP 3), but in CSS file we have only SAVED Classes. The Class from STEP 1 appears in combo, that shouldn't happen because we haven't saved this class, "Apply" button had to be pressed before.
5-th request: We have to be able to preview SAVED Classes of current CSS file and only one current editing Class (whenever is it existing or not, if we want to save it, "Apply" button will help us)
6-th request: If we want to save any changes in current edited class and when choose another class, we have always to press "Apply" button
--
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
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3327) CSS dialog buttons/messages
by Yura Zhishko (JIRA)
CSS dialog buttons/messages
---------------------------
Key: JBIDE-3327
URL: https://jira.jboss.org/jira/browse/JBIDE-3327
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Thirst test case:
1) Open CSS dialog (Ctrl+Shift+C)
RESULT: Buttons OK/Cancel are at the left bottom
2) Resize window dialog
RESULT: Buttons OK/Cancel are at the right bottom
Second test case:
1) Print the name of new CSS style class
2) Set some attributes
3) Press OK button
ASSERT: "Do you want to save changes?" (smt like that) - message dialog should appear.
Third test case:
1) Open CSS dialog
2) Press "Clear" button
ASSERT: "Apply" button should be enabled
RESULT: "Apply" button is disabled
--
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
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3140) VPE Sash is broken (java.lang.ArithmeticException: / by zero)
by Denis Golovin (JIRA)
VPE Sash is broken (java.lang.ArithmeticException: / by zero)
-------------------------------------------------------------
Key: JBIDE-3140
URL: https://jira.jboss.org/jira/browse/JBIDE-3140
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.cr1
Reporter: Denis Golovin
Assignee: Maxim Areshkau
Fix For: 3.0.0.cr1
TEST CASE:
1. EXECUTE: Create Seam WAR project
2. EXECUTE: Open any xhtml file from WebContent
3. EXECUTE: Maximize VPE part using button ^ on splitter
4. EXECUTE: Switch to source tab
5. ASSERT: Source code is visible
6. EXECUTE: Close Visual Editor
7. EXECUTE: Open the same file again
8: ASSERT: it shows Visual Editor with VPE part maximized and there are no exceptions
Now it fails on steps 5 and 8.
Exception is:
Create
java.lang.ArithmeticException: / by zero
at org.eclipse.swt.custom.SashFormLayout.layout(SashFormLayout.java:175)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:919)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:877)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm.layout(CustomSashForm.java:233)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm$1.handleEvent(CustomSashForm.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:828)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1239)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
--
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
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3012) Incorrect reflection of disabled components
by Yura Zhishko (JIRA)
Incorrect reflection of disabled components
-------------------------------------------
Key: JBIDE-3012
URL: https://jira.jboss.org/jira/browse/JBIDE-3012
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.beta1
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Attachments: screenshot-1.jpg
1) Setting attribute disabled="true" provides to incorrect reflection of <h:commandButton> in VPE (click option must be disabled). (see screenshot-1).
2) Background color of input of <h:inputTextarea> must be white if disabled="false", but it's grey, like for disabled="true" state. If disabled is true we mustn't have any possibility to edit the value of text area in VPE. (see screenshot-2).
3) Point (2) attaches to <h:inputText>, too.
P. S. these attribute is tested in others components...
--
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
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-2984) Wrap <rich:*Table> in <tbody>
by Yahor Radtsevich (JIRA)
Wrap <rich:*Table> in <tbody>
-----------------------------
Key: JBIDE-2984
URL: https://jira.jboss.org/jira/browse/JBIDE-2984
Project: Tools (JBoss Tools)
Issue Type: Task
Components: Visual Page Editor Templates
Affects Versions: 3.0.0.beta1
Reporter: Yahor Radtsevich
Assignee: Yahor Radtsevich
Fix For: 3.0.0.cr1
Gecko engine accepts multiple <tbody> tags inside a <table>. It give us opportunity to make look and feel of VPE better and code of templates clearer.
For instance, using <tbody> tag in <rich:subTable> it will be possible to select the tag from VPE window.
According to this, templates for <rich:column>, <f:facet>, <rich:dataTable>, <rich:subTable>, <rich:extendedDataTable>, <rich:columnGroup> have to be modified.
--
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
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3205) Styles crash when manipulate with EL expressions
by Yura Zhishko (JIRA)
Styles crash when manipulate with EL expressions
------------------------------------------------
Key: JBIDE-3205
URL: https://jira.jboss.org/jira/browse/JBIDE-3205
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.beta1
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Priority: Critical
1) Import attachment project
2) Close VPE
3) Open VPE again
4) Open next page: WebContent -> pages -> scrollableDataTable -> index.jsp
5) Open Page Design Options
6) Create a new EL value: tableStyles=background-color:green; color:red; text-align:center;
7) Save this value only for current folder
8) Open next page: WebContent -> pages -> calendar -> calendar.jsp
9) Open Page Design Options
10) Create a new EL value: calendarStyles=background-color:green; color:red; text-align:center;
11) Create a new EL value: tableStyles=background-color:green; color:red; text-align:center;
12) Return to the page: WebContent -> pages -> scrollableDataTable -> index.jsp
13) Open Page Design Options
14) Click Edit for the current EL value
15) Save this value for all project
16) Return to the page: WebContent -> pages -> calendar -> calendar.jsp
17) Open Page Design Options
18) Click Edit for the current EL values
19) Save these values for all project
20) Go to WebContent -> pages -> inplaceSelect -> testVerify.jsp
21) Make some changes but don't save them
22) Choose Close all for opened pages
Next exeption occurs:
java.lang.NullPointerException
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.cleanHead(VpeVisualDomBuilder.java:1468)
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.dispose(VpeVisualDomBuilder.java:2191)
at org.jboss.tools.vpe.editor.VpeController.dispose(VpeController.java:424)
at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.dispose(MozillaEditor.java:428)
at org.jboss.tools.vpe.editor.VpeEditorPart.dispose(VpeEditorPart.java:808)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.dispose(JSPMultiPageEditor.java:606)
at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:730)
at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:302)
at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:681)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1682)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1389)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:219)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)
at org.eclipse.ui.internal.presentations.SystemMenuCloseAll.run(SystemMenuCloseAll.java:32)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
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:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
23) Return to the page: calendar.jsp
24) Delete all El variables from Page Design Options
25) Press OK
Next exeption occurs:
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: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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
at org.jboss.tools.vpe.editor.VpeController$ActiveEditorSwitcher.access$3(VpeController.java:1890)
at org.jboss.tools.vpe.editor.VpeController$15.runInUIThread(VpeController.java:1743)
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
I decided to mark this bug as critical, because VPE isn't blocked, but all styles crash...
--
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
15 years, 6 months