[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
17 years, 3 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
17 years, 3 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
17 years, 3 months