01-17-2011 09:26 PM
01-18-2011 04:02 AM
01-18-2011 09:26 PM
No, not yet. Spring Surf does have everything baked into it to handle it … but it is not yet implemented in our webapps.
<userTask id="handleVacationRequest" activiti:formKey="/vacationRequest/approval"
name="Handle Vacation Request">
<documentation>approveVacation.description</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>management</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
01-20-2011 04:27 AM
01-21-2011 09:14 PM
Hi Lim, internatibnalization is not supported at this moment.
Are you using your own forms technology? If so, you could probably look up the key before it is displayed.
<userTask id="initiateVacationRequest" activiti:formKey="/vacationRequest/create" name="Initiate Vacation Request">
<documentation>Vacation request by ${username}</documentation>
………
01-24-2011 07:13 AM
01-24-2011 10:50 PM
Mmm.. if you do a task.getDescription, doesnt it resolve the variables automatically?
Internationalisation is not directly on our roadmap (ie first 4-6 months), since we first want to stabilize and build out the engine features before going full speed ahead with the UI's.
<userTask id="handleVacationRequest" activiti:formKey="/vacationRequest/approval"
name="Handle Vacation Request">
<documentation>approveVacation.description</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>management</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
approveVacation.description=Vacation request by ${username}
01-25-2011 03:53 AM
01-25-2011 09:30 PM
Ah, now I understand your question…. but no, it won't resolve it.
It will resolve everything before returning the value from task.getDescription.
However, you can use the ExpressionManager class to create an Expression from the value you get back from your messages.properties. That expressio n then needs the execution from your task to be evaluated. The ExpressionManager is normally available on the configuration (but maybe you need to cast).
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.