You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/11/12 05:12:03 UTC

[jira] Resolved: (TAPESTRY-256) The parsing of removes the following space

     [ http://issues.apache.org/jira/browse/TAPESTRY-256?page=all ]
     
Howard M. Lewis Ship resolved TAPESTRY-256:
-------------------------------------------

    Fix Version: 4.0
     Resolution: Duplicate
      Assign To: Howard M. Lewis Ship

> The parsing of <span key="..."/> removes the following space
> ------------------------------------------------------------
>
>          Key: TAPESTRY-256
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-256
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0.1
>  Environment: j2sdk1.4.2_05. Win2k pro. Tomcat 5.0.30. Eclipse 3.0.1. Default locale: zh_TW.
>     Reporter: Kent Tong
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0
>  Attachments: i18nSpanBug.zip, screenshot-1.jpg
>
> Consider the following html template:
> <span key="mykey"/> <span jwcid="@Insert" value="def"/>
> In particular, note that there is a space between
> the two span elements. The message for "myKey" is
> "Message:". When the above template is rendered, the
> output is:
> Message:def
> It means the space is gone. In contrast, the following
> template:
> <span jwcid="@Insert" value="message:mykey"/> <span jwcid="@Insert" value="def"/>
> will keep the space in the output:
> Message: def
> I've created a sample Eclipse project demonstrating this project. I'll upload it if I can find a way to do so (JIRA is not like bugzilla).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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