Can anyone identify what language this code is?

73 views Asked by At

I'm trying to identify what language this code is (being used in DotCMS) so i can learn to code it. Any help identifying this would be massively appreciated. Code has been desensitized.

#panelStart('XXX.XXX' )
  <div class="col-md-6">
    #readOnlyField('XXX', 'XXX.XXX', $XXX.XXX, {'XXX':X, 'notCurrency':true})
    #readOnlyField('XXX', 'XXX.XXX', $XXX.XXX, {'XXX':X, 'notCurrency':true})
    #readOnlyField('XXX', 'XXX.XXX', $XXX.XXX, {'XXX':X, 'notCurrency':true})
    #readOnlyField('XXX', 'XXX.XXX', $XXX.XXX, {'XXX':X, 'notCurrency':true})
  </div>
#panelEnd

Thanks

2

There are 2 answers

1
Nahuel On

As it says in the oficial dotCMS documentation, they use HTML, CSS and Javascript as a programming language.

0
John Michael Thomas On

The "#" signs are used by Apache Velocity, which is the main server-side scripting language dotCMS support.

In Velocity, "#" signs identify Velocity commands, macros, or directives.

But those aren't built-in Velocity commands, and they're unlikely to be directives (which require Java code to implement), so they're probably macros. You'll need to look in other files to see where those macros are defined.