Add formatting to a total field: a way to be clumsy as a thousand-bit

Source: Internet
Author: User

Add formatting to the total field: such as thousands of bits
1. MonWastageSumVO1 is the table name
2. totalloss corresponding table total field name
3, Bvalues is the value assigned to the total
Oatablebean table =
(Oatablebean) webbean.findindexedchildrecursive ("MonWastageSumVO1");
Oawebbean ABL = table.findindexedchildrecursive ("Totalloss");
if (null! = ABL)
if (ABL instanceof Oamessagestyledtextbean) {
Table can only be used Oamessagestyledtextbean
((Oamessagestyledtextbean) ABL). Setattributevalue (Tabular_function_value_attr,
Bvalues);
} else if (ABL instanceof Oamessagetextinputbean) {
The input box can only be used Oamessagetextinputbean
((Oamessagetextinputbean) ABL). Setattributevalue (Tabular_function_value_attr,
Bvalues);
}
The idea is: after the query directly from the VO cache to get the corresponding field and value is Bvalues, and then directly assigned to the space

Add formatting to a total field: a way to be clumsy as a thousand-bit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.