Hi James,

thanks once again for your answer! ;)

| Your components can parse OGNL automatically by preceding your expression
| with "ognl:" in the attribute value.  However, you do have to stick with the
| OGNL specification and can't just make up your own formats on the fly.  If
| you want to use OGNL inside your component to parse something, you do have
| to use the Ognl.getValue() method(s).  You'll have to manually break apart
| that expression first and parse the "subparts" based on the comma
| separator(s).  It would be nice if the hivemind.ObjectTranslator service
| weren't private.  Then, you could just pass in your sub-expressions and it'd
| use the appropriate translator to parse the value based on the prefix.
| Maybe you should suggest that to one of the HiveMind team! :-)

Well, as this sounds quite difficult I think I will try to use
embedded Block components instead (like the contribTable xxxColumnValue
Blocks). Do you know by any chance what is necessary to let such a
Block render some of the values instead? I've been looking through
the source code and as it seems I have to do the following:

1. getComponents()
2. create a ComponentAddress from this IComponent
3. (Block) ComponentAddress().findComponent() => I have the Block component
4. Do I just have to execute Block.renderBody() to let the Block
output the relevant part?

BUT:
getComponents() onlyl returns the components in the AdminPanel html
template but not the Block component.

Is it possible to use a component html template (and therefore have a
BaseComponent-derived component _and_ add some Block components in
the body of the same component?

Thanks,
  Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to