Hi.

Ive been reading up on the component life cycle.

However the following problem I still cant solve.

I have an main application component that gets passed a request 
parameter (personid) at runtime.
(Application.application.parameters.personid)

I then have a component called 'sitelist' that builds a datagrid based 
on a server request involving the personid, so the server request relies 
on the personid being passed on.

In my main app I am able to see the personid parameter on loading, but 
in the sitelist component personid is null on loading.
It seems that the child component renders before the main app and 
therefore the parameter doesnt exist at the time that the child is created.

What is the recommended way of getting a runtime parameter in a 
subcomponent?
I appreciate any help.

Kr.
Luke.

Reply via email to