Tapestry 5.0.5-SNAPSHOT เวลาแกะกล่องมาใช้เลยมันจะใช้ภาษาไทยไม่ได้ พอลองใส่ภาษาไทยลงไปใน view แบบข้างล่าง
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
<head>
<title>myapp Start Page</title>
</head>
<body>
<h1>myapp Start Page</h1>
<p>ภาษาไทย</p>
<p> This is the start page for this application, a good place to start your modifications.
Just to prove this is live: </p>
<p> The current time is: ${currentTime}. </p>
<p>
[<t:pagelink t:page="Start">refresh</t:pagelink>]
</p>
</body>
</html>
เวลาแสดงผลออกมาทางเว็บมันก็เจ๊ง
เราก็เลยต้องมาปรับเปลี่ยนมันนิดหน่อย [อ่านเพิ่ม] พอแก้แล้วปัญหาข้างบนก็หมดไป แต่ว่าก็ยังติดปัญหาเรื่อง form อยู่ดี
เช่นในตัวอย่างข้างล่าง ผมกรอกภาษาไทยเข้าไปใน text field

แล้วก็กด submit ผมที่กลับมาก็เพี้ยนไปแล้ว

งงๆ ตอนนี้ก็ยังหาท่าแก้ไม่ได้ (แต่มันคงมีหละ)


เมนูของ vsatayamas





เมื่อ พฤ. 21 มิ.ย. 2550 @ 14:46
299556 [ลบ]
แปลกดี
พี่ทำตามที่ wiki บอกไว้ ก็ได้ถูกต้องทั้ง case ที่เป็นภาษาไทยใน template กับ case ที่เป็น form submit ภาษาไทยเข้ามา
เมื่อ พฤ. 21 มิ.ย. 2550 @ 14:56
299568 [ลบ]