hi,

i think you need to use a property or a @Persist instead of a parameter. 

-----Ursprüngliche Nachricht-----
Von: Ken nashua [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 23. Januar 2007 16:08
An: users@tapestry.apache.org
Betreff: tapestry-4.0.2 @Parameter : 'fileName' is not bound and can not be 
updated.

Folks,

I created a component.

TEMPLATE
<span jwcid="$content$">
    <input jwcid="@Upload" file="ognl:file" type="file" displayName="File"/>
</span>

CLASS
public abstract class MyComponent extends BaseComponent {
        @Parameter(required = false, cache = true)
        public abstract String getFileName();
        public abstract void setFileName(String fileName);
}

SPEC
<component-specification class="org.MyComponent"
    allow-body="yes"
    allow-informal-parameters="yes"/>

But I continue to receive this...

org.apache.hivemind.ApplicationRuntimeException
Parameter 'fileName' is not bound and can not be updated.

My pom.xml uses
        <dependency>
            <groupId>tapestry</groupId>
            <artifactId>tapestry</artifactId>
            <version>4.0.2</version>
        </dependency>
        <dependency>
            <groupId>tapestry</groupId>
            <artifactId>tapestry-annotations</artifactId>
            <version>4.0.2</version>
        </dependency>

Is this stuff broken?

Best regards
Ken in nashua

_________________________________________________________________
Turn searches into helpful donations. Make your search count. 
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donation&FORM=WLMTAG


---------------------------------------------------------------------
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]

Reply via email to