Thanks for your reply!
Actually, I want to know how to implement nested components. I will show you
my scenario:
1. Requirment: A wizard that include some step to guide users complete a
task, e.g. a sale order
2. Current Implementation: I implemented two components Wizard and
WizardStep, and use t
On Tue, 22 Mar 2011 22:56:28 -0300, leon wrote:
Sorry, My question is :are there some documentations about nested
components?
All components are nested, so I don't know what you're asking. A non-page
component instance doesn't exist outside a page, which is almost the same
as a component,
It will help if you share the code with us
regards
Taha
On Wed, Mar 23, 2011 at 7:26 AM, leon wrote:
> Sorry, My question is :are there some documentations about nested
> components?
> I tried to inspect the component in debug model, but they're all null
> objects, I'm using IDEA 10, I don't k
Sorry, My question is :are there some documentations about nested
components?
I tried to inspect the component in debug model, but they're all null
objects, I'm using IDEA 10, I don't know if is caused by IDE or Tapestry
IoC.
So how could i trace a component's lifecycle?
On Mon, Mar 21, 2011 at 8:
On Sun, 20 Mar 2011 22:50:20 -0300, leon wrote:
Thanks a lot, I will try it, I looks Tapestry's component's relationship
is build by component class rather than component template.
Wrong. It's defined by template. Using @InjectComponent or
getEmbeddedComponent() is just a way of getting th
Thanks a lot, I will try it, I looks Tapestry's component's relationship is
build by component class rather than component template.
So, are there some dos about this?
On Sat, Mar 19, 2011 at 9:37 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Sat, 19 Mar 2011 01:16:21 -0300,
On Sat, 19 Mar 2011 01:16:21 -0300, Taha Hafeez
wrote:
resources.getContainerResources().getEmbeddedComponent(nested_component_id);
Also this:
@InjectComponent
private ComB comB; // the name of the field should be the same as the
component's t:id
or
@InjectComponent("componentId")
pr
Hi
AFAIK, the nested components(comB) can be accessed from the container's
ComponentResources not the component's(comA) and the nested components(comB)
are present in the container not the component(comA)... So you need to know
the nested component's id to access it which can be passed as a parame