JSF+A4J+Spring调用ORACLE存贮过程的拙作
????? 近一周写了一个简单的工具,本工具是通过Spring调用ORACLE的存贮过程,然后返回一个结果集合.用到的技术有JSF\AJAX4JSF\SPRING\facelet和进度条的控制\代码着色(codepress)等.其实现页面可以参考如下:
???????? 部分代码如下:
??? faces-config.xml
xml 代码
?
- xml?version="1.0"?encoding="UTF-8"?>??
- >??
- ??
- <faces-config>??
- ????<application>??
- ????????<variable-resolver>??
- ????????????org.springframework.web.jsf.DelegatingVariableResolver??
- ????????<!---->variable-resolver>??
- ????????<view-handler>com.sun.facelets.FaceletViewHandler<!---->view-handler>??
- ????????<message-bundle>resources.messages<!---->message-bundle>??
- ????????<locale-config>??
- ????????????<default-locale>zh<!---->default-locale>??
- ????????????<supported-locale>en<!---->supported-locale>??
- ????????<!---->locale-config>??
- ????<!---->application>??
- ????<managed-bean>??
- ????????<managed-bean-name>tracePnrBean<!---->managed-bean-name>??
- ????????<managed-bean-class><