Freemarker Template Quiz

Question 1 (1 Points)
วิธีการแสดงค่าเริ่มต้นของตัวแปร name หากไม่มีค่าคือ "Guest" คือ ...
    

Question 2 (1 Points)
วิธีไหนที่ถูกต้องสำหรับการเข้าถึง value ของ key `name` ใน map `user`?
    

Question 3 (1 Points)
คำสั่งไหนที่สามารถใช้เพื่อแปลงข้อมูลเป็น string ใน Freemarker?
    

Question 4 (1 Points)
การแสดงตัวแปรทำได้โดยใช้...
    

Question 5 (1 Points)
สำหรับการสร้าง custom directive ใน Freemarker, คุณควรใช้ keyword ใด?
    

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

Question 7 (1 Points)
วิธีการแสดงตัวแปร `name` คือ ...
    

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

Question 9 (1 Points)
เมื่อต้องการ include template อื่นเข้ามา, directive ใดที่ควรใช้?
    

Question 10 (1 Points)
ควรใช้ directive ใดเมื่อต้องการพิมพ์ค่าออกมาโดยไม่ประมวลผลบางส่วนของ template?
    

Viewers : 7,839
Other Programs
Freemarker Template Quiz