PROBLEM FOUND!
The beaneditform component can't understand this type of setter methods:
public String getUsername(){return username;}
public Operator setUsername(String username){this.username=username;return
this;}
I changed the setter in this way:
public void setUsername(String username){this
I think I'm really close to the solution, after some modifications I can see
the beaneditform in my page, but it's completly empty (I mean, only the
Create/Update button is shown).
Here my complete code:
//DuckBeanRemote represents the Remote Interface of one stateless session
bean.
---
Em Thu, 02 Oct 2008 05:39:12 -0300, mdes <[EMAIL PROTECTED]>
escreveu:
The problem with the beaneditform is that I want Tapestry to create an
"empty" instance of my entity bean, but at the moment he can't understand
what type he has to use (in this case, Operator).
Maybe the problem is exact
AIL PROTECTED]
> Sent: Thursday, October 02, 2008 04:39
> To: users@tapestry.apache.org
> Subject: Re: problem beaneditform and external ejb3
>
>
> @Thiango: I use the ejb3 business logic as a stand alone project (I mean,
> another folder in the workspace), separeted by the Tape
I was thinking about adding an example of Input (Using BeanEditForm).
Here's a first cut that I've just tested. It creates a Person.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Input (Using BeanEditForm) (2)
@Thiango: I use the ejb3 business logic as a stand alone project (I mean,
another folder in the workspace), separeted by the Tapestry one. I deploy it
indipendently in JBoss and than a war for the Tapestry project.
@Geoff: thanks for the jumpstart examples, but I already read them, but my
proble
Does this example help?
http://202.177.217.122:8080/jumpstart/examples/input/edit1/1
Cheers,
Geoff
On 02/10/2008, at 8:00 AM, Thiago H. de Paula Figueiredo wrote:
Em Wed, 01 Oct 2008 18:47:37 -0300, mdes <[EMAIL PROTECTED]>
escreveu:
Hello everybody,
I'm new to Tapestry 5 and I need hel
Em Wed, 01 Oct 2008 18:47:37 -0300, mdes <[EMAIL PROTECTED]>
escreveu:
Hello everybody,
I'm new to Tapestry 5 and I need help to solve a problem.
I defined an entity bean "Operator" in my ejb3 project, and I want it to
be the object of a beaneditform in a Tapestry 5 project.
One common er