<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mark, </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">  that component is great. :)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My thoughts: </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">- Always is needed to set the recipient(s) from a rule or condition</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>i.e.: send email to the executive with lowest job charge, (so need to get the number of tasks from a list of executives to compare)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>or send the email to executive boss (changes depending on the executive)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If that can be setted or expresed in any ways on the GUI could be great.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">:)</DIV><BR><DIV><DIV>On 14-10-2007, at 15:20, Mark Proctor wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> I've split the subject/body into it's own tab, so now I have a headers tab and a body tab. The reason for this is the list of recipients currently is for fixed recipients, yes there is variable interpolation, but one row is one recipient. However there may be cases there the recipients are in a Collection, for this I was thinking of having a derived recipients list where the expression must return a collection. <BR> <BR> Now the Q is what does that Collection maintain? It could just be a collection of string email address, but what about display name? I think we can can do two things. One create an interface can return the email and optional display name, and the collection must contain entries of this interface. The other alternative, and we can do both (but it means a gui for each idea, including the existing fixed) is to allow two collections to be used, one is a collection of strings representing the email addresses the other is a collection of strings representing the display name and it'll iterate over both in parallel. so any ideas? I have a feeling that in trying to fit most expected requirements I maybe making things too complex.... what do people need?<BR> <BR> Mark<BR> Mark Proctor wrote: <BLOCKQUOTE cite="mid:47121F8D.3090509@codehaus.org" type="cite">I'm just working on a email gui for ruleflow. The idea here is a special action node for ruleflow where the variables used for the email action are determined by the rule LHS constraint, furhter more the email action GUI will execute for each matched tuple (row) of data. Nearly all fields will be processed as an MVEL template and thus its content will be interpolated if variables are used. Anyway looking for some feedback on initial GUI layout. Also any ideas on how best to impl error handling, I was just going to allow a logger to be specified, think it should do anything else? Are there any more JavaMail fields I should be exposing that would be useful?<BR>  <SPAN><DIV>&lt;mime-attachment.jpeg&gt;</DIV></SPAN><BR>  <BR>  <BR> </BLOCKQUOTE> <BR> <SPAN><DIV>&lt;mime-attachment.jpeg&gt;</DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rules-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><SPAN class="Apple-style-span" style="text-decoration: underline;; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="-khtml-text-decorations-in-effect: underline; ">                                                                        </SPAN></SPAN><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><B style="font-size: 13px; font-weight: bold; "><SPAN class="Apple-style-span" style="font-size: 13px; font-weight: bold; ">Felipe Piccolini M.</SPAN></B></SPAN></FONT></DIV><DIV><A href="mailto:felipe.piccolini@bluesoft.cl"><SPAN class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; ">felipe.piccolini@bluesoft.cl</SPAN></A></DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>