简体   繁体   中英

play japid Why can't we use variable parameters

@String idBase="[sys]/prmode/add";
@String htmlName="addDept";
@Strig title="add";
@extends japidviews.web.bk._main.html(title,htmlName,idBase)

Japid Compilation Error japidviews/web/bk/prmode/addDept.java(68): The field _main.title is not visible

public cn.bran.japid.template.RenderResult render() {

67      long __t = -1;

68      try {super.layout(title,htmlName,idBase);} catch (RuntimeException e) {    super.handleException(e);} 

69      return new cn.bran.japid.template.RenderResultPartial(getHeaders(), getOut(), __t, actionRunners, sourceTemplate);

70  }

您写的是Strig title而不是String title

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