The following is a custom widget created from the HelloWorld example. Notice that the stylesheet is available in the enclosing page via use of the @Require widget (this page is not styled by default, whereas HelloWorld is).

We can even pass arguments to the embedded page (let's use "${arg}" instead of its default message).



@Hello(message=arg) This text is replaced by the embed.