understand. thanks a lot
On Tue, Jul 17, 2012 at 7:56 PM, Thiago H de Paula Figueiredo
wrote:
> On Tue, 17 Jul 2012 07:57:54 -0300, mu wrote:
>
>> Hi all,
>
>
> Hi, Mu!
>
>
>> > context="user.name">welcome
>> "id" has a prefix
> Exactly. Otherwise, you'd need to access part of a page's template in
> another page, and that's something completely against Tapestry's philosophy
> and architecture.
The content of the zone depends on what the user selected on runtime,
what is the best practice to do this?
---
The question is that the quantity of block is so much, about 100. so i
want to split them into different page, and dynamic load them on
runtime.
On Thu, Jul 19, 2012 at 9:46 PM, Alex Kotchnev wrote:
> You can probably use Blocks to return the partial page updates, e.g.
> in your template
>
> S
> You can @Inject ComponentResource, use getPage() to retrive the page
> instance as a Component and use Component.getBlock().
it works, thanks. Does this pattern i used here against Tapestry's
philosophy and architecture?
-
To u
:) thanks
On Fri, Jul 20, 2012 at 10:20 AM, Thiago H de Paula Figueiredo
wrote:
> On Thu, 19 Jul 2012 22:00:04 -0300, mu wrote:
>
>>> You can @Inject ComponentResource, use getPage() to retrive the page
>>> instance as a Component and use Component.getBlock().
>>