Try inheritInformalParameters=true


On 10/23/05, Alan Chandler <[EMAIL PROTECTED]> wrote:
> As a matter of principal I have been creating my application without any
> specification files.  So far so good.
>
> However, I am following the "Are you Sure" javascript example in Kent's book,
> and this requires building a component which passes through all the informal
> parameters to one of the subcomponents.
>
> It does this using the component attribute inherit-informal-parameters="yes"
> marker
>
> Reading the @Component annotation in the documentation it implies that I ought
> to be able to do this.  However my attempts to specify it in Eclipse are
> generating Java errors.  How should I do it.
>
>
> Code so far
>
> @ComponentClass(allowBody = false)
> public abstract class ConfirmButton extends BaseComponent {
>
>         @Parameter (required=true)
>         public abstract String getMsg();
>
>         @Component( type="Submit", inherit-informal-parameters="yes")
>         public abstract Submit getButton();
>
>
> }
>
> But there seems to be a problem reported at the first "," in the @Component
> declaration.  The documents use a "," in some places and spaces in others,
> but I can't get either to work in this case
> --
> Alan Chandler
> http://www.chandlerfamily.org.uk
> Open Source. It's the difference between trust and antitrust.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to