You should make each different arithmetic function its own action/method/whatevertheframeworkcallsit and you should use the frameworks input validation for the form values (if it has one).
你需要为每一种运算设置单独的动作,或者说方法(每个框架的叫法不一样),而且还要用到框架中的表单验证功能(如果框架提供了这一功能的话)。
To enable this function, you wrap the name of each course in a h:commandLink that designates the method binding #{courseAction. selectCourse} as the action, as shown in Listing 9.
要实现这项功能, 在 h:commandLink 中包装各个课程的名称,h:commandLink 将方法绑定 #{courseAction.selectCourse} 指派成操作, 如清单 9 所示。
The paper analyzes mechanism of action and load transfer under group anchor, calculates load transfer-displacement by shearing displacement-transfer function method.
通过对群锚作用下的作用机理、荷载传递进行分析,使用剪切位移—传递函数法进行荷载传递位移计算。
应用推荐