tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Peterson (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-1604) BeanEditForm outputs text values raw (no escaping of HTML characters)
Date Tue, 26 Jun 2007 15:42:25 GMT
BeanEditForm outputs text values raw (no escaping of HTML characters)

                 Key: TAPESTRY-1604
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1604
             Project: Tapestry
          Issue Type: Bug
            Reporter: David Peterson
            Priority: Critical
             Fix For: 5.0.5

Simple example to demonstrate. The initial value of fullName in the bean has a couple of quotes
in it. These are written directly to the HTML output instead of being turned into &quot;

import org.apache.tapestry.annotations.Persist;

public class Example {

    private MyBean myBean;

    public MyBean getMyBean() {
        return myBean;

    public void setMyBean(MyBean myBean) {
        this.myBean = myBean;
    public static class MyBean {
        private String fullName = "Fred \"Fredmeister\" Flintstone";

        public String getFullName() {
            return fullName;

        public void setFullName(String fullName) {
            this.fullName = fullName;


<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
	<t:beanEditForm object="myBean" />

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

View raw message