Forum Discussion
FICO
17 years agoCommunity Manager
valueholder validations in RMA
valueholder validations in RMA We have ruleset template which has a rule template. The rule template contains a string value holder called "Rule Name" which is exposed in the RMA. The requirements a...
FICO
17 years agoCommunity Manager
Hi Jostein,
I created a custom provider extending NdStringProvider and overrode validateInstantiationValue method. It works on the length check on the second arg "instantiationValue", but there is an additional challenge. Here is hierarchy in my project
RuleSetTemplate
| | ruleVH (Display Name -- areallylongdisplayname, stores the instances of RuleTemplate below) RuleTemplate | | ruleNameVH (edits are needed on these values, say "rule1", "rule2" etc.) When the user adds a new rule by clicking on blaze generated "<Add areallylongdisplname>" link, validateInstantiationValue method is invoked with a value of "areallylongdisplname1" and this fails the length test causing an exception. How can I restrict the validation to just the values with in ruleNameVH?Thanks in advance.
Related Content
Related Content
How to make cuts added in a preIntsol callback globally valid (root node) instead of local to the current subtree?
I'm using the Xpress Optimizer Java API (com.dashoptimization, Xpress 9.4) to solve a MIP with lazy constraints that are generated dynamically. My constraints are all globally valid — they are not lo...2 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread31Views0likes2Comments