[JBoss jBPM] - Error getting diagram info
by masipu
I'm getting this error in jbpm-console when i'm trying to watch the process image:
Error getting diagram info: An exception of type "org.jbpm.util.XmlException" was thrown. The message is: couldn't parse xml
The image is OK but I don't see the red borders on current token. The error seems to be with scandic letters ä and ö becouse there is error in console: 11:23:46,106 ERROR [STDERR] [Fatal Error] :9:15: Invalid byte 2 of 3-byte UTF-8 sequence.
I have jbpm on both HSQL and MySQL and both generate the same error. I've had same kind of problems with data if there was scandic letters but after I changed to MySQL, those problems resolved.
I think the quickest workaround would be not to use scandic letters but I don't like it becouse it's grafical presentation of process model and I want to use scandic letters in node names. Ideas to solve this? Or will process models be ascii only?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078248#4078248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078248
18Â years, 8Â months
[JBoss Seam] - Problem with scopes
by amitev
Hi all! I have the following page code:
<table>
| <tr>
| <td></td>
| <td><h:selectOneMenu id="stateMenu"
| value="#{menuSelector.status}">
| <s:selectItems label="#{stat.value}" value="#{statuses}" var="stat" />
| <s:convertEntity />
| <a4j:support event="onchange" reRender="issueTabs"></a4j:support>
| </h:selectOneMenu></td>
| </tr>
|
| <tr>
| <td></td>
| <td><h:selectOneMenu rendered="#{menuSelector.status.id > 2}"
| id="resMenu" value="#{menuSelector.resolution}">
| <s:selectItems label="#{res.value}" value="#{resolutions}"
| var="res" />
| <s:convertEntity />
| </h:selectOneMenu></td>
| </tr>
|
| <tr>
| <td colspan="2"><a4j:commandButton action="#{issueAction.changeState}" style="margin-left: 3px" value="#{issueMsg.accept}" /></td>
| </tr>
| </table>
There are 2 selectOneMenu bound to menuSelector component which has EVENT scope. I invoke action method from other component that is in the current conversation but there the injected menuSelector object is null. If i move the action method in menuSelector and inject the Issue object there it works fine. Idea why i cannot inject event scoped component in conversation scoped component?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078243#4078243
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078243
18Â years, 8Â months