- 博客(11)
- 收藏
- 关注
转载 《Oracle10g学习笔记》
*****************************************************************************************************第一节********************************************************************************************
2013-08-27 11:05:18 1021 1
原创 ADF 会话超时,10秒之后自动加载问题解决
发现不管session timeout时间调的多长,都不能解决,后面发现,并不是这个问题。解决如下:在web.xml中添加 org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS 60 这个令牌数的大小问题,导致出现这个情况,可以视情况而调整。默认用完了这些令牌就会需要重新加载。每点一次回退就好用掉一个。
2013-08-23 10:16:45 757
原创 FLEX背景图的动态加载
首先需要在,中声明一个<mx:SWFLoader id="swfLdr"complete="swfLdr_completeHandler(event);" />然后再中定义这个方法protected function swfLdr_completeHandler(evt:Event):void { plan.setStyle("backgroundImage", swfLdr
2013-08-23 10:07:07 542
原创 FLEX项目打包war
用的是flash Building4,发现项目无法打成war包,最后发现命令是可以做到!先开始,cmd盘符:如F:\项目文件夹>jar -cvf jarname.war *.*这样就能打包好了。
2013-08-23 09:43:17 1004
原创 Flex图片居中
本来是做一个动态加载图片。添加了ImageModel.setStyle("horizontalAlign","center");之后,发现并不能起到居中的效果。于是再添加了ImageModel.setStyle("horizontalCenter","0");,这样就能居中了。
2013-06-25 10:15:48 790
原创 下载blob并保存到文件
actionListener="#{backingBeanScope.BlobBean.downLoadFile}"/>//af:table中的列 public void downLoadFile(ActionEvent actionEvent) { FacesCtrlHierNodeBinding f = (FacesCtrlHierNodeBinding)
2013-02-25 16:01:33 2499
原创 table中多文件上传到blob字段
disabled="#{!bindings.CreateInsert.enabled}" id="cb1"/>
2013-02-25 15:55:11 393
原创 后台调用action
public static void navToOutCome(String outCome) { FacesContext facesContext = FacesContext.getCurrentInstance(); Application application = facesContext.getApplication();
2013-02-25 15:09:52 707
原创 How-to disable the before-session timeout
The new features allows developers to specify an advanced time in which ADF Faces informsthe users that his/her session is about to expire. To disable it, set the following in web.xml or
2013-01-29 15:59:24 338
原创 动态生成导航条
actionListener="#{backingBeanScope.ctrlysjxxaddBean.testSkip}"> to="#{backingBeanScope.ctrlysjxxaddBean.zj}"/> >>
2013-01-26 11:05:06 617
原创 ADF下拉生成
可以通过lov生成,这种是最快的。下面是手动生成的:publicList getAccessValue(String vomc,String lb,String value){ List hcList = newArrayList(); ViewObject hcVO = am.findViewObject(vo
2013-01-26 10:56:33 8478
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人