[JBoss JIRA] Created: (JBIDE-3490) dirty jBPM Graphical Process Designer editor saves layout changes without prompting user or loses changes if gpd.xml is open to Source tab
by Nick Boldt (JIRA)
dirty jBPM Graphical Process Designer editor saves layout changes without prompting user or loses changes if gpd.xml is open to Source tab
------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-3490
URL: https://jira.jboss.org/jira/browse/JBIDE-3490
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.cr1
Reporter: Nick Boldt
Tested with JBoss Dev Studio Version: 2.0.0.CR1, Build id: R200812221144
Steps to repro:
1. Install JBDS.
2. download http://www.jboss.org/downloading/?projectId=jbossjbpm&url=http://download...
3. `java -jar jbpm-installer-3.3.0.GA.jar`. I installed into ~/jbpm-3.3.0.GA
4. New > Other > Process Project
5. Go into src/main/jpdl/simple and open processdefinition.xml with jBPM Graphical Process Designer
6. Add a couple nodes, then connect them to the existing flow.
7. Switch to Source tab. I had this:
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.2"
name="simple">
<start-state name="start">
<transition name="to_state" to="first">
<action name="action" class="com.sample.action.MessageActionHandler">
<message>Going to the first state!</message>
</action>
</transition>
<transition to="mail-node1" name="to mail-node1"></transition>
</start-state>
<state name="first">
<transition name="to_end" to="end">
<action name="action" class="com.sample.action.MessageActionHandler">
<message>About to finish!</message>
</action>
</transition>
</state>
<task-node name="task-node1">
<transition to="end"></transition>
</task-node>
<mail-node name="mail-node1">
<transition to="task-node1"></transition>
</mail-node>
<end-state name="end"></end-state>
</process-definition>
8. Click [x] on editor tab to close it. You should be prompted to save dirty editor. Save.
9. Reopen editor. Move some nodes around. Note editor is again in 'dirty' state.
10. Click [x] on editor tab to close it. This time you're not prompted to save (because the changes are in a different file, gpd.xml).
11. Repeat steps 9-10, verifying that changes to layout are saved into gpd.xml.
** Surely these changes to UI layout shouldn't be automatically written without the user's confirmation? **
--
11. Open gpd.xml using xml editor. Switch to Source tab and note (x,y) coords for the start node.
12. Reopen processdefinition.xml in jBPM Graphical Process Designer editor. Move the start node. Note editor is again in 'dirty' state, as in step 9 above.
13. Click [x] on editor tab to close it. Still not prompted, as in step 10. Close gpd.xml too.
14. Reopen gpd.xml. This time, nothing has changed!
** Surely layout changes shouldn't just vanish if the gpd.xml file's open in parallel with the jBPM Graphical Process Designer editor? **
--
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
16 years, 6 months
[JBoss JIRA] Created: (JBIDE-4254) Prevent diagram nodes from overlapping
by Nick Boldt (JIRA)
Prevent diagram nodes from overlapping
--------------------------------------
Key: JBIDE-4254
URL: https://jira.jboss.org/jira/browse/JBIDE-4254
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jbpm
Affects Versions: 3.0.0.GA
Reporter: Nick Boldt
Steps to repro:
1. Using JBDS 2.0.0.GA and jbpm 3.3.0.GA, create a new Process Project.
2. Open /<project>/src/main/jpdl/simple/processdefinition.xml
3. Add a new State node.
4. Drag it on top/under the existing (generated) State node. Resize it as necessary until they overlap perfectly.
Compare to JBPM Editor 1.0.2 from SOA Tools project @ Eclipse.org.
1. Using Eclipse 3.4.2 and BPMN Editor 1.0.2 (http://download.eclipse.org/stp/bpmn-modeler/1.0.2/updates/), create an empty project.
2. Create a new Bpmn Diagram (under "Other" group).
3. Create some nodes.
4. When you try to drop a node onto another one, the overlapping area turns red to indicate you cannot overlap them. If you release while in this red state, the node returns to its previous location.
In other words, you are prevented from overlapping nodes - only transition lines can overlap.
--
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
16 years, 6 months
[JBoss JIRA] Created: (JBIDE-2550) Preliminary support for JSF 2.0
by Juergen Zimmermann (JIRA)
Preliminary support for JSF 2.0
-------------------------------
Key: JBIDE-2550
URL: https://jira.jboss.org/jira/browse/JBIDE-2550
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor
Affects Versions: 3.0.0.alpha
Reporter: Juergen Zimmermann
JSF 2.0 EDR1 is available. I tested it with my up and found only one issue:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=748
I tested the fix with Mojarra r5055 and it works fine.
However, the VPE cannot support previewing. There are only a couple of changes:
1) There is also <h:head> and <h:body> instead of plain <head> and <body>
2) Images can be included this way: <h:graphicImage value="#{resource['hskaCore:myImg.jpg']}" />
The default implementation will look for resources in two locations and in the following order:
a) /resources this location represents resources in the webapp itself and if present, must be in the root of the web application
b) /META-INF/resources this location represents resources on the classpath
--
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
16 years, 6 months