problem beaneditform and external ejb3

2008-10-01 Thread mdes
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. So, I wrote this in the AddOperator.tml page: and I get this Tapestry error: Embedded

Re: problem beaneditform and external ejb3

2008-10-02 Thread mdes
gt; 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]> >> es

Re: problem beaneditform and external ejb3

2008-10-03 Thread mdes
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. ---

Re: problem beaneditform and external ejb3

2008-10-03 Thread mdes
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

manage sub-collection with grid component

2008-10-13 Thread mdes
Dear all, I need your support in order to determine the better way to solve this situation. I have, say, 2 entities (ejb3) @Entity public class Child { private String idChild; private String firstName; private String secondName; ... } @Entity public class Father{ private String idFather;

Re: manage sub-collection with grid component

2008-10-13 Thread mdes
sorry for being not so clear in my previous explanation,here the complete code concerning my problem: I need to show a list of products, and because each product can contain one or more contents, I want to add a list of actionlink in the last column representing the content list related. @Entity

Re: ActionLink in component

2008-10-13 Thread mdes
maybe you can try to be more specific in this way: ${index} @OnEvent(value = "action", component = "select") void valueChosen(int value) { this.value = value; } Here you can find more explanation: http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html moritzgilsdorf-

Re: [T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
Decorating the RequestExceptionHandler, bottom of the page.) > > Set break point inside the decorator to get deeper insight? > > - Ville > > > mdes wrote: >> >> Dear all, >> I need your help because I don't understand the real cause of my problem. >

[T5] org.apache.tapestry5.runtime.ComponentEventException - Stack is empty

2008-10-20 Thread mdes
Dear all, I need your help because I don't understand the real cause of my problem. I injected one page, say AnotherPage, in MyPage.java. When I try to use one of the setter methods of AnotherPage to pass a value contained in MyPage, I got this error: org.apache.tapestry5.runtime.ComponentEve

T5 - how to efficently highlight one selected row in a grid

2008-11-05 Thread mdes
Dear all, I simply want to highlight one row in a grid component when the user click on one action link in that line. is it a good idea trying to use the rowClass attribute? Can you suggest me the best way to do it? -- View this message in context: http://www.nabble.com/T5---how-to-efficentl