Home > Database > Mysql Tutorial > body text

普元EOS6.2学习总结

WBOY
Release: 2016-06-07 15:19:11
Original
2543 people have browsed it

文件上传: 将文件类型的转换为对象类型 数据放入到 session 中: 1.现在前一个页面的form中: input type=hiddenname=testVar value=ss scope=session/ 2. 然后在下面的页面中就可以获得到了 b:write property = testVar / Eos (主要是传参数) 如: 获得

 

文件上传:

 普元EOS6.2学习总结

将文件类型的转换为对象类型

 普元EOS6.2学习总结


数据放入到session中:

1.      现在前一个页面的form中:

2.  然后在下面的页面中就可以获得到了b:writeproperty="testVar"/>

Eos(主要是传参数)

如:

   获得值:

第一种

  Object reqid =com.eos.web.taglib.util.XpathUtil.getDataContextRoot("request",pageContext);

  String reqId=(String)com.eos.web.taglib.util.XpathUtil.getObjectByXpath(reqid,"userRequiements/requiementId");

  System.out.println("reqId  --  "+reqId);

  //com.eos.web.taglib.util.XpathUtil.setValue("reID",pageContext, reID,null);

     %>

第二种:

  Object processInst =com.eos.web.taglib.util.XpathUtil.getDataContextRoot("request",pageContext);

  String processInstId =String.valueOf(com.eos.web.taglib.util.XpathUtil.getObjectByXpath(processInst,"processInstId"));

  System.out.println("reqId  --  "+processInstId);

  //com.eos.web.taglib.util.XpathUtil.setValue("reID",pageContext, reID,null);

  %>

    (jsp脚本和

                

       

可以传值:、

iframename="menuTreeFrame"align="top"scrolling="auto"style="width:100%;height:100%"

    src="com.sinosoft.userrequiements.mywork.FeedBackMyWork.flow?_eosFlowAction=showFlow&processInstId=b:writeproperty="userRequiements/processinstid"/>"style="width:100%;height: 100%"frameBorder=0>

    iframe>

 

在逻辑流获得用户登录的信息:(eos内置)

普元EOS6.2学习总结

页面流获得用户的信息:

普元EOS6.2学习总结

解决:分页和重置按钮问题:

查询的:

普元EOS6.2学习总结

页面流:

普元EOS6.2学习总结


 

Iframe页面:

普元EOS6.2学习总结

分页:

普元EOS6.2学习总结

核心代码:

tablealign="center"border="0"cellpadding="0"cellspacing="0"width="100%">

     tr>

         td>

         iframename="queryFrame"id="queryFrame"src=""  marginWidth=0marginHeight=frameborder="0"scrolling="no"width="100%"onload="autoResize();">iframe>

         td>

     tr>

table>

scripttype="text/javascript">

 document.form1.submit();

    function autoResize(){

     try{

         document.all["queryFrame"].style.height=queryFrame.document.body.scrollHeight;

     }catch(e){}

}

script>

 

 

 

 

可以不用写java片段

直接用@就可以

 

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!