posts - 165, comments - 198, trackbacks - 0, articles - 1
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

struts

Posted on 2007-04-19 12:01 G_G 阅读(307) 评论(1)  编辑  收藏 所属分类: struct

初理解 先 在 form 中 要有 time 属性 在运行中 FORM 填充 TIME  

         < html:form  action ="/tAT.do" >
                        
< html:text  property ="time"  size ="8"  readonly ="true" />
            
</ html:form >

评论

# re: struts   回复  更多评论   

2007-05-18 09:20 by G_G
            <logic:match name="corpId" value="00">局选择:               //判断CoroId 为 "00 "          name 属性为 request session
                                                                                                                     //等 中自己 找
 
                <html:select property="juId"  onchange="selectJu()">    / /  form  中 juId
                
<html:option value=" ">--局选择--</html:option>
                    
<html:option value="00">全路查询</html:option>
                    
<html:options property="corpId" collection="selectJuId" labelProperty="corpName" />   //需要request中selectJuId
                                                                                                                                        //为 corpName 选值 corpId 为提交值             
                
</html:select>
            
</logic:match>
            
            
<logic:lessThan name="corpId" value="99">段选择:// 在request 中 corpId 小于 99
                
<html:select property="id" onchange="selectDu()">
                    
<html:option value="--段选择--" />
                    
<logic:notEmpty name="selectDuId" >
                        
<html:options property="corpId" collection="selectDuId" labelProperty="corpName" />
                    
</logic:notEmpty>
                
</html:select>
            
</logic:lessThan>
                

只有注册用户登录后才能发表评论。


网站导航: