OAF 设置右对齐
public void setAllColsFormat(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
{
OATableBean localOATableBean = (OATableBean)paramOAWebBean.findChildRecursive("BidsTable");
localOATableBean.prepareForRendering(paramOAPageContext);
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "Bid", "textFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "BidTotalBidCurrency", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "PartialQuoteSw", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "AwardTotal", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "TotalAgreementAmt", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "TotalAgreementAmtAucCurr", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "Score", "numberFormat");
setColumnFormat(paramOAPageContext, paramOAWebBean, "BidsTable", "Shortlist", "iconButtonFormat");
} public void setColumnFormat(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean, String paramString1, String paramString2, String paramString3)
{
OATableBean localOATableBean = (OATableBean)paramOAWebBean.findChildRecursive(paramString1);
DataObjectList localDataObjectList = localOATableBean.getColumnFormats();
if (localDataObjectList != null) {
DictionaryData localDictionaryData = (DictionaryData)localDataObjectList.getItem(paramOAPageContext.findChildIndex(localOATableBean, paramString2));
localDictionaryData.put("columnDataFormat", paramString3);
}
}
OAF 设置右对齐的更多相关文章
- Word论文写作如何实现公式居中、编号右对齐
第一步:插入表格 在公式所在行居中插入一行三列的表格,具体操作为: a.设置行居中,快捷键Ctrl+E: b.插入->表格->3×1的表格: 2 第二步:修改表格属性 新插入的表格三列等宽 ...
- Bootstrap3基础 text-right/left/center 设置标题右对齐、左对齐、居中
内容 参数 OS Windows 10 x64 browser Firefox 65.0.2 framework Bootstrap 3.3.7 editor ...
- a标签设置水平右对齐
1.情景展示 如上图所示,这其实是一个a标签,如何让它右对齐呢? 2.解决方案 第一步:将行内标签转化成块级元素,即display:block: 第二步:文字右对齐,即text-align:rig ...
- 解决LinearLayout中控件不能居右对齐
转载自:http://lgb168.blog.163.com/blog/static/49674438201172492935235/ 2011-08-24 21:35:25| 分类: Androi ...
- 解决statusStrip控件上的项目不能靠右对齐的问题
在c#中用到了状态栏控件StatusStrip,但当我想把StatusStrip上某个StatusLabel靠右对齐时出了问题. 按照MSDN中的办法,是设置ToolStripStatusLabel的 ...
- Telerik 控件事例(鼠标拖动行,拖动列,设置行对齐,行宽,是否显示)
People.cs using System;using System.Collections.Generic;using System.Data;using System.Linq;using Sy ...
- [转]解决LinearLayout中控件不能居右对齐
在LinearLayout布局时使用右对齐(android:layout_gravity="right")控件对齐方式不生效,需要设置 android:layout_weight= ...
- 用C++编一程序,先输出一行sun mon tue wed thu fri fri,接着使用右对齐打印出日期,像日历那样
用C++编一程序,先输出一行sun mon tue wed thu fri fri,接着使用右对齐打印出日期,像日历那样 先输出一行sun mon tue wed thu fri fri,再提醒用户输 ...
- UICollectionView左对齐流水布局、右对齐流水布局
在平时使用的app中会经常碰到一些规格选择,筛选,标签等页面,这些页面的布局展示通常是左对齐流水布局.实现类似这样的左对齐流水布局有多种方式,如果选项少的话可以直接用UIButton实现.现在我们有一 ...
随机推荐
- Kafka集群部署 (守护进程启动)
1.Kafka集群部署 1.1集群部署的基本流程 下载安装包.解压安装包.修改配置文件.分发安装包.启动集群 1.2集群部署的基础环境准备 安装前的准备工作(zk集群已经部署完毕) 关闭防火墙 c ...
- centos 搭建php环境
安装Apache1.安装yum -y install httpd2.开启apache服务systemctl start httpd.service3.设置apache服务开机启动systemctl e ...
- 从零开始写JavaWeb框架(第二章节)
这一章太多了...好累,不想写那么细了,就做一点总结吧. package org.smart4j.chapter2.controller; import java.io.IOException; im ...
- Java中内部类揭秘(一):外部类与非静态内部类的”相互可见性“
声明:本博客为原创博客.未经同意,不得转载.原文链接为 http://blog.csdn.net/bettarwang/article/details/27012421. ...
- Selenium之firefox浏览器的启动问题及解决
启动firefox报错如下: rg.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 ...
- 4.9 Routing -- Query Parameters
一.概述 1. 在URL中查询参数是可选的key-value对,出现在?的右边.例如,下面的URL有两个查询参数,sort和page,对应的值分别是ASC和2. example:http://exam ...
- Smarty小结提纲
Smarty:模板技术 实现功能:前后分离. 原理:主要通过Smarty核心类实现,调用display方法,将模板文件读取,用正则进行替换,替换完保存到临时文件,将临时文件加载到当前页面. 配置文件( ...
- D题:数学题(贪心+二分)
原题大意:原题链接 题解链接 给定两个集合元素,求出两集合间任意两元素相除后得到的新集合中的第k大值 #include<cstdio> #include<algorithm> ...
- Mail.Ru Cup 2018 Round 2 Solution
A. Metro Solved. 题意: 有两条铁轨,都是单向的,一条是从左往右,一条是从右往左,Bob要从第一条轨道的第一个位置出发,Alice的位置处于第s个位置,有火车会行驶在铁轨上,一共有n个 ...
- SQL: 为列取有意义的名称
1.用法 2.在where字句中使用别名要注意,(别名是select之后才会生效)