我想知道调用序列或流程如何调用转换器和验证器.我正在分享相同的示例代码:
<f:view>
<h:form>
<h:inputText value="#{myBean.field}">
<f:validateLength minimum="5" maximum="50"></f:validateLength>
<f:validator validatorId="nameValidator" />
</h:inputText>
<br>
<h:inputText id="date" value="#{myBean.date}">
<f:convertDateTime pattern="dd-MMM-yyyy" />
<f:converter converterId="dateConvertor" />
</h:inputText>
<br>
<h:commandButton action="#{myBean.execute}" value="Submit"></h:commandButton>
</h:form>
<h:messages></h:messages>
</f:view>
Run Code Online (Sandbox Code Playgroud) 我的查询是,我在我的java文件中设置了一个参数,如下所示
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("ReportTitle", "MRSG Quarterly Report");
Run Code Online (Sandbox Code Playgroud)
如何在我的jrxml文件中访问它并将其作为文本打印?