Freemarker Template Quiz

Question 1 (2 Points)
การแทรกค่าแบบ escaped ใน HTML (เพื่อป้องกัน injection) ควรใช้รูปแบบใด?
   

Question 2 (1 Points)
ถ้าต้องการประกาศตัวแปรใหม่ใน template ควรใช้ directive ใด?
    

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

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

Question 5 (1 Points)
ถ้าต้องการเรียงลำดับ elements ของ list, function ใดที่ Freemarker ใช้ได้?
    

Question 6 (1 Points)
เมื่อต้องการแสดงข้อความเฉพาะเมื่อตัวแปร `isEmpty` มีค่าเป็น `true`, ควรใช้ directive ใด?
    

Question 7 (1 Points)
การใช้ function `upper_case` เพื่อแปลง string เป็นตัวพิมพ์ใหญ่ใน Freemarker ควรใช้รูปแบบใด?
    

Question 8 (1 Points)
Freemarker เป็นอะไร?
    

Question 9 (1 Points)
Freemarker คืออะไร?
    

Question 10 (1 Points)
ตัว directive ไหนใช้สำหรับการกำหนดเงื่อนไข?**
    

Viewers : 9,763
Other Programs
Freemarker Template Quiz