I agree with Viktor on this one, but here is one other alternative just in case:
Your Border component can take a Block as a parameter and then render it where it has to go using RenderBlock. Alternatively, it can actually take a component as a parameter and renderer it using Delegator. The only downside is that the code every time you use your Border becomes a bit bigger, as you need to declare the parameter (as long as it is required): <span jwcid="@lib:Border" section="..."> ... </span> ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, June 10, 2005 5:33 PM Subject: referencing an application component from inside a library > I am trying to bundle a Border component into a library. That way, the > cororate look and feel would be easily plugable in future projects. > > Unfortunatly the component in the library needs to reference a component > outside the library in the application namespace. How can I reference > this component? > > Andy Pahne > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
