Freemarker Template Quiz

Question 1 (1 Points)
เมื่อต้องการใช้ template ซ้อนกัน (nested templates) คำสั่งใดที่ใช้?
    

Question 2 (1 Points)
การกำหนด macro ทำได้โดยใช้คำสั่งใด?
    

Question 3 (1 Points)
วิธีไหนที่ใช้เพื่อกำหนดค่า default หากตัวแปรไม่มีค่า?
    

Question 4 (1 Points)
ไฟล์ template สามารถประกอบไปด้วยอะไรบ้าง?
    

Question 5 (1 Points)
ถ้าต้องการใช้คำสั่ง built-in สำหรับแปลง string เป็นตัวพิมพ์ใหญ่, ควรใช้คำสั่งใด?
    

Question 6 (1 Points)
เมื่อต้องการใส่ค่าเริ่มต้นให้กับตัวแปรที่อาจไม่มีใน model ควรใช้...
    

Question 7 (1 Points)
Macro ใน Freemarker ทำหน้าที่คล้ายกับอะไรในภาษาโปรแกรมอื่นๆ?
    

Question 8 (1 Points)
อะไรคือ directive ที่ใช้สำหรับการทำ include ของ template อื่น?
    

Question 9 (1 Points)
เมื่อต้องการสร้าง macro, ควรใช้ directive ใด?**
    

Question 10 (1 Points)
สำหรับการจัดการข้อผิดพลาด, ถ้าต้องการที่จะเรียกใช้ block อื่นเมื่อเกิดข้อผิดพลาด ควรใช้ ...
    

Viewers : 5,588
Other Programs
Freemarker Template Quiz