You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Trunick <Jo...@SmartPrice.com> on 2003/06/09 19:30:16 UTC

How do you get a parameter from Java?

How would I access the parameter below from Java?

    <parameter
        name="value"
        java-type="java.lang.String"
        direction="custom"
        required="yes"/>


Joel




Re: How do you get a parameter from Java?

Posted by Harish Krishnaswamy <hk...@comcast.net>.
My understanding is, every parameter will have a JavaBean style property 
in the component class and so you should be able to access it using the 
getValue() method. Also, if I am right, pages cannot have parameters, if 
that's what you are looking for.

-Harish

Joel Trunick wrote:

>How would I access the parameter below from Java?
>
>    <parameter
>        name="value"
>        java-type="java.lang.String"
>        direction="custom"
>        required="yes"/>
>
>
>Joel
>
>
>
>
>  
>