tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cometta (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-2612) cannot insert chinese character in T4 textfield
Date Thu, 21 Aug 2008 18:12:44 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

cometta updated TAPESTRY-2612:
------------------------------

    Description: 
 tried keyed in big-5 mandarin in textfield and submit the form, after form
submiited i do print out, i get ???..  do i need to do any configuration ? in
order to make textfield support mandarin?




p/s:  app.properties working fine and can display chinese characters




web.xml
-------

 <filter>
        <filter-name>redirect</filter-name>
        <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>redirect</filter-name>
        <url-pattern>/</url-pattern>
    </filter-mapping>
    <servlet>
        <servlet-name>TestPortal</servlet-name>
        <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>/app</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>*.direct</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>*.sdirect</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>*.svc</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>TestPortal</servlet-name>
        <url-pattern>/assets/*</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
	<welcome-file>
            index.jsp
        </welcome-file>
    </welcome-file-list>



TestPortal.application
-----
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN"

    "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<application name="Tapestry Application">
    
    <!--meta key="org.apache.tapestry.page-class-packages" value="my.page.package"/-->
    <!--meta key="org.apache.tapestry.component-class-packages" value="my.component.package"/-->

    <library id="Contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>

<meta key="org.apache.tapestry.messages-encoding_zh_TW" value="Big5"/> 
<meta key="org.apache.tapestry.messages-encoding_ja" value="JIS"/> 
<meta key="org.apache.tapestry.messages-encoding" value="UTF-8"/> 
<meta key="org.apache.tapestry.accepted-locales" value="en,zh_TW"/> 




</application>


  was:
 tried keyed in big-5 mandarin in textfield and submit the form, after form
submiited i do print out, i get ???..  do i need to do any configuration ? in
order to make textfield support mandarin?




p/s:  app.properties working fine and can display chinese characters


> cannot insert chinese character in T4 textfield
> -----------------------------------------------
>
>                 Key: TAPESTRY-2612
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2612
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 4.1.2
>         Environment: i tried on windows and macos 
>            Reporter: cometta
>
>  tried keyed in big-5 mandarin in textfield and submit the form, after form
> submiited i do print out, i get ???..  do i need to do any configuration ? in
> order to make textfield support mandarin?
> p/s:  app.properties working fine and can display chinese characters
> web.xml
> -------
>  <filter>
>         <filter-name>redirect</filter-name>
>         <filter-class>org.apache.tapestry.RedirectFilter</filter-class>
>     </filter>
>     <filter-mapping>
>         <filter-name>redirect</filter-name>
>         <url-pattern>/</url-pattern>
>     </filter-mapping>
>     <servlet>
>         <servlet-name>TestPortal</servlet-name>
>         <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
>         <load-on-startup>1</load-on-startup>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>/app</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>*.html</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>*.direct</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>*.sdirect</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>*.svc</url-pattern>
>     </servlet-mapping>
>     <servlet-mapping>
>         <servlet-name>TestPortal</servlet-name>
>         <url-pattern>/assets/*</url-pattern>
>     </servlet-mapping>
>     <session-config>
>         <session-timeout>
>             30
>         </session-timeout>
>     </session-config>
>     <welcome-file-list>
> 	<welcome-file>
>             index.jsp
>         </welcome-file>
>     </welcome-file-list>
> TestPortal.application
> -----
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification
4.0//EN" 
>     "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
> <application name="Tapestry Application">
>     
>     <!--meta key="org.apache.tapestry.page-class-packages" value="my.page.package"/-->
>     <!--meta key="org.apache.tapestry.component-class-packages" value="my.component.package"/-->
>     <library id="Contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> <meta key="org.apache.tapestry.messages-encoding_zh_TW" value="Big5"/> 
> <meta key="org.apache.tapestry.messages-encoding_ja" value="JIS"/> 
> <meta key="org.apache.tapestry.messages-encoding" value="UTF-8"/> 
> <meta key="org.apache.tapestry.accepted-locales" value="en,zh_TW"/> 
> </application>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message