I've been thinking.... a dangerous activity ;)

It might be possible to write a custom pop-up cell editor that embeds an IFRAME and displays your JSP.

You'd need to scrape the final "formula" from the JSP and populate the CellValue value property with the completed expression.

You might have issues with cross-site scripting, as I assume your JSP will be on a different domain.

It'd be interesting to post any experience back to help refine what we have.

Thanks,

Mike

On 25 January 2011 17:47, gomodus <gaurav_x105@yahoo.com> wrote:

An example: we have an Action column called "Calculation formula". When a
user adds a new row to the decision table, s/he should be able to specify a
cell value for "Calculation formula" action column using a custom formula /
expression editor we intend to build. This editor will allow user to click a
few elements to build a valid formula without typing (which is error prone).
The formula / expression editor is implemented using is a JSP that has a
URL.

Now, the question is that we would like to associate the Custom editor JSP
URL with the Action column. In an ideal world, we would specify this URL at
the time of defining the Action column using the configuration dialog that
shows elements like "Fact", "Field", "Column Header", "Default Value" etc

Is there a better or alternative way of achieving this?

Thanks
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Attach-custom-editor-on-guided-decision-table-cell-tp2279477p2332310.html
Sent from the Drools - Dev mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev