On Fri, 06 Jan 2012 04:30:09 -0200, jochenfrey
wrote:
Is there a way to get a reference to a component (or block) by classname
(MyComponent.class), instead of the id?
No. Static structure. ;)
I tried out the approach Thiago
suggested, and it works fine. However, it requires me to keep a
Is there a way to get a reference to a component (or block) by classname
(MyComponent.class), instead of the id? I tried out the approach Thiago
suggested, and it works fine. However, it requires me to keep a page with a
catalog of components around (not the end of the world, but inconvenient).
On Sat, 19 Jun 2010 19:09:47 -0300, Inge Solvoll
wrote:
Thanks!
You're welcome!
Don't see how ComponentSource helps, how does it get me to the point
where I can retrieve a named block from a page/component?
Description in Slashdot style*:
1) Use ComponentSource.getPage(). It will retu
Thanks!
Don't see how ComponentSource helps, how does it get me to the point where I
can retrieve a named block from a page/component?
On Sat, Jun 19, 2010 at 7:43 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Sat, 19 Jun 2010 13:52:04 -0300, Inge Solvoll
> wrote:
>
> Bee
On Sat, 19 Jun 2010 13:52:04 -0300, Inge Solvoll
wrote:
Been doing a lot of searching today to find leads, and I think I got
something in BeanBlockOverrideSourceImpl.
That's where I learned how the BeanEditor/BeanEditSource blocks work. :)
Using PageRequestCache and page.getRootElement().g
Been doing a lot of searching today to find leads, and I think I got
something in BeanBlockOverrideSourceImpl.
Using PageRequestCache and page.getRootElement().getBlock(blockId) seems to
be a promising lead. This way I can have a Strategy service that returns the
page name that contains display bl