Freemarker Template Quiz

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

Question 2 (1 Points)
ในการสร้าง macro แบบนี้ `<@myMacro/>`, directive ไหนที่ใช้ในการกำหนด macro?**
    

Question 3 (1 Points)
แท็กไหนที่ใช้สำหรับการรวม templates อื่นเข้ามาใน template หลัก?**
    

Question 4 (1 Points)
Freemarker มีประเภทอย่างไร?
    

Question 5 (1 Points)
ในการรวม templates หรือการใช้ nested templates, directive ใดที่ควรใช้?
    

Question 6 (1 Points)
เครื่องหมาย `!` ใน `${variable!}` มีวัตถุประสงค์เพื่ออะไร?
    

Question 7 (1 Points)
สำหรับการวนซ้ำใน list ชื่อ `items`, directive ไหนที่ถูกต้อง?**
    

Question 8 (1 Points)
ใน Freemarker, ตัวแปรสามารถประกาศได้โดยใช้สัญลักษณ์ใด?**
    

Question 9 (1 Points)
เมื่อมีตัวแปร map ชื่อ `userInfo` และต้องการเข้าถึงค่าจาก key ชื่อ "username", คำสั่งไหนที่ถูกต้อง?**
    

Question 10 (1 Points)
หากต้องการจัดการข้อผิดพลาดและแสดงข้อความ "An error occurred", directive ใดที่ควรใช้?**
    

Viewers : 7,240
Other Programs
Freemarker Template Quiz