you put it in the template of the component, and thats it.
if you want it to be configured from the page/container you use
parameter chain.
for example:
your border might contain (and probably will):
<html jwcid="@Shell" title="ognl:title">...
since the title is different in every page you add
a title parameter to your border:
@Parameter(required=true) public abstract String getTitle();
and when using the border:
<html jwcid="@Border" title="...">
the title will be "passed through" to the shell.
Quite easy :)
Cheers,
Ron
This High Xvision wrote:
Hi! (I'm a newbie, so please bear with me...)
I'm trying to build a Border Component.
So far so good, it works as long as I don't embed
another component.
For example if on my Home.Html page I add
<span jwcid="@Border">
<span jwcid="@menu:jsCookMenu ....>
It works.
But I want to move the jscookmenu inside the Border
component, and oh
boy, I am beginning to give up and go to JSF... :-)
So my question is very simple:
How to instantiate a component inside of a component?
I've tried everything that I remember of and read the
forums, but no
solution...
Inside the .JWC file on the <Component-specification>,
I've put the
jscookmenu asset, but I need to instanciate the
jscookmenu, right?
How?
Thanks!
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
---------------------------------------------------------------------
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]