[JBoss JIRA] Created: (JBIDE-1697) Some bugs for <rich:tabPannel> and <rich:tab> attributes.
by Andrei Scherbovich (JIRA)
Some bugs for <rich:tabPannel> and <rich:tab> attributes.
---------------------------------------------------------
Key: JBIDE-1697
URL: http://jira.jboss.com/jira/browse/JBIDE-1697
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.GA
Reporter: Andrei Scherbovich
Assigned To: Maxim Areshkau
Priority: Minor
1) <f:facet name="label"> tag not supported for <rich:tab> component (see developer guide for more information)
2) "dir" attribute doesn't work for <rich:tabPannel> component
3) when user makes resizing of <rich:tabPannel> component we change "style" attribute (style=" width : 502px; height : 171px;"). I think it would be better to change "width" and "height" attributes instead.
4) Not all styles supported for <rich:tab> and <rich:tabPannel> components (most of styles not supported)
--
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, 9 months
[JBoss JIRA] Created: (JBIDE-1845) java.lang.NullPointerException when run Hibernate Code Generation and set path to non-existent package in output directory field for generated files.
by Anton Klimkovich (JIRA)
java.lang.NullPointerException when run Hibernate Code Generation and set path to non-existent package in output directory field for generated files.
------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-1845
URL: http://jira.jboss.com/jira/browse/JBIDE-1845
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 2.0.1
Reporter: Anton Klimkovich
Priority: Minor
EXECUTE: Import attached java project.
EXECUTE: Run hsqldb
EXECUTE: Open Hibernate Configuration View
EXECUTE: Right mouse click and select Add Configuration from context menu
EXECUTE: On Main tab select imported project and path to cfg.xml
EXECUTE: On Clathpath tab set path to hsqldb.jar
EXECUTE: On Mappings tab add path to mapping file.
EXECUTE: Press Apply button and Ok button
ASSERT: Hibernate configuration appear in Hibernate Configuration View
EXECUTE: Right mouse click on configeration in Hibernate Configuration View and select Run SchemaExport
EXECUTE: Hibernate Code Generation
EXECUTE: Select your configuration
EXECUTE: Set path to non-existent package in Output directory field
EXECUTE: Select one exporter option on Exporters tab.
EXECUTE: Press Apply and Run buttons
ASSERT: Expect files should be created in directory that was set in Output directory field.
FAILURE: java.lang.NullPointerException
Log attached.
--
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, 9 months
[JBoss JIRA] Created: (JBIDE-2074) NPE when executing JUnit tests for VPE
by Snjezana Peco (JIRA)
NPE when executing JUnit tests for VPE
--------------------------------------
Key: JBIDE-2074
URL: http://jira.jboss.com/jira/browse/JBIDE-2074
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor
Affects Versions: 2.1.0.beta1
Reporter: Snjezana Peco
Assigned To: Snjezana Peco
Priority: Minor
Fix For: 2.1.0.cr1
The following code causes NPE in JUnit tests:
// Wait while visual part is loaded
Display.getCurrent().syncExec( new Runnable() {
public void run() {
while( Display.getCurrent().readAndDispatch() && getController()==null) {
}
}
});
I have got the exception in the testJbideMultiple test and in some other tests.
VpeTest.java, line 153
XulRunnerEditor xulRunnerEditor = vpeController.getXulRunnerEditor();
vpeController is null because the above mentioned code doesn't work correctly.
The Display.getCurrent().readAndDispatch() reads and dispatches events and returns false if there isn't any.
It isn't related to loading page in the XULRunner browser.
The correct code that waits for the page has been loaded is the following:
loaded = false;
xulRunnerEditor.getBrowser().addProgressListener(new ProgressListener() {
public void changed(ProgressEvent event) {
}
public void completed(ProgressEvent event) {
loaded = true;
xulRunnerEditor.getBrowser().removeProgressListener(this);
}
});
xulRunnerEditor.setURL(INIT_URL);
// Wait while visual part is loaded
while (!loaded) {
if (!Display.getCurrent().readAndDispatch())
Display.getCurrent().sleep();
}
Max, would you like me to commit this code?
--
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, 9 months