Skip to content
Discussion options

You must be logged in to vote

It is not advisable to use the complicated function mechanism. Instead, just add an object to the data map that provides the function.

data.put("cf", new JexlCustomFunctionDemo());

In Excel cell: ${cf.mySum(1, 2)}

If you need access to PublicContext, see example

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gastendonk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants