You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Buck O' Five (JIRA)" <ji...@apache.org> on 2010/03/14 13:21:27 UTC

[jira] Created: (TAP5-1051) Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."

Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."
------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1051
                 URL: https://issues.apache.org/jira/browse/TAP5-1051
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.2.0
            Reporter: Buck O' Five
            Priority: Blocker


Using the BeanEditor parameter "add" always results in an exception. (T5.2.0-SNAPSHOT)

steps to reproduce:
- create a new project with mave archetype
- change pom.xml to T5.2.0-SNAPSHOT
- add the files below.
- start the server
- goto TestEx page
- just click submit
- results: "Bean editor model for com.test.pages.TestEx$UserLogin already contains a property model for property 'addTest'"


Condensed example to reproduce:
public class TestEx {
	@Property private UserLogin userLogin;		
	@Property private String addTest;
	
	public static class UserLogin {
		private String userName;		
		public UserLogin() {}		
		public String getUserName() {return userName;}
		public void setUserName(String userName) {this.userName = userName;}
	}	
}

TestEx.tml:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
<body>
	<t:form>
		<t:BeanEditor object="userLogin" include="userName" add="addTest" >
			<t:parameter name="addTest">
				<t:label for="addTest" /> 
				<t:passwordField t:id="addTest" value="addTest"/>					
			</t:parameter>
		</t:BeanEditor>
		<t:submit />
	</t:form>
</body>
</html>






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


[jira] Commented: (TAP5-1051) Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."

Posted by "Buck O' Five (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853109#action_12853109 ] 

Buck O' Five commented on TAP5-1051:
------------------------------------

duplicated here but has a patch TAP5-1088
There is also a thread about it here: http://old.nabble.com/T5.2.0-SNAPHOT%3A-newbie-exceptions-submitting-form-with-BeanEditor-ts27947909.html#a27950914


> Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1051
>                 URL: https://issues.apache.org/jira/browse/TAP5-1051
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Buck O' Five
>            Priority: Blocker
>
> Using the BeanEditor parameter "add" always results in an exception. (T5.2.0-SNAPSHOT)
> steps to reproduce:
> - create a new project with mave archetype
> - change pom.xml to T5.2.0-SNAPSHOT
> - add the files below.
> - start the server
> - goto TestEx page
> - just click submit
> - results: "Bean editor model for com.test.pages.TestEx$UserLogin already contains a property model for property 'addTest'"
> Condensed example to reproduce:
> public class TestEx {
> 	@Property private UserLogin userLogin;		
> 	@Property private String addTest;
> 	
> 	public static class UserLogin {
> 		private String userName;		
> 		public UserLogin() {}		
> 		public String getUserName() {return userName;}
> 		public void setUserName(String userName) {this.userName = userName;}
> 	}	
> }
> TestEx.tml:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
> <body>
> 	<t:form>
> 		<t:BeanEditor object="userLogin" include="userName" add="addTest" >
> 			<t:parameter name="addTest">
> 				<t:label for="addTest" /> 
> 				<t:passwordField t:id="addTest" value="addTest"/>					
> 			</t:parameter>
> 		</t:BeanEditor>
> 		<t:submit />
> 	</t:form>
> </body>
> </html>

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


[jira] Commented: (TAP5-1051) Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."

Posted by "Buck O' Five (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853109#action_12853109 ] 

Buck O' Five commented on TAP5-1051:
------------------------------------

duplicated here but has a patch TAP5-1088
There is also a thread about it here: http://old.nabble.com/T5.2.0-SNAPHOT%3A-newbie-exceptions-submitting-form-with-BeanEditor-ts27947909.html#a27950914


> Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1051
>                 URL: https://issues.apache.org/jira/browse/TAP5-1051
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Buck O' Five
>            Priority: Blocker
>
> Using the BeanEditor parameter "add" always results in an exception. (T5.2.0-SNAPSHOT)
> steps to reproduce:
> - create a new project with mave archetype
> - change pom.xml to T5.2.0-SNAPSHOT
> - add the files below.
> - start the server
> - goto TestEx page
> - just click submit
> - results: "Bean editor model for com.test.pages.TestEx$UserLogin already contains a property model for property 'addTest'"
> Condensed example to reproduce:
> public class TestEx {
> 	@Property private UserLogin userLogin;		
> 	@Property private String addTest;
> 	
> 	public static class UserLogin {
> 		private String userName;		
> 		public UserLogin() {}		
> 		public String getUserName() {return userName;}
> 		public void setUserName(String userName) {this.userName = userName;}
> 	}	
> }
> TestEx.tml:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
> <body>
> 	<t:form>
> 		<t:BeanEditor object="userLogin" include="userName" add="addTest" >
> 			<t:parameter name="addTest">
> 				<t:label for="addTest" /> 
> 				<t:passwordField t:id="addTest" value="addTest"/>					
> 			</t:parameter>
> 		</t:BeanEditor>
> 		<t:submit />
> 	</t:form>
> </body>
> </html>

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


[jira] Closed: (TAP5-1051) Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1051.
--------------------------------------

    Resolution: Duplicate

TAP5-1088

> Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1051
>                 URL: https://issues.apache.org/jira/browse/TAP5-1051
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Buck O' Five
>            Priority: Blocker
>
> Using the BeanEditor parameter "add" always results in an exception. (T5.2.0-SNAPSHOT)
> steps to reproduce:
> - create a new project with mave archetype
> - change pom.xml to T5.2.0-SNAPSHOT
> - add the files below.
> - start the server
> - goto TestEx page
> - just click submit
> - results: "Bean editor model for com.test.pages.TestEx$UserLogin already contains a property model for property 'addTest'"
> Condensed example to reproduce:
> public class TestEx {
> 	@Property private UserLogin userLogin;		
> 	@Property private String addTest;
> 	
> 	public static class UserLogin {
> 		private String userName;		
> 		public UserLogin() {}		
> 		public String getUserName() {return userName;}
> 		public void setUserName(String userName) {this.userName = userName;}
> 	}	
> }
> TestEx.tml:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
> <body>
> 	<t:form>
> 		<t:BeanEditor object="userLogin" include="userName" add="addTest" >
> 			<t:parameter name="addTest">
> 				<t:label for="addTest" /> 
> 				<t:passwordField t:id="addTest" value="addTest"/>					
> 			</t:parameter>
> 		</t:BeanEditor>
> 		<t:submit />
> 	</t:form>
> </body>
> </html>

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


[jira] Closed: (TAP5-1051) Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1051.
--------------------------------------

    Resolution: Duplicate

TAP5-1088

> Using "add" with BeanEditor results in "Bean editor model for XXX already contains a property model for property 'xxx'."
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1051
>                 URL: https://issues.apache.org/jira/browse/TAP5-1051
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.0
>            Reporter: Buck O' Five
>            Priority: Blocker
>
> Using the BeanEditor parameter "add" always results in an exception. (T5.2.0-SNAPSHOT)
> steps to reproduce:
> - create a new project with mave archetype
> - change pom.xml to T5.2.0-SNAPSHOT
> - add the files below.
> - start the server
> - goto TestEx page
> - just click submit
> - results: "Bean editor model for com.test.pages.TestEx$UserLogin already contains a property model for property 'addTest'"
> Condensed example to reproduce:
> public class TestEx {
> 	@Property private UserLogin userLogin;		
> 	@Property private String addTest;
> 	
> 	public static class UserLogin {
> 		private String userName;		
> 		public UserLogin() {}		
> 		public String getUserName() {return userName;}
> 		public void setUserName(String userName) {this.userName = userName;}
> 	}	
> }
> TestEx.tml:
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
> <body>
> 	<t:form>
> 		<t:BeanEditor object="userLogin" include="userName" add="addTest" >
> 			<t:parameter name="addTest">
> 				<t:label for="addTest" /> 
> 				<t:passwordField t:id="addTest" value="addTest"/>					
> 			</t:parameter>
> 		</t:BeanEditor>
> 		<t:submit />
> 	</t:form>
> </body>
> </html>

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