The issue here is described in this bug:
https://issues.apache.org/jira/browse/TAP5-414
/Serge
nille hammer wrote:
>
> Sorry I messed up the code example corrected version:
> public class Persion {
> ...
> @Id
> @GeneratedValue(strategy = GenerationType.AUTO)
> @NonVisual //<-- that exc
Sorry I messed up the code example corrected version:
public class Persion {
...
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@NonVisual //<-- that excludes this member from the generated
// BeanModel. This could also be done manually whit "exclude".
// (see BeanModel for furth
With BeanEditForm Person need not be instanciated in onActivate. That is
done "automagically" by the component itself.
The Exception surely refers to the id. Id being the only number in your
Person class. Although I do not know, why that would be a problem for
Tapestry, you surely would not want t
You obviously left out some things for brevity, but I can't see "Person"
anywhere instantiated?
public class PersonForm {
@Persist
@Property //no need for accessors
private Person person;
Object onActivate()
{
if(person==null)
person = new Person();
return null;
}
Object onSuccessFr
n" <[EMAIL PROTECTED]>
> To: "Tapestry users"
> Sent: Sunday, June 15, 2008 5:29 PM
> Subject: Re: BeanEditForm Component
>
>
> BeanEditForm is just a BeanEditor component with a submit button.
> Please see BeanEditForm.tml in the Tapestry 5 source core.
>
Do you mean that i need custome the BeanEdit Compoent?
- Original Message -
From: "Shing Hing Man" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Sunday, June 15, 2008 5:29 PM
Subject: Re: BeanEditForm Component
BeanEditForm is just a BeanEditor component wi
BeanEditForm is just a BeanEditor component with a submit button.
Please see BeanEditForm.tml in the Tapestry 5 source core.
If you need to add your own buttons, one way is to use BeanEdit component.
Shing
Home page : http://www.lombok.demon.co.uk/
--- On Sun, 15/6/08, tengxh <[EMAIL PROTEC