[JBoss JIRA] Created: (JBIDE-2307) pages.xml weird layout when changing names of "logical" pages
by Max Rydahl Andersen (JIRA)
pages.xml weird layout when changing names of "logical" pages
-------------------------------------------------------------
Key: JBIDE-2307
URL: http://jira.jboss.com/jira/browse/JBIDE-2307
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Reporter: Max Rydahl Andersen
Assigned To: Daniel Azarov
Fix For: 3.0.alpha
EXECUTE: New pages.xml
EXECUTE: Create an exception node with a view id "doesnotexist"
ASSERT: Two connected nodes will show up, the exception and the "doesnotexist" node
EXECUTE: rename the "doesnotexist" node
What happens now is weird...the two nodes get disconnected, probably because the viewid's does not match anymore.
But the page node is still there even though it is not in the xml....
I would assume this "logical" node should either not be editable or some "refactoring" should be provided.
Another quirk is that I can't change the redirect viewid for an exception by dragging ?
--
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
18 years, 1 month
[JBoss JIRA] Created: (JBIDE-2451) Seam validation rule "Only component class can have @Destroy method" does not work.
by Alexey Kazakov (JIRA)
Seam validation rule "Only component class can have @Destroy method" does not work.
-----------------------------------------------------------------------------------
Key: JBIDE-2451
URL: http://jira.jboss.com/jira/browse/JBIDE-2451
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.0.0.alpha
Reporter: Alexey Kazakov
Assigned To: Viacheslav Kabanovich
Fix For: 3.0.0.alpha
EXECUTE: Create seam war project.
EXECUTE: Create java class with @Destroy but without @Name:
...
public class Test {
@Destroy
public void destroyMethod(){}
}
EXECUTE: Add this class to components.xml: <component class="...Test" name="testComponent" scope="application"/>
EXECUTE: build the project.
ASSERT: There is not error markers in Test.java
EXECUTE: Remove <component class="...Test" name="testComponent" scope="application"/> from components.xml. Test.java is not component anymore.
FAILURE: There is not error markers in Test.java. But there should be an error "Only component class can have @Destroy method.."
There is not component "testComponent" anymore (that's rigth) in seam model but there are java and xml seam decalarations in model (that's a problem).
--
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
18 years, 1 month