You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Marcus Schulte (JIRA)" <de...@tapestry.apache.org> on 2008/09/10 19:43:46 UTC
[jira] Updated: (TAPESTRY-1515) need URL user guide section for
handling proper characer encoding
[ https://issues.apache.org/jira/browse/TAPESTRY-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Schulte updated TAPESTRY-1515:
-------------------------------------
Fix Version/s: (was: 4.1.6)
4.1.7
> need URL user guide section for handling proper characer encoding
> -----------------------------------------------------------------
>
> Key: TAPESTRY-1515
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1515
> Project: Tapestry
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 4.1.2
> Environment: public web site
> Reporter: Jesse Kuhnert
> Priority: Minor
> Fix For: 4.1.7
>
>
> As was found on the users list:
> // Andreas pointed out this solution
> http://confluence.atlassian.com/display/DOC/Configuring+Tomcat's+URI+encoding
> >
> > hi, all, I write a button and its listener is a onOk method like this:
> > public IPage onOk() {
> > //...
> > resultPage.setProfession(prof);
> > resultPage.setAddress(add);
> >
> > System.err.println("resultPage.getProfession()+resultPage.getAddress()
> > "+resultPage.getProfession()+resultPage.getAddress());
> >
> > return resultPage;
> > }
> > at this time the System.err.println method prints right character. In
> > another page, the resultPage, I have a DirectLink and persist the
> > profession
> > and address String in the client and then get them back when the client
> > click the DirectLink. This is my DirectLink :
> > <component id="gotoPage" type="DirectLink">
> > <binding name="listener" value="listener:gotoPage"/>
> > <binding name="parameters" value="{profession,address}"/>
> > </component>
> > the DirectLink's listener is something like this:
> > public void gotoPage(String profession, String address) {
> > System.err.println(profession + address);
> > //...
> > }
> > and the System.err.println just prints characters like ???. If the
> > parameter
> > is English characters , it works ok. But when it is Chinese characters, it
> > seems encoded incorrected.
> > Further more, when I get the result Page in browser, hover the cursor on
> > that direst link, on the bar in the bottom of browser I can see the link
> > and
> > it encoded correct. It seems only when the server get the parameter from
> > the
> > client back, something goes wrong.
> > Could someone help me?
> >
--
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