The addition of ucfirst was motivated by the idea of converting nouns like "car" to class names according to Java conventions ("Car").
Have you tried to use the field names to access attributes, which should be possible when you switch to dialect "mvel"?
-W
In my project coding standard is as follows
class members names as nameWithEachWordWithFirstLetterUpperCase
and related getters and setters have
getNameWithEachWordWithFirstLetterUpperCase and
setNameWithEachWordWithFirstLetterUpperCase respectively.
While using the DSL unlike ucfirst which converts first letter to upper case
and rest to lower case, I want to have only first letter converted to upper
case leaving other letters as they are.
How can it be achieved? I am using drools 5.3.3
thanks in advance,
Prashant
--
View this message in context: http://drools.46999.n3.nabble.com/DSL-Translation-tp4021842.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users