简体   繁体   中英

Can anyone identify what language this code is?

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM