แสดงบทความที่มีป้ายกำกับ OAF แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ OAF แสดงบทความทั้งหมด

วันพุธที่ 2 พฤศจิกายน พ.ศ. 2559

[OA Framework] findIndexedChildRecursive, findChildRecursive ใช้ต่างกันอย่างไร

findIndexedChildRecursive หรือ
public OAWebBean findIndexedChildRecursive(String name)
ใช้สำหรับค้นหา component ด้วย index จาก child/grandchild ด้วยการระบุชื่อ
findChildRecursive หรือ
public OAWebBean findChildRecursive(String name)
ใช้สำหรับค้นหา component ทั้ง Index และ Name จาก child/grandchild ด้วยการระบุชื่อ
ทั้งสอง method จะคืนค่า null หากไม่พบ component ตรงกับชื่อที่ต้องการค้นหา
ปล. หากเราไม่แน่ใจว่าชื่อที่เราต้องการค้นหาเป็น Index หรือ Name ของ component ขอแนะนำให้ใช้ findChildRecursive ในการค้นหาครับ เพราะจะค้นหาทั้ง index และ name

วันพุธที่ 7 มกราคม พ.ศ. 2558

OAF: วิธีการใส่ Format ให้กลับจำนวนเงิน

เจอปัญหาในการใส่ Format ให้กับจำนวนเงิน สำหรับ Total Row ใน OAAdvancedTable


OAAdvancedTable
Id: showDetailTb

Id: column1
Total Value: True

Id: TrxAmount
View Attribute: TrxAmount

ถึงเราจะใส่ Format ให้กับ OAMessagedStyledTextBean id TrxAmount
แต่จำนวน Total ก็ยังไม่อยู่ในรูป Format
หลังจากลองผิดลองถูก เข้าไป set format ในเกือบทุก objects ที่อยู่ภายใต้ OAAdvancedTable 
ก็ได้เข้าใจว่าถ้าต้องการให้เลขใน TotalRow อยู่ในรูปแบบที่จัด Format แล้วเราต้องไปตั้งค่าที่...

วันเสาร์ที่ 21 กันยายน พ.ศ. 2556

How to set default browser when run or debug jDeveloper

Today, I will show you how to setup default browser when we run application in jdeveloper.

Normally, when you run or debug web application in jdeveloper the browser will open up and it is chosen by Operating System. If you don't like the browser. Can you changing it ?
Of course, you can change to other browser which installed on your computer. It's very easy.
I will show you step by step.

Step to change default browser in jdeveloper.
Step 1. run jdeveloper.
Step 2. select tools > preferences