Instead of a JSP page I would also be able to use a servlet. The more I think about it - it all boils down to one question: How do I call the JSP compiler? I looked at the jasper docs - but I dont quite understand how to start... :-(
The thing is I do need to use the taglib so it might be sensible to do the compiling myself - but then using the JSP compiler would be more flexible...
Thanks
Sebastian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070690#4070690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070690
The problem is that by the time the code in the JSP runs, and this includes the code in the tag that is getting the 'code' out of the database, the JSP has already been compiled. So there is no way to include that 'code' in the JSP.
However, I assume that the 'code' eventually generates HTML to include in the page. Therefore, you could look into generating, and compiling, a class on the fly, using the 'code' as the body of a method that returns a string. Defining an interface that describes this method would help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070680#4070680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070680
whoops, I pressed tab and the form submitted...
<mail-node name="notify-initiator-rejected" actors="#{initiator}">
line manager rejected
the line manager rejected for reason : #{reason}
</mail-node>
<mail-node name="notify-psm-red-light" actors="#{psm}">
red light flagged building
blah blah
</mail-node>
so initiator is attached to which ever user kicks the process off, and the email is retrieved from the database fine, can anyone provide me with an example of how to define another actor within the process, attached to a user defind in the jbpm database?
Thanks for your help,
Ross
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070668#4070668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070668