Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
But the correct solution was in using prop: prefix to refer to enclosing component. Thanks for pointing. Work in progress. On Tue, Aug 18, 2009 at 07:51, Andrey Larionov wrote: > The only way i can achive result is ugly getSelf hack. Thru > environmental service i can't access no component no wrap

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
The only way i can achive result is ugly getSelf hack. Thru environmental service i can't access no component no wraped component. On Tue, Aug 18, 2009 at 05:57, Andrey Larionov wrote: > Thanks for good point. try it now. > > On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula > Figueiredo wrote: >>

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
Thanks for good point. try it now. On Tue, Aug 18, 2009 at 05:51, Thiago H. de Paula Figueiredo wrote: > Em Mon, 17 Aug 2009 22:12:13 -0300, Andrey Larionov > escreveu: > >> One more question. How to pass enclosing component into nested. I mean >> "self". In loop i render elements and i want to p

Re: How to create Master-Detail view

2009-08-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Aug 2009 22:12:13 -0300, Andrey Larionov escreveu: One more question. How to pass enclosing component into nested. I mean "self". In loop i render elements and i want to pass enclosing element as parameter in template For example: (start component template) http://tapestry.apache.o

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
One more question. How to pass enclosing component into nested. I mean "self". In loop i render elements and i want to pass enclosing element as parameter in template For example: (start component template) http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter">

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
Thanks. I'll try it. On Tue, Aug 18, 2009 at 04:20, Thiago H. de Paula Figueiredo wrote: > Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov > escreveu: > >> As i understand, i should in first component create a field of type of >> second component and anotate this field as non required paramet

Re: How to create Master-Detail view

2009-08-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov escreveu: As i understand, i should in first component create a field of type of second component and anotate this field as non required parameter? Yes. How do i inject second component in first? From template? Or on class side? From

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
As i understand, i should in first component create a field of type of second component and anotate this field as non required parameter? How do i inject second component in first? From template? Or on class side? On Tue, Aug 18, 2009 at 03:53, Thiago H. de Paula Figueiredo wrote: > Em Mon, 17 Aug

Re: How to create Master-Detail view

2009-08-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Aug 2009 20:44:55 -0300, Andrey Larionov escreveu: By linking i mean next: When i perform (for example) select action on first component, second should get selected value and display corresponding changes. But if one of components is absent, then components should work standalone w

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
By linking i mean next: When i perform (for example) select action on first component, second should get selected value and display corresponding changes. But if one of components is absent, then components should work standalone without interaction with each other. On Tue, Aug 18, 2009 at 03:36,

Re: How to create Master-Detail view

2009-08-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Aug 2009 20:05:41 -0300, Andrey Larionov escreveu: By "component" i mean Tapestry component. Ok! I try to understand how to place two components on page. Just declare them in the template. And make they optionaly linked. What do you mean by linked in this scenario? Anywa

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
By "component" i mean Tapestry component. I try to understand how to place two components on page. And make they optionaly linked. On Tue, Aug 18, 2009 at 02:02, Thiago H. de Paula Figueiredo wrote: > Em Mon, 17 Aug 2009 18:33:36 -0300, Andrey Larionov > escreveu: > >> Actualy not. It's only a to

Re: How to create Master-Detail view

2009-08-17 Thread Thiago H. de Paula Figueiredo
Em Mon, 17 Aug 2009 18:33:36 -0300, Andrey Larionov escreveu: Actualy not. It's only a tools. But they're tools that make the task of implementing a master/detail form easier. ;) Solution outline: * Create a Zone in your template with a Form inside it to edit the detail object. * Crea

Re: How to create Master-Detail view

2009-08-17 Thread Andrey Larionov
Actualy not. It's only a tools. I'm asking advice on how to decompose and interact between two components. There is an explanation of this UI pattern http://en.wikipedia.org/wiki/Master-detail On Tue, Aug 18, 2009 at 01:07, Juan E. Maya wrote: > if i understand u. Maybe what u need is just a > Act

Re: How to create Master-Detail view

2009-08-17 Thread Juan E. Maya
I am not sure if i understand u. Maybe what u need is just a ActionLink or EventLink that updates a zone containing the details. U can see examples here: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajax or here: http://tapestry.apache.org/tapestry5/tapestry-core/ref/